Techniques of Integration

Stage 20 of 23 Strand 1 of 4 23 lessons

23 illustrated lessons, each teaching the why before the how.

Start with The Antiderivative in the app →
Revise Techniques of Integration with flashcards →

Jump to a lesson

The Antiderivative

Which function would differentiate to this?

Integrating is asking which function would have differentiated to this one

Read the full lesson →

3x32
first, put one back on the power

Differentiating took one off the power, so going back puts one on.

3x3
then undo the multiply — divide by the new power

Then undo the multiply by dividing by that new power. It leaves x cubed.

xy

The c matters: sliding a curve up changes none of its gradients, so differentiating loses c.

Now you

integrate it

Integrate x^3

integrate it

Integrate x^1

Integrating Powers

Add one to the power and divide by the new power.

Add one to the power and divide by the new power

Read the full lesson →

xn+1n
add one to the power

Add one to the power first. That is the move differentiating undid.

xn+1n+1
⁄(n+1) + c
then divide by the new power

Then divide by the new power and add c, the constant of integration.

x

The rule fails only at n = −1, where dividing by n+1 would divide by zero.

Now you

integrate it

Integrate 40x^4

integrate it

Integrate 20x^4

Finding the Constant of Integration

One known point pins the whole curve down.

One known point pins down C, collapsing the family to a single curve

Read the full lesson →

xy

f'(x) = 2x integrates to x² + C — a whole family of curves, one per C.

the curve passes through (1, 4)
f(1) = 4

One fact picks one curve: this one passes through the point (1, 4).

subtract the 1
C = 3

Substitute the point in: 4 = 1² + C, so C = 3.

the one member that fits the point

So f(x) = x² + 3 — the family collapses to the member that fits.

Now you

integrate, keeping + Cone known point pins down Csubstitute the point

f'(x) = 2x and the curve passes through (2, 7). C = ?

integrate, keeping + Cone known point pins down Csubstitute the point

f'(x) = 2x and the curve passes through (3, 11). C = ?

Reading the Integral Sign

A stretched S that adds up thin slivers.

The stretched S is an instruction to add up slivers of height f(x) and width dx

Read the full lesson →

S, for sumthe same letter, stretched tall

The sign is a letter S stretched tall — S for sum. It adds up slivers.

xy

One sliver is f(x) dx: height f(x), times a width dx too small to see.

the sweep starts at a, stops at b

The numbers top and bottom of the S are the limits of integration: the sweep starts at a and stops at b.

say every part

Read aloud: "the integral from a to b of f of x, dx". The function f(x) inside is called the integrand.

Now you

read each part

∫ from 0 to 3 of x² dx is read aloud as

read each part

The numbers top and bottom of the integral sign give

Differentials

dy and dx come apart as tiny amounts.

A derivative comes apart: the tiny rise dy is the gradient times the tiny run dx

Read the full lesson →

(x, y),
a small rise over a small run
the limit as both shrink

dy/dx looks like a fraction because it began as one: a rise over a run.

each side is a tiny amount
dy = 2x dx

Treat the pieces separately: if y = x², the tiny rise dy is 2x times dx.

differentiate, then attach the run

The same rule works for any letter: u = x³ + 1 gives du = 3x² dx.

dy = f′(x) dxand their ratio stays the gradientboth shrink together

This is allowed because dy and dx shrink together, and their ratio stays the gradient.

Now you

the pieces come apart
dy = f′(x) dx

u = x³ + 1. du = ?

the pieces come apart
dy = f′(x) dx

y = x². dy = ?

The Definite Integral

Ever thinner slices give the exact area.

Slicing a region into ever thinner rectangles gives its exact area in the limit

Read the full lesson →

Slice the region into rectangles and add them. The total is close, but visibly coarse.

Each rectangle is a height times a width: f(x) times Δx, added across.

xy

Take that to its limit and the area is exact. That limit is the definite integral.

Now you

xy

Taking the strip width to zero turns the total into

xy

The definite integral is

Left, Right and Midpoint Riemann Sums

Three places to read each rectangle’s height.

Rectangles measured at the left, the right or the middle of each strip estimate an area

Read the full lesson →

xy

Divide the interval into strips. A left sum takes each height at the strip’s left edge.

xy

A right sum reads the height at the right edge instead, and every rectangle grows.

xy

A midpoint sum reads the height at the middle of each strip, and lands between the other two.

f risingthe left edge is the short side of each stripleft sum under, right sum over

On a rising curve every left rectangle falls short, so the left sum underestimates.

f fallingnow the left edge is the tall sideleft sum over, right sum under

