Class 12 Maths, Worked in Full Past papersGet updates
Chapter 7 · Integrals

Miscellaneous · Q17: ∫f′(ax+b) [f(ax+b)]n dx\int f'(ax+b)\,[f(ax+b)]^n\,dx

Miscellaneous ExerciseSubstitution t = f(ax + b) for a general function · Miscellaneous Exercise
The question

Integrate the function:

f′(ax+b) [f(ax+b)]nf'(ax+b)\,\left[f(ax+b)\right]^n
Exam answer

Let I=∫f′(ax+b)[f(ax+b)]ndxI = \displaystyle\int f'(ax + b)\left[f(ax + b)\right]^n dx⁠.

Put f(ax+b)=tf(ax + b) = t⁠. Then af′(ax+b) dx=dtaf'(ax + b)\,dx = dt⁠.

I=1a∫tn dt=1a⋅tn+1n+1+C\begin{aligned} I &= \frac1a\int t^n\,dt \\ &= \frac1a\cdot\frac{t^{n + 1}}{n + 1} + C \end{aligned}

∴ I=[f(ax+b)]n+1a(n+1)+C\therefore\ I = \dfrac{\left[f(ax + b)\right]^{n + 1}}{a(n + 1)} + C (for a≠0a \ne 0⁠, n≠−1n \ne -1⁠).

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

The integrand is a power of the inner expression f(ax+b)f(ax+b) multiplied by (almost) its derivative. By the chain rule the derivative of f(ax+b)f(ax+b) is a f′(ax+b)a\,f'(ax+b)⁠, so the substitution t=f(ax+b)t = f(ax+b) turns f′(ax+b) dxf'(ax+b)\,dx into dta\frac{dt}{a} and leaves just tnt^n⁠.

Given, to find, and the plan
Given
A differentiable function ff with continuous derivative f′f'⁠, constants a≠0a \ne 0 and bb⁠, and a real exponent nn⁠. (For a=0a = 0 the integrand is a constant; see Step 6.)
To find
∫f′(ax+b)[f(ax+b)]ndx\displaystyle\int f'(ax+b)\left[f(ax+b)\right]^n dx⁠.
Plan
(1) Name the substitution and find dtdt by the chain rule. (2) Integrate tnt^n (n≠−1n \ne -1⁠). (3) Return to xx⁠. (4) Differentiate back. (5) Treat n=−1n = -1⁠. (6) Conditions and the key. (7) A numerical example.

Basics you need

1Chain rule

ddxf(ax+b)=f′(ax+b)⋅a\frac{d}{dx}f(ax+b) = f'(ax+b)\cdot a⁠: derivative of the outer function at the inner one, times the derivative aa of the inner function ax+bax+b⁠. Basics: substitution (the chain rule backwards)

2Substitution (Section 7.3.1)

∫h(g(x)) g′(x) dx=∫h(t) dt\int h(g(x))\,g'(x)\,dx = \int h(t)\,dt with t=g(x)t = g(x)⁠. Lesson: integration by substitution

3Power formula

∫tn dt=tn+1n+1+C\int t^n\,dt = \frac{t^{n+1}}{n+1} + C for n≠−1n \ne -1⁠; ∫dtt=log⁡∣t∣+C\int\frac{dt}{t} = \log|t| + C (standard formulae (i) and (xii), Section 7.2). Basics: powers of x

