Skip to content

Algebra and Calculus

Algebra and Calculus

Higher Algebra

{/prettier-ignore/}

Adjust the parameters in the graph above to explore the relationships between variables.

Functions and Notation

A function maps each element of a set (the domain) to exactly one element of another set (the Codomain). If f(x)=3x+2f(x) = 3x + 2 Then ff takes an input xx and returns 3x+23x + 2. The notation f ⁣:A→Bf \colon A \to B means ff maps from set AA to set BB.

Domain and Range:

The domain of ff is the set of all valid inputs. The range is the set of all outputs.

The domain of f(x)=1x−3f(x) = \dfrac{1}{x - 3} is x∈Rx \in \mathbb{R}, x≠3x \neq 3.

The range of f(x)=x2f(x) = x^2 is f(x)≥0f(x) \geq 0 (assuming the domain is all real numbers).

Composite Functions:

If f(x)=2x+1f(x) = 2x + 1 and g(x)=x2g(x) = x^2 Then:

f(g(x))=f(x2)=2x2+1f(g(x)) = f(x^2) = 2x^2 + 1 g(f(x))=g(2x+1)=(2x+1)2=4x2+4x+1g(f(x)) = g(2x + 1) = (2x + 1)^2 = 4x^2 + 4x + 1

Note that f(g(x))≠g(f(x))f(g(x)) \neq g(f(x)). Composition is not commutative.

Domain of a composite function: dom⁡(f∘g)\operatorname{dom}(f \circ g) is the set of all xx in dom⁡(g)\operatorname{dom}(g) such that g(x)∈dom⁡(f)g(x) \in \operatorname{dom}(f).

Inverse Functions:

The inverse function f−1f^{-1} reverses the effect of ff. To find f−1f^{-1}:

  1. Write y=f(x)y = f(x)
  2. Rearrange to make xx the subject
  3. Replace xx with f−1(y)f^{-1}(y)

Example: Find f−1f^{-1} where f(x)=2x+3x−1f(x) = \dfrac{2x + 3}{x - 1}.

Let y=2x+3x−1y = \dfrac{2x + 3}{x - 1}.

y(x−1)=2x+3y(x - 1) = 2x + 3 yx−y=2x+3yx - y = 2x + 3 yx−2x=y+3yx - 2x = y + 3 x(y−2)=y+3x(y - 2) = y + 3 x=y+3y−2x = \frac{y + 3}{y - 2}

Therefore f−1(x)=x+3x−2f^{-1}(x) = \dfrac{x + 3}{x - 2}.

Verification: f(f−1(x))=2⋅x+3x−2+3x+3x−2−1=2x+6+3x−6x−2x+3−x+2x−2=5x5=xf(f^{-1}(x)) = \dfrac{2 \cdot \frac{x+3}{x-2} + 3}{\frac{x+3}{x-2} - 1} = \dfrac{\frac{2x+6+3x-6}{x-2}}{\frac{x+3-x+2}{x-2}} = \dfrac{5x}{5} = x. Confirmed.

Quadratic Functions

A quadratic function has the general form f(x)=ax2+bx+cf(x) = ax^2 + bx + c where a≠0a \neq 0.

Completed Square Form:

f(x)=a(x−p)2+qf(x) = a(x - p)^2 + q

Where the vertex is at (p,q)(p, q). The axis of symmetry is the vertical line x=px = p.

Derivation. Starting from ax2+bx+cax^2 + bx + c:

Ax2+bx+c=a ⁣(x2+{b}{a}x)+c=a ⁣(x+{b}{2a})2−{b2}{4a}+cAx^2 + bx + c = a\!\left(x^2 + \frac\{b\}\{a\}x\right) + c = a\!\left(x + \frac\{b\}\{2a\}\right)^2 - \frac\{b^2\}\{4a\} + c

So p=−b2ap = -\frac{b}{2a} and q=c−b24aq = c - \frac{b^2}{4a}.

Example: Express f(x)=2x2−12x+7f(x) = 2x^2 - 12x + 7 in completed square form.

f(x)=2(x2−6x)+7f(x) = 2(x^2 - 6x) + 7 f(x)=2((x−3)2−9)+7f(x) = 2\left((x - 3)^2 - 9\right) + 7 f(x)=2(x−3)2−18+7f(x) = 2(x - 3)^2 - 18 + 7 f(x)=2(x−3)2−11f(x) = 2(x - 3)^2 - 11

The vertex is at (3,−11)(3, -11) and since a=2>0a = 2 > 0 The parabola opens upward with a minimum value of −11-11.