A falling curve reverses it: the left edge is now the tall side, so the left sum overestimates.

left: 0 + 0.25 + 1 + 2.25 = 3.5right: 0.25 + 1 + 2.25 + 4 = 7.5and the exact area is 16/3midpoint: 5.25

For y = x²/4 on [0, 4] in 4 strips, the three sums are 3.5, 5.25 and 7.5; the exact area is 16/3.

Now you

xy

A left Riemann sum reads each rectangle’s height at

xy

On a rising curve, the left sum is

The Riemann Sum in Sigma Notation

Σ f(xᵢ) Δx, shrunk until it becomes ∫.

Writing the rectangle sum with sigma and shrinking the strips produces the integral

Read the full lesson →

xy

Each rectangle is Δx wide and f(xᵢ) tall, so its area is f(xᵢ) Δx.

sigma adds a list of terms of the same form

Sigma adds the whole list: the sum from i = 1 to n of f(xᵢ) Δx.

where the i-th strip lands

The width is (b − a) / n, and the strip numbered i sits at a + iΔx.

lim as of
Σ becomes ∫, and Δx becomes dx

Let n run to infinity and the sum becomes the integral: Σ turns into ∫, Δx into dx.

xy

That is where the integral sign comes from: a stretched S, standing for this sum.

Now you

lim as of
which is?

Letting n → ∞ in Σ f(xᵢ) Δx gives

start at a, step i strips
?

The sample point of the strip numbered i is

The Fundamental Theorem of Calculus

Area and antiderivative are the same thing.

Areas and antiderivatives turn out to be the same question asked twice

Read the full lesson →

xy

Let A(x) be the area under the curve up to x. Increase x a little and the area grows.

xy

That growth is a thin strip of height f(x), so the area function differentiates to f.

the area up to b, less the area up to a
F(b) − F(a)

So an area can be found by antidifferentiating, and evaluating at both ends.

Now you

xy

∫ 2x dx from 0 to 4

xy

∫ 2x dx from 0 to 5

Area Below the Axis

The integral keeps score with signs.

The integral counts area below the axis as negative

Read the full lesson →

xy

The arch of sin x above the axis, from 0 to π, has area 2, and the integral is 2.

xy

From π to 2π every sliver height sin x is negative, so the integral counts −2.

xy

Integrate over the whole cycle and the two halves cancel to 0 — the integral is a signed count.

over the cycle = 0
split at the crossings, add the sizes
area = 2 + 2 = 4

Asked for the area itself, split at the crossings and add the sizes: 4.

Now you

xy

An integral gives +3, then −3. The total area covered is

xy

f stays below the axis on [2, 6]. Its integral there is

Properties of the Definite Integral

Flip the limits, and the sign flips too.

Reversing the limits flips the sign, equal limits give zero, and constants and sums come apart

Read the full lesson →

running the other way flips every dx

Swap the limits and the sign flips: each dx has become a step backwards.

no width at all, so nothing to add
0

With both limits the same there is no width, so the integral is exactly 0.

every strip is k times as tall

A constant factor comes straight out: scaling every height scales the whole area.

the strip heights add before the widths multiply

And a sum splits: at each x the heights add, so the two areas add as well.

xyabc

Two adjacent intervals join: a to b, plus b to c, makes a to c in one integral.

Now you

?

If ∫ from 2 to 5 of f is 7, then ∫ from 5 to 2 of f is

= ?

∫ (f + g) dx equals

Integration by Substitution

Substitution is the chain rule read backwards.

Substitution is the chain rule read backwards

Read the full lesson →

the chain rule leaves the inside derivative multiplying

Differentiating a composite leaves the inside derivative multiplying the result.

the factor 2x is the inside’s derivative
name the inside

Spot that factor in an integral, then name the inside u and rewrite the bracket in terms of it.

u
5
substitute u for the bracket — it becomes a power of u

Here 2x is the derivative of x² + 1, so the substitution u = x² + 1 works.

u’s own derivative, as a differential
du = 2x dxan ordinary power in u
u was only ever a name

Replace 2x dx with du, integrate the power, then write x² + 1 back in place of u.

Now you

the chain rulethe same move, run backwardssubstitution

For ∫ 2x(x² + 1)⁵ dx, let u be

the chain rulethe same move, run backwardssubstitution

Carry u = x² + 1 through ∫ 2x(x² + 1)⁵ dx. The answer is

Integrating f(ax + b)

A stretched input costs a divide.

Integrating f(ax + b) keeps the outer shape but divides by the inside coefficient

Read the full lesson →

sin 2xthe chain rule brings out a factor of 2
of sin 2x = 2 cos 2x
the way back divides by it

