Calculus: Differentiation and Integration with Applications
Mathematics · Differentiation (first principles, the power, product, quotient and chain rules), tangents and normals, velocity and acceleration, maximum and minimum points and optimisation; then integration (indefinite and definite integrals), finding a curve, area under and between curves, and motion, with WAEC
The big idea
Differentiate → gradient and rate of change. Integrate → area and total amount. They undo each other.

Differentiate when asked for a gradient, tangent, normal, rate of change, velocity from displacement, acceleration, or a maximum, minimum or turning point. Integrate when asked for the equation of a curve from dy/dx, an area under or between curves, distance from velocity, velocity from acceleration, or a total amount.
PART A: DIFFERENTIATION
What dy/dx means
A car moves so that its distance is s = t2 metres. Its average speed between t = 2 and t = 2 + h is ((2 + h)2 − 4) ÷ h = 4 + h. As h shrinks to zero (1, 0.1, 0.01 …), the average speed settles at 4 m/s. That limiting value is the derivative.
dy/dx ("dee-y by dee-x") is the rate of change of y with respect to x. At any point it equals the gradient of the tangent to the curve there. Other notations: f′(x), y′.

Differentiation from first principles
dy/dx = lim (h → 0) [f(x + h) − f(x)] ÷ h
The four steps examiners mark: write f(x + h) → subtract f(x) → divide by h → let h → 0.
The rules
- Power rule: y = axn → dy/dx = naxn − 1 (bring the power down, then reduce it by 1)
- Constant: d/dx(7) = 0; linear: d/dx(5x) = 5
- Sums and differences: differentiate term by term
- Rewrite first: 1/x2 = x−2, √x = x½
Product rule: y = uv → dy/dx = v·(du/dx) + u·(dv/dx)
Quotient rule: y = u/v → dy/dx = (v·du/dx − u·dv/dx) ÷ v2 ("bottom first" in the numerator)
Chain rule (function of a function): y = f(u), u = g(x) → dy/dx = (dy/du) × (du/dx)
Sine and cosine (x in radians; mainly Further Maths and UTME): d/dx(sin x) = cos x; d/dx(cos x) = −sin x; d/dx(sin ax) = a cos ax.
Tangents and normals
- Find the point (x1, y1) on the curve.
- Find the gradient m = dy/dx at that point.
- Tangent: y − y1 = m(x − x1). Normal (at right angles to the tangent): gradient −1/m.

Rates of change and motion
If s is displacement at time t: velocity v = ds/dt and acceleration a = dv/dt.
Maximum and minimum (stationary) points
At a turning point the gradient is zero: set dy/dx = 0 and solve. Then use the second derivative d2y/dx2:
- negative → maximum (∩)
- positive → minimum (∪)

Optimisation word problems
Write the quantity to be maximised or minimised in terms of one variable, differentiate, set to zero, and check it is a maximum or minimum.

Differentiation traps
- A constant differentiates to 0, not itself.
- Rewrite 1/x3 as x−3 before differentiating.
- Negative powers go down: x−2 → −2x−3.
- Don't forget the chain rule: (3x + 2)5 needs × 3 from the inside.
- d/dx(uv) is not u′ × v′.
- Quotient rule: v·u′ − u·v′ (bottom first).
PART B: INTEGRATION
What is integration?
Integration is the reverse of differentiation. Differentiation finds the gradient (rate of change) of a function; integration starts from the gradient and finds the original function.

Notation and the constant of integration
∫ f(x) dx = F(x) + C
- ∫ is the integral sign; f(x) is the integrand; dx means "with respect to x".
- C is the constant of integration. x3 + 5, x3 − 10 and x3 + 0.5 all differentiate to 3x2, so when we integrate 3x2 we must write x3 + C.
The basic rules

- Power rule: ∫ xn dx = xn + 1/(n + 1) + C (for n ≠ −1). In words: add 1 to the power, then divide by the new power.
- Constant multiple: ∫ k f(x) dx = k ∫ f(x) dx
- Sum and difference: integrate term by term.
- A constant on its own: ∫ k dx = kx + C
Check by differentiating
Differentiate your answer: you should get back the integrand.
Special integrals to memorise
- ∫ 1/x dx = ln|x| + C (the power rule fails when n = −1)
- ∫ ex dx = ex + C
- ∫ cos x dx = sin x + C
- ∫ sin x dx = −cos x + C
Integrating (ax + b)n: a linear "inside"
For a bracket with a linear inside, integrate as normal and then divide by the coefficient of x:
∫ (ax + b)n dx = (ax + b)n + 1/(a(n + 1)) + C

Finding the equation of a curve from its gradient
If you know dy/dx and one point on the curve, integrate and then use the point to find C.
Definite integrals
A definite integral has limits. Integrate (no C needed), then substitute the upper limit minus the lower limit:
∫ab f(x) dx = [F(x)]ab = F(b) − F(a)
Area under a curve
The area between a curve y = f(x), the x-axis and the lines x = a and x = b is ∫ab f(x) dx (when the curve is above the x-axis).
Area below the x-axis and between curves

Area between two curves = ∫ (top curve − bottom curve) dx, between the points where they meet.
Motion by integration
Distance s = ∫ v dt (the area under a velocity–time graph) and velocity v = ∫ a dt.
A full NECO Paper 2 question
Going further (Further Maths and A-Level)
Harder integrals use extra techniques:
- Substitution for a function and its derivative together, e.g. ∫ x ex² dx = ½ex² + C.
- Integration by parts for products: ∫ u dv = uv − ∫ v du. For example, ∫ x ex dx = x ex − ex + C.
- Partial fractions for rational functions, e.g. ∫ 1/((x + 1)(x + 2)) dx = ln|x + 1| − ln|x + 2| + C. (See the Algebra class for how to split the fraction.)
Integration traps
- Forgetting + C on an indefinite integral.
- Multiplying instead of dividing: ∫ x3 dx = x4/4, not 4x4.
- Integrating brackets directly: expand (x + 1)2 first.
- Subtracting the limits the wrong way round: always F(upper) − F(lower).
- Leaving an area below the axis negative: take the positive value.
- Mixing up the operations: area or distance → integrate; gradient or rate → differentiate.
Practice
- Differentiate y = 5x4 − 3x2 + 8.
- Differentiate y = (4x − 1)3.
- Differentiate y = 2x/(x + 3).
- Find the equation of the tangent to y = x2 + 1 at x = 1.
- Find and classify the turning point of y = x2 − 6x + 5.
- s = 2t3 − 9t2 + 12t. When is the particle at rest?
- Two positive numbers add up to 20. Find the largest possible product.
- Find ∫ (4x3 + 2x) dx and ∫ (1/x3) dx.
- Evaluate ∫ from 0 to 2 of (x2 + 2) dx.
- Find the area enclosed by y = 4 − x2 and the x-axis.
- dy/dx = 2x + 3 and the curve passes through (1, 6). Find y.
- Find the maximum value of y = 12x − x3 for x > 0.
Answers: 1. 20x3 − 6x · 2. 12(4x − 1)2 · 3. 6/(x + 3)2 · 4. y = 2x · 5. (3, −4), a minimum · 6. t = 1 s and t = 2 s · 7. 10 × 10 = 100 · 8. x4 + x2 + C; −1/(2x2) + C · 9. 20/3 = 6⅔ · 10. 32/3 = 10⅔ square units · 11. y = x2 + 3x + 2 · 12. 16 (at x = 2)
Previous topic: Statistics and Probability.
Practise Calculus: 10 questions in study mode, with an explanation after each answer.
Start Practice