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

Exercise 7.9 · Q1: ∫01xx2+1 dx\int_0^1\frac{x}{x^2+1}\,dx

Exercise 7.9Definite integrals by substitution · Section 7.9
The question

Evaluate the integral using substitution:

∫01xx2+1 dx.\int_0^1 \frac{x}{x^2 + 1}\,dx.
Exam answer

Let I=∫01xx2+1 dxI = \displaystyle\int_0^1 \frac{x}{x^2 + 1}\,dx⁠.

Put x2+1=tx^2 + 1 = t⁠. Then 2x dx=dt2x\,dx = dt⁠, so x dx=12 dtx\,dx = \frac12\,dt⁠.

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

I=12∫12dtt=12[log⁡t]12=12(log⁡2−log⁡1)\begin{aligned} I &= \frac12\int_1^2\frac{dt}{t} = \frac12\Big[\log t\Big]_1^2 \\ &= \frac12\left(\log 2 - \log 1\right) \end{aligned}

∴ I=12log⁡2\therefore\ I = \dfrac12\log 2⁠.

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

The one idea this problem is built on

The numerator xx is half the derivative of the denominator x2+1x^2 + 1⁠. So with t=x2+1t = x^2 + 1 we get x dx=12 dtx\,dx = \frac{1}{2}\,dt⁠, and the integral becomes 12∫dtt\frac{1}{2}\int\frac{dt}{t}⁠, a logarithm. The limits move with the substitution: x=0x = 0 gives t=1t = 1 and x=1x = 1 gives t=2t = 2⁠.

Given, to find, and the plan
Given
The integrand xx2+1\frac{x}{x^2 + 1} on the interval [0,1][0, 1]⁠.
To find
The exact value of the integral, and a decimal.
Plan
(1) Check the integrand is continuous on [0,1][0, 1]⁠. (2) Substitute t=x2+1t = x^2 + 1⁠, write dtdt⁠, and change the limits. (3) Integrate 1t\frac{1}{t} and evaluate. (4) Repeat with an antiderivative in xx⁠, checked by differentiating. (5) Look at the region and compare with a numerical value.

Basics you need

1Substitution with new limits

If t=g(x)t = g(x) has a continuous derivative on [a,b][a, b] and ff is continuous on the values gg takes, then ∫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. This is the quick method in the Note of Section 7.9. Lesson: integration by substitution

2The integral of 1t\frac{1}{t}

∫dtt=log⁡∣t∣+C\int\frac{dt}{t} = \log|t| + C for t≠0t \ne 0 (standard formula (xii), Section 7.2). Basics: logarithms and 1/x

3The second fundamental theorem

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

4Chain rule