Differentiating sin 2x brought out a factor of 2, so integrating cos 2x must divide by 2.

the usual answer, divided by a

The rule: integrate as if the inside were plain x, then divide by its coefficient a.

raise the power, then divide twice

Raise the power and divide by the new power 5, then by the inside 3. That makes 15.

inside ax + b: divide by aa curved inside needs substitution
inside or higher: no shortcut

The shortcut only works for a linear inside ax + b, whose derivative is the constant a; a curved inside has a derivative that changes with x.

Now you

what does this come to?

∫ e^(5x) dx

what does this come to?

∫ cos 2x dx

Integration by Parts

Trade the integral for an easier one.

The product rule read backwards trades one integral for an easier one

Read the full lesson →

(uv)′ = u′v + uv'take u′v to the other sideuv' = (uv)′ − u′vintegrate both sides; dv is v′ dx, du is u′ dx

Integrate the product rule and rearrange: your integral swaps for a different one.

choose uit only helps if the new integral is easierthe part that simplifies

It only helps if the new integral is easier, so choose u as the part that simplifies.

Now you

what does this come to?

For ∫ x eˣ dx, the best choice of u is

what does this come to?

∫ x eˣ dx =

Integrating Trigonometric Functions

The trig derivatives, run in reverse.

The trigonometric derivatives run backwards, with the signs swapping over

Read the full lesson →

sin xcos x−sin x−cos x

Sine differentiates to cosine, so cosine integrates back to sine.

sin xcos x−sin x−cos x

Walk the ring backwards to integrate, and that is where the minus sign comes from.

xy

The area under one arch of sine works out to exactly 2.

sin integrates to −cos
[−cos x] from 0 to
−cos π is 1, −cos 0 is −1
1 − (−1) = 2

Evaluate it: −cos at π is 1, at 0 it is −1, and the difference is exactly 2.

Now you

xy

∫ cos x dx

xy

∫ sin x dx

Integrating sin² and cos²

The double angle tames the square.

The double angle formula rewrites sin² and cos² into pieces that integrate directly

Read the full lesson →

none of the four differentiates to it
nothing differentiates to

sin²x is not on the list: nothing on the sine–cosine ring differentiates to sin².

the double angle formula for cosine
rearranged for the square

The double angle formula rearranges: sin²x = (1 − cos 2x) / 2 — the square is gone.

the cos 2x piece divides by its inside 2

Now each piece is easy: the 1/2 gives x/2, and the cos 2x piece uses the linear shortcut.

the same move with a plus

cos²x rewrites the same way, with a plus: (1 + cos 2x) / 2 — and each piece integrates as before.

Now you

rewrite without the square

To integrate it, sin²x rewrites as

rewrite without the square

To integrate it, cos²x rewrites as

Integrating Exponentials and Logarithms

One over x integrates to the natural log.

One over x integrates to the natural log, which fills the gap the power rule left

Read the full lesson →

xy

e to the x is its own derivative, so it is its own integral too.

the divisor is zero — no answer here
n = −1:

The power rule fails for 1 over x: adding one to −1 gives a zero to divide by.

x

But ln x differentiates to 1 over x, so it fills exactly that gap.

Now you

what does this come to?

∫ eˣ dx

what does this come to?

∫ (1 / x) dx

Integration by Partial Fractions

Split one awkward fraction into two easy ones.

Splitting one awkward fraction into two simple ones makes each integrable

Read the full lesson →

no standard integral fits

A product in the denominator matches none of the standard integrals.

multiply through by the denominator
1 = A(x+1) + B(x−1)

Write it as two fractions over the factors, then clear the denominators.

1 = A(x+1) + B(x−1)the B term vanishesx = 1: 1 = 2Aand now the A term vanishesx = −1: 1 = −2BA = ½, B = −½

Put x = 1 so the B term vanishes, then x = −1 to remove A. That gives both constants.

each piece is a log
½ ln|x−1| − ½ ln|x+1| + c

Each piece is a constant over a linear bracket, so each integrates to a logarithm.

a repeated factor
one fraction per power, not just one

A repeated factor needs a fraction for each power, or the pieces cannot rebuild it.

an unfactorable
a linear numerator over a quadratic denominator

A quadratic that will not factor keeps a linear numerator: Ax + B, not a bare constant.

Now you

split, then integrate

Over a repeated factor (x−1)², the split needs

split, then integrate

Over an unfactorable x² + 1, the numerator is

Integrals of f′ over f

A logarithm hiding in a fraction.

When the numerator of a fraction is the derivative of the denominator, the integral is the log of the denominator

Read the full lesson →

of ln f(x)
the chain rule: 1 over f, times f′

Differentiate ln f and the chain rule gives f' over f — a fraction with a special shape.

the numerator must be exactly the derivative of the denominator
ln|f(x)| + c

Read backwards: when the numerator is the derivative of the denominator, the integral is ln of the denominator.

2x is the derivative of x² + 1

Check the numerator: 2x is the derivative of x² + 1, so the integral is ln(x² + 1) + c.

is the numerator the derivative of the denominator?

The skill is the check: differentiate the denominator first and see if the numerator matches.

Now you

check the numerator against the denominator

∫ 3x² / (x³ + 5) dx

top ÷ bottom dx
when is this a log?

The pattern needs the numerator to be

Integrating sec²x, sec x tan x and tan x

Three tan-family facts, run in reverse.

The tan-family derivatives read backwards, and tan x itself integrates to a logarithm

Read the full lesson →

tan xfrom the differentiation stage
the same fact, read backwards

Every derivative fact reads backwards: sec²x integrates straight to tan x.

The sec derivative reverses the same way: sec x tan x integrates to sec x.

the numerator is minus the derivative of the denominator
sin x = −(cos x)′f′ over f, with one minus−ln|cos x| + c

tan x itself is sin over cos — an f' over f logarithm that carries one minus sign.

−ln|cos x|a minus outside the log takes the reciprocal inside
ln|sec x| + c

Minus ln cos is ln sec — the two answers the books give are one answer.

Now you

dxwhich function differentiates to this?

∫ tan x dx

dxwhich function differentiates to this?

∫ sec²x dx

Integrals That Give tan⁻¹ and sin⁻¹

Fractions whose antiderivatives are angles.

Fractions built from 1 + x² and 1 − x² integrate to inverse trig functions

Read the full lesson →

read backwards

None of the standard rules fits 1 over 1 + x², yet it integrates to the angle tan⁻¹x.

xy

The shaded area from 0 to 1 is π/4 — the angle whose tangent is 1.

In the same way, 1 over the root of 1 − x² is the derivative of sin⁻¹ x, so it integrates to sin⁻¹ x.

an a² where the 1 was
substitute x = au and a factor of 1/a appears

With a² in place of the 1, the result is (1/a) tan⁻¹(x/a): 1 over a multiplies outside, and x over a replaces x inside.

vs
does not factor; does

The sign decides the method: x² − 1 factors, so use partial fractions; x² + 1 does not factor, and integrates to tan⁻¹.

Now you

whose derivative is this?

∫ 1 / (4 + x²) dx

whose derivative is this?

∫ 1 ÷ √(1 − x²) dx

Choosing a Trigonometric Substitution

The sign inside the root picks sine or tangent.

A root of a² minus x² becomes a cosine once x is written as a sin θ

Read the full lesson →

so an algebraic substitution finds nothing to cancel
no factor of x beside the root

There is no factor of x beside the root, so the substitution u = 4 − x² has nothing to cancel.

the Pythagorean identity
the root disappears

Substitute x = 2 sin θ: the identity turns the root of 4 − x² into a cosine.

integrate with the double-angle identity

Differentiate the substitution for dx, and what is left is a cosine squared.

because 1 + tan²θ = sec²θ

The sign inside decides the substitution: a minus takes sine, a plus takes tangent.

,
everything cancels

With a plus inside, x = 3 tan θ cancels the whole denominator and leaves a constant.

Now you

which identity?

Which identity does the substitution x = a tan θ use?

which substitution?

For ∫ √(25 − x²) dx, which substitution clears the root?

Integrals That Give arsinh and arcosh

A plus inside the root turns the answer over.

A root of x squared plus a squared integrates to an inverse hyperbolic function

Read the full lesson →

differentiate x = sinh y and use cosh² = 1 + sinh²

arsinh x differentiates to 1 over the root of x² + 1, using the identity cosh²y = 1 + sinh²y.

the same working on arcosh

Read those derivatives backwards: 1 over each root integrates to an inverse hyperbolic function.

the hyperbolic substitution
x = a sinh uthe a scales the input

With a general a the answer is arsinh of x over a: the a only scales the input.

a minus inside gives inverse sine
a plus inside gives inverse sinh

The sign inside the root decides the family: a minus is circular, a plus is hyperbolic.

the logarithmic form of arsinh
so a logarithm is an equally good answer

Because arsinh is a logarithm, the answer may be written either way and still be right.

Now you

why two forms?

Why may arsinh(x/a) + c be written as a logarithm?

which root?sine or sinh?

Which root integrates to an inverse sine rather than an inverse sinh?

Continue your journey in the app — save your progress