The Discriminant:

For ax2+bx+c=0ax^2 + bx + c = 0 The discriminant is Δ=b2−4ac\Delta = b^2 - 4ac.

ConditionNumber of Roots
Δ>0\Delta > 0Two distinct real roots
Δ=0\Delta = 0One repeated real root
Δ<0\Delta < 0No real roots

Proof. The quadratic formula gives x=−b±Δ2ax = \frac{-b \pm \sqrt{\Delta}}{2a}. If Δ>0\Delta > 0 The Square root is real and positive, yielding two distinct values. If Δ=0\Delta = 0 Both values are −b2a-\frac{b}{2a}. If Δ<0\Delta < 0 The square root is not real.

Example: Determine the nature of the roots of 3x2−5x+2=03x^2 - 5x + 2 = 0.

Δ=(−5)2−4(3)(2)=25−24=1\Delta = (-5)^2 - 4(3)(2) = 25 - 24 = 1

Since Δ>0\Delta > 0 There are two distinct real roots.

Example: Find the value of kk for which x2+kx+9=0x^2 + kx + 9 = 0 has equal roots.

Δ=k2−36=0  ⟹  k=±6\Delta = k^2 - 36 = 0 \implies k = \pm 6

Logarithms and Exponentials

Laws of Logarithms:

log⁡a(xy)=log⁡ax+log⁡ay\log_a(xy) = \log_a x + \log_a y log⁡a(xy)=log⁡ax−log⁡ay\log_a\left(\frac{x}{y}\right) = \log_a x - \log_a y log⁡a(xn)=nlog⁡ax\log_a(x^n) = n \log_a x log⁡aa=1,log⁡a1=0\log_a a = 1, \quad \log_a 1 = 0

Change of Base:

log⁡ab={log⁡cb}{log⁡ca}\log_a b = \frac\{\log_c b\}\{\log_c a\}

Proof of change of base. Let y=log⁡aby = \log_a b So ay=ba^y = b. Taking log⁡c\log_c of both sides: ylog⁡ca=log⁡cby \log_c a = \log_c b Hence y=log⁡cblog⁡cay = \frac{\log_c b}{\log_c a}.

Example: Solve 32x−1=73^{2x - 1} = 7.

2x−1=log⁡37=ln⁡7ln⁡32x - 1 = \log_3 7 = \frac{\ln 7}{\ln 3} 2x=1+ln⁡7ln⁡32x = 1 + \frac{\ln 7}{\ln 3} X={1}{2}(1+{ln⁡7}{ln⁡3})≈1.389X = \frac\{1\}\{2\}\left(1 + \frac\{\ln 7\}\{\ln 3\}\right) \approx 1.389

Example: Solve log⁡2(x+3)+log⁡2(x−1)=4\log_2(x + 3) + \log_2(x - 1) = 4.

log⁡2((x+3)(x−1))=4\log_2((x + 3)(x - 1)) = 4 (x+3)(x−1)=16(x + 3)(x - 1) = 16 x2+2x−3=16x^2 + 2x - 3 = 16 x2+2x−19=0x^2 + 2x - 19 = 0 x=−2±4+762=−2±802=−1±25x = \frac{-2 \pm \sqrt{4 + 76}}{2} = \frac{-2 \pm \sqrt{80}}{2} = -1 \pm 2\sqrt{5}

Since x+3>0x + 3 > 0 and x−1>0x - 1 > 0 We need x>1x > 1. So x=−1+25≈3.472x = -1 + 2\sqrt{5} \approx 3.472.

Exponential Growth and Decay:

N(t)=N0ektN(t) = N_0 e^{kt}

Where N0N_0 is the initial quantity and kk is the growth (k>0k > 0) or decay (k<0k < 0) constant.

Half-life: For decay with half-life t1/2t_{1/2}:

T{1/2}={ln⁡2}{∣k∣}T_\{1/2\} = \frac\{\ln 2\}\{|k|\}

Proof of the half-life formula. Set N(t1/2)=N02N(t_{1/2}) = \frac{N_0}{2}:

{N0}{2}=N0e{kt{1/2}}  ⟹  {1}{2}=e{kt{1/2}}  ⟹  ln⁡ ⁣({1}{2})=kt{1/2}\frac\{N_0\}\{2\} = N_0 e^\{kt_\{1/2\}\} \implies \frac\{1\}\{2\} = e^\{kt_\{1/2\}\} \implies \ln\!\left(\frac\{1\}\{2\}\right) = kt_\{1/2\} −ln⁡2=kt{1/2}  ⟹  t{1/2}={−ln⁡2}{k}={ln⁡2}{∣k∣}-\ln 2 = kt_\{1/2\} \implies t_\{1/2\} = \frac\{-\ln 2\}\{k\} = \frac\{\ln 2\}\{|k|\}