Solution

  1. Choose the substitution t=f(ax+b)t = f(ax+b)

    t=f(ax+b),dtdx=a f′(ax+b),t = f(ax+b) ,\qquad \frac{dt}{dx} = a\,f'(ax+b) , f′(ax+b) dx=dta.f'(ax+b)\,dx = \frac{dt}{a} .
    The integrand is "something to a power" times "the derivative of that something" (apart from the constant aa⁠). This is the pattern substitution is made for. Dividing by aa is allowed because a≠0a \ne 0⁠.
    Chain rule (Chapter 5); Section 7.3.1. Basics: substitution
  2. Integrate in tt (for n≠−1n \ne -1⁠)

    ∫f′(ax+b)[f(ax+b)]ndx=∫tn⋅dta=1a⋅tn+1n+1+C.\begin{aligned}\int f'(ax+b)\left[f(ax+b)\right]^n dx &= \int t^n\cdot\frac{dt}{a}\\ &= \frac1a\cdot\frac{t^{n+1}}{n+1} + C .\end{aligned}
    The constant 1a\frac1a comes outside (Property (IV), Section 7.2.1), and the power formula needs n+1≠0n + 1 \ne 0⁠.
    Standard formula (i), Section 7.2. Basics: powers of x
  3. Return to xx

    ∫f′(ax+b)[f(ax+b)]ndx=[f(ax+b)]n+1a(n+1)+C.\begin{aligned}&\int f'(ax+b)\left[f(ax+b)\right]^n dx\\ &= \frac{\left[f(ax+b)\right]^{n+1}}{a(n+1)} + C .\end{aligned}
    Replace tt by f(ax+b)f(ax+b)⁠.
  4. Check: differentiate the answer

    Chain rule twice: outer un+1u^{n+1}⁠, middle u=f(v)u = f(v)⁠, inner v=ax+bv = ax+b⁠:

    ddx [f(ax+b)]n+1a(n+1)=(n+1)[f(ax+b)]n⋅f′(ax+b)⋅aa(n+1)=f′(ax+b)[f(ax+b)]n ✓\begin{aligned}&\frac{d}{dx}\,\frac{\left[f(ax+b)\right]^{n+1}}{a(n+1)}\\ &= \frac{(n+1)\left[f(ax+b)\right]^{n}\cdot f'(ax+b)\cdot a}{a(n+1)}\\ &= f'(ax+b)\left[f(ax+b)\right]^n\ \checkmark\end{aligned}
    The factors aa and n+1n+1 produced by differentiating cancel the denominator exactly, which is why the answer carries a(n+1)a(n+1) underneath.
  5. The excluded case n=−1n = -1

    Then the integrand is f′(ax+b)f(ax+b)\frac{f'(ax+b)}{f(ax+b)} and the same substitution gives

    ∫f′(ax+b)f(ax+b) dx=1a∫dtt=1alog⁡∣f(ax+b)∣+C,\int\frac{f'(ax+b)}{f(ax+b)}\,dx = \frac1a\int\frac{dt}{t} = \frac1a\log\left|f(ax+b)\right| + C ,

    valid wherever f(ax+b)≠0f(ax+b) \ne 0⁠.

    The formula of Step 3 would divide by n+1=0n + 1 = 0⁠, so it cannot be used; ∫dtt\int\frac{dt}{t} is a logarithm instead (standard formula (xii)). The question does not mention this case, but a complete answer states it.
  6. Conditions, and the textbook's answer

    • a≠0a \ne 0 (we divided by aa⁠). If a=0a = 0⁠, the integrand is the constant f′(b)[f(b)]nf'(b)\left[f(b)\right]^n and the integral is that constant times xx⁠, plus CC⁠.
    • n≠−1n \ne -1 for the formula of Step 3 (Step 5 covers n=−1n = -1⁠).
    • The power must make sense: for a positive integer nn⁠, any xx⁠; for a negative integer nn⁠, only where f(ax+b)≠0f(ax+b) \ne 0⁠; for a fractional nn⁠, usually only where f(ax+b)>0f(ax+b) > 0⁠.

    The key gives [f(ax+b)]n+1a(n+1)+C\frac{\left[f(ax+b)\right]^{n+1}}{a(n+1)} + C⁠, exactly our answer (the key leaves these conditions unstated).

    An answer is valid on any interval where both the integrand and the answer are defined and the derivative check of Step 4 holds; these bullet points describe exactly those intervals.
  7. A numerical example

    Take f=sin⁡f = \sin⁠, a=2a = 2⁠, b=1b = 1⁠, n=3n = 3⁠. The question becomes ∫cos⁡(2x+1)sin⁡3(2x+1) dx\int\cos(2x+1)\sin^3(2x+1)\,dx⁠, and the formula gives

    sin⁡4(2x+1)2⋅4+C=sin⁡4(2x+1)8+C.\frac{\sin^4(2x+1)}{2\cdot 4} + C = \frac{\sin^4(2x+1)}{8} + C .

    From 0 to 1 this predicts sin⁡43−sin⁡418≈−0.0626214205\frac{\sin^4 3 - \sin^4 1}{8} \approx -0.0626214205⁠, and numerical integration of cos⁡(2x+1)sin⁡3(2x+1)\cos(2x+1)\sin^3(2x+1) from 0 to 1 also gives −0.0626214205-0.0626214205⁠.

    A general formula is easiest to trust after one concrete case. The negative value is fine: the integrand is negative on most of [0,1][0, 1]⁠, because 2x+12x+1 runs from 1 to 3 radians and cos⁡\cos is negative beyond π2≈1.57\frac{\pi}{2} \approx 1.57⁠.
Result

For a≠0a \ne 0⁠, n≠−1n \ne -1⁠, on any interval where the power is defined:

∫f′(ax+b)[f(ax+b)]ndx=[f(ax+b)]n+1a(n+1)+C\int f'(ax+b)\left[f(ax+b)\right]^n dx = \frac{\left[f(ax+b)\right]^{n+1}}{a(n+1)} + C

(and 1alog⁡∣f(ax+b)∣+C\frac1a\log|f(ax+b)| + C when n=−1n = -1⁠).

(Textbook answer: [f(ax+b)]n+1a(n+1)+C\frac{\left[f(ax+b)\right]^{n+1}}{a(n+1)} + C⁠.)

Check it with numbers

Second example: f(u)=u2+1f(u) = u^2 + 1⁠, a=3a = 3⁠, b=0b = 0⁠, n=2n = 2⁠. Then f′(3x)=6xf'(3x) = 6x and the integrand is 6x(9x2+1)26x(9x^2+1)^2⁠; the formula gives (9x2+1)39+C\frac{(9x^2+1)^3}{9} + C⁠.

From 0 to 1: 103−139=111\frac{10^3 - 1^3}{9} = 111⁠. Expanding, 6x(9x2+1)2=486x5+108x3+6x6x(9x^2+1)^2 = 486x^5 + 108x^3 + 6x⁠, whose integral from 0 to 1 is 81+27+3=11181 + 27 + 3 = 111⁠.

Common mistakes
  1. Forgetting the aa⁠. dt=a f′(ax+b) dxdt = a\,f'(ax+b)\,dx⁠, so the answer has aa in the denominator.
  2. Using the power formula for n=−1n = -1⁠. It divides by zero; the answer is a logarithm.
  3. Writing f′(ax+b)f'(ax+b) as ddxf(ax+b)\frac{d}{dx}f(ax+b)⁠. These differ by the factor aa⁠: f′(ax+b)f'(ax+b) means the derivative of ff evaluated at ax+bax+b⁠.
What to take away
  1. ∫g′(x)[g(x)]ndx=[g(x)]n+1n+1+C\int g'(x)\left[g(x)\right]^n dx = \frac{\left[g(x)\right]^{n+1}}{n+1} + C (n≠−1n \ne -1⁠); here g(x)=f(ax+b)g(x) = f(ax+b) and g′(x)=a f′(ax+b)g'(x) = a\,f'(ax+b)⁠.
  2. A linear inside ax+bax+b always brings a factor 1a\frac1a into the integral.

Every fact used, and where it comes from

FactUsed inSource
Chain ruleSteps 1, 4Chapter 5 (Basics)
Integration by substitutionSteps 1, 2, 5Section 7.3.1 (Lesson: substitution)
∫tn dt=tn+1n+1+C\int t^n\,dt = \frac{t^{n+1}}{n+1} + C⁠, n≠−1n \ne -1Step 2Standard formula (i), Section 7.2
Constants come outsideStep 2Property (IV), Section 7.2.1
∫dtt=log⁡∣t∣+C\int\frac{dt}{t} = \log|t| + CStep 5Standard formula (xii), Section 7.2
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →