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

Exercise 7.8 · Q11: ∫23dxx2−1\int_2^3\frac{dx}{x^2 - 1}

Exercise 7.8Fundamental theorem of calculus · Section 7.8
The question

Evaluate the definite integral

∫23dxx2−1.\int_2^3\frac{dx}{x^2 - 1}.
Exam answer

Let I=∫23dxx2−1I = \displaystyle\int_2^3\frac{dx}{x^2 - 1}⁠.

Using ∫dxx2−a2\displaystyle\int\frac{dx}{x^2 - a^2} =12alog⁡∣x−ax+a∣+C,= \frac{1}{2a}\log\left|\frac{x - a}{x + a}\right| + C,

I=12[log⁡∣x−1x+1∣]23=12(log⁡24−log⁡13)=12log⁡(12⋅31)\begin{aligned} I &= \frac12\left[\log\left|\frac{x - 1}{x + 1}\right|\right]_2^3 \\ &= \frac12\left(\log\frac24 - \log\frac13\right) \\ &= \frac12\log\left(\frac12\cdot\frac31\right) \end{aligned}

∴ I=12log⁡32\therefore\ I = \dfrac12\log\dfrac32⁠.

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

The one idea this problem is built on

The second fundamental theorem (Theorem 2, Section 7.8.3): ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)⁠. The denominator factorises, x2−1=(x−1)(x+1)x^2 - 1 = (x - 1)(x + 1)⁠, and the fraction splits into 12(1x−1−1x+1)\frac12\left(\frac{1}{x-1} - \frac{1}{x+1}\right)⁠. Each piece integrates to a logarithm, which is formula (1) of Section 7.4 with a=1a = 1⁠: ∫dxx2−a2=12alog⁡∣x−ax+a∣+C\int\frac{dx}{x^2 - a^2} = \frac{1}{2a}\log\left|\frac{x - a}{x + a}\right| + C⁠.

Given, to find, and the plan
Given
f(x)=1x2−1f(x) = \frac{1}{x^2 - 1} on [2,3][2, 3]⁠.
To find
The exact value of ∫23dxx2−1\int_2^3\frac{dx}{x^2 - 1}⁠.
Plan
(1) Continuity: the denominator vanishes only at ±1\pm 1⁠. (2) Split the fraction and integrate; check by differentiating. (3) F(3)−F(2)F(3) - F(2) with the laws of logarithms. (4) Size check against the graph.

Basics you need

1Second fundamental theorem

∫abf(x) dx=[F(x)]ab=F(b)−F(a)\int_a^b f(x)\,dx = \big[F(x)\big]_a^b = F(b) - F(a) for ff continuous on [a,b][a, b] and F′=fF' = f⁠. Lesson: definite integrals and the fundamental theorem

2Splitting a fraction

1(x−1)(x+1)=Ax−1+Bx+1\frac{1}{(x-1)(x+1)} = \frac{A}{x-1} + \frac{B}{x+1} (partial fractions, Section 7.5; the same split proves formula (1) of Section 7.4). Basics: splitting fractions

3Logs

∫dxx+k=log⁡∣x+k∣+C\int\frac{dx}{x + k} = \log|x + k| + C (standard formula (xii) with a shift); log⁡a−log⁡b=log⁡ab\log a - \log b = \log\frac{a}{b}⁠. Basics: logarithms and 1/x

