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

Exercise 7.6 · Q20: ∫(x−3)ex(x−1)3 dx\int\frac{(x-3)e^x}{(x-1)^3}\,dx

Exercise 7.6Integral of the type eˣ[f + f′] · Section 7.6.1
The question

Integrate the functions in Exercises 1 to 22.

20.

(x−3) ex(x−1)3\frac{(x-3)\,e^x}{(x-1)^3}
Exam answer

Let I=∫(x−3) ex(x−1)3 dxI = \displaystyle\int\frac{(x - 3)\,e^x}{(x - 1)^3}\,dx⁠.

I=∫ex (x−1)−2(x−1)3 dx=∫ex[1(x−1)2−2(x−1)3]dx\begin{aligned} I &= \int e^x\,\frac{(x - 1) - 2}{(x - 1)^3}\,dx \\ &= \int e^x\bigg[\frac{1}{(x - 1)^2} \\ &\qquad - \frac{2}{(x - 1)^3}\bigg]dx \end{aligned}

Let f(x)=1(x−1)2f(x) = \frac{1}{(x - 1)^2}⁠. Then f′(x)=−2(x−1)3{f'(x) = -\frac{2}{(x - 1)^3}}⁠.

Using ∫ex[f(x)+f′(x)]dx\displaystyle\int e^x\left[f(x) + f'(x)\right]dx =exf(x)+C,= e^xf(x) + C,

∴ I=ex(x−1)2+C\therefore\ I = \dfrac{e^x}{(x - 1)^2} + C⁠.

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

The one idea this problem is built on

Write the top in terms of the bottom's base: x−3=(x−1)−2x - 3 = (x - 1) - 2⁠. Then

x−3(x−1)3=1(x−1)2−2(x−1)3,\frac{x-3}{(x-1)^3} = \frac{1}{(x-1)^2} - \frac{2}{(x-1)^3},

and −2(x−1)3-\frac{2}{(x-1)^3} is the derivative of 1(x−1)2\frac{1}{(x-1)^2}⁠. So the integrand is ex[f+f′]e^x[f + f'] with f=1(x−1)2f = \frac{1}{(x-1)^2}⁠, and Section 7.6.1 finishes it.

Given, to find, and the plan
Given
(x−3)ex(x−1)3\frac{(x-3)e^x}{(x-1)^3}⁠, defined for x≠1x \ne 1⁠.
To find
∫(x−3)ex(x−1)3 dx\int\frac{(x-3)e^x}{(x-1)^3}\,dx⁠.
Plan
(1) Split the fraction. (2) Recognise f=(x−1)−2f = (x-1)^{-2} and apply the rule. (3) Differentiate back.

Basics you need

1The rule ∫ex[f+f′] dx=exf+C\int e^x[f + f']\,dx = e^x f + C

Section 7.6.1. Lesson: integration by parts

2Splitting a fraction

a−bc=ac−bc\frac{a - b}{c} = \frac ac - \frac bc⁠; a factor x−1x - 1 may be cancelled because x≠1x \ne 1⁠. Basics: splitting fractions

3Derivative of (x−1)−2(x-1)^{-2}

ddx(x−1)−2=−2(x−1)−3\frac{d}{dx}(x-1)^{-2} = -2(x-1)^{-3} (power rule with the chain rule). Basics: powers of x

Solution

  1. Split the fraction

    Write x−3=(x−1)−2x - 3 = (x - 1) - 2⁠. For x≠1x \ne 1⁠,

    x−3(x−1)3=(x−1)−2(x−1)3=1(x−1)2−2(x−1)3.\begin{aligned} \frac{x-3}{(x-1)^3} &= \frac{(x-1) - 2}{(x-1)^3} \\ &= \frac{1}{(x-1)^2} - \frac{2}{(x-1)^3}. \end{aligned}

    So the integral is ∫ex[1(x−1)2−2(x−1)3]dx\int e^x\left[\frac{1}{(x-1)^2} - \frac{2}{(x-1)^3}\right]dx⁠.

    A cube (x−1)3(x-1)^3 in the bottom is what differentiating a square (x−1)−2(x-1)^{-2} produces. Writing the top as (x−1)(x - 1) plus a constant lets one factor cancel and exposes the two powers −2-2 and −3-3⁠.
    Splitting a fraction. Basics: splitting fractions
  2. Recognise f+f′f + f' and apply the rule

    Take f(x)=1(x−1)2=(x−1)−2f(x) = \frac{1}{(x-1)^2} = (x-1)^{-2}⁠. By the power rule and chain rule (inner function x−1x - 1⁠, derivative 1),

    f′(x)=−2(x−1)−3=−2(x−1)3.f'(x) = -2(x-1)^{-3} = -\frac{2}{(x-1)^3}.

    So the bracket is f(x)+f′(x)f(x) + f'(x)⁠, and by Section 7.6.1

    ∫(x−3)ex(x−1)3 dx=ex(x−1)2+C.\int\frac{(x-3)e^x}{(x-1)^3}\,dx = \frac{e^x}{(x-1)^2} + C.
    (x−1)−2(x-1)^{-2} is differentiable on (−∞,1)(-\infty, 1) and on (1,∞)(1, \infty)⁠, so the answer holds on each of these intervals (the constant may differ between them).
    ∫ex[f+f′] dx=exf+C\int e^x[f + f']\,dx = e^x f + C (Section 7.6.1). Lesson: integration by parts
  3. Check: differentiate the answer

    ddx[ex(x−1)2]=ex(x−1)2−2ex(x−1)3=ex (x−1)−2(x−1)3=(x−3) ex(x−1)3.\begin{aligned} \frac{d}{dx}\left[\frac{e^x}{(x-1)^2}\right] &= \frac{e^x}{(x-1)^2} - \frac{2e^x}{(x-1)^3} \\ &= e^x\,\frac{(x-1) - 2}{(x-1)^3} \\ &= \frac{(x-3)\,e^x}{(x-1)^3}. \end{aligned}
    Product rule on ex⋅(x−1)−2e^x\cdot(x-1)^{-2}⁠, then put both terms over (x−1)3(x-1)^3⁠. The top is x−1−2=x−3x - 1 - 2 = x - 3⁠: the integrand, for every x≠1x \ne 1⁠.
    Product rule; chain rule (Chapter 5). Basics: integration undoes differentiation
Result ∫(x−3)ex(x−1)3 dx=ex(x−1)2+C,\int\frac{(x-3)e^x}{(x-1)^3}\,dx = \frac{e^x}{(x-1)^2} + C,

valid on any interval not containing x=1x = 1⁠. (Textbook answer: ex(x−1)2+C\frac{e^x}{(x-1)^2} + C⁠, the same.)

Check it with numbers

On [2,3][2, 3]⁠, which does not contain 1:

F(3)−F(2)=e34−e21=−2.3676718681…\begin{aligned} F(3) - F(2) &= \frac{e^3}{4} - \frac{e^2}{1} \\ &= -2.3676718681\ldots \end{aligned}

Numerical integration of (x−3)ex(x−1)3\frac{(x-3)e^x}{(x-1)^3} over [2,3][2, 3] gives −2.3676718681…-2.3676718681\ldots⁠, the same. The value is negative because x−3≤0x - 3 \le 0 on [2,3][2, 3] while exe^x and (x−1)3(x-1)^3 are positive there.

Common mistakes
  1. Writing x−3=(x−1)−3x - 3 = (x - 1) - 3⁠. It is (x−1)−2(x - 1) - 2⁠.
  2. Derivative of (x−1)−2(x-1)^{-2}⁠: it is −2(x−1)−3-2(x-1)^{-3}⁠; the factor −2-2 must match the −2-2 in the split.
  3. Ignoring x=1x = 1⁠.
What to take away
  1. With exe^x times linear(x−a)k+1\frac{\text{linear}}{(x-a)^{k+1}}⁠, write the top as a multiple of (x−a)(x - a) plus a constant; look for f=c(x−a)kf = \frac{c}{(x-a)^k}⁠.
  2. Questions 17, 19 and 20 are the same idea with different powers.

Every fact used, and where it comes from

FactUsed inSource
∫ex[f+f′] dx=exf+C\int e^x[f + f']\,dx = e^x f + CStep 2Section 7.6.1 (Lesson: integration by parts)
Splitting a fraction; cancelling a nonzero factorStep 1Algebra
Power rule, chain rule, product ruleSteps 2, 3Chapter 5, Sections 5.3 and 5.3.1
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 →