Integration Rules: Every Basic Formula You Need (With Examples)
Integration has a reputation. Ask a room of A-level or first-year university students which topic they dread most, and a lot of hands go up for this one.
Here’s the thing though. Most integrals you’ll meet in school aren’t clever puzzles. They’re the same eight or nine integration rules used over and over, sometimes two or three at once. Learn those properly and the scary-looking questions start to feel routine.
So that’s what this post is. Each rule, what it actually means, and a worked example you can follow line by line. Grab a pen.
First, what does integration actually do?
Integration is differentiation run backwards. If you differentiate x² you get 2x. So if someone asks you to integrate 2x, you’re really being asked: “what did I differentiate to get this?” The answer is x².
Well, almost. x² + 5 also differentiates to 2x. So does x² − 100. The constant disappears when you differentiate, so when you go backwards you have no idea what it was. That’s why every indefinite integral ends with + C. Forget it in an exam and you’ll lose a mark. Teachers are strict about this one.
The integration rules, one by one
1. The constant rule
Integrating a plain number just sticks an x on it.
∫ k dx = kx + C
So ∫ 7 dx = 7x + C. Makes sense, because 7x differentiates back to 7.
2. The power rule (you’ll use this constantly)
Add one to the power, then divide by the new power.
∫ xⁿ dx = xⁿ⁺¹ / (n + 1) + C, as long as n isn’t −1
Example: ∫ x⁴ dx. Add one to the power to get 5, then divide by 5. Answer: x⁵/5 + C.
It works for negative and fractional powers too, which is where people slip up. You just have to rewrite the question first.
∫ √x dx: write √x as x^(1/2). Add one to get x^(3/2), divide by 3/2. Dividing by 3/2 is the same as multiplying by 2/3, so the answer is (2/3)x^(3/2) + C.
∫ 1/x² dx: write it as x⁻². Add one to get x⁻¹, divide by −1. That’s −1/x + C.
3. Constant multiple and sum rules
These two let you break a big integral into small ones. Numbers in front can be pulled out, and you can integrate a sum term by term.
∫ k·f(x) dx = k ∫ f(x) dx
∫ [f(x) + g(x)] dx = ∫ f(x) dx + ∫ g(x) dx
Example: ∫ (3x² + 4x) dx
Do each term on its own. 3x² becomes 3 · x³/3, which is just x³. Then 4x becomes 4 · x²/2, which is 2x².
Put them together and add one constant at the end: x³ + 2x² + C. You don’t need a separate C for each term. One covers it.
4. The 1/x rule
Remember the power rule doesn’t work when n = −1? Try it and you’d be dividing by zero. This is the exception, and it has its own rule.
∫ 1/x dx = ln|x| + C
The absolute value bars matter, because you can’t take the log of a negative number. A lot of students drop them. Don’t.
5. Exponential rules
eˣ is the friendliest function in calculus. It integrates to itself.
∫ eˣ dx = eˣ + C
If there’s a number multiplying the x, divide by that number:
∫ e^(kx) dx = (1/k)e^(kx) + C
So ∫ e^(3x) dx = (1/3)e^(3x) + C. Quick check: differentiate it, and the chain rule brings out a 3 that cancels the 1/3. You get e^(3x) back. Good.
For other bases, like 2ˣ, divide by the natural log of the base: ∫ aˣ dx = aˣ / ln a + C.
6. Trigonometric rules
The three you’ll use most:
- ∫ sin x dx = −cos x + C
- ∫ cos x dx = sin x + C
- ∫ sec²x dx = tan x + C
The minus sign on the first one catches everyone at some point. A trick that helps: when you differentiate cos you get a minus, and when you integrate sin you get a minus. Sin and cos “swap” both ways, and the minus always sits next to the cos.
7. Integration by substitution
This is the chain rule in reverse. You use it when you can see a function and its derivative sitting in the same integral.
Example: ∫ 2x cos(x²) dx
See how 2x is the derivative of x²? That’s your clue. Let u = x². Then du = 2x dx.
Swap everything over: the integral becomes ∫ cos(u) du, which is sin(u) + C.
Now put x back in. sin(x²) + C. Never leave your answer in terms of u.
8. Integration by parts
For when two different kinds of function are multiplied together, like x times eˣ. The formula is:
∫ u dv = uv − ∫ v du
Example: ∫ x eˣ dx
Pick u = x, because it gets simpler when you differentiate it. That makes dv = eˣ dx. So du = dx and v = eˣ.
Plug into the formula: x eˣ − ∫ eˣ dx.
That last integral is easy, it’s just eˣ. So the answer is x eˣ − eˣ + C, or eˣ(x − 1) + C if you want it neat.
Not sure which part should be u? Many teachers use the LIATE order: Logs, Inverse trig, Algebraic, Trig, Exponential. Whichever comes first in that list is usually your u.
Integration rules cheat sheet
Screenshot this one for revision.
| Function | Integral |
|---|---|
| k (a constant) | kx + C |
| xⁿ (n ≠ −1) | xⁿ⁺¹ / (n + 1) + C |
| 1/x | ln|x| + C |
| eˣ | eˣ + C |
| e^(kx) | (1/k)e^(kx) + C |
| aˣ | aˣ / ln a + C |
| sin x | −cos x + C |
| cos x | sin x + C |
| sec²x | tan x + C |
| 1/(1 + x²) | tan⁻¹x + C |
| 1/√(1 − x²) | sin⁻¹x + C |
What about definite integrals?
Same rules, one extra step. Integrate as normal, skip the + C, then plug in the top limit and subtract what you get from the bottom limit.
Example: ∫ from 0 to 2 of (3x² + 4x) dx
We already know the integral is x³ + 2x². Put in 2: 8 + 8 = 16. Put in 0: 0. Subtract and the answer is 16.
Mistakes I see all the time
Forgetting + C. Yes, again. It’s the single most common lost mark.
Using the power rule on 1/x. You’ll get x⁰/0, which means nothing. Use ln|x|.
Getting the sign wrong on sin. ∫ sin x is −cos x, not cos x.
Trying to integrate a product term by term. ∫ x eˣ is not (x²/2)(eˣ). Products need substitution or parts.
Not checking. Here’s the best habit you can build: differentiate your answer. If you get back the thing you started with, you’re right. It takes thirty seconds and catches almost everything.
Check your integrals step by step
When you’re practising, it helps a lot to see where your working went off track. Type any integral into the free All Math Solver and it shows the method line by line, including substitution and integration by parts. It also handles definite and improper integrals. You can type the question or just snap a photo of it.
The point isn’t to skip the work. Have a go first, then compare your steps with the solver’s. That’s how the rules stick.
Need to brush up on the algebra side first? Our guide to the algebra step by step solver covers the basics you’ll need for simplifying answers.
Questions people ask about integration rules
What are the basic rules of integration? The core ones are the constant rule, power rule, constant multiple rule, sum rule, the 1/x rule, and the rules for eˣ and trig functions. Substitution and integration by parts handle harder cases.
Why do we add C when integrating? Because any constant disappears when you differentiate. When you go backwards, you can’t know what that constant was, so C stands for all the possibilities.
What is the power rule for integration? Add one to the power and divide by the new power: ∫ xⁿ dx = xⁿ⁺¹/(n + 1) + C. It works for every n except −1.
When do I use integration by parts? When two different types of functions are multiplied, such as x·eˣ, x·sin x or x·ln x, and substitution doesn’t work.
How do I know if my integral is correct? Differentiate your answer. If you get the original function back, it’s right.
Last word
Nobody gets good at integration by reading about it. Do ten questions on the power rule today, ten on trig tomorrow, and work up to substitution and parts. Within a couple of weeks these integration rules will feel automatic.
