Two questions, one answer
Integration answers two questions that look unrelated. "What function has this derivative?" — the indefinite integral. And "What is the area under this curve?" — the definite integral.
That these turn out to be the same operation is the great surprise of calculus, and it has a name: the Fundamental Theorem. Until you meet it, treat them as two skills that happen to share notation.
Area as a sum of rectangles
To find the area under a curve, slice it into thin vertical rectangles, add their areas, then make the slices thinner and thinner. The sum converges on the true area, and that limit is the definite integral.
The notation is a picture of the process: ∫ is an elongated S for "sum", f(x) is the height of each rectangle, and dx is its vanishing width.
Start at n = 4 and watch the rectangles overshoot and undershoot badly. Drag n upward and watch the error readout collapse. The exact area is what the sum approaches as n runs to infinity — you can see the convergence happen.
The rules worth knowing by heart
Almost every integral you meet at school level is one of these, or becomes one after a substitution. Notice that the power rule has an exception at n = −1, because dividing by n + 1 would mean dividing by zero — that case gives a logarithm instead.
| ∫ f(x) dx where f(x) = | gives |
|---|---|
| xⁿ (n ≠ −1) | xⁿ⁺¹ / (n + 1) + C |
| 1/x | ln|x| + C |
| eˣ | eˣ + C |
| sin x | −cos x + C |
| cos x | sin x + C |
| sec² x | tan x + C |
The two techniques that unlock the rest
Substitution reverses the chain rule: spot an inner function whose derivative also appears, and let u be that inner function. Integration by parts reverses the product rule: ∫u dv = uv − ∫v du, and the art is choosing which factor to call u. LIATE — logs, inverse trig, algebraic, trig, exponential — is a reliable ordering for that choice.
The Fundamental Theorem ties it together
To find the area from a to b, you do not need rectangles at all. Find any antiderivative F, evaluate it at both ends, and subtract. That is it.
This is why integration is worth learning as an algebraic skill rather than a numerical one: a problem that would need thousands of rectangles to approximate is solved exactly in two lines.
Integration by substitution
The chain rule run backwards. When an integrand contains a function and something close to its derivative, substituting for the inner function turns an impossible integral into a standard one.
The routine: choose u to be the awkward inner expression, differentiate to get du = u′ dx, replace every x — including the dx — and integrate in u. For a definite integral, change the limits to u values as well and there is no need to substitute back.
Evaluate ∫ 2x(x² + 1)⁵ dx.
- Let
u = x² + 1, the expression inside the bracket.Choose the inner function of the composition — it is nearly always the right choice. du/dx = 2x, sodu = 2x dx.The 2x already sitting in the integrand is exactly what is needed, which is why this substitution works.- The integral becomes
∫ u⁵ du = u⁶/6 + C.Every trace of x must be gone before integrating, including the dx. - Substitute back:
(x² + 1)⁶/6 + C.Check by differentiating: 6(x²+1)⁵(2x)/6 = 2x(x²+1)⁵ ✓
(x² + 1)⁶ / 6 + C
Definite integrals and the area between curves
A definite integral has limits and produces a number rather than a family of functions, so the constant of integration cancels and is left out. Geometrically it is a signed area: regions below the x-axis contribute negatively.
That signing matters. A question asking for the total area enclosed by a curve that crosses the axis must be split at the crossing points and the pieces added as positive quantities — otherwise the parts cancel and the answer comes out too small, or even zero.
Find the area enclosed between y = x² and y = 2x.
- Find the intersections:
x² = 2xgivesx(x − 2) = 0, sox = 0andx = 2.The intersections are the limits of integration; without them there is nothing to integrate between. - Between 0 and 2, test x = 1: the line gives 2 and the curve gives 1, so the line is the upper curve.Deciding which is upper by testing one interior point is faster and safer than sketching.
Area = ∫₀² (2x − x²) dx = [x² − x³/3]₀².Upper minus lower, always in that order.= (4 − 8/3) − 0 = 4/3.A positive answer, as an area must be. A negative result means the curves were subtracted the wrong way round.
4/3 square units
Split the integral where the curve crosses the axis
∫₋₁¹ x³ dx = 0, but the region between the curve and the axis is certainly not empty. The part below the axis has cancelled the part above. For a genuine area, integrate each side of the crossing separately and add the absolute values — here 2 × ¼ = ½.
The standard integrals beyond powers of x
Integration is reverse differentiation, so every derivative learned becomes an integral read backwards. The only genuinely new feature is the linear inside: integrating f(ax + b) divides by a, because differentiating would have multiplied by it.
- 1/a
- the correction factoronly valid when the inside is linear
- |x|
- the modulus in the logarithmneeded because ln of a negative does not exist
- + c
- the arbitrary constantomitted only for definite integrals
The 1/a trick works for linear insides only
∫ cos(3x) dx = (1/3)sin(3x) + c is correct. ∫ cos(x²) dx is not (1/2x)sin(x²) — that reasoning fails completely once the inside is not linear, and no elementary answer exists for that particular integral at all. Check that the inside is of the form ax + b before dividing.
Substitution, and integration by parts
Two techniques cover the rest of the syllabus. Substitution reverses the chain rule and is signalled by a function appearing alongside its own derivative. Integration by parts reverses the product rule and is signalled by a product of two unrelated functions.
One important special case is worth recognising instantly: an integrand of the form f′(x)/f(x) integrates to ln|f(x)|, because the numerator is exactly the derivative of the denominator. Spotting this saves a full substitution.
- u
- the part you differentiatepick the one that simplifies when differentiated
- dv/dx
- the part you integratemust be something you can actually integrate
- du
- the substitution differentialchange the limits too, for a definite integral
Find ∫ x·ln x dx.
- This is a product of unrelated functions, so use by parts. Let u = ln x and dv/dx = x.ln x is chosen as u because differentiating it gives the much simpler 1/x, while integrating it would be harder.
- Then du/dx = 1/x and v = x²/2.Both pieces are needed before applying the formula.
- ∫ x ln x dx = (x²/2)ln x − ∫ (x²/2)(1/x) dx.Direct substitution into uv − ∫v(du/dx)dx.
- = (x²/2)ln x − ∫ (x/2) dx = (x²/2)ln x − x²/4 + c.The new integral is elementary, which confirms u was chosen correctly.
(x²/2)ln x − x²/4 + c
Choosing the method
- A function and its derivative both present → substitution.
- Numerator is the derivative of the denominator →
ln|denominator|immediately. - Product of unrelated functions → by parts, differentiating the one that simplifies.
- A rational function with a factorisable denominator → partial fractions first.
- An even power of sine or cosine → use a double-angle formula to lower the power first.
- For definite integrals by substitution, change the limits to the new variable rather than substituting back.