Integrals
Integration reverses differentiation and adds up infinitely many small pieces. Learn indefinite integrals and the constant C, the table of integrals, u-substitution, integration by parts, the Fundamental Theorem of Calculus and how to find the area under a curve.
In calculus, an integral is the reverse of a derivative and a way to add up infinitely many small pieces. The indefinite integral ∫ f(x) dx is the family of all antiderivatives F(x) + C, and the definite integral ∫ab f(x) dx gives the net area between the graph of f and the x-axis from x = a to x = b. For example, ∫ 2x dx = x² + C, and ∫03 x² dx = 9.
Antiderivatives and indefinite integrals
An antiderivative of f is a function F whose derivative is f. Since (x²)′ = 2x, the function x² is an antiderivative of 2x. So are x² + 5 and x² − 3, because constants vanish when you differentiate. That is why every indefinite integral carries a constant of integration C:
The symbol ∫ is the integral sign, f(x) is the integrand, and dx tells you that x is the variable. You can always check an answer by differentiating it: the result must be the integrand.
Table of integrals
| f(x) | ∫ f(x) dx | f(x) | ∫ f(x) dx |
|---|---|---|---|
| k (constant) | kx | sin x | −cos x |
| xⁿ (n ≠ −1) | xⁿ⁺¹ / (n + 1) | cos x | sin x |
| 1/x | ln |x| | sec² x | tan x |
| eˣ | eˣ | csc² x | −cot x |
| ekx | ekx / k | sec x tan x | sec x |
| aˣ | aˣ / ln a | 1 / (1 + x²) | arctan x |
| √x | (2/3) x3/2 | 1 / √(1 − x²) | arcsin x |
Each line is a line of the table of derivatives read backwards. Two rules let you combine them: ∫ [f(x) ± g(x)] dx = ∫ f(x) dx ± ∫ g(x) dx and ∫ k · f(x) dx = k ∫ f(x) dx.
Integration by substitution (u-substitution)
Substitution undoes the chain rule. It works when the integrand contains a function and (up to a constant factor) its derivative.
- Choose u as the inner function, often the expression inside parentheses, a root or an exponent.
- Compute du = u′(x) dx and solve for dx or for the part of the integrand it replaces.
- Rewrite the whole integral in terms of u; no x may remain.
- Integrate, then substitute back u = g(x).
Integration by parts
Integration by parts undoes the product rule. For a product of two different kinds of functions:
Choose u as the factor that gets simpler when differentiated. The order LIATE (Logarithmic, Inverse trig, Algebraic, Trigonometric, Exponential) is a good guide: pick u from whichever type comes first.
Definite integrals and the Fundamental Theorem of Calculus
A definite integral has limits a (lower) and b (upper) and gives a number, not a function. The Fundamental Theorem of Calculus says how to compute it: find any antiderivative F and subtract.
The constant C cancels in the subtraction, so you can leave it out.
Useful properties: ∫aa f(x) dx = 0; swapping the limits changes the sign; and ∫ab + ∫bc = ∫ac.
Area under a curve
If f(x) ≥ 0 on [a, b], the definite integral is the area of the region between the graph, the x-axis and the vertical lines x = a and x = b.
Riemann sums: why the integral is an area
Split [0, 3] into n strips of equal width and use rectangles whose height is the function value at the right end of each strip. The total area of the rectangles approaches the integral as n grows:
| Number of rectangles n | 3 | 6 | 30 | 300 | exact |
|---|---|---|---|---|---|
| Sum of the areas | 14 | 11.375 | 9.455 | 9.04505 | 9 |
For n = 3 the strips have width 1 and heights 1, 4 and 9, so the sum is 14. The integral is defined as the limit of such sums, which is where the dx comes from: a very thin width multiplied by a height.
Area below the x-axis and between curves
Applications of integrals
- Distance from velocity: if v(t) = 3t² + 2 meters per second, the distance traveled from t = 0 to t = 2 is ∫02 (3t² + 2) dt = [t³ + 2t]02 = 8 + 4 = 12 m.
- Average value: the average of f on [a, b] is (1/(b − a)) ∫ab f(x) dx. For x² on [0, 3]: 9/3 = 3.
- Volumes, work and probability: volumes of solids of revolution, the work done by a variable force, and probabilities for continuous distributions are all integrals.
Common mistakes
- Forgetting + C in indefinite integrals.
- Using the power rule for n = −1: ∫ x⁻¹ dx is ln |x| + C, not x⁰/0.
- Integrating a product factor by factor: ∫ x eˣ dx is not (x²/2) · eˣ. Use substitution or parts.
- Leaving x in a substituted integral: after u-substitution, everything, including dx, must be in terms of u.
- Old limits after substitution: either change the limits to u-values or substitute back before using the x-limits.
- Treating a negative integral as an area: areas are positive. Split at the zeros and add absolute values.
Practice problems
Frequently asked questions
What is an integral in simple terms?
An integral adds up many tiny pieces to get a whole, such as the area under a curve or the total distance from a speed. It also reverses differentiation: integrating a rate of change gives back the original quantity.
What is the difference between a definite and an indefinite integral?
An indefinite integral ∫ f(x) dx is a family of functions, F(x) + C. A definite integral ∫ab f(x) dx has limits and is a number, F(b) − F(a).
Why do you add + C to an integral?
Because the derivative of a constant is 0, so infinitely many functions have the same derivative. x² + 1 and x² − 7 are both antiderivatives of 2x.
How do you find the area under a curve?
Find where the function is zero on the interval, integrate over each piece where the sign stays the same, and add the absolute values. See area under a curve.
When do you use u-substitution and when integration by parts?
Use substitution when the integrand contains a function and its derivative, such as 2x(x² + 1)³. Use integration by parts for products of different types of functions, such as x eˣ or x cos x.
Keep learning
- Previous topic: derivatives, which integrals reverse.
- Next topic: vectors.
- In German: Integralrechnung.
Spotted a mistake or have a request? Send us a short message and we will take care of it.