Class 12 MathsAll 13 chaptersQuick lessonWorked solutionsPast papersPast papersGet updates

Integrals.
Undo the derivative, measure the area.

Differentiation takes a function and gives its slope. Integration runs that backwards: given the slope everywhere, rebuild the function. The same idea measures area. Add up thin strips under a curve and the total turns out to be the rise of the rebuilt function. One idea, two uses: indefinite integrals (families of functions) and definite integrals (numbers: areas, distances, totals).

Lower curve: f(x), with the area from a to b cut into strips. Upper curve: an antiderivative F. The shaded area equals the rise F(b) − F(a): that is the Fundamental Theorem of Calculus.
Part 1 · Sections 7.1–7.2

Integration is differentiation backwards.

Differentiation turns a function into its slope. Integration goes the other way: from the slope, rebuild the function.

The idea
∫ f(x) dx = F(x) + C

Read it as: “which function has derivative f(x)?” The answer F is called an antiderivative (or primitive) of f, so it works whenever F′(x) = f(x). The f inside is the integrand, and x is the variable of integration.

Why “+ C”
d/dx [ F(x) + C ] = F′(x)

A constant disappears when you differentiate, so any constant C can be added: the constant of integration. Two antiderivatives of f on an interval differ only by a constant.

Three rules
∫ (f + g) dx = ∫ f dx + ∫ g dx
∫ k f dx = k ∫ f dx

So integrate term by term and keep constants outside. Also d/dx ∫ f dx = f.

Powers and logs

∫ xⁿ dx = xⁿ⁺¹n + 1n ≠ −1
∫ 1x dx = log |x|

Exponentials

∫ eˣ dx = eˣ
∫ aˣ dx = aˣlog a

Trigonometric

∫ cos x dx = sin x
∫ sin x dx = − cos x
∫ sec² x dx = tan x
∫ cosec² x dx = − cot x
∫ sec x tan x dx = sec x
∫ cosec x cot x dx = − cosec x

Inverse trigonometric

∫ 1√(1 − x²) dx = sin⁻¹ x
∫ 11 + x² dx = tan⁻¹ x

Each tile is a derivative read backwards: the standard integrals. Add + C to every answer.

Slope-field labEach little dash has the slope f(x) that the answer must have at that x. An antiderivative is a curve that follows the dashes everywhere. Slide C to pick a different starting height: you get another member of the family F + C, and it follows the same dashes.
the curve drawn
every choice of C follows the same dashes
Watch out

∫xⁿ dx = xⁿ⁺¹/(n + 1) fails at n = −1 (division by 0); ∫x⁻¹ dx is log|x|. And some functions, such as e^{−x²}, have antiderivatives that cannot be written with the usual functions at all.

Example 1

Antiderivatives by inspection of cos 2x, 3x² + 4x³, 1/x.

  1. Guess, differentiate, fix the constant factor.
½ sin 2x; x³ + x⁴; log|x|.
Example 2

(x³ − 1)/x², x^{2/3} + 1, x^{3/2} + 2eˣ − 1/x.

  1. Split into single powers first.
x²/2 + 1/x + C, …
Example 3

sin x + cos x; cosec x(cosec x + cot x); (1 − sin x)/cos²x.

  1. Rewrite into table entries.
−cos x + sin x; −cot x − cosec x; tan x − sec x.
Example 4

F′ = 4x³ − 6 with F(0) = 3.

  1. The condition picks C.
F = x⁴ − 6x + 3.
Part 2 · Section 7.3

Substitution: rename the inside function.

If the integrand contains a function and its derivative, give that function a new name, t. The integral becomes a simpler one in t.

The substitution
x = g(t),  dx = g′(t) dt
∫ f(x) dx = ∫ f(g(t)) g′(t) dt

You can also put t = g(x). In practice: look for an inside function whose derivative also appears as a factor, and call it t.

Powers and products of sin, cos
cos² x = 1 + cos 2x2
sin 3x = 3 sin x − 4 sin³ x
2 sin A cos B
= sin(A + B) + sin(A − B)

First use an identity to lower the power or split the product (Section 7.3.2), then integrate.

f(x)∫ f(x) dx
tan xlog |sec x|
cot xlog |sin x|
sec xlog |sec x + tan x|
cosec xlog |cosec x − cot x|
Four more standard integrals that substitution gives. Add + C to each.
dt = g′(x) dx labThe curve is t = g(x) = x² + 1. A thin strip of width dx at x maps to a strip of height dt on the t-axis. The ratio dt/dx is the slope g′(x) = 2x: that is why dx must be rewritten when you substitute.
dt/dx
Example 5

sin mx; 2x sin(x² + 1); tan⁴√x sec²√x/√x; sin(tan⁻¹x)/(1 + x²).

  1. t = mx, x² + 1, √x, tan⁻¹x.
−cos mx/m; −cos(x² + 1); (2/5)tan⁵√x; −cos(tan⁻¹x).
Example 6

sin³x cos²x; sin x/sin(x + a); 1/(1 + tan x).

  1. Save a factor for dt; split the top cleverly.
−cos³x/3 + cos⁵x/5; …
Example 7

cos²x; sin 2x cos 3x; sin³x.

  1. Identities lower powers and split products.
x/2 + ¼ sin 2x; …
Part 3 · Section 7.4

Six standard forms, reached by completing the square.

Six integrals come up again and again. Learn them once; then most quadratic denominators can be turned into one of them.

f(x)∫ f(x) dx
11x² − a²12a log |x − a||x + a|
21a² − x²12a log |a + x||a − x|
31x² + a²1a tan⁻¹ xa
41√(x² − a²)log |x + √(x² − a²)|
51√(a² − x²)sin⁻¹ xa
61√(x² + a²)log |x + √(x² + a²)|
The six standard forms of Section 7.4. Add + C to each.

How to use them

  1. For ∫ dx / (ax² + bx + c) or its square-root version: complete the square. The denominator becomes one of the six forms.
  2. For ∫ (px + q) / (ax² + bx + c) dx: write px + q = A · d/dx(ax² + bx + c) + B and find A and B.
  3. The A part integrates to a log (or a root); the B part is one of the six forms.
Which form? labChoose the quadratic under ∫dx/(x² + bx + c). Completing the square decides the form: a positive leftover gives tan⁻¹, a negative one gives a log. The graph is the integrand.
completed square
Example 8

1/(x² − 16); 1/√(2x − x²).

  1. Forms (1) and (5).
(1/8) log|(x − 4)/(x + 4)|; sin⁻¹(x − 1).
Example 9

1/(x² − 6x + 13); 1/(3x² + 13x − 10); 1/√(5x² − 2x).

  1. Complete the square.
½ tan⁻¹((x − 3)/2); …
Example 10

(x + 2)/(2x² + 6x + 5); (x + 3)/√(5 − 4x − x²).

  1. Top = A(derivative of bottom) + B.
¼ log|2x² + 6x + 5| + ½ tan⁻¹(2x + 3); …
Part 4 · Section 7.5

Partial fractions: split one fraction into simple ones.

A hard fraction can often be split into a sum of simple fractions. Each simple piece is easy to integrate.

Proper or not?
P(x)Q(x)

A fraction of two polynomials is a rational function. It is proper when the degree of P is less than the degree of Q.

Improper? Divide first
P(x)Q(x) = T(x) + P₁(x)Q(x)

Long division gives a polynomial T(x) plus a proper fraction. Then split only the proper part.

Fraction, then how to split it
1px + q(x − a)(x − b)= Ax − a + Bx − b
2px + q(x − a)²= Ax − a + B(x − a)²
3px² + qx + r(x − a)(x − b)(x − c)= Ax − a + Bx − b + Cx − c
4px² + qx + r(x − a)²(x − b)= Ax − a + B(x − a)² + Cx − b
5px² + qx + r(x − a)(x² + bx + c)= Ax − a + Bx + Cx² + bx + c
Table 7.2. In row 3 the three factors are all different. In row 5, x² + bx + c cannot be factorised further.

How to use it

  1. If the degree of the top is not less than the degree of the bottom, divide first.
  2. Factorise the bottom and write the matching form from Table 7.2.
  3. Find A, B, C: equate coefficients, or substitute convenient values of x.
  4. Integrate each simple fraction on its own.
Table 7.2 labPick a form. The solid curve is the fraction; the dashed curves are its partial fractions, which add up to it. Slide x to check the sum at any point.
Example 11

1/((x + 1)(x + 2)).

  1. A = 1, B = −1.
log|(x + 1)/(x + 2)|.
Example 12

(x² + 1)/(x² − 5x + 6).

  1. Divide first.
x − 5 log|x − 2| + 10 log|x − 3|.
Example 13

(3x − 2)/((x + 1)²(x + 3)).

  1. A = 11/4, B = −5/2, C = −11/4.
(11/4) log|(x + 1)/(x + 3)| + 5/(2(x + 1)).
Example 14

x²/((x² + 1)(x² + 4)).

  1. Split in y = x².
−⅓ tan⁻¹x + ⅔ tan⁻¹(x/2).
Example 15

(3 sin φ − 2) cos φ/(5 − cos²φ − 4 sin φ).

  1. y = sin φ, then split.
3 log(2 − sin φ) + 4/(2 − sin φ).
Example 16

(x² + x + 1)/((x + 2)(x² + 1)).

  1. A = 3/5, B = 2/5, C = 1/5.
(3/5) log|x + 2| + (1/5) log(x² + 1) + (1/5) tan⁻¹x.
Part 5 · Section 7.6

Integration by parts: the product rule backwards.

Use it when the integrand is a product of two functions. It swaps the hard integral for an easier one.

The formula
∫ f g dx = f ∫ g dx − ∫ (f′ ∫ g dx) dx

Here f = f(x), g = g(x). In words: first × integral of the second, minus the integral of (derivative of the first × integral of the second).

Which is first?
I · L · A · T · E

Choose as first the function that gets simpler when differentiated. A useful order is ILATE: Inverse trig, Log, Algebraic, Trig, Exponential.

Only one function?
∫ log x dx = ∫ log x · 1 dx

A lone log x or tan⁻¹ x is a product with the function 1. Take 1 as the second function.

A shortcut with eˣ
∫ eˣ [f(x) + f′(x)] dx = eˣ f(x) + C

When eˣ multiplies a function plus its own derivative, write the answer down at once.

f(x)∫ f(x) dx
√(x² − a²)x2 √(x² − a²)
− a²2 log |x + √(x² − a²)|
√(x² + a²)x2 √(x² + a²)
+ a²2 log |x + √(x² + a²)|
√(a² − x²)x2 √(a² − x²)
+ a²2 sin⁻¹ xa
Three more results that by parts gives. Add + C to each.
By-parts pictureThe curve v = log u from u = 1 to u = b. The area below it is ∫v du = ∫log x dx; the area to its left is ∫u dv. Together they fill the big rectangle minus the small one: uv from (1, 0) to (b, log b). That is ∫v du = uv − ∫u dv.
∫v du + ∫u dv = b log b
Example 17

x cos x.

  1. u = x.
x sin x + cos x.
Example 18

log x.

  1. log x · 1.
x log x − x.
Example 19

xeˣ.

  1. u = x.
xeˣ − eˣ.
Example 20

x sin⁻¹x/√(1 − x²).

  1. u = sin⁻¹x.
x − √(1 − x²) sin⁻¹x.
Example 21

eˣ sin x.

  1. Parts twice; solve for I.
(eˣ/2)(sin x − cos x).
Example 22

eˣ(tan⁻¹x + 1/(1 + x²)); (x² + 1)eˣ/(x + 1)².

  1. eˣ[f + f′].
eˣ tan⁻¹x; eˣ(x − 1)/(x + 1).
Example 23

√(x² + 2x + 5).

  1. √(y² + 2²).
½(x + 1)√(x² + 2x + 5) + 2 log|x + 1 + √(x² + 2x + 5)|.
Example 24

√(3 − 2x − x²).

  1. √(2² − y²).
½(x + 1)√(3 − 2x − x²) + 2 sin⁻¹((x + 1)/2).
Part 6 · Sections 7.7–7.9

A definite integral is an area, and the area is F(b) − F(a).

A definite integral is a number: the area under a curve between two lines. Any antiderivative gives it with one subtraction.

What it measures
∫ₐᵇ f(x) dx

The area between y = f(x), the x-axis and the lines x = a and x = b. Here a is the lower limit and b the upper limit. Parts below the axis count as negative. It is defined as the limit of sums of thin strips.

The area function
A(x) = ∫ₐˣ f(t) dt
A′(x) = f(x)

A(x) is the area from a up to x. First fundamental theorem: its slope at x is the height f(x).

The shortcut
∫ₐᵇ f(x) dx = F(b) − F(a)

Second fundamental theorem. F is any antiderivative of f, and f must be defined and continuous on the whole of [a, b]. Written [F(x)]ₐᵇ. The constant C cancels, so leave it out.

Substitution in definite integrals

  1. Put t = g(x) and rewrite the integrand and dx in terms of t.
  2. Change the limits with the variable: x = a becomes t = g(a), and x = b becomes t = g(b).
  3. Work out the new integral with the new limits. There is no need to change back to x.
Area-function labf(x) = 1.2 + sin x. Lower graph: the area from 0 to x, cut into n strips. Upper graph: the area function A(x), traced as x moves. Its slope at x is always the height f(x): the first fundamental theorem.
strips · exact A(x) · slope of A vs f(x)
Example 25

∫₂³ x²; ∫₄⁹ √x/(30 − x^{3/2})²; ∫₁² x/((x + 1)(x + 2)); ∫₀^{π/4} sin³2t cos 2t.

  1. F(b) − F(a).
19/3; 19/99; log(32/27); 1/8.
Example 26

∫₋₁¹ 5x⁴√(x⁵ + 1) dx.

  1. t = x⁵ + 1, limits 0 to 2.
4√2/3.
Example 27

∫₀¹ tan⁻¹x/(1 + x²) dx.

  1. t = tan⁻¹x, limits 0 to π/4.
π²/32.
Part 7 · Section 7.10

Properties: splitting, flipping and folding.

Eight properties, P₀ to P₇, let you rearrange a definite integral before you work it out. Many hard integrals become easy.

Rename, flip, split
∫ab f(x) dx = ∫ab f(t) dt
∫ab f = − ∫ba f,  ∫aa f = 0
∫ab f = ∫ac f + ∫cb f

P₀ the letter does not matter. P₁ swapping the limits changes the sign. P₂ split the interval at a point c.

Mirror
∫ₐᵇ f(x) dx = ∫ₐᵇ f(a + b − x) dx
∫₀ᵃ f(x) dx = ∫₀ᵃ f(a − x) dx

P₃ and P₄: replace x by its mirror image in the interval and the integral stays the same.

Fold in half
∫₀²ᵃ f(x) dx
= ∫₀ᵃ f(x) dx + ∫₀ᵃ f(2a − x) dx
∫₀²ᵃ f = 2 ∫₀ᵃ f  or  0

P₅, then P₆: it is 2 ∫₀ᵃ f if f(2a − x) = f(x), and 0 if f(2a − x) = − f(x).

Even and odd
∫₋ₐᵃ f = 2 ∫₀ᵃ f  or  0

P₇: it is 2 ∫₀ᵃ f if f is even, and 0 if f is odd.

The mirror-and-add trick (P₃, P₄)

  1. Call the integral I.
  2. Write I again with x replaced by its mirror image (a + b − x, or a − x).
  3. Add the two forms: 2I is often much simpler. Work it out, then halve.
Mirror-and-add labOn [0, π/2] the solid curve is f(x) and the dashed curve its mirror f(π/2 − x). They have equal areas (P₄). For these three integrands the two curves add up to exactly 1, so each area is half of π/2.
f(x) + f(π/2 − x)
so 2I = π/2 and I = π/4
Example 28

∫₋₁² |x³ − x| dx.

  1. Split at 0 and 1 (P₂).
