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

Exercise 7.9 · Q8: ∫12(1x−12x2)e2xdx\int_1^2\left(\frac{1}{x}-\frac{1}{2x^2}\right)e^{2x}dx

Exercise 7.9Definite integrals by substitution · Section 7.9
The question

Evaluate the integral using substitution:

∫12(1x−12x2)e2x dx.\int_1^2 \left(\frac{1}{x} - \frac{1}{2x^2}\right)e^{2x}\,dx.
Exam answer

Let I=∫12(1x−12x2)e2x dxI = \displaystyle\int_1^2\left(\frac{1}{x} - \frac{1}{2x^2}\right)e^{2x}\,dx⁠.

Put 2x=t2x = t⁠. Then 2 dx=dt2\,dx = dt⁠.

When x=1x = 1⁠, t=2t = 2⁠; when x=2x = 2⁠, t=4t = 4⁠.

∴ I=∫24(2t−2t2)et⋅dt2=∫24et(1t−1t2)dt\begin{aligned} \therefore\ I &= \int_2^4\left(\frac{2}{t} - \frac{2}{t^2}\right)e^t\cdot\frac{dt}{2} \\ &= \int_2^4 e^t\left(\frac{1}{t} - \frac{1}{t^2}\right)dt \end{aligned}

Here f(t)=1tf(t) = \frac{1}{t} and f′(t)=−1t2f'(t) = -\frac{1}{t^2}⁠. Using ∫et[f(t)+f′(t)]dt=etf(t)\displaystyle\int e^t\left[f(t) + f'(t)\right]dt = e^t f(t)⁠,

I=[ett]24=e44−e22I = \left[\frac{e^t}{t}\right]_2^4 = \frac{e^4}{4} - \frac{e^2}{2}

∴ I=e2(e2−2)4\therefore\ I = \dfrac{e^2(e^2 - 2)}{4}⁠.

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

The one idea this problem is built on

