Skip to content
ihateDesmos

Integration rules

9 min read · Updated 6 November 2026

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

FunctionIntegralFunctionIntegral
xⁿ (n ≠ −1)xⁿ⁺¹/(n + 1) + Csin x−cos x + C
1/xln|x| + Ccos xsin x + C
eˣeˣ + Ctan x−ln|cos x| + C
aˣaˣ/ln a + Csec²xtan x + C
ln xx ln x − x + Csec xln|sec x + tan x| + C
1/(1 + x²)arctan x + Csec x tan xsec x + C
1/√(1 − x²)arcsin x + Ccsc²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:

  1. Let u = x², the inside function.
  2. Then du = 2x dx, which matches exactly what is left in the integral.
  3. The integral becomes ∫cos u du = sin u + C.
  4. 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

  1. Is it a standard integral, or a sum of them? Then you’re done.
  2. Can you simplify first, by expanding, splitting a fraction or using an identity?
  3. Is there a function and its derivative? Use substitution.
  4. Is it a product of different kinds of function, like x sin x or x ln x? Use parts.
  5. Is it a fraction of polynomials? Use partial fractions.
  6. 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.

12240
Open in calculator
The shaded area under
y=x2
from 0 to 2 is F(2) − F(0) = 8/3.

When there is no formula

Some simple-looking functions have no antiderivative in elementary functions: e^(−x²), sin(x²) and sin(x)/x are the famous ones. Their definite integrals still exist, and numerical methods can find them to any accuracy.

Frequently asked questions

What are the basic integration rules?
The power rule, ∫xⁿ dx = xⁿ⁺¹/(n + 1) + C; the sum and constant multiple rules; and the standard integrals of exponential, trig and log functions.
Why do you add + C?
Because the derivative of a constant is 0, so many functions share the same derivative. C stands for all of those possible constants.
When do I use integration by parts?
When the integrand is a product of different kinds of function, such as x eˣ or x sin x, or for a lone log or inverse trig function.
When do I use u-substitution?
When you can see a function and its derivative in the integrand, like 2x and x² in 2x cos(x²).
What is the integral of 1/x?
ln|x| + C. It is the one power that the power rule can’t handle.
Is there a product rule for integrals?
Not a direct one. Integration by parts is the closest thing, and it comes from reversing the product rule.

Keep going

Try it in the calculator

Every figure on this page opens in ihateDesmos, where you can drag sliders and watch the graph respond.

Open the calculator