11/4.
Example 29

∫ sin²x from −π/4 to π/4.

  1. Even (P₇).
π/4 − 1/2.
Example 30

∫₀^π x sin x/(1 + cos²x) dx.

  1. P₄, add, substitute.
π²/4.
Example 31

∫₋₁¹ sin⁵x cos⁴x dx.

  1. Odd (P₇).
0.
Example 32

∫₀^{π/2} sin⁴x/(sin⁴x + cos⁴x) dx.

  1. P₄ and add.
π/4.
Example 33

∫ dx/(1 + √tan x) from π/6 to π/3.

  1. P₃ and add.
π/12.
Example 34

∫₀^{π/2} log sin x dx.

  1. P₄, P₆.
−(π/2) log 2.
Example 35

cos 6x √(1 + sin 6x).

  1. t = 1 + sin 6x.
(1/9)(1 + sin 6x)^{3/2}.
Example 36

(x⁴ − x)^{1/4}/x⁵.

  1. t = 1 − 1/x³.
(4/15)(1 − 1/x³)^{5/4}.
Example 37

x⁴/((x − 1)(x² + 1)).

  1. Divide, then split.
x²/2 + x + ½ log|x − 1| − ¼ log(x² + 1) − ½ tan⁻¹x.
Example 38

log(log x) + 1/(log x)².

  1. Parts twice.
x log(log x) − x/log x.
Example 39

√cot x + √tan x.

  1. tan x = t², then y = t − 1/t.
√2 tan⁻¹((tan x − 1)/√(2 tan x)).
Example 40

sin 2x cos 2x/√(9 − cos⁴2x).

  1. t = cos²2x.
−¼ sin⁻¹(cos²2x/3).
Example 41

∫₋₁^{3/2} |x sin πx| dx.

  1. Split at 1.
3/π + 1/π².
Example 42

∫₀^π x/(a²cos²x + b²sin²x) dx.

  1. P₄, P₆, tan⁻¹.
π²/(2ab).
Self-check

The 23 multiple-choice questions, and two more.

Every MCQ from Exercises 7.1–7.10 and the miscellaneous exercise, plus two concept checks. Tap an option to see the reasoning.

Score0 / 2525 left to answer
Summary

Remember this.

Antiderivative
∫ f(x) dx = F(x) + C

when F′ = f. Antiderivatives of the same function differ by a constant.

Term by term
∫ (f + g) = ∫ f + ∫ g
∫ k f = k ∫ f

Every derivative formula gives a standard integral.

Substitution
∫ f(g(x)) g′(x) dx = ∫ f(t) dt

with t = g(x). Identities lower powers and split products.

Standard forms
px + q
= A (ax² + bx + c)′ + B

Complete the square to reach the six standard forms; split px + q into A (derivative of the quadratic) + B.

Fractions and products
∫ f g = f ∫ g − ∫ ( f′ ∫ g )
∫ eˣ [ f + f′ ] = eˣ f + C

Partial fractions for rational functions (divide first if improper). By parts for products.

Definite integrals
∫ₐᵇ f = F(b) − F(a)

is the signed area, and A′(x) = f(x). Symmetry properties P₀–P₇ shorten many definite integrals.

A little history

From slicing to a single subtraction.

c. 250 BCEArchimedes

Found the area of a parabolic segment by filling it with ever smaller triangles and adding them up: the first "limit of a sum".

1630sCavalieri, Fermat

Cut regions into thin slices ("indivisibles") and found ∫xⁿ dx for many n by adding the slices.

1660s–1680sNewton, Leibniz

Saw that finding areas undoes finding tangents: the Fundamental Theorem. Leibniz introduced the ∫ sign, a long S for "summa", and the dx.

1854Riemann

Gave the modern definition of the definite integral as a limit of sums of strips, the one used in this chapter.

Finished Chapter 7? Hear when the next one is ready

Leave your email and we will write when a new chapter or a new set of worked solutions is ready. That is all we use it for, and you can ask to be taken off the list at any time.

You are on the list. We will email you when new chapters are added, and for nothing else.