Skip to content

Algebra and Calculus

Algebra and Calculus

Higher Algebra

Graph Transformations: y = af(x + b) + c

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 + 2Then ff takes an input xx and returns 3x+23x + 2. The notation f ⁣:ABf \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)=1x3f(x) = \dfrac{1}{x - 3} is xRx \in \mathbb{R}, x3x \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^2Then:

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(fg)\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 f1f^{-1} reverses the effect of ff. To find f1f^{-1}:

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

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

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

y(x1)=2x+3y(x - 1) = 2x + 3

yxy=2x+3yx - y = 2x + 3

yx2x=y+3yx - 2x = y + 3

x(y2)=y+3x(y - 2) = y + 3

x=y+3y2x = \frac{y + 3}{y - 2}

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

Verification: f(f1(x))=2x+3x2+3x+3x21=2x+6+3x6x2x+3x+2x2=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.

The domain of f1f^{-1} equals the range of ffAnd vice versa. A function has an inverse if and Only if it is a bijection (both one-to-one and onto). For functions RR\mathbb{R} \to \mathbb{R} This means the function must be strictly monotone.

Quadratic Functions

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

Completed Square Form:

f(x)=a(xp)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+bax)+c=a ⁣(x+b2a)2b24a+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=cb24aq = c - \frac{b^2}{4a}.

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

f(x)=2(x26x)+7f(x) = 2(x^2 - 6x) + 7

f(x)=2((x3)29)+7f(x) = 2\left((x - 3)^2 - 9\right) + 7

f(x)=2(x3)218+7f(x) = 2(x - 3)^2 - 18 + 7

f(x)=2(x3)211f(x) = 2(x - 3)^2 - 11

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

The Discriminant:

For ax2+bx+c=0ax^2 + bx + c = 0The discriminant is Δ=b24ac\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 > 0The Square root is real and positive, yielding two distinct values. If Δ=0\Delta = 0Both values are b2a-\frac{b}{2a}. If Δ<0\Delta < 0The square root is not real.

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

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

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

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

Δ=k236=0    k=±6\Delta = k^2 - 36 = 0 \implies k = \pm 6

Logarithms and Exponentials

Laws of Logarithms:

loga(xy)=logax+logay\log_a(xy) = \log_a x + \log_a y

loga(xy)=logaxlogay\log_a\left(\frac{x}{y}\right) = \log_a x - \log_a y

loga(xn)=nlogax\log_a(x^n) = n \log_a x

logaa=1,loga1=0\log_a a = 1, \quad \log_a 1 = 0

Change of Base:

logab=logcblogca\log_a b = \frac{\log_c b}{\log_c a}

Proof of change of base. Let y=logaby = \log_a bSo ay=ba^y = b. Taking logc\log_c of both sides: ylogca=logcby \log_c a = \log_c bHence y=logcblogcay = \frac{\log_c b}{\log_c a}.

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

2x1=log37=ln7ln32x - 1 = \log_3 7 = \frac{\ln 7}{\ln 3}

2x=1+ln7ln32x = 1 + \frac{\ln 7}{\ln 3}

X=12(1+ln7ln3)1.389X = \frac{1}{2}\left(1 + \frac{\ln 7}{\ln 3}\right) \approx 1.389

Example: Solve log2(x+3)+log2(x1)=4\log_2(x + 3) + \log_2(x - 1) = 4.

log2((x+3)(x1))=4\log_2((x + 3)(x - 1)) = 4

(x+3)(x1)=16(x + 3)(x - 1) = 16

x2+2x3=16x^2 + 2x - 3 = 16

x2+2x19=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 x1>0x - 1 > 0We need x>1x > 1. So x=1+253.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}:

T1/2=ln2kT_{1/2} = \frac{\ln 2}{|k|}

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

N02=N0ekt1/2    12=ekt1/2    ln ⁣(12)=kt1/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} ln2=kt1/2    t1/2=ln2k=ln2k-\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=ln280.0866K = \frac{\ln 2}{8} \approx 0.0866 N(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+an1xn1++a1x+a0P(x) = a_n x^n + a_{n-1} x^{n-1} + \cdots + a_1 x + a_0

Factor Theorem:

(xa)(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 (xa)(x - a)The remainder is p(a)p(a).

Proof. By polynomial long division, p(x)=(xa)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 + rSo r=p(a)r = p(a).

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

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

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

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

Example: Find the remainder when p(x)=2x3+x25x+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)25(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+2x25x6p(x) = x^3 + 2x^2 - 5x - 6Show that (x+1)(x + 1) is a factor and hence fully Factorise p(x)p(x).

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

By polynomial long division:

P(x)=(x+1)(x2+x6)=(x+1)(x+3)(x2)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=x24x+3y = x^2 - 4x + 3 and 2x+y=62x + y = 6.

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

x22x3=0x^2 - 2x - 3 = 0

(x3)(x+1)=0(x - 3)(x + 1) = 0

x = 3 \mathrm{ or x = -1

When x=3x = 3: y=912+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(xc)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)=limh0f(x+h)f(x)hF'(x) = \lim_{h \to 0} \frac{f(x + h) - f(x)}{h}

Standard Derivatives:

f(x)f(x)f(x)f'(x)
xnx^nnxn1nx^{n-1}
ekxe^{kx}kekxke^{kx}
lnx\ln x1x\dfrac{1}{x}
sinx\sin xcosx\cos x
cosx\cos xsinx-\sin x

Differentiation Rules:

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

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

Quotient Rule: (fg)=fgfgg2\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)=limh0f(x+h)g(x+h)f(x)g(x)hU'(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:

=limh0f(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} =limh0[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)=2e2x(x+1)e2x(x+1)2=e2x(2x+21)(x+1)2=e2x(2x+1)(x+1)2F'(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)=2xe3x(x2+1)3e3xe6x=e3x(2x3x23)e6x=2x3x23e3xF'(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: 2x3x23=02x - 3x^2 - 3 = 0I.e., 3x22x+3=03x^2 - 2x + 3 = 0. Since Δ=436=32<0\Delta = 4 - 36 = -32 \lt 0There 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)=x36x2+9x+1f(x) = x^3 - 6x^2 + 9x + 1 and determine their nature.

F(x)=3x212x+9=3(x24x+3)=3(x1)(x3)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)=6x12F''(x) = 6x - 12

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