Solution

  1. Check continuity on [2,3][2, 3]

    x2−1=(x−1)(x+1)=0x^2 - 1 = (x - 1)(x + 1) = 0 only at x=1x = 1 and x=−1x = -1⁠. Neither lies in [2,3][2, 3]⁠; in fact for 2≤x≤32 \le x \le 3⁠, x2−1≥3>0x^2 - 1 \ge 3 > 0⁠. So ff is continuous on [2,3][2, 3]⁠.

    A quotient of continuous functions is continuous wherever the denominator is not 0, and Theorem 2 needs exactly this on the closed interval (Remark (iv) after Theorem 2). The graph has a vertical asymptote at x=1x = 1⁠, well to the left of our interval.
    Quotient of continuous functions: Chapter 5, Theorem 1, Section 5.2.1. Lesson: the fundamental theorem
  2. Split the fraction

    Write 1(x−1)(x+1)=Ax−1+Bx+1\frac{1}{(x-1)(x+1)} = \frac{A}{x-1} + \frac{B}{x+1}⁠. Multiplying by (x−1)(x+1)(x-1)(x+1)⁠:

    1=A(x+1)+B(x−1)for every x.1 = A(x + 1) + B(x - 1) \quad\text{for every } x.

    Put x=1x = 1⁠: 1=2A1 = 2A⁠, so A=12A = \frac12⁠. Put x=−1x = -1⁠: 1=−2B1 = -2B⁠, so B=−12B = -\frac12⁠. Hence

    1x2−1=12(1x−1−1x+1).\frac{1}{x^2 - 1} = \frac12\left(\frac{1}{x - 1} - \frac{1}{x + 1}\right).
    Each simple fraction has a known integral; the product in the denominator does not. Check: (x+1)−(x−1)2(x−1)(x+1)=22(x2−1)=1x2−1\frac{(x+1) - (x-1)}{2(x-1)(x+1)} = \frac{2}{2(x^2 - 1)} = \frac{1}{x^2 - 1}⁠.
    Partial fractions, Section 7.5 (Table 7.2, form 1). Lesson: partial fractions
  3. Integrate

    ∫dxx2−1=12(log⁡∣x−1∣−log⁡∣x+1∣)+C=12log⁡∣x−1x+1∣+C.\begin{aligned}\int\frac{dx}{x^2 - 1} &= \frac12\Big(\log|x - 1| - \log|x + 1|\Big) + C \\ &= \frac12\log\left|\frac{x - 1}{x + 1}\right| + C.\end{aligned}

    On [2,3][2, 3] both x−1x - 1 and x+1x + 1 are positive, so take

    F(x)=12log⁡x−1x+1.F(x) = \frac12\log\frac{x - 1}{x + 1}.
    This is formula (1) of Section 7.4, ∫dxx2−a2=12alog⁡∣x−ax+a∣+C\int\frac{dx}{x^2 - a^2} = \frac{1}{2a}\log\left|\frac{x - a}{x + a}\right| + C⁠, with a=1a = 1⁠. The bars can go because x−1x+1>0\frac{x - 1}{x + 1} > 0 for x>1x > 1⁠.
    Formula 7.4 (1); standard formula (xii). Lesson: integrals of particular functions
  4. Check: differentiate FF back

    For x>1x > 1⁠, F(x)=12[log⁡(x−1)−log⁡(x+1)]F(x) = \frac12\left[\log(x - 1) - \log(x + 1)\right]⁠, so

    F′(x)=12(1x−1−1x+1)=12⋅(x+1)−(x−1)x2−1=1x2−1.\begin{aligned}F'(x) &= \frac12\left(\frac{1}{x - 1} - \frac{1}{x + 1}\right) \\ &= \frac12\cdot\frac{(x + 1) - (x - 1)}{x^2 - 1} = \frac{1}{x^2 - 1}.\end{aligned}
    The derivative returns exactly the integrand, so FF is a valid antiderivative on [2,3][2, 3]⁠.
    ddxlog⁡(x+k)=1x+k\frac{d}{dx}\log(x + k) = \frac{1}{x + k} for x+k>0x + k > 0⁠. Basics: integration undoes differentiation
  5. Evaluate F(3)−F(2)F(3) - F(2)

    F(3)=12log⁡24=12log⁡12F(3) = \frac12\log\frac{2}{4} = \frac12\log\frac12 and F(2)=12log⁡13F(2) = \frac12\log\frac{1}{3}⁠. So

    ∫23dxx2−1=12(log⁡12−log⁡13)=12log⁡(12⋅31)=12log⁡32≈0.2027326.\begin{aligned}\int_2^3\frac{dx}{x^2 - 1} &= \frac12\left(\log\frac12 - \log\frac13\right) \\ &= \frac12\log\left(\frac12\cdot\frac31\right) = \frac12\log\frac32 \\ &\approx 0.2027326.\end{aligned}
    Upper minus lower, then log⁡a−log⁡b=log⁡ab\log a - \log b = \log\frac{a}{b}⁠: dividing 12\frac12 by 13\frac13 gives 32\frac32⁠. Both log⁡12\log\frac12 and log⁡13\log\frac13 are negative, but the larger one comes first, so the result is positive, as it must be for a positive integrand.
    Laws of logarithms. Basics: logarithms
  6. Does the size make sense?

    On [2,3][2, 3]⁠, ff falls from f(2)=13f(2) = \frac13 to f(3)=18f(3) = \frac18⁠. On a base of width 1:

    18=0.125<0.2027<13≈0.333.\frac18 = 0.125 < 0.2027 < \frac13 \approx 0.333.
    1 2 3 0.5 1 x y y = 1/(x² − 1) x = 1 (2, 1/3) (3, 1/8) area ≈ 0.203
    y=1x2−1y = \frac{1}{x^2 - 1} for x>1x > 1⁠, with the dashed asymptote x=1x = 1 where it is undefined. The shaded region from 2 to 3 lies well away from it and has area 12log⁡32≈0.203\frac12\log\frac32 \approx 0.203⁠.
    Since f>0f > 0 on [2,3][2, 3]⁠, the integral is the shaded area (Section 7.8.1), and it lies between the lowest and highest rectangles on that base.
    Definite integral as area, Section 7.8.1. Basics: area as a sum of thin strips