■\blacksquare

Example: A radioactive substance has a half-life of 8 days. If a sample initially contains 200 G, how much remains after 25 days?

K={ln⁡2}{8}≈0.0866K = \frac\{\ln 2\}\{8\} \approx 0.0866 N(25)=200e{−0.0866×25}=200e{−2.165}≈200×0.1147≈22.9{gN(25) = 200e^\{-0.0866 \times 25\} = 200e^\{-2.165\} \approx 200 \times 0.1147 \approx 22.9 \mathrm\{ g

Polynomials

A polynomial of degree nn has the form:

P(x)=anxn+a{n−1}x{n−1}+⋯+a1x+a0P(x) = a_n x^n + a_\{n-1\} x^\{n-1\} + \cdots + a_1 x + a_0

Factor Theorem:

(x−a)(x - a) is a factor of p(x)p(x) if and only if p(a)=0p(a) = 0.

Remainder Theorem:

When p(x)p(x) is divided by (x−a)(x - a) The remainder is p(a)p(a).

Proof. By polynomial long division, p(x)=(x−a)q(x)+rp(x) = (x-a)q(x) + r for some quotient q(x)q(x) and constant Remainder rr. Setting x=ax = a: p(a)=0+rp(a) = 0 + r So r=p(a)r = p(a).

Example: Factorise p(x)=x3−3x2−4x+12p(x) = x^3 - 3x^2 - 4x + 12.

Try p(1)=1−3−4+12=6≠0p(1) = 1 - 3 - 4 + 12 = 6 \neq 0.

Try p(2)=8−12−8+12=0p(2) = 8 - 12 - 8 + 12 = 0. So (x−2)(x - 2) is a factor.

P(x)=(x−2)(x2−x−6)=(x−2)(x−3)(x+2)P(x) = (x - 2)(x^2 - x - 6) = (x - 2)(x - 3)(x + 2)

Example: Find the remainder when p(x)=2x3+x2−5x+3p(x) = 2x^3 + x^2 - 5x + 3 is divided by (x+1)(x + 1).

By the Remainder Theorem, the remainder is p(−1)p(-1):

P(−1)=2(−1)3+(−1)2−5(−1)+3=−2+1+5+3=7P(-1) = 2(-1)^3 + (-1)^2 - 5(-1) + 3 = -2 + 1 + 5 + 3 = 7

Example: Given p(x)=x3+2x2−5x−6p(x) = x^3 + 2x^2 - 5x - 6 Show that (x+1)(x + 1) is a factor and hence fully Factorise p(x)p(x).

p(−1)=−1+2+5−6=0p(-1) = -1 + 2 + 5 - 6 = 0. So (x+1)(x + 1) is a factor.

By polynomial long division:

P(x)=(x+1)(x2+x−6)=(x+1)(x+3)(x−2)P(x) = (x + 1)(x^2 + x - 6) = (x + 1)(x + 3)(x - 2)

Simultaneous Equations

Linear-Quadratic Systems:

Substitute the linear equation into the quadratic. The resulting equation is always a quadratic, Giving at most two solutions.

Example: Solve the system y=x2−4x+3y = x^2 - 4x + 3 and 2x+y=62x + y = 6.

Substitute: 2x+x2−4x+3=62x + x^2 - 4x + 3 = 6

x2−2x−3=0x^2 - 2x - 3 = 0 (x−3)(x+1)=0(x - 3)(x + 1) = 0 x=3orx=−1x = 3 \mathrm{ or x} = -1

When x=3x = 3: y=9−12+3=0y = 9 - 12 + 3 = 0. When x=−1x = -1: y=1+4+3=8y = 1 + 4 + 3 = 8.

Solutions: (3,0)(3, 0) and (−1,8)(-1, 8).

Transformations of Graphs (Higher)

Given y=f(x)y = f(x):

TransformationEffect
y=f(x)+cy = f(x) + cVertical translation by cc units up
y=f(x−c)y = f(x - c)Horizontal translation by cc units right
y=af(x)y = af(x)Vertical stretch by factor aa
y=f(bx)y = f(bx)Horizontal stretch by factor 1b\frac{1}{b}
y=−f(x)y = -f(x)Reflection in the xx-axis
y=f(−x)y = f(-x)Reflection in the yy-axis

Higher Calculus

Differentiation

The derivative of f(x)f(x) measures the instantaneous rate of change of ff with respect to xx. Geometrically, it gives the gradient of the tangent to the curve y=f(x)y = f(x).

F′(x)=lim⁡{h→0}{f(x+h)−f(x)}{h}F'(x) = \lim_\{h \to 0\} \frac\{f(x + h) - f(x)\}\{h\}

Standard Derivatives:

f(x)f(x)f′(x)f'(x)
xnx^nnxn−1nx^{n-1}
ekxe^{kx}kekxke^{kx}
ln⁡x\ln x1x\dfrac{1}{x}
sin⁡x\sin xcos⁡x\cos x
cos⁡x\cos x−sin⁡x-\sin x

Differentiation Rules:

Sum/Difference: (f±g)′=f′±g′(f \pm g)' = f' \pm g'

Product Rule: (fg)′=f′g+fg′(fg)' = f'g + fg'

Quotient Rule: (fg)′=f′g−fg′g2\left(\dfrac{f}{g}\right)' = \dfrac{f'g - fg'}{g^2}

Chain Rule: If y=f(g(x))y = f(g(x)) Then dydx=f′(g(x))⋅g′(x)\dfrac{dy}{dx} = f'(g(x)) \cdot g'(x)

Proof of the product rule. Define u(x)=f(x)g(x)u(x) = f(x)g(x). Then:

U′(x)=lim⁡{h→0}{f(x+h)g(x+h)−f(x)g(x)}{h}U'(x) = \lim_\{h \to 0\} \frac\{f(x+h)g(x+h) - f(x)g(x)\}\{h\}

Add and subtract f(x)g(x+h)f(x)g(x+h) in the numerator:

=lim⁡{h→0}{f(x+h)g(x+h)−f(x)g(x+h)+f(x)g(x+h)−f(x)g(x)}{h}= \lim_\{h \to 0\} \frac\{f(x+h)g(x+h) - f(x)g(x+h) + f(x)g(x+h) - f(x)g(x)\}\{h\} =lim⁡{h→0}[g(x+h)⋅{f(x+h)−f(x)}{h}+f(x)⋅{g(x+h)−g(x)}{h}]= \lim_\{h \to 0\} \left[g(x+h) \cdot \frac\{f(x+h) - f(x)\}\{h\} + f(x) \cdot \frac\{g(x+h) - g(x)\}\{h\}\right] =g(x)f′(x)+f(x)g′(x)= g(x)f'(x) + f(x)g'(x)

Example: Differentiate f(x)=(3x2+1)sin⁡(2x)f(x) = (3x^2 + 1)\sin(2x) using the product rule.

Let u=3x2+1u = 3x^2 + 1, v=sin⁡(2x)v = \sin(2x).

u′=6xu' = 6x, v′=2cos⁡(2x)v' = 2\cos(2x).

F′(x)=6xsin⁡(2x)+(3x2+1)⋅2cos⁡(2x)F'(x) = 6x \sin(2x) + (3x^2 + 1) \cdot 2\cos(2x) F′(x)=6xsin⁡(2x)+2(3x2+1)cos⁡(2x)F'(x) = 6x \sin(2x) + 2(3x^2 + 1)\cos(2x)

Example: Differentiate f(x)=e2xx+1f(x) = \dfrac{e^{2x}}{x + 1}.

Let u=e2xu = e^{2x}, v=x+1v = x + 1.

u′=2e2xu' = 2e^{2x}, v′=1v' = 1.

F′(x)={2e{2x}(x+1)−e{2x}}{(x+1)2}={e{2x}(2x+2−1)}{(x+1)2}={e{2x}(2x+1)}{(x+1)2}F'(x) = \frac\{2e^\{2x\}(x + 1) - e^\{2x\}\}\{(x + 1)^2\} = \frac\{e^\{2x\}(2x + 2 - 1)\}\{(x + 1)^2\} = \frac\{e^\{2x\}(2x + 1)\}\{(x + 1)^2\}

Example: Differentiate f(x)=x2+1e3xf(x) = \dfrac{x^2 + 1}{e^{3x}}.

Let u=x2+1u = x^2 + 1, v=e3xv = e^{3x}.

u′=2xu' = 2x, v′=3e3xv' = 3e^{3x}.

F′(x)={2x⋅e{3x}−(x2+1)⋅3e{3x}}{e{6x}}={e{3x}(2x−3x2−3)}{e{6x}}={2x−3x2−3}{e{3x}}F'(x) = \frac\{2x \cdot e^\{3x\} - (x^2 + 1) \cdot 3e^\{3x\}\}\{e^\{6x\}\} = \frac\{e^\{3x\}(2x - 3x^2 - 3)\}\{e^\{6x\}\} = \frac\{2x - 3x^2 - 3\}\{e^\{3x\}\}

Setting f′(x)=0f'(x) = 0: 2x−3x2−3=02x - 3x^2 - 3 = 0 I.e., 3x2−2x+3=03x^2 - 2x + 3 = 0. Since Δ=4−36=−32<0\Delta = 4 - 36 = -32 \lt 0 There are no real stationary points.

Applications of Differentiation

Stationary Points:

At a stationary point, f′(x)=0f'(x) = 0.

  • f′(x)f'(x) changes from positive to negative: local maximum
  • f′(x)f'(x) changes from negative to positive: local minimum
  • f′(x)f'(x) does not change sign: point of inflection

Second Derivative Test:

If f′(a)=0f'(a) = 0:

  • f′′(a)>0f''(a) > 0: local minimum at x=ax = a
  • f′′(a)<0f''(a) < 0: local maximum at x=ax = a
  • f′′(a)=0f''(a) = 0: test is inconclusive — use the first derivative test instead

Example: Find the stationary points of f(x)=x3−6x2+9x+1f(x) = x^3 - 6x^2 + 9x + 1 and determine their nature.

F′(x)=3x2−12x+9=3(x2−4x+3)=3(x−1)(x−3)F'(x) = 3x^2 - 12x + 9 = 3(x^2 - 4x + 3) = 3(x - 1)(x - 3)

Stationary points at x=1x = 1 and x=3x = 3.

F′′(x)=6x−12F''(x) = 6x - 12

At x=1x = 1: f′′(1)=−6<0f''(1) = -6 < 0 So local maximum. f(1)=1−6+9+1=5f(1) = 1 - 6 + 9 + 1 = 5.

At x=3x = 3: f′′(3)=6>0f''(3) = 6 > 0 So local minimum. f(3)=27−54+27+1=1f(3) = 27 - 54 + 27 + 1 = 1.

Local maximum at (1,5)(1, 5) Local minimum at (3,1)(3, 1).

Equation of a Tangent and Normal

The tangent to y=f(x)y = f(x) at (a,f(a))(a, f(a)) has equation:

Y−f(a)=f′(a)(x−a)Y - f(a) = f'(a)(x - a)

The normal is perpendicular to the tangent and has gradient −1f′(a)-\dfrac{1}{f'(a)} (provided f′(a)≠0f'(a) \ne 0).

Example: Find the equation of the tangent to y=x3−3x+1y = x^3 - 3x + 1 at x=2x = 2.

f(2)=8−6+1=3f(2) = 8 - 6 + 1 = 3.

f′(x)=3x2−3f'(x) = 3x^2 - 3 So f′(2)=12−3=9f'(2) = 12 - 3 = 9.

Y−3=9(x−2)  ⟹  y=9x−15Y - 3 = 9(x - 2) \implies y = 9x - 15

Optimisation

Optimisation problems require you to express the quantity to be optimised as a function of a single Variable, then find the stationary points.

Example: A rectangular box with a square base has a volume of 128cm3128 \mathrm{ cm^3}. The material For the base costs 5 pence per cm2\mathrm{cm^2} and the material for the sides costs 3 pence per cm2\mathrm{cm^2}. Find the dimensions that minimise the cost.

Let the base have side length xx cm and height hh cm.

Volume: x2h=128x^2 h = 128 So h=128x2h = \dfrac{128}{x^2}.

Cost: C=5x2+4×3xh=5x2+12x⋅128x2=5x2+1536xC = 5x^2 + 4 \times 3xh = 5x^2 + 12x \cdot \dfrac{128}{x^2} = 5x^2 + \dfrac{1536}{x}.

{dC}{dx}=10x−{1536}{x2}\frac\{dC\}\{dx\} = 10x - \frac\{1536\}\{x^2\}

Setting dCdx=0\dfrac{dC}{dx} = 0:

10x={1536}{x2}10x = \frac\{1536\}\{x^2\} 10x3=153610x^3 = 1536 X3=153.6X^3 = 153.6 X={3153.6}≈5.35{cmX = \sqrt[3]\{153.6\} \approx 5.35 \mathrm\{ cm H={128}{5.352}≈4.47{cmH = \frac\{128\}\{5.35^2\} \approx 4.47 \mathrm\{ cm

Verification: d2Cdx2=10+3072x3>0\frac{d^2C}{dx^2} = 10 + \frac{3072}{x^3} > 0 for all x>0x > 0 Confirming a Minimum.

Example: A closed cylindrical can must hold 500cm3500 \mathrm{ cm^3} of liquid. Find the dimensions That minimise the surface area.

Let the radius be rr and the height be hh.

Volume: πr2h=500\pi r^2 h = 500 So h=500πr2h = \dfrac{500}{\pi r^2}.

Surface area: S=2πr2+2πrh=2πr2+1000rS = 2\pi r^2 + 2\pi rh = 2\pi r^2 + \frac{1000}{r}.

{dS}{dr}=4πr−{1000}{r2}=0\frac\{dS\}\{dr\} = 4\pi r - \frac\{1000\}\{r^2\} = 0 4πr3=1000  ⟹  r3={250}{π}  ⟹  r={3{250}{π}}≈4.30{cm4\pi r^3 = 1000 \implies r^3 = \frac\{250\}\{\pi\} \implies r = \sqrt[3]\{\frac\{250\}\{\pi\}\} \approx 4.30 \mathrm\{ cm H={500}{π×4.302}≈8.60{cmH = \frac\{500\}\{\pi \times 4.30^2\} \approx 8.60 \mathrm\{ cm

Note that h=2rh = 2r So the optimal can has height equal to diameter. d2Sdr2=4π+2000r3>0\frac{d^2S}{dr^2} = 4\pi + \frac{2000}{r^3} > 0 Confirming a minimum.

Integration

Integration is the reverse of differentiation.

∫xn dx={x{n+1}}{n+1}+C(n≠−1)\int x^n \, dx = \frac\{x^\{n+1\}\}\{n+1\} + C \quad (n \neq -1) ∫e{kx} dx={e{kx}}{k}+C\int e^\{kx\} \, dx = \frac\{e^\{kx\}\}\{k\} + C

Definite Integration:

∫abf(x) dx=[F(x)]ab=F(b)−F(a)\int_a^b f(x) \, dx = \left[F(x)\right]_a^b = F(b) - F(a)

The Fundamental Theorem of Calculus. If F′(x)=f(x)F'(x) = f(x) on [a,b][a, b] Then ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a). This theorem connects the two branches of calculus: Differentiation and integration are inverse operations.

Area Under a Curve:

The area between y=f(x)y = f(x) The xx-axis, x=ax = a And x=bx = b is:

A=∫ab∣f(x)∣ dxA = \int_a^b |f(x)| \, dx

Example: Find the area enclosed by y=x2−4x+3y = x^2 - 4x + 3 and the xx-axis.

Find where the curve crosses the xx-axis: x2−4x+3=(x−1)(x−3)=0x^2 - 4x + 3 = (x-1)(x-3) = 0 So x=1x = 1 and x=3x = 3.

Since the parabola opens upward with roots at 1 and 3, the curve is below the xx-axis between these Points.

A=∫13∣x2−4x+3∣ dx=∫13(4x−x2−3) dxA = \int_1^3 |x^2 - 4x + 3| \, dx = \int_1^3 (4x - x^2 - 3) \, dx =[2x2−{x3}{3}−3x]13= \left[2x^2 - \frac\{x^3\}\{3\} - 3x\right]_1^3 =(18−9−9)−(2−{1}{3}−3)= \left(18 - 9 - 9\right) - \left(2 - \frac\{1\}\{3\} - 3\right) =0−(−{4}{3})={4}{3}= 0 - \left(-\frac\{4\}\{3\}\right) = \frac\{4\}\{3\}

Area Between Curves

If f(x)≥g(x)f(x) \ge g(x) on [a,b][a, b] The area between the curves is:

A=∫ab[f(x)−g(x)] dxA = \int_a^b [f(x) - g(x)] \, dx

Example: Find the area between y=x2y = x^2 and y=2xy = 2x.

Find intersections: x2=2xx^2 = 2x So x2−2x=0x^2 - 2x = 0 Giving x=0x = 0 and x=2x = 2.

Between x=0x = 0 and x=2x = 2, 2x>x22x > x^2.

A=∫02(2x−x2) dx=[x2−{x3}{3}]02=4−{8}{3}={4}{3}A = \int_0^2 (2x - x^2) \, dx = \left[x^2 - \frac\{x^3\}\{3\}\right]_0^2 = 4 - \frac\{8\}\{3\} = \frac\{4\}\{3\}

Example: Find the area enclosed by the curves y=x3y = x^3 and y=xy = x.

Find intersections: x3=xx^3 = x So x3−x=x(x−1)(x+1)=0x^3 - x = x(x-1)(x+1) = 0 Giving x=−1,0,1x = -1, 0, 1.

Between x=−1x = -1 and x=0x = 0: x≥x3x \ge x^3 (since x∈[−1,0]x \in [-1, 0] means x≥x3x \ge x^3). Between x=0x = 0 and x=1x = 1: x3≥xx^3 \ge x.

By symmetry of the two regions:

A=2∫01(x3−x) dx=2[{x4}{4}−{x2}{2}]01=2 ⁣({1}{4}−{1}{2})=2 ⁣(−{1}{4})={1}{2}A = 2\int_0^1 (x^3 - x)\, dx = 2\left[\frac\{x^4\}\{4\} - \frac\{x^2\}\{2\}\right]_0^1 = 2\!\left(\frac\{1\}\{4\} - \frac\{1\}\{2\}\right) = 2\!\left(-\frac\{1\}\{4\}\right) = \frac\{1\}\{2\}

Integration by Substitution (Advanced Higher)

∫f(g(x))g′(x) dx=∫f(u) du{whereu=g(x)\int f(g(x))g'(x) \, dx = \int f(u) \, du \quad \mathrm\{where u = g(x)

Example: Evaluate ∫2xx2+1 dx\int 2x\sqrt{x^2 + 1} \, dx.

Let u=x2+1u = x^2 + 1 So du=2x dxdu = 2x\,dx.

∫{u} du={2}{3}u{3/2}+C={2}{3}(x2+1){3/2}+C\int \sqrt\{u\}\, du = \frac\{2\}\{3\}u^\{3/2\} + C = \frac\{2\}\{3\}(x^2 + 1)^\{3/2\} + C

Example: Evaluate ∫02xx2+1 dx\int_0^2 \frac{x}{x^2 + 1}\,dx.

Let u = x^2 + 1$$du = 2x\,dx. When x = 0$$u = 1. When x = 2$$u = 5.

∫02{x}{x2+1} dx={1}{2}∫15{1}{u} du={1}{2}[ln⁡u]15={1}{2}ln⁡5\int_0^2 \frac\{x\}\{x^2 + 1\}\,dx = \frac\{1\}\{2\}\int_1^5 \frac\{1\}\{u\}\,du = \frac\{1\}\{2\}\left[\ln u\right]_1^5 = \frac\{1\}\{2\}\ln 5

Integration by Parts (Advanced Higher)

∫u dv=uv−∫v du\int u\, dv = uv - \int v\, du

Use LIATE (Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential) to choose uu.

Example: Evaluate ∫xex dx\int x e^x \, dx.

Let u = x$$dv = e^x\,dx. Then du = dx$$v = e^x.

∫xex dx=xex−∫ex dx=xex−ex+C=ex(x−1)+C\int x e^x \, dx = xe^x - \int e^x \, dx = xe^x - e^x + C = e^x(x - 1) + C

Differential Equations (Introduction)

A first-order differential equation relates a function to its first derivative.

Separable equations. If dydx=f(x)g(y)\dfrac{dy}{dx} = f(x)g(y) Separate the variables:

{1}{g(y)} dy=f(x) dx\frac\{1\}\{g(y)\}\,dy = f(x)\,dx

Integrate both sides.

Example: Solve dydx=xy\dfrac{dy}{dx} = \dfrac{x}{y} given y=2y = 2 when x=1x = 1.

Separate: y dy=x dxy\,dy = x\,dx.

Integrate: y22=x22+C\dfrac{y^2}{2} = \dfrac{x^2}{2} + C.

Using y=2,x=1y = 2, x = 1: 2=12+C2 = \frac{1}{2} + C So C=32C = \frac{3}{2}.

y2=x2+3y^2 = x^2 + 3 Giving y=x2+3y = \sqrt{x^2 + 3} (taking the positive root since y=2>0y = 2 > 0).


Intuition

Algebra is the language of patterns — it lets you describe relationships between quantities without specifying particular values. Functions are machines: you put a number in, a transformation happens, and a number comes out. The graph of a function is its portrait — it shows you the function’s personality (increasing, decreasing, periodic) at a glance. Calculus is the microscope that lets you see how functions change at every point: the derivative is the slope, the integral is the area under the curve. Together, algebra and calculus give you the tools to model and predict the behaviour of any system that changes continuously.

Worked Examples

See the examples integrated throughout the sections above.

Common Pitfalls

  1. Forgetting the chain rule: When differentiating sin⁡(3x)\sin(3x) The answer is 3cos⁡(3x)3\cos(3x) Not cos⁡(3x)\cos(3x). Every composite function requires the chain rule.

  2. Missing the +C+C: Always include the constant of integration for indefinite integrals. Omitting it is equivalent to asserting that you know the particular solution without initial conditions.

  3. Sign errors in the product rule: It is f′g+fg′f'g + fg' Not f′g−fg′f'g - fg'. The minus sign belongs in the quotient rule.

  4. Incorrect domain for logarithms: ln⁡(x)\ln(x) is only defined for x>0x > 0. Always check your solutions satisfy the domain restrictions. When solving log⁡2(x+3)\log_2(x+3) You need x>−3x > -3.

  5. Confusing f−1(x)f^{-1}(x) with 1f(x)\dfrac{1}{f(x)}: The notation f−1f^{-1} denotes the inverse function, not the reciprocal. This is a notation collision that causes persistent confusion.

  6. Forgetting absolute values in integrals of 1/x1/x: ∫dxx=ln⁡∣x∣+C\int \frac{dx}{x} = \ln|x| + C Not ln⁡x+C\ln x + C.

  7. Not checking that optimisation solutions are minima: Always verify with the second derivative test or a sign chart.

  8. Forgetting to change the limits when using substitution for definite integrals.

  9. Sign error in the quotient rule: It is f′g−fg′g2\dfrac{f'g - fg'}{g^2} Not fg′−f′gg2\dfrac{fg' - f'g}{g^2}. “Low d-High minus High d-Low.”


Practice Questions

  1. Given f(x)=2x2−8x+5f(x) = 2x^2 - 8x + 5 Express f(x)f(x) in completed square form and state the coordinates of the vertex.

  2. Solve 4x+1=32x−14^{x+1} = 3^{2x-1} Giving your answer in terms of natural logarithms.

  3. Given p(x)=x3+2x2−5x−6p(x) = x^3 + 2x^2 - 5x - 6 Show that (x+1)(x + 1) is a factor and hence fully factorise p(x)p(x).

  4. Differentiate f(x)=x2+1e3xf(x) = \dfrac{x^2 + 1}{e^{3x}} and find the coordinates of any stationary points.

  5. Find the area enclosed by the curves y=x3y = x^3 and y=xy = x.

  6. A closed cylindrical can must hold 500cm3500 \mathrm{ cm^3} of liquid. Find the dimensions that minimise the surface area.

  7. Solve log⁡3(x)+log⁡3(x−2)=1\log_3(x) + \log_3(x - 2) = 1.

  8. Find the equation of the tangent to y=x3−3x+1y = x^3 - 3x + 1 at the point where x=2x = 2.

  9. Given f(x)=13x3−x2−3x+2f(x) = \frac{1}{3}x^3 - x^2 - 3x + 2 Find the intervals on which ff is increasing and decreasing.

  10. Evaluate ∫02xx2+1 dx\int_0^2 \frac{x}{x^2 + 1}\,dx using substitution.

  11. The curve y=x2+px+qy = x^2 + px + q passes through (1,5)(1, 5) and has a turning point at x=2x = 2. Find pp and qq.

  12. Find the area between the curves y=x2+1y = x^2 + 1 and y=3x+1y = 3x + 1.

  13. Solve the differential equation dydx=2xy\dfrac{dy}{dx} = 2xy given y=5y = 5 when x=0x = 0.

  14. Find the equation of the normal to y=x2−4x+3y = x^2 - 4x + 3 at the point where x=4x = 4.

  15. A population of bacteria grows according to P(t)=P0e0.02tP(t) = P_0 e^{0.02t}. If the initial population is 1000, how long does it take for the population to reach 5000?

  16. Find the range of values of kk for which x2+2kx+k2+3=0x^2 + 2kx + k^2 + 3 = 0 has no real roots.

Summary

This topic covers the mathematical techniques and concepts related to algebra and calculus, including key theorems, methods, and problem-solving approaches.

Key concepts include:

  • quadratic equations and the discriminant
  • simultaneous equations
  • polynomial division and the factor theorem
  • partial fractions
  • binomial expansion

Cross-References

  • Trigonometry — Trigonometric functions extend the function concept and are used in solving equations and modelling periodic phenomena.
  • Calculus — Differentiation and integration of functions are core techniques that build on algebraic manipulation.
  • Vectors — Vector algebra uses function concepts to describe displacement, velocity, and force in multiple dimensions.