At x=3x = 3: f(3)=6>0f''(3) = 6 > 0So local minimum. f(3)=2754+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:

Yf(a)=f(a)(xa)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=x33x+1y = x^3 - 3x + 1 at x=2x = 2.

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

f(x)=3x23f'(x) = 3x^2 - 3So f(2)=123=9f'(2) = 12 - 3 = 9.

Y3=9(x2)    y=9x15Y - 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 128 \mathrm{ cm^3. The material For the base costs 5 pence per \mathrm{cm^2 and the material for the sides costs 3 pence per \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 = 128So h=128x2h = \dfrac{128}{x^2}.

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

dCdx=10x1536x2\frac{dC}{dx} = 10x - \frac{1536}{x^2}

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

10x=1536x210x = \frac{1536}{x^2} 10x3=153610x^3 = 1536 X3=153.6X^3 = 153.6 X = \sqrt[3]{153.6} \approx 5.35 \mathrm{ cm H = \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 > 0Confirming a Minimum.

Example: A closed cylindrical can must hold 500 \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 = 500So 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}.

dSdr=4πr1000r2=0\frac{dS}{dr} = 4\pi r - \frac{1000}{r^2} = 0 4\pi r^3 = 1000 \implies r^3 = \frac{250}{\pi} \implies r = \sqrt[3]{\frac{250}{\pi}} \approx 4.30 \mathrm{ cm H = \frac{500}{\pi \times 4.30^2} \approx 8.60 \mathrm{ cm

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

Integration

Integration is the reverse of differentiation.

xndx=xn+1n+1+C(n1)\int x^n \, dx = \frac{x^{n+1}}{n+1} + C \quad (n \neq -1) ekxdx=ekxk+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 = aAnd x=bx = b is:

A=abf(x)dxA = \int_a^b |f(x)| \, dx

:::caution If the curve crosses the xx-axis between aa and bbYou must split the integral at Each crossing point and take the absolute value. The integral itself gives the signed area, which Can cancel out. :::

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

Find where the curve crosses the xx-axis: x24x+3=(x1)(x3)=0x^2 - 4x + 3 = (x-1)(x-3) = 0So 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=13x24x+3dx=13(4xx23)dxA = \int_1^3 |x^2 - 4x + 3| \, dx = \int_1^3 (4x - x^2 - 3) \, dx =[2x2x333x]13= \left[2x^2 - \frac{x^3}{3} - 3x\right]_1^3 =(1899)(2133)= \left(18 - 9 - 9\right) - \left(2 - \frac{1}{3} - 3\right) =0(43)=43= 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 = 2xSo x22x=0x^2 - 2x = 0Giving x=0x = 0 and x=2x = 2.

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

A=02(2xx2)dx=[x2x33]02=483=43A = \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 = xSo x3x=x(x1)(x+1)=0x^3 - x = x(x-1)(x+1) = 0Giving x=1,0,1x = -1, 0, 1.

Between x=1x = -1 and x=0x = 0: xx3x \ge x^3 (since x[1,0]x \in [-1, 0] means xx3x \ge x^3). Between x=0x = 0 And x=1x = 1: x3xx^3 \ge x.

By symmetry of the two regions:

A=201(x3x)dx=2[x44x22]01=2 ⁣(1412)=2 ⁣(14)=12A = 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)

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

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

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

udu=23u3/2+C=23(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+1dx\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.

02xx2+1dx=12151udu=12[lnu]15=12ln5\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)

udv=uvvdu\int u\, dv = uv - \int v\, du

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

Example: Evaluate xexdx\int x e^x \, dx.

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

xexdx=xexexdx=xexex+C=ex(x1)+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:

1g(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: ydy=xdxy\,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} + CSo C=32C = \frac{3}{2}.

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


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 fg+fgf'g + fg'Not fgfgf'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 log2(x+3)\log_2(x+3)You need x>3x > -3.

  5. Confusing f1(x)f^{-1}(x) with 1f(x)\dfrac{1}{f(x)}: The notation f1f^{-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=lnx+C\int \frac{dx}{x} = \ln|x| + CNot lnx+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 fgfgg2\dfrac{f'g - fg'}{g^2}Not fgfgg2\dfrac{fg' - f'g}{g^2}. “Low d-High minus High d-Low.”


Practice Questions

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

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

  3. Given p(x)=x3+2x25x6p(x) = x^3 + 2x^2 - 5x - 6Show 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 500 \mathrm{ cm^3 of liquid. Find the dimensions that minimise the surface area.

  7. Solve log3(x)+log3(x2)=1\log_3(x) + \log_3(x - 2) = 1.

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

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

  10. Evaluate 02xx2+1dx\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=x24x+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

Regular practice with a variety of question types is essential to build fluency and confidence in applying these mathematical techniques.