ddxlog⁡(g(x))=g′(x)g(x)\frac{d}{dx}\log(g(x)) = \frac{g'(x)}{g(x)} where g(x)>0g(x) > 0⁠. Basics: substitution (the chain rule backwards)

Solution

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

    The numerator xx is a polynomial. The denominator satisfies x2+1≥1x^2 + 1 \ge 1 for every real xx⁠, so it is never 0. A quotient of continuous functions is continuous wherever the denominator is not 0, so xx2+1\frac{x}{x^2+1} is continuous on [0,1][0, 1] (in fact on the whole real line).

    Theorem 2 and the substitution rule both need a continuous integrand on the closed interval. Checking first rules out hidden trouble such as a zero denominator inside [a,b][a, b]⁠.
    x2≥0x^2 \ge 0 for every real xx⁠, so x2+1≥1x^2 + 1 \ge 1⁠. Lesson: the fundamental theorem
  2. Substitute t=x2+1t = x^2 + 1 and change the limits

    Differentiate: dtdx=2x\frac{dt}{dx} = 2x⁠, so dt=2x dxdt = 2x\,dx⁠, that is

    x dx=12 dt.x\,dx = \frac{1}{2}\,dt.

    New limits. When x=0x = 0⁠, t=02+1=1t = 0^2 + 1 = 1⁠. When x=1x = 1⁠, t=12+1=2t = 1^2 + 1 = 2⁠.

    Why it is valid on the whole interval. t=x2+1t = x^2 + 1 is a polynomial, so it has a continuous derivative 2x2x on [0,1][0, 1]⁠. Since 2x≥02x \ge 0 there, tt increases steadily from 1 to 2, and every tt it passes through satisfies t≥1>0t \ge 1 > 0⁠, where 1t\frac{1}{t} is continuous.

    The integrand is "a constant times g′(x)g'(x) over g(x)g(x)" with g(x)=x2+1g(x) = x^2 + 1⁠. Naming the denominator tt turns the whole fraction into 12⋅dtt\frac{1}{2}\cdot\frac{dt}{t}⁠. The limits must be changed to tt-values because after the substitution we integrate with respect to tt⁠.
    ddx(x2+1)=2x\frac{d}{dx}(x^2 + 1) = 2x by the power rule. Basics: substitution
  3. Integrate in tt

    ∫01x dxx2+1=12∫12dtt=12[log⁡t]12=12(log⁡2−log⁡1)=12log⁡2.\begin{aligned}\int_0^1\frac{x\,dx}{x^2 + 1} &= \frac{1}{2}\int_1^2\frac{dt}{t} \\ &= \frac{1}{2}\Big[\log t\Big]_1^2 \\ &= \frac{1}{2}\left(\log 2 - \log 1\right) = \frac{1}{2}\log 2.\end{aligned}

    In decimals, 12log⁡2≈0.69314722≈0.3465736\frac{1}{2}\log 2 \approx \frac{0.6931472}{2} \approx 0.3465736⁠.

    On [1,2][1, 2]⁠, t>0t > 0⁠, so log⁡∣t∣=log⁡t\log|t| = \log t⁠. And log⁡1=0\log 1 = 0⁠, so only the upper limit contributes.
    Standard formula (xii), Section 7.2, then Theorem 2: F(upper) minus F(lower). Basics: logarithms and 1/x
  4. Same result by staying in xx

    Returning to xx instead of changing the limits: 12log⁡t\frac{1}{2}\log t becomes

    F(x)=12log⁡(x2+1).F(x) = \frac{1}{2}\log(x^2 + 1).

    Check: differentiate. By the chain rule (outer 12log⁡u\frac{1}{2}\log u⁠, inner u=x2+1u = x^2 + 1⁠),

    F′(x)=12⋅2xx2+1=xx2+1,F'(x) = \frac{1}{2}\cdot\frac{2x}{x^2 + 1} = \frac{x}{x^2 + 1},

    the integrand. Then F(1)−F(0)=12log⁡2−12log⁡1=12log⁡2F(1) - F(0) = \frac{1}{2}\log 2 - \frac{1}{2}\log 1 = \frac{1}{2}\log 2⁠, as before.

    Steps 1 to 3 of Section 7.9 (go back to xx⁠) and the quick method of its Note (new limits) must give the same number. Doing both catches a wrongly changed limit.
    No modulus is needed: x2+1>0x^2 + 1 > 0 for every xx⁠. Basics: the chain rule backwards
  5. The region

    1 2 3 0.25 0.5 x y (1, 1/2) area ≈ 0.347 y = x / (x² + 1)
    y=xx2+1y = \frac{x}{x^2+1} rises from 0 to its highest value 12\frac{1}{2} at x=1x = 1⁠. The shaded area from 0 to 1 is 12log⁡2≈0.347\frac{1}{2}\log 2 \approx 0.347⁠.
    On [0,1][0, 1] the integrand is ≥0\ge 0⁠, so the integral is the shaded area. A quick bound: for 0≤x≤10 \le x \le 1⁠, 1≤x2+1≤21 \le x^2 + 1 \le 2⁠, so x2≤xx2+1≤x\frac{x}{2} \le \frac{x}{x^2+1} \le x⁠. The area therefore lies between ∫01x2dx=0.25\int_0^1\frac{x}{2}dx = 0.25 and ∫01x dx=0.5\int_0^1 x\,dx = 0.5⁠, and 0.347 does.
    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

∫01xx2+1 dx=12log⁡2≈0.3465736.\int_0^1\frac{x}{x^2 + 1}\,dx = \frac{1}{2}\log 2 \approx 0.3465736. (Textbook answer: 12log⁡2\frac{1}{2}\log 2⁠.)

Check it with numbers

A numerical integration of xx2+1\frac{x}{x^2+1} over [0,1][0, 1] gives 0.3465736, and 12log⁡2≈0.69314722=0.3465736\frac{1}{2}\log 2 \approx \frac{0.6931472}{2} = 0.3465736⁠. Halfway, F(0.5)−F(0)=12log⁡1.25≈0.1115718F(0.5) - F(0) = \frac{1}{2}\log 1.25 \approx 0.1115718⁠: less than a third of the total, because the curve is low near x=0x = 0 and highest near x=1x = 1⁠.

Common mistakes
  1. Keeping the old limits. After t=x2+1t = x^2 + 1 the limits are 1 and 2, not 0 and 1. Using 0 and 1 in 12log⁡t\frac{1}{2}\log t would even give log⁡0\log 0⁠, which does not exist.
  2. Forgetting the 12\frac{1}{2}⁠. dt=2x dxdt = 2x\,dx⁠, so x dxx\,dx is only half of dtdt⁠. Without the 12\frac{1}{2} the answer would be log⁡2\log 2⁠, twice too big.
  3. Writing ∫xx2+1dx=x2/2x3/3+x\int\frac{x}{x^2+1}dx = \frac{x^2/2}{x^3/3 + x}⁠. There is no quotient rule for integrals; the quotient is handled by substitution.
What to take away
  1. When the numerator is a constant multiple of the derivative of the denominator, substitute t=t = denominator: the answer is a logarithm.
  2. Change the limits together with the variable: t=g(a)t = g(a) to t=g(b)t = g(b)⁠.
  3. Check that the substitution and 1t\frac{1}{t} behave on the whole interval: here tt runs through [1,2][1, 2]⁠, away from 0.

Every fact used, and where it comes from

FactUsed inSource
A quotient of continuous functions is continuous where the denominator is not 0Step 1Chapter 5, Section 5.2.1 (algebra of continuous functions)
Substitution with change of limitsStep 2Section 7.9 and its Note (Lesson)
∫dtt=log⁡∣t∣+C\int\frac{dt}{t} = \log|t| + CStep 3Standard formula (xii), Section 7.2 (Basics)
∫abf=F(b)−F(a)\int_a^b f = F(b) - F(a)Steps 3 and 4Theorem 2, Section 7.8.3 (Lesson)
Chain rule for log⁡(g(x))\log(g(x))Step 4Chapter 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 →