Lesson 4 of 8 · 16 min

Integrating f(ax + b)

Integrate powers, exponentials, reciprocals, sines and cosines of a linear expression ax + b by integrating as usual and dividing by a, and check by differentiating.

What you will be able to do

  • Explain, using the chain rule, why ∫f(ax+b) dx=1aF(ax+b)+c\int f(ax + b)\,dx = \frac{1}{a}F(ax + b) + c.
  • Integrate (ax+b)n(ax + b)^n, eax+be^{ax + b}, 1ax+b\frac{1}{ax + b}, sin⁡(ax+b)\sin(ax + b) and cos⁡(ax+b)\cos(ax + b).
  • Recognise when the inside function is not linear, so the rule does not apply.

How would you integrate e3xe^{3x}? A sensible first guess is e3xe^{3x} itself. Test it by differentiating: ddxe3x=3e3x\frac{d}{dx}e^{3x} = 3e^{3x}, which is three times too big. So divide by 33:

∫e3x dx=13e3x+c\int e^{3x}\,dx = \frac{1}{3}e^{3x} + c

That fix works every time the inside function is linear, ax+bax + b. Differentiating F(ax+b)F(ax + b) with the chain rule multiplies by aa, the derivative of the inside. Integrating has to undo that, so it divides by aa.

Key idea

Integrating a function of ax + b

If ∫f(x) dx=F(x)+c\int f(x)\,dx = F(x) + c, then for any constants a≠0a \neq 0 and bb,

∫f(ax+b) dx=1aF(ax+b)+c\int f(ax + b)\,dx = \frac{1}{a}F(ax + b) + c

Integrate as if the inside were just xx, then divide by aa, the coefficient of xx.

Why dividing by a works

Let FF be an antiderivative of ff. By the chain rule,

ddx(1aF(ax+b))=1a×F′(ax+b)×a=f(ax+b)\frac{d}{dx}\left(\frac{1}{a}F(ax + b)\right) = \frac{1}{a} \times F'(ax + b) \times a = f(ax + b)

So 1aF(ax+b)\frac{1}{a}F(ax + b) is an antiderivative of f(ax+b)f(ax + b). The aa cancels only because the derivative of ax+bax + b is a constant. That is why the inside must be linear.

The five forms you need (a≠0a \neq 0)
IntegrandIndefinite integralCondition
(ax+b)n(ax + b)^n(ax+b)n+1a(n+1)+c\frac{(ax + b)^{n+1}}{a(n + 1)} + cn≠−1n \neq -1
eax+be^{ax + b}1aeax+b+c\frac{1}{a}e^{ax + b} + c—
1ax+b\frac{1}{ax + b}1aln⁡(ax+b)+c\frac{1}{a}\ln(ax + b) + cax+b>0ax + b > 0
sin⁡(ax+b)\sin(ax + b)−1acos⁡(ax+b)+c-\frac{1}{a}\cos(ax + b) + c—
cos⁡(ax+b)\cos(ax + b)1asin⁡(ax+b)+c\frac{1}{a}\sin(ax + b) + c—

At x=0x = 0 the integrand cos⁡(2x)\cos(2x) equals 11, so an antiderivative must have gradient 11 there. y=sin⁡(2x)y = \sin(2x) climbs at gradient 22: too steep. y=12sin⁡(2x)y = \frac{1}{2}\sin(2x) climbs at gradient 11, and it matches cos⁡(2x)\cos(2x) everywhere else too.

Worked example

Determine ∫(3x−1)4 dx\int (3x - 1)^4\,dx

  • Simple familiar
  • Technology free

Determine ∫(3x−1)4 dx\int (3x - 1)^4\,dx.

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Integrate as if the bracket were xx: raise the power, divide by the new power.

  2. Divide by aa, the coefficient of xx inside the bracket.

  3. Add + c+\,c and check by differentiating.

Watch out for

  • Multiplying by 33, giving 3(3x−1)55\frac{3(3x - 1)^5}{5}: integrating divides by aa.

  • Expanding (3x−1)4(3x - 1)^4 first. It works, but it is slow and easy to get wrong.

Determine ∫e−2x dx\int e^{-2x}\,dx.

int e -2x dx =
Reads asYour answer shows here as maths.

Common mistake

Multiplying by a instead of dividing

∫cos⁡(4x) dx=14sin⁡(4x)+c\int \cos(4x)\,dx = \frac{1}{4}\sin(4x) + c, not 4sin⁡(4x)+c4\sin(4x) + c. It is easy to copy the chain rule from differentiation, which multiplies. Integration reverses it, so it divides.

Determine ∫4x+1 dx\int \sqrt{4x + 1}\,dx, for x>−14x > -\frac{1}{4}.

Choose one answer

Worked example

Integrate 1ax+b\frac{1}{ax + b}, sin⁡(ax)\sin(ax) and cos⁡(ax+b)\cos(ax + b) together

  • Complex familiar
  • Technology free

Determine ∫(42x+1+sin⁡(πx)−6cos⁡(3x−π4))dx\int \left(\frac{4}{2x + 1} + \sin(\pi x) - 6\cos\left(3x - \frac{\pi}{4}\right)\right)dx for x>−12x > -\frac{1}{2}.

4 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Identify aa, the coefficient of xx, in each inside function.

  2. Integrate as if the inside were xx, then divide by aa.

  3. Keep the signs: ∫sin⁡=−cos⁡\int \sin = -\cos, ∫cos⁡=sin⁡\int \cos = \sin.

Watch out for

  • Writing 4ln⁡(2x+1)4\ln(2x + 1): forgetting to divide by 22.

  • Dividing by −π4-\frac{\pi}{4} or by the whole inside: divide only by the coefficient of xx.

  • Losing the minus sign when you integrate sin⁡(πx)\sin(\pi x).

Common mistake

The inside must be linear

∫ex2 dx\int e^{x^2}\,dx is not ex22x+c\frac{e^{x^2}}{2x} + c. Differentiate that with the quotient rule and you get ex2(1−12x2)e^{x^2}\left(1 - \frac{1}{2x^2}\right), not ex2e^{x^2}. Dividing works only when the derivative of the inside is a constant. For a non-linear inside, look for integration by recognition (next lesson).

Determine ∫15−2x dx\int \frac{1}{5 - 2x}\,dx, for x<52x < \frac{5}{2}.

Reads asYour answer shows here as maths.

Exam tip

Not on the formula sheet

The formula sheet gives ∫ex dx\int e^x\,dx, ∫sin⁡(x) dx\int \sin(x)\,dx and the others, but not their ax+bax + b versions. Dividing by aa is up to you, and a ten-second check by differentiating catches nearly every slip.

Summary

  • ∫f(ax+b) dx=1aF(ax+b)+c\int f(ax + b)\,dx = \frac{1}{a}F(ax + b) + c: integrate as if the inside were xx, then divide by aa.

  • It works because the chain rule multiplies by aa, the derivative of ax+bax + b.

  • Watch negative values of aa: ∫e−2x dx=−12e−2x+c\int e^{-2x}\,dx = -\frac{1}{2}e^{-2x} + c.

  • The inside must be linear. The rule does not apply to ex2e^{x^2} or sin⁡(x2)\sin(x^2).

  • These forms are not on the formula sheet, so check by differentiating.

Finished the lesson?

Try the 3 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 4 of 80% read

Save your progress with a free account