Result ∫23dxx2−1=12log⁡32≈0.2027326.\int_2^3\frac{dx}{x^2 - 1} = \frac12\log\frac32 \approx 0.2027326.

(Textbook answer: 12log⁡32\frac12\log\frac32⁠, the same.)

Check it with numbers

Numerical integration of 1x2−1\frac{1}{x^2 - 1} from 2 to 3 (thin strips, no antiderivative used) gives 0.20273260.2027326⁠, and 12log⁡1.5\frac12\log 1.5⁠, half of log⁡1.5≈0.40546511\log 1.5 \approx 0.40546511⁠, is ≈0.2027326\approx 0.2027326⁠. They agree.

Common mistakes
  1. Forgetting the 12a\frac{1}{2a}⁠. With a=1a = 1 it is 12\frac12⁠; leaving it out doubles the answer.
  2. Upside-down fraction. It is log⁡∣x−ax+a∣\log\left|\frac{x - a}{x + a}\right| for 1x2−a2\frac{1}{x^2 - a^2}⁠; the form log⁡∣a+xa−x∣\log\left|\frac{a + x}{a - x}\right| belongs to 1a2−x2\frac{1}{a^2 - x^2}⁠.
  3. Using tan⁡−1\tan^{-1}⁠. That is for x2+a2x^2 + a^2⁠; a minus sign in the denominator gives logarithms.
What to take away
  1. ∫dxx2−a2=12alog⁡∣x−ax+a∣+C\int\frac{dx}{x^2 - a^2} = \frac{1}{2a}\log\left|\frac{x - a}{x + a}\right| + C⁠, for x≠±ax \ne \pm a⁠.
  2. Check that the interval avoids the zeros of the denominator before using Theorem 2.
  3. Combine the end values with the laws of logarithms into one log.

Every fact used, and where it comes from

FactUsed inSource
∫abf=F(b)−F(a)\int_a^b f = F(b) - F(a) for continuous ffSteps 1, 5Theorem 2, Section 7.8.3 (Lesson)
Quotient of continuous functions is continuousStep 1Chapter 5, Theorem 1, Section 5.2.1
Splitting into simple fractionsStep 2Section 7.5, Table 7.2 (Lesson)
∫dxx2−a2=12alog⁡∣x−ax+a∣+C\int\frac{dx}{x^2 - a^2} = \frac{1}{2a}\log\left|\frac{x - a}{x + a}\right| + CStep 3Formula (1), Section 7.4 (Lesson)
∫dxx=log⁡∣x∣+C\int\frac{dx}{x} = \log|x| + CSteps 3, 4Standard formula (xii), Section 7.2 (Basics)
log⁡a−log⁡b=log⁡ab\log a - \log b = \log\frac{a}{b}Step 5Laws of logarithms (Basics)
Definite integral as areaStep 6Section 7.8.1 (Basics)
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 →