Introduction
Differentiation is mechanical: apply the rules and you get an answer. Integration is different, because it means recognising which derivative you are looking at. This page is about the techniques that turn an unfamiliar integrand into a familiar one. Substitution undoes the chain rule, integration by parts undoes the product rule, and partial fractions split rational functions into pieces we can integrate on sight.
Mathematical motivation
Areas, volumes, total distance from a velocity, probabilities from a density, work done by a variable force: each is a limit of sums, and the Fundamental Theorem of Calculus lets us evaluate that limit with an antiderivative:
So the practical problem of computing areas becomes the algebraic problem of finding antiderivatives.
Intuitive explanation
- Substitution reverses the chain rule: if you can see sitting next to a function of , then .
- Parts reverses the product rule: rearranges to .
- Partial fractions is algebra rather than calculus. It rewrites a rational function as a sum of simple pieces with logarithmic or arctangent antiderivatives.
When you meet a new integral, ask in order: Is it standard? Is a function's derivative visibly present (substitution)? Is it a product of unlike types (parts)? Is it rational (partial fractions)? Can an identity simplify it (trigonometric)?
Area as a limit of rectangles
To find the area under from to , split into equal strips and use rectangles whose heights are the values at the right-hand ends. The total is
The sums settle on , and indeed . That limit is what means. That it can also be found as is a theorem, and a surprising one.
Let be the area under from up to . Push a little to : the area grows by a thin strip, about tall and wide. So , which means . The rate at which area accumulates is the height of the curve. So the area function is an antiderivative of , and that is the Fundamental Theorem of Calculus.
Formal definitions
is an antiderivative of on an interval if for all . Any two antiderivatives on an interval differ by a constant (a consequence of the Mean Value Theorem), so we write
For bounded on , is the common limit of Riemann sums as the mesh of the partition tends to , when this limit exists. Every continuous function on is Riemann integrable.
If the interval is infinite or is unbounded near an endpoint, define the integral as a limit, e.g.
which converges if the limit exists and is finite.
Important notation
- : the family of antiderivatives. : a number.
- .
- In a substitution , we write . This is shorthand for the chain rule, and it is made rigorous by the theorem below.
- is the constant of integration. On a domain with several pieces (such as on ) there may be a different constant on each piece.
Important identities
Theorems and propositions
Let be continuously differentiable on and continuous on . Then
If are continuously differentiable on ,
If and factorises over into linear factors and irreducible quadratics, then is a sum of terms of the form and , one for each power of each factor up to its multiplicity. The decomposition is unique.
For continuous on , .
Proofs of important results
Let be an antiderivative of (it exists because is continuous). By the chain rule, , so by the FTC
By the product rule , and all three functions are continuous. Integrating from to and using the FTC on the left-hand side,
Rearranging gives the result.
∎Substitute , so ; and :
Step-by-step derivations
Choosing in integration by parts
Choose to be the factor that becomes simpler when differentiated, and the factor you can integrate. A useful priority order is LIATE: Logarithms, Inverse trig, Algebraic, Trig, Exponential.
(algebraic), ; so , :
Cyclic integration by parts
For , applying parts twice returns on the right. Solve the resulting equation for (question Q26).
Finding partial fraction coefficients
For , multiply through: . Put : , so . Put : , so .
Substituting roots of the denominator ("cover-up") is valid because the identity holds for all once the denominators are cleared, by continuity.
The Fundamental Theorem (A level version)
With and continuous: for small the strip from to lies between rectangles of heights and , the least and greatest values of on :
As , both and tend to (continuity), so . Then if is any antiderivative, has derivative , so it is a constant . Since , , and .
Integration by parts, from the product rule
Parts trades one integral for another. It helps when is simpler than while is no worse than .
Substitution, from the chain rule
If , the chain rule gives . Integrating both sides:
The informal rule "" is just bookkeeping for this identity. For definite integrals, .
Why , with a modulus
For , . For , as well. So is an antiderivative of on each side of . Since is not defined at , a definite integral must never cross : is meaningless, not zero.
Volumes of revolution
Rotate , , about the -axis. A slice of thickness is approximately a disc of radius , volume . Summing and taking the limit:
Example (sphere): rotate for : .
The integral of
Multiply top and bottom by :
because the numerator is exactly the derivative of the denominator. This integral was first needed for the Mercator map projection (1569), where the vertical position of latitude is proportional to . Navigators tabulated it numerically decades before anyone knew the formula.
Mean value of a function
The average of on is the height of the rectangle with the same area:
For example, the mean of over a period is , which is why the root-mean-square of mains voltage is the peak divided by .
Worked examples
Evaluate .
Let , ; , :
. Clearing denominators: . Then , , and comparing coefficients . Hence
Parts with , : .
Common mistakes
After substituting in a definite integral, either change the limits to or substitute back before using the original limits. Never mix the two.
. Without the modulus, the answer is wrong on .
If , divide first. For example .
is not . The integrand is positive and the integral diverges, because the FTC needs continuous on the whole interval.
Applications
- Areas and volumes of revolution: .
- Mean value of a function: .
- Probability: expectations often need integration by parts.
- Differential equations: separating variables and integrating factors reduce ODEs to integrals.
- Physics: work , and centres of mass.
Connections to other topics
- Differentiation supplies every rule we reverse here.
- Improper integrals and Laplace transforms extend integration to infinite ranges.
- Riemann integration provides the rigorous foundation, and Lebesgue integration a more powerful one.
- Contour integration evaluates many real integrals that resist every technique on this page.
Summary
- Substitution reverses the chain rule; look for a function together with its derivative.
- Parts, , reverses the product rule. Choose to simplify on differentiation.
- Partial fractions: check the fraction is proper, set up one term per factor power, then integrate each term.
- Change the limits in a definite substitution; keep in logarithms; check continuity before applying the FTC.
- Symmetry and the King's property crack integrals that resist direct attack.
University-level ideas and the deeper mathematics behind this topic. Not needed for exams, but this is where the subject really opens up.
What an integral really is (university)
"Area under a curve" is intuitive, but what is area, for a wild function? Riemann (1854) and Darboux (1875) gave the first fully precise answer.
A partition of is a finite list . On each piece let and . The upper and lower sums are
Any lower sum is at most any upper sum, and refining a partition raises and lowers .
A bounded is Riemann integrable on if . This common value is . Equivalently: for every there is a partition with .
Let be increasing and use equal pieces of width . On each piece and , so the difference telescopes:
A continuous function on a closed bounded interval is uniformly continuous (the Heine–Cantor theorem): given there is with whenever , the same for every . Take a partition with all pieces shorter than . Then on each piece, so .
∎Dirichlet's function: if is rational, if irrational, on . Every interval contains both kinds of number, so every upper sum is and every lower sum is . The upper and lower integrals never meet. Yet "intuitively" the rationals are a negligible set, and the integral "should" be . The Lebesgue integral (below) agrees.
Archimedes (c. 250 BC) found the area of a parabolic segment by exhaustion, a limiting argument with triangles. Cavalieri, Fermat and Wallis computed in the 1630s–50s using sums of powers. Newton and Leibniz then connected area to antiderivatives, which turned dozens of hard special problems into routine calculation.
The Fundamental Theorem, proved (university)
Let be Riemann integrable on and define . Then is continuous on . If is continuous at , then is differentiable at with .
is bounded, say , so , and is continuous.
Now fix where is continuous. Given , choose with when . For :
If is Riemann integrable on and is differentiable on with , then .
Take any partition . By the Mean Value Theorem, on each piece there is with . Summing (it telescopes):
which lies between and . This holds for every , and these sums squeeze down to .
∎Notice that part 2 does not assume is continuous, only integrable. But it does need to be integrable. Volterra's function (see Differentiation) is differentiable with a bounded derivative that is not Riemann integrable, so part 2 fails there in the Riemann theory.
What the theorem achieves
Part 1 says every continuous function has an antiderivative, even when no formula exists. and are perfectly good functions defined this way. Part 2 says that when you can find an antiderivative, area is just a subtraction.
If is continuous on , then for some .
With and the minimum and maximum of : . So lies between and , and by the intermediate value theorem takes that value somewhere.
∎Improper integrals and convergence (university)
, and if blows up at , , when these limits exist. If they do, the integral converges; otherwise it diverges.
converges if and only if , and then equals . converges if and only if .
For : , which has a finite limit iff . For : . The second statement is similar with .
∎Rotate , , about the -axis. The volume is , finite. The surface area is . So you could fill the horn with paint, but never paint its inside surface. (The resolution: a mathematical layer of paint has zero thickness.)
If and converges, so does . If diverges, so does .
For example, converges by comparison with , and by comparison with .
Absolute versus conditional convergence
converges (to ), but : each arch from to contributes at least , and diverges. The positive and negative arches cancel just enough. Such conditionally convergent integrals are delicate. Swapping limits with them, or rearranging them, can change the answer, just as for conditionally convergent series.
diverges: it is not . The definition requires and to converge separately. The symmetric limit is a different object, the Cauchy principal value. It is useful in physics and complex analysis, but it must be named as such.
The Gamma and Beta functions (university)
For : . For : .
Questions Q58 and Q64 prove the key facts: , , and . These suggest the general identity:
Write the product as a double integral, substituting and in the two Gamma integrals:
In polar coordinates (, , ) this separates:
using in the second factor.
∎Some striking consequences
- , so . This is the Gaussian integral again.
- Volume of the unit ball in dimensions: . This gives and , it is largest at , and as . In high dimensions almost all of a cube's volume is in its corners.
- Reflection formula: . At it gives again.
The idea (Laplace's method): . The exponent peaks sharply at , with . Near the peak, , so
For the formula gives against the true , an error under that keeps shrinking as grows.
When limits and integrals do not commute (university)
Many techniques (Feynman's trick, integrating series term by term, changing the order of a double integral) swap an integral with a limit. That is not always allowed.
Let on and elsewhere on . For every fixed , , yet for every . So
The mass escapes into a spike that gets ever taller and thinner.
Lebesgue's idea (1902)
Riemann chops up the -axis. Lebesgue chops up the -axis: for each height band, ask how large the set of is where takes values in that band. That needs a way to measure the size of complicated sets, Lebesgue measure. Countable sets, like the rationals, have measure . So Dirichlet's function has Lebesgue integral , as it should.
Lebesgue's integral agrees with Riemann's whenever both exist, but it integrates far more functions. Above all, it comes with powerful limit theorems:
If and pointwise, then .
If pointwise and for all , where , then .
In the counterexample, no single integrable sits above all the spikes, which is exactly why it fails. The DCT is what justifies Feynman's trick: if with , then .
The order of integration matters here because . Fubini–Tonelli guarantees the orders agree whenever (or ).
Real integrals by complex methods (university)
Some real integrals are easiest by a detour through the complex plane. The key is that integrals of complex functions around closed loops are determined by a handful of special points.
If is complex-differentiable inside and on a simple closed contour , except at finitely many poles inside , then
At a simple pole, . For with and , this is .
Integrate around the boundary of the half-disc of radius in the upper half-plane.
Poles inside: gives and in the upper half-plane.
Residues: at each pole. Their sum is
The arc: on , , and the arc has length . So its contribution is at most .
Conclusion: as ,
With : and . For instance
The only pole inside the circle is . The residue there is , so the integral is .
These techniques evaluate in a few lines integrals that would be very hard by real methods. The Complex numbers topic develops the theory further.
Why does this work?
The product rule says . Integrate both sides: . Rearranging, . Integration by parts is the product rule run backwards.
Let be the area under from to . Increasing by adds a thin strip of area about , so : . Area is an antiderivative. So to find areas, undo differentiation.
Beyond the syllabus
Mathematical curiosities
(substitute , then ). And the "sophomore's dream" .
Rotate , , about the -axis. The volume is , but the surface area is infinite: you could fill it with paint but never paint its surface.
Further exploration
Reading pathway: Inside Interesting Integrals (Paul Nahin), full of Feynman-style techniques; then a course in measure and integration.