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+2 Then 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)=x2 Then:
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:
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=log{cb}{logca}
Proof of change of base. Let y=logab So ay=b. Taking logc of both sides: ylogca=logcbHence y=logcalogcb.
Example: Solve 32x−1=7.
2x−1=log37=ln3ln7
2x=1+ln3ln7
X=1{}{2}(1+ln{7}{ln3})≈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:
T{1/2}=ln{2}{∣k∣}
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+r So 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)={limh→0}f{(x+h)−f(x)}{h}
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<0 So local maximum. f(1)=1−6+9+1=5.
At x=3: f′′(3)=6>0 So 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−3 So 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.
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=a And 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)=0 So 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.
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:
1{}{g(y)}dy=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+C So C=23.
y2=x2+3Giving y=x2+3 (taking the positive root since y=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
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.
flowchart TD
A[1_Algebra Functionsx] --> B[Key Concepts]
A --> C[Core Principles]
A --> D[Practical Applications]
B --> E[Fundamental definitions]
C --> F[Design patterns]
D --> G[Real-world usage]
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.
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.