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+2Then f takes an input x and returns 3x+2. The notation
f:A→B means f maps from set A to set B.
Domain and Range:
The domain of f is the set of all valid inputs. The range is the set of all outputs.
The domain of f(x)=x−31 is x∈R, x=3.
The range of f(x)=x2 is f(x)≥0 (assuming the domain is all real numbers).
Composite Functions:
If f(x)=2x+1 and g(x)=x2Then:
f(g(x))=f(x2)=2x2+1
g(f(x))=g(2x+1)=(2x+1)2=4x2+4x+1
Note that f(g(x))=g(f(x)). Composition is not commutative.
Domain of a composite function:dom(f∘g) is the set of all x in
dom(g) such that g(x)∈dom(f).
Inverse Functions:
The inverse function f−1 reverses the effect of f. To find f−1:
The domain of f−1 equals the range of fAnd vice versa. A function has an inverse if and Only
if it is a bijection (both one-to-one and onto). For functions R→R This
means the function must be strictly monotone.
Quadratic Functions
A quadratic function has the general form f(x)=ax2+bx+c where a=0.
Completed Square Form:
f(x)=a(x−p)2+q
Where the vertex is at (p,q). The axis of symmetry is the vertical line x=p.
Derivation. Starting from ax2+bx+c:
Ax2+bx+c=a(x2+abx)+c=a(x+2ab)2−4ab2+c
So p=−2ab and q=c−4ab2.
Example: Express f(x)=2x2−12x+7 in completed square form.
f(x)=2(x2−6x)+7
f(x)=2((x−3)2−9)+7
f(x)=2(x−3)2−18+7
f(x)=2(x−3)2−11
The vertex is at (3,−11) and since a=2>0The parabola opens upward with a minimum value of
−11.
The Discriminant:
For ax2+bx+c=0The discriminant is Δ=b2−4ac.
Condition
Number of Roots
Δ>0
Two distinct real roots
Δ=0
One repeated real root
Δ<0
No real roots
Proof. The quadratic formula gives x=2a−b±Δ. If Δ>0The
Square root is real and positive, yielding two distinct values. If Δ=0Both values are
−2ab. If Δ<0The square root is not real.
Example: Determine the nature of the roots of 3x2−5x+2=0.
Δ=(−5)2−4(3)(2)=25−24=1
Since Δ>0There are two distinct real roots.
Example: Find the value of k for which x2+kx+9=0 has equal roots.
Δ=k2−36=0⟹k=±6
Logarithms and Exponentials
Laws of Logarithms:
loga(xy)=logax+logay
loga(yx)=logax−logay
loga(xn)=nlogax
logaa=1,loga1=0
Change of Base:
logab=logcalogcb
Proof of change of base. Let y=logabSo ay=b. Taking logc of both sides:
ylogca=logcbHence y=logcalogcb.
Example: Solve 32x−1=7.
2x−1=log37=ln3ln7
2x=1+ln3ln7
X=21(1+ln3ln7)≈1.389
Example: Solve log2(x+3)+log2(x−1)=4.
log2((x+3)(x−1))=4
(x+3)(x−1)=16
x2+2x−3=16
x2+2x−19=0
x=2−2±4+76=2−2±80=−1±25
Since x+3>0 and x−1>0We need x>1. So x=−1+25≈3.472.
Exponential Growth and Decay:
N(t)=N0ekt
Where N0 is the initial quantity and k is the growth (k>0) or decay (k<0) constant.
Half-life: For decay with half-life t1/2:
T1/2=∣k∣ln2
Proof of the half-life formula. Set N(t1/2)=2N0:
When p(x) is divided by (x−a)The remainder is p(a).
Proof. By polynomial long division, p(x)=(x−a)q(x)+r for some quotient q(x) and constant
Remainder r. Setting x=a: p(a)=0+rSo r=p(a).
Example: Factorise p(x)=x3−3x2−4x+12.
Try p(1)=1−3−4+12=6=0.
Try p(2)=8−12−8+12=0. So (x−2) is a factor.
P(x)=(x−2)(x2−x−6)=(x−2)(x−3)(x+2)
Example: Find the remainder when p(x)=2x3+x2−5x+3 is divided by (x+1).
By the Remainder Theorem, the remainder is p(−1):
P(−1)=2(−1)3+(−1)2−5(−1)+3=−2+1+5+3=7
Example: Given p(x)=x3+2x2−5x−6Show that (x+1) is a factor and hence fully
Factorise p(x).
p(−1)=−1+2+5−6=0. So (x+1) is a factor.
By polynomial long division:
P(x)=(x+1)(x2+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+3 and 2x+y=6.
Substitute: 2x+x2−4x+3=6
x2−2x−3=0
(x−3)(x+1)=0
x = 3 \mathrm{ or x = -1
When x=3: y=9−12+3=0. When x=−1: y=1+4+3=8.
Solutions: (3,0) and (−1,8).
Transformations of Graphs (Higher)
Given y=f(x):
Transformation
Effect
y=f(x)+c
Vertical translation by c units up
y=f(x−c)
Horizontal translation by c units right
y=af(x)
Vertical stretch by factor a
y=f(bx)
Horizontal stretch by factor b1
y=−f(x)
Reflection in the x-axis
y=f(−x)
Reflection in the y-axis
Higher Calculus
Differentiation
The derivative of f(x) measures the instantaneous rate of change of f with respect to x.
Geometrically, it gives the gradient of the tangent to the curve y=f(x).
F′(x)=h→0limhf(x+h)−f(x)
Standard Derivatives:
f(x)
f′(x)
xn
nxn−1
ekx
kekx
lnx
x1
sinx
cosx
cosx
−sinx
Differentiation Rules:
Sum/Difference: (f±g)′=f′±g′
Product Rule: (fg)′=f′g+fg′
Quotient Rule: (gf)′=g2f′g−fg′
Chain Rule: If y=f(g(x))Then dxdy=f′(g(x))⋅g′(x)
Proof of the product rule. Define u(x)=f(x)g(x). Then:
Setting f′(x)=0: 2x−3x2−3=0I.e., 3x2−2x+3=0. Since
Δ=4−36=−32<0There are no real stationary points.
Applications of Differentiation
Stationary Points:
At a stationary point, f′(x)=0.
f′(x) changes from positive to negative: local maximum
f′(x) changes from negative to positive: local minimum
f′(x) does not change sign: point of inflection
Second Derivative Test:
If f′(a)=0:
f′′(a)>0: local minimum at x=a
f′′(a)<0: local maximum at x=a
f′′(a)=0: test is inconclusive — use the first derivative test instead
Example: Find the stationary points of f(x)=x3−6x2+9x+1 and determine their nature.
F′(x)=3x2−12x+9=3(x2−4x+3)=3(x−1)(x−3)
Stationary points at x=1 and x=3.
F′′(x)=6x−12
At x=1: f′′(1)=−6<0So local maximum. f(1)=1−6+9+1=5.
At x=3: f′′(3)=6>0So local minimum. f(3)=27−54+27+1=1.
Local maximum at (1,5)Local minimum at (3,1).
Equation of a Tangent and Normal
The tangent to y=f(x) at (a,f(a)) has equation:
Y−f(a)=f′(a)(x−a)
The normal is perpendicular to the tangent and has gradient −f′(a)1 (provided
f′(a)=0).
Example: Find the equation of the tangent to y=x3−3x+1 at x=2.
f(2)=8−6+1=3.
f′(x)=3x2−3So f′(2)=12−3=9.
Y−3=9(x−2)⟹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 x cm and height h cm.
Note that h=2rSo the optimal can has height equal to diameter.
dr2d2S=4π+r32000>0Confirming a minimum.
Integration
Integration is the reverse of differentiation.
∫xndx=n+1xn+1+C(n=−1)∫ekxdx=kekx+C
Definite Integration:
∫abf(x)dx=[F(x)]ab=F(b)−F(a)
The Fundamental Theorem of Calculus. If F′(x)=f(x) on [a,b]Then
∫abf(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)The x-axis, x=aAnd x=b is:
A=∫ab∣f(x)∣dx
:::caution If the curve crosses the x-axis between a and bYou 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=x2−4x+3 and the x-axis.
Find where the curve crosses the x-axis: x2−4x+3=(x−1)(x−3)=0So x=1 and x=3.
Since the parabola opens upward with roots at 1 and 3, the curve is below the x-axis between these
Points.
\int f(g(x))g'(x) \, dx = \int f(u) \, du \quad \mathrm{where u = g(x)
Example: Evaluate ∫2xx2+1dx.
Let u=x2+1So du=2xdx.
∫udu=32u3/2+C=32(x2+1)3/2+C
Example: Evaluate ∫02x2+1xdx.
Let u = x^2 + 1$$du = 2x\,dx. When x = 0$$u = 1. When x = 2$$u = 5.
∫02x2+1xdx=21∫15u1du=21[lnu]15=21ln5
Integration by Parts (Advanced Higher)
∫udv=uv−∫vdu
Use LIATE (Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential) to choose u.
Example: Evaluate ∫xexdx.
Let u = x$$dv = e^x\,dx. Then du = dx$$v = e^x.
∫xexdx=xex−∫exdx=xex−ex+C=ex(x−1)+C
Differential Equations (Introduction)
A first-order differential equation relates a function to its first derivative.
Separable equations. If dxdy=f(x)g(y)Separate the variables:
g(y)1dy=f(x)dx
Integrate both sides.
Example: Solve dxdy=yx given y=2 when x=1.
Separate: ydy=xdx.
Integrate: 2y2=2x2+C.
Using y=2,x=1: 2=21+CSo C=23.
y2=x2+3Giving y=x2+3 (taking the positive root since y=2>0).
Worked Examples
See the examples integrated throughout the sections above.
Common Pitfalls
Forgetting the chain rule: When differentiating sin(3x)The answer is 3cos(3x)Not
cos(3x). Every composite function requires the chain rule.
Missing the +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.
Sign errors in the product rule: It is f′g+fg′Not f′g−fg′. The minus sign belongs in
the quotient rule.
Incorrect domain for logarithms:ln(x) is only defined for x>0. Always check your
solutions satisfy the domain restrictions. When solving log2(x+3)You need x>−3.
Confusing f−1(x) with f(x)1: The notation f−1 denotes the inverse
function, not the reciprocal. This is a notation collision that causes persistent confusion.
Forgetting absolute values in integrals of 1/x:∫xdx=ln∣x∣+CNot
lnx+C.
Not checking that optimisation solutions are minima: Always verify with the second derivative
test or a sign chart.
Forgetting to change the limits when using substitution for definite integrals.
Sign error in the quotient rule: It is g2f′g−fg′Not g2fg′−f′g.
“Low d-High minus High d-Low.”
Practice Questions
Given f(x)=2x2−8x+5Express f(x) in completed square form and state the coordinates of
the vertex.
Solve 4x+1=32x−1Giving your answer in terms of natural logarithms.
Given p(x)=x3+2x2−5x−6Show that (x+1) is a factor and hence fully factorise
p(x).
Differentiate f(x)=e3xx2+1 and find the coordinates of any stationary points.
Find the area enclosed by the curves y=x3 and y=x.
A closed cylindrical can must hold 500 \mathrm{ cm^3 of liquid. Find the dimensions that
minimise the surface area.
Solve log3(x)+log3(x−2)=1.
Find the equation of the tangent to y=x3−3x+1 at the point where x=2.
Given f(x)=31x3−x2−3x+2Find the intervals on which f is increasing and
decreasing.
Evaluate ∫02x2+1xdx using substitution.
The curve y=x2+px+q passes through (1,5) and has a turning point at x=2. Find
p and q.
Find the area between the curves y=x2+1 and y=3x+1.
Solve the differential equation dxdy=2xy given y=5 when x=0.
Find the equation of the normal to y=x2−4x+3 at the point where x=4.
A population of bacteria grows according to P(t)=P0e0.02t. If the initial population is
1000, how long does it take for the population to reach 5000?
Find the range of values of k for which x2+2kx+k2+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.