KS Maths
Topic 5.11 · AI Higher Level

Integration by inspection and substitution

Run the chain rule backwards

Spotting the inner function, the factor that has to already be there, and a check that makes you right every time.

Words you need (10 key words in this lesson)

The maths words this lesson uses, in plain English. Open this before you start if English is not your first language.

integrate
Find the area under a curve. The opposite of differentiating.Integrate 2x to get x squared plus c.
substitute
Replace a letter with a number.Substitute x = 3 into 2x to get 6.
derivative
A function that gives the gradient of a curve at each point.The derivative of x squared is 2x.
cosine
A ratio in a right-angled triangle: adjacent side over hypotenuse.Cosine of 60 degrees is one half.
integral
The result of integrating. It can give the area under a curve.The integral of 2x is x squared.
differentiate
Find how fast something is changing. Find the derivative.Differentiate x squared to get 2x.
sine
A ratio in a right-angled triangle: opposite side over hypotenuse.Sine of 30 degrees is one half.
factor
A whole number that divides another number exactly.The factors of 6 are 1, 2, 3 and 6.
divide
Share into equal parts, or find how many times one number fits in another.12 divided by 4 is 3.
function
A rule that gives exactly one output for each input.f(x) = x plus 2 is a function.

Preview You are reading the start of this lesson. The rest opens with a plan. See plans Already paid? Sign in

Warm-up

Four quick ones from earlier work. Try each on paper before you open the answer; a slip here shows you what to watch for later in the lesson.

  1. Differentiate sin(3x).
    Answer

    3cos(3x). The chain rule multiplies by the inside’s derivative, 3. Today you undo this, so the 3 will have to be divided out.

  2. Differentiate ex².
    Answer

    2x ex². The inside is x², with derivative 2x, and it appears as a factor in front. That factor is what you will look for.

  3. Differentiate ln(5x).
    Answer

    1/x. The chain rule gives 5 × 1/(5x), and the 5s cancel. This is why 1/x integrates to ln|x| and not ln|5x|.

  4. Work out ½(e4 − 1), to 2 decimal places.
    Answer

    e4 ≈ 54.60, so ½(53.60) = 26.80. Bracket first: ½e4 − 1 is a different number, 26.30.

Words used in this lesson
integrate
find the function whose derivative you are given. For example: integrate 5 to get 5x + c.
by inspection
by looking at it and spotting the pattern, with little working. For example: ∫ 2x dx = x² + c by inspection.
inside (inner) function
the part inside the brackets, or the power of e. For example: in cos(4x) the inside function is 4x.
outside (outer) function
what is done to the inside. For example: in cos(4x) the outside function is cos.
factor
something multiplied. For example: 3 and x are factors of 3x.
constant of integration
the + c that stands for any starting height. For example: ∫ 1 dx = x + c.
modulus
the size of a number, ignoring its sign, written with | |. For example: |−4| = 4.
limits
the two x values a definite integral runs between. For example: an integral from x = 1 to x = 3 has limits 1 and 3.
verify (check)
show that an answer is correct. For example: verify by differentiating it back.
hence
use the result you have just found. For example: “integrate, and hence evaluate” means use your integral.
Higher Level

Every integral here is a chain rule someone already did. The job is to work out what it was. Pick an integral and check your answer by differentiating it back.

∫ sin(2x + 5) dx

= −½cos(2x + 5) + c

Now the check. The left number is the thing you were integrating. The right number is what the answer gives when you differentiate it back. If the answer is right they agree at every x, so move the slider and try to break it.

0.657the integrand
0.657my answer, differentiated
they agreeverdict

The derivative is worked out numerically from a tiny gap, so it is a genuine check and not a restatement.

The pattern

∫ f′(g(x)) · g′(x) dx = f(g(x)) + c. In words: if the derivative of the inside is already sitting there as a factor, you can integrate the outside and leave the inside alone.

So the question to ask every time is: what is the inside, and is its derivative present?

Worked examples

∫ 4x sin(x²) dx= −2cos(x²) + c inside x², derivative 2x, and 4x is twice that ∫ sin(2x + 5) dx= −½cos(2x + 5) + c inside 2x + 5, derivative 2, so divide by 2 ∫ 13x + 2 dx= ⅓ln|3x + 2| + c inside 3x + 2, derivative 3, so divide by 3 ∫ sin xcos x dx= −ln|cos x| + c inside cos x, derivative −sin x, so a minus appears

A constant you can fix. A variable you cannot. If the inside is linear, like 2x + 5, its derivative is a number and you simply divide by it. If the inside is x² you need an x already present as a factor; you cannot conjure one, and no amount of dividing will rescue ∫sin(x²)dx, which is not something you are asked to do.

The same thing, written as a substitution

When the inside is not obvious at a glance, give it a name. Here is ∫02 x(x² + 1)² dx with every step written out, which is what a question that says use the substitution expects.

u= x² + 1, so du = 2x dx and x dx = ½ du the x in the integrand is half of du x = 0 and 2→ u = 0² + 1 = 1 and u = 2² + 1 = 5 change the limits now, so you never go back to x integral= ½∫15 u² du = ½[u³3]15 = ½ × 125 − 13 = 623 ≈ 20.7

Two checks are always available. Differentiate ⅙(x² + 1)³ and you get x(x² + 1)² back. And the numerical integral on your GDC should give the same 20.7, because a definite integral is just a number.

The rest of this lesson is in the full course

Still to come in this lesson:

In the full lesson every figure moves as you drag it, and every answer you type is checked, with a note on what each wrong answer means.

IB Diploma plan: AI HL$99Every Diploma lesson in both courses and both levels, so a change of course never locks you out, and every lesson from Year 7 for the refreshers. $99 for 12 months or $149 for 2 years.

One plan opens every Diploma lesson, AA and AI, SL and HL, for the whole family.

One payment. Nothing renews. Full refund within 30 days. Prices are in US$; Gumroad shows your local currency at checkout. Pay by card on Gumroad, then come back here and type the email you paid with: we email you a sign-in link. For a refund, reply to your Gumroad receipt or email hello@ksmaths.com.

Try a free sample lesson in every unit, and the whole Skill Tree. See this unit.

Already have a revision pack or the Years 7 to 11 plan? Move up and the unused part of what you paid comes off.

Teaching students who need extra support? Student codes for 5, 10 or 30 students.

AI HL Mock Exam Pack, $25BuyPlan $99