Integration rules
Integration reverses differentiation. Unlike derivatives, there is no guaranteed recipe, so it comes down to recognising a pattern: a standard result, a substitution or integration by parts.
Standard integrals
| Function | Integral | Function | Integral |
|---|---|---|---|
| xⁿ (n ≠ −1) | xⁿ⁺¹/(n + 1) + C | sin x | −cos x + C |
| 1/x | ln|x| + C | cos x | sin x + C |
| eˣ | eˣ + C | tan x | −ln|cos x| + C |
| aˣ | aˣ/ln a + C | sec²x | tan x + C |
| ln x | x ln x − x + C | sec x | ln|sec x + tan x| + C |
| 1/(1 + x²) | arctan x + C | sec x tan x | sec x + C |
| 1/√(1 − x²) | arcsin x + C | csc²x | −cot x + C |
There are many more in the table of integrals, each with its method.
Basic rules
- Constant multiple: ∫c f(x) dx = c ∫f(x) dx.
- Sum: ∫(f + g) dx = ∫f dx + ∫g dx.
- Always add + C to an indefinite integral, since any constant disappears when you differentiate.
There is no simple product rule or quotient rule for integrals, which is why integration is harder than differentiation. ∫fg dx isn’t (∫f dx)(∫g dx).
u-substitution
Substitution reverses the chain rule. Look for a function together with its derivative.
For ∫2x cos(x²) dx:
- Let u = x², the inside function.
- Then du = 2x dx, which matches exactly what is left in the integral.
- The integral becomes ∫cos u du = sin u + C.
- Substitute back: sin(x²) + C.
If you are off by a constant, adjust. For ∫e^(2x) dx, u = 2x gives dx = du/2, so the answer is e^(2x)/2 + C. In general, ∫f(ax + b) dx = F(ax + b)/a + C.
Integration by parts
Parts reverses the product rule:
∫ u dv = uv − ∫ v du
Choose u to be whatever gets simpler when you differentiate it. The order LIATE helps: Logs, Inverse trig, Algebraic, Trig, Exponential. Pick u from whichever comes first.
For ∫x eˣ dx: u = x and dv = eˣ dx, so du = dx and v = eˣ. That gives x eˣ − ∫eˣ dx = x eˣ − eˣ + C.
Trig identities and fractions
Trig powers. Use identities to rewrite them: sin²x = (1 − cos 2x)/2 and tan²x = sec²x − 1.
Fractions of polynomials. Partial fractions split them up: 1/(x² − 1) = (1/2)[1/(x − 1) − 1/(x + 1)], and each piece integrates to a log.
Roots of quadratics. Trig substitution handles these. For √(1 − x²), let x = sin θ.
How to choose a method
- Is it a standard integral, or a sum of them? Then you’re done.
- Can you simplify first, by expanding, splitting a fraction or using an identity?
- Is there a function and its derivative? Use substitution.
- Is it a product of different kinds of function, like x sin x or x ln x? Use parts.
- Is it a fraction of polynomials? Use partial fractions.
- Is it a root of a quadratic? Use a trig substitution.
Definite integrals
The fundamental theorem of calculus turns an antiderivative into an area: ∫ from a to b of f(x) dx = F(b) − F(a). There is no + C here, because it cancels.
The area under the curve calculator works these out, including the case where the curve dips below the x-axis.
When there is no formula
Frequently asked questions
What are the basic integration rules?
Why do you add + C?
When do I use integration by parts?
When do I use u-substitution?
What is the integral of 1/x?
Is there a product rule for integrals?
Keep going
All the common results, with methods.
Steps for your own function.
What these rules undo.
Definite integrals as area.
The region between two functions.
Rewrite an integrand into something you can do.
Every figure on this page opens in ihateDesmos, where you can drag sliders and watch the graph respond.