The substitution t=2xt = 2x turns the integrand into et(1t−1t2) dte^t\left(\frac{1}{t} - \frac{1}{t^2}\right)\,dt⁠. That is et[f(t)+f′(t)]e^t\left[f(t) + f'(t)\right] with f(t)=1tf(t) = \frac{1}{t}⁠, and Section 7.6.1 says its integral is etf(t)=ette^t f(t) = \frac{e^t}{t}⁠.

Given, to find, and the plan
Given
The integrand (1x−12x2)e2x\left(\frac{1}{x} - \frac{1}{2x^2}\right)e^{2x} on [1,2][1, 2]⁠.
To find
The exact value of the integral, and a decimal.
Plan
(1) Check continuity. (2) Substitute t=2xt = 2x and change the limits. (3) Recognise et[f(t)+f′(t)]e^t[f(t) + f'(t)]⁠. (4) Evaluate and simplify to the book's form. (5) Check by differentiating e2x2x\frac{e^{2x}}{2x}⁠, and numerically.

Basics you need

1The ex[f+f′]e^x[f + f'] rule

∫ex[f(x)+f′(x)]dx=exf(x)+C\int e^x\left[f(x) + f'(x)\right]dx = e^x f(x) + C (Section 7.6.1). It is integration by parts in a ready-made form. Lesson: integration by parts

2Substitution with new limits

∫abf(g(x)) g′(x) dx=∫g(a)g(b)f(t) dt\int_a^b f(g(x))\,g'(x)\,dx = \int_{g(a)}^{g(b)} f(t)\,dt (Section 7.9). Lesson: integration by substitution

3Derivative of 1t\frac{1}{t}

ddtt−1=−t−2=−1t2\frac{d}{dt}t^{-1} = -t^{-2} = -\frac{1}{t^2}⁠. Basics: powers and the power rule

4The second fundamental theorem

∫abf=F(b)−F(a)\int_a^b f = F(b) - F(a) when ff is continuous on [a,b][a, b] and F′=fF' = f (Theorem 2, Section 7.8.3). Lesson: definite integrals

Solution

  1. Check the integrand is continuous on [1,2][1, 2]

    1x\frac{1}{x} and 12x2\frac{1}{2x^2} are continuous wherever x≠0x \ne 0⁠, and e2xe^{2x} is continuous everywhere. On [1,2][1, 2]⁠, x≥1x \ge 1⁠, so the integrand is continuous there.

    The only trouble point of the integrand is x=0x = 0⁠, which lies outside [1,2][1, 2]⁠. (The figure shows the curve heading down towards −∞-\infty as x→0+x \to 0^+⁠, far from our interval.)
    Sums and products of continuous functions are continuous (Chapter 5, Section 5.2.1). Lesson: the fundamental theorem
  2. Substitute t=2xt = 2x and change the limits

    Then dt=2 dxdt = 2\,dx⁠, so dx=12dtdx = \frac{1}{2}dt⁠, and x=t2x = \frac{t}{2} gives

    1x=2t,12x2=12⋅t24=2t2.\frac{1}{x} = \frac{2}{t}, \qquad \frac{1}{2x^2} = \frac{1}{2\cdot\frac{t^2}{4}} = \frac{2}{t^2}.

    New limits. When x=1x = 1⁠, t=2t = 2⁠. When x=2x = 2⁠, t=4t = 4⁠.

    ∫12(1x−12x2)e2xdx=∫24(2t−2t2)et⋅dt2=∫24et(1t−1t2)dt.\begin{aligned}\int_1^2\left(\frac{1}{x} - \frac{1}{2x^2}\right)e^{2x}dx &= \int_2^4\left(\frac{2}{t} - \frac{2}{t^2}\right)e^t\cdot\frac{dt}{2} \\ &= \int_2^4 e^t\left(\frac{1}{t} - \frac{1}{t^2}\right)dt.\end{aligned}

    Why it is valid on the whole interval. t=2xt = 2x is increasing with derivative 2 and carries [1,2][1, 2] onto [2,4][2, 4]⁠, where t≠0t \ne 0⁠, so the new integrand is continuous.

    The exponent 2x2x makes the pattern hard to see. Calling it tt simplifies the exponential to ete^t⁠, and the 12\frac{1}{2} from dxdx cancels the 2s that appear in 2t\frac{2}{t} and 2t2\frac{2}{t^2}⁠.
    ddx(2x)=2\frac{d}{dx}(2x) = 2⁠. Basics: substitution
  3. Recognise et[f(t)+f′(t)]e^t\left[f(t) + f'(t)\right]

    Take f(t)=1tf(t) = \frac{1}{t}⁠. Then f′(t)=−1t2f'(t) = -\frac{1}{t^2}⁠, so

    1t−1t2=f(t)+f′(t).\frac{1}{t} - \frac{1}{t^2} = f(t) + f'(t).

    By Section 7.6.1,

    ∫et(1t−1t2)dt=ett+C.\int e^t\left(\frac{1}{t} - \frac{1}{t^2}\right)dt = \frac{e^t}{t} + C.
    Behind the rule is integration by parts: ∫et1t dt=1tet−∫(−1t2)et dt\int e^t\frac{1}{t}\,dt = \frac{1}{t}e^t - \int\left(-\frac{1}{t^2}\right)e^t\,dt (first function 1t\frac{1}{t}⁠, second ete^t⁠). The second integral cancels the −1t2et-\frac{1}{t^2}e^t part exactly.
    Section 7.6.1: ∫ex[f(x)+f′(x)]dx=exf(x)+C\int e^x[f(x) + f'(x)]dx = e^x f(x) + C⁠. Lesson: integration by parts
  4. Evaluate and simplify

    [ett]24=e44−e22=e4−2e24=e2(e2−2)4.\begin{aligned}\left[\frac{e^t}{t}\right]_2^4 &= \frac{e^4}{4} - \frac{e^2}{2} \\ &= \frac{e^4 - 2e^2}{4} = \frac{e^2(e^2 - 2)}{4}.\end{aligned}

    In decimals: e44≈13.6495375\frac{e^4}{4} \approx 13.6495375 and e22≈3.6945280\frac{e^2}{2} \approx 3.6945280⁠, so the value is about 9.95500959.9550095⁠.

    Common denominator 4, then take e2e^2 out of e4−2e2e^4 - 2e^2 to match the book's factored form.
    Theorem 2: F(upper) minus F(lower); e4=e2⋅e2e^4 = e^2\cdot e^2⁠. Lesson: definite integrals
  5. Same result by staying in xx

    With t=2xt = 2x⁠, ett\frac{e^t}{t} becomes

    F(x)=e2x2x.F(x) = \frac{e^{2x}}{2x}.

    Check: differentiate (quotient rule):

    F′(x)=2e2x⋅2x−e2x⋅24x2=e2x⋅4x−24x2=(1x−12x2)e2x,\begin{aligned}F'(x) &= \frac{2e^{2x}\cdot 2x - e^{2x}\cdot 2}{4x^2} \\ &= e^{2x}\cdot\frac{4x - 2}{4x^2} \\ &= \left(\frac{1}{x} - \frac{1}{2x^2}\right)e^{2x},\end{aligned}

    the integrand. Then F(2)−F(1)=e44−e22F(2) - F(1) = \frac{e^4}{4} - \frac{e^2}{2}⁠, as before.

    4x4x2=1x\frac{4x}{4x^2} = \frac{1}{x} and 24x2=12x2\frac{2}{4x^2} = \frac{1}{2x^2}⁠. The check is valid for every x≠0x \ne 0⁠, in particular on [1,2][1, 2]⁠.
    Quotient rule and ddxe2x=2e2x\frac{d}{dx}e^{2x} = 2e^{2x} (Chapter 5). Basics: the chain rule backwards
  6. The region

    0.5 1 1.5 2 10 20 x y x = 1/2 (2, 20.47) (1, 3.69) area ≈ 9.955 y = (1/x − 1/(2x²)) e²ˣ
    y=(1x−12x2)e2xy = \left(\frac{1}{x} - \frac{1}{2x^2}\right)e^{2x} is negative for 0<x<120 < x < \frac{1}{2}⁠, zero at x=12x = \frac{1}{2}⁠, and positive and rising on [1,2][1, 2]⁠, from about 3.69 to about 20.47. The shaded area is about 9.955.
    On [1,2][1, 2] the factor 1x−12x2=2x−12x2\frac{1}{x} - \frac{1}{2x^2} = \frac{2x - 1}{2x^2} is positive, so the value is an area. The curve rises from 3.69 to 20.47, and the area 9.955 lies between 1×3.691\times 3.69 and 1×20.471\times 20.47⁠.
    For a function that is never negative, the definite integral is the area under its graph. Basics: area as a sum of thin strips
Result

∫12(1x−12x2)e2xdx=e2(e2−2)4≈9.9550095.\int_1^2\left(\frac{1}{x} - \frac{1}{2x^2}\right)e^{2x}dx = \frac{e^2(e^2 - 2)}{4} \approx 9.9550095. (Textbook answer: e2(e2−2)4\frac{e^2(e^2 - 2)}{4}⁠.)

Check it with numbers

A numerical integration over [1,2][1, 2] gives 9.9550095. With e2≈7.3890561e^2 \approx 7.3890561⁠: 7.3890561×5.38905614≈9.9550095\frac{7.3890561\times 5.3890561}{4} \approx 9.9550095⁠. The integrand at the ends: 12e2≈3.6945280\frac{1}{2}e^2 \approx 3.6945280 at x=1x = 1 and 38e4≈20.4743063\frac{3}{8}e^4 \approx 20.4743063 at x=2x = 2⁠.

Common mistakes
  1. Forgetting dx=12dtdx = \frac{1}{2}dt⁠. Then the 2s in 2t−2t2\frac{2}{t} - \frac{2}{t^2} stay, and the answer doubles.
  2. Getting 12x2\frac{1}{2x^2} wrong in tt⁠. x2=t24x^2 = \frac{t^2}{4}⁠, so 2x2=t222x^2 = \frac{t^2}{2} and 12x2=2t2\frac{1}{2x^2} = \frac{2}{t^2}⁠.
  3. Missing the pattern and trying to integrate ett\frac{e^t}{t} alone. ∫ettdt\int\frac{e^t}{t}dt has no elementary antiderivative; only the combination et(1t−1t2)e^t\left(\frac{1}{t} - \frac{1}{t^2}\right) does.
What to take away
  1. Look for et[f(t)+f′(t)]e^t[f(t) + f'(t)]⁠: the integral is etf(t)e^t f(t)⁠.
  2. A substitution t=kxt = kx can reveal the pattern; remember dx=1kdtdx = \frac{1}{k}dt and the new limits.
  3. Check by differentiating: one quotient rule confirms everything.

Every fact used, and where it comes from

FactUsed inSource
Continuity of 1x\frac{1}{x}⁠, 1x2\frac{1}{x^2} for x≠0x \ne 0⁠, and of e2xe^{2x}Step 1Chapter 5, Sections 5.2.1 and 5.4
Substitution t=2xt = 2x with change of limitsStep 2Section 7.9 (Lesson)
∫ex[f(x)+f′(x)]dx=exf(x)+C\int e^x[f(x) + f'(x)]dx = e^x f(x) + CStep 3Section 7.6.1 (Lesson)
∫abf=F(b)−F(a)\int_a^b f = F(b) - F(a)Steps 4 and 5Theorem 2, Section 7.8.3 (Lesson)
Quotient rule; ddxe2x=2e2x\frac{d}{dx}e^{2x} = 2e^{2x}Step 5Chapter 5, Sections 5.3.1 and 5.4
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 →