Integral Rules and Formulas, With Examples
What an integral is, every basic integration rule and formula, the Fundamental Theorem of Calculus, u-substitution and integration by parts, with step-by-step examples and practice problems.
Practice Integrals FreeWhat is an integral?
An integral adds up infinitely many tiny pieces to get a total. There are two kinds, and they are closely linked:
- An indefinite integral, or antiderivative, reverses differentiation. Since the derivative of x² is 2x, an antiderivative of 2x is x². The answer is a family of functions, written with “+ C”:
- A definite integral has limits a and b and gives a number: the net signed area between the curve and the x-axis from x = a to x = b. Area above the axis counts as positive and area below counts as negative.
The definite integral is defined as a limit: split [a, b] into thin rectangles, add their areas (a Riemann sum), and let the rectangles get infinitely thin. In the notation, ∫ is a stretched “S” for sum, f(x) is the height of each rectangle, and dx is its width.
The Fundamental Theorem of Calculus
The Fundamental Theorem connects the two kinds of integral and shows that integration and differentiation undo each other.
Part 1
The rate at which accumulated area grows is the height of the curve. With the chain rule: .
Part 2
To evaluate a definite integral, find any antiderivative, plug in the top limit, plug in the bottom limit and subtract. The + C cancels, so you can leave it out.
Integration rules
Every basic integration rule is a derivative rule read backward.
Power rule
Add 1 to the exponent, then divide by the new exponent. It is the power rule for derivatives run backward.
Constant multiple rule
Sum and difference rule
Constant rule
Integral formulas for common functions
| Function f(x) | |
|---|---|
The 1/x rule fills the one gap in the power rule (n = −1). The absolute value is needed because ln only accepts positive inputs.
Properties of definite integrals
Integration techniques
u-substitution
The chain rule in reverse. Use it when the integrand contains a function and, up to a constant, that function's derivative:
- Let u be the “inside” function.
- Find du = u′(x) dx and solve for whatever is in the integral.
- Rewrite the whole integral in terms of u (no x left), and integrate.
- Substitute back to x. For a definite integral, change the limits to u-values instead.
Integration by parts
The product rule in reverse, for a product of two different kinds of functions:
Choose u with LIATE (Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential): whichever type comes first becomes u, because it gets simpler when differentiated. For ∫ ln x dx, take u = ln x and dv = dx to get x ln x − x + C.
Partial fractions and trig integrals
In Calculus 2 and AP Calculus BC you also split rational functions into simpler fractions, for example 1/(x(x + 1)) = 1/x − 1/(x + 1), whose integral is ln|x| − ln|x + 1| + C. You also use trig identities to integrate powers of sine and cosine.
Worked integral examples
Example 1: Power rule
Easy∫ (3x² − 4x + 5) dx
Example 2: Roots and 1/x
Easy∫ (√x + 1/x) dx
Example 3: A definite integral
Easy∫₁³ (2x + 1) dx
Example 4: u-substitution
Medium∫ 2x(x² + 1)⁴ dx
Example 5: u-substitution with limits
Medium∫₀¹ x e^(x²) dx
Example 6: Integration by parts
Hard∫ x eˣ dx
Example 7: Area between two curves
MediumFind the area between y = x and y = x² from x = 0 to x = 1
What integrals are used for
- Area. The area under y = x² from 0 to 2 is ∫₀² x² dx = 8/3.
- Total change from a rate. Integrating velocity gives displacement; integrating a flow rate gives total volume.
- Average value. The average of f on [a, b] is (1/(b − a)) ∫ f(x) dx over [a, b].
- Volume. Rotating a region around an axis and integrating disc or washer areas gives the volume of a solid.
- Accumulation in context. AP free-response questions often ask how much water is in a tank or how many people are in a park after some time, given a rate.
Common integration mistakes
- Forgetting + C on indefinite integrals. It costs points on the AP exam.
- Integrating a product factor by factor. ∫ x cos x dx is not (x²/2)(sin x). Use integration by parts.
- Using the power rule on 1/x. It gives x⁰/0, which is undefined. The answer is ln|x| + C.
- Leaving x in a u-substitution. Every x, including dx, must be replaced before you integrate.
- Keeping x-limits after substituting. Either change the limits to u-values or substitute back first.
- Sign errors with sine. ∫ sin x dx = −cos x + C. The minus sign is the opposite of the derivative rule.
Integrals practice problems (with answers)
Evaluate each integral. Try each one before opening the answer.
- ∫ x⁴ dx
Show answer
x⁵/5 + C
- ∫ (6x² + 2x) dx
Show answer
2x³ + x² + C
- ∫ 1/x³ dx
Show answer
−1/(2x²) + C (rewrite as x⁻³: x⁻²/(−2))
- ∫ 3/x dx
Show answer
3 ln|x| + C
- ∫ e^(3x) dx
Show answer
e^(3x)/3 + C (u = 3x)
- ∫ (sin x + cos x) dx
Show answer
−cos x + sin x + C
- ∫ x(x² + 3)² dx
Show answer
(x² + 3)³/6 + C (u = x² + 3, du = 2x dx)
- ∫ eˣ cos(eˣ) dx
Show answer
sin(eˣ) + C (u = eˣ)
- ∫₀² x³ dx
Show answer
4 (x⁴/4 from 0 to 2: 16/4 − 0)
- ∫₀^(π/2) cos x dx
Show answer
1 (sin(π/2) − sin 0)
Every rule on this page is also on the free AP Calculus formula sheet.
Learn integrals with LearnAppu
Integration is covered in Units 6 and 8 of LearnAppu's AP Calculus course. Each topic has a concept lesson on area and accumulation, worked examples for every technique, adaptive skill practice, and Doctor Mode, where an AI tutor finds the exact step where a substitution or a limit of integration went wrong. The first lesson is free.
Frequently asked questions
What is an integral in simple terms?
An integral adds up infinitely many tiny pieces to find a total. A definite integral gives a number: the net area between a curve and the x-axis, or the total change of a quantity, such as the distance traveled from a velocity. An indefinite integral (an antiderivative) gives a function whose derivative is the original function.
What is the difference between a definite and an indefinite integral?
An indefinite integral, ∫ f(x) dx, has no limits and gives a family of functions plus a constant C. A definite integral, ∫ from a to b of f(x) dx, has limits and gives a single number. The Fundamental Theorem of Calculus connects them: evaluate an antiderivative at b and at a and subtract.
Why do you add + C to an integral?
Because the derivative of any constant is 0, functions like x² + 1, x² − 7 and x² all have the same derivative, 2x. So the antiderivative of 2x is x² + C, where C stands for any constant. Definite integrals do not need + C because it cancels when you subtract.
What are the basic integration rules?
The basic rules are the power rule (∫ xⁿ dx = xⁿ⁺¹/(n + 1) + C for n ≠ −1), the constant multiple and sum rules, ∫ 1/x dx = ln|x| + C, ∫ eˣ dx = eˣ + C, and the integrals of the trig functions, such as ∫ cos x dx = sin x + C and ∫ sin x dx = −cos x + C.
When should I use u-substitution?
Use u-substitution when the integrand contains a function and, up to a constant factor, that function's derivative, as in ∫ 2x(x² + 1)⁴ dx, where 2x is the derivative of x² + 1. Let u be the inside function, replace du, integrate in terms of u, then substitute back. It is the chain rule in reverse.
When should I use integration by parts?
Use integration by parts for a product of two different kinds of functions, such as x eˣ, x sin x or ln x. The formula is ∫ u dv = uv − ∫ v du. Choose u using LIATE (logarithmic, inverse trig, algebraic, trigonometric, exponential): pick whichever type comes first.
What is the Fundamental Theorem of Calculus?
It connects derivatives and integrals. Part 1 says that if F(x) is the integral of f from a fixed number to x, then F′(x) = f(x): integration and differentiation undo each other. Part 2 says ∫ from a to b of f(x) dx = F(b) − F(a) for any antiderivative F, which is how definite integrals are evaluated.
Continue your calculus journey
Review the foundations or keep practicing.
Derivatives
Integration reverses differentiation. Review the derivative rules.
AP Calculus Formula Sheet
Every integral and derivative formula for AB and BC on one printable sheet.
Limits
The definite integral is defined as a limit of Riemann sums.
Derivative Practice Problems
Sharpen differentiation first: 30 problems with answers.
Trigonometry Formulas
The identities that unlock trig integrals.
AP Calculus AB & BC
Integration is Units 6 and 8. See the full course.
Make integration click.
Step-by-step lessons and an AI tutor that explains the step you missed. Start the first lesson free.
Start Your Free Calculus Lesson