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

Exercise 7.4 · Q17: ∫x+2x2−1 dx\int\frac{x + 2}{\sqrt{x^2 - 1}}\,dx

Exercise 7.4Integrals of some particular functions · Section 7.4
The question

Integrate the function

x+2x2−1.\frac{x + 2}{\sqrt{x^2 - 1}}.
Exam answer

Let I=∫x+2x2−1 dxI = \displaystyle\int\frac{x + 2}{\sqrt{x^2 - 1}}\,dx⁠.

Let x+2=A(2x)+Bx + 2 = A(2x) + B⁠, where 2x=ddx(x2−1)2x = \frac{d}{dx}(x^2 - 1)⁠.

Comparing coefficients: 2A=12A = 1 and B=2B = 2⁠. So A=12A = \frac12⁠, B=2B = 2⁠.

∴ I=12∫2x dxx2−1+2∫dxx2−1=12I1+2I2\begin{aligned} \therefore\ I &= \frac12\int\frac{2x\,dx}{\sqrt{x^2 - 1}} \\ &\quad + 2\int\frac{dx}{\sqrt{x^2 - 1}} \\ &= \frac12 I_1 + 2I_2 \end{aligned}

In I1I_1⁠, put x2−1=tx^2 - 1 = t⁠. Then 2x dx=dt2x\,dx = dt⁠.

I1=∫dtt=2t=2x2−1\begin{aligned} I_1 &= \int\frac{dt}{\sqrt t} = 2\sqrt t \\ &= 2\sqrt{x^2 - 1} \end{aligned}

[Using ∫dxx2−a2\displaystyle\int\frac{dx}{\sqrt{x^2 - a^2}} =log⁡∣x+x2−a2∣+C= \log\left|x + \sqrt{x^2 - a^2}\right| + C]

I2=∫dxx2−12=log⁡∣x+x2−1∣\begin{aligned} I_2 &= \int\frac{dx}{\sqrt{x^2 - 1^2}} \\ &= \log\left|x + \sqrt{x^2 - 1}\right| \end{aligned}

∴ I=x2−1\therefore\ I = \sqrt{x^2 - 1} +2log⁡∣x+x2−1∣+C+ 2\log\left|x + \sqrt{x^2 - 1}\right| + C⁠.

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

The one idea this problem is built on

Split the numerator as a multiple of the derivative of Q=x2−1Q = x^2 - 1⁠, plus a constant: x+2=12(2x)+2x + 2 = \frac12(2x) + 2 (type 7.4 (10)). The 2x2x part is a perfect substitution t=x2−1t = x^2 - 1⁠; the constant part leaves 2∫dxx2−12\int\frac{dx}{\sqrt{x^2 - 1}}⁠, which is formula 7.4 (4) with a=1a = 1⁠.

Given, to find, and the plan
Given
The integrand x+2x2−1\frac{x + 2}{\sqrt{x^2 - 1}}⁠.
To find
∫x+2x2−1 dx\int\frac{x + 2}{\sqrt{x^2 - 1}}\,dx⁠, and where the answer is valid.
Plan
(1) Find the domain. (2) Find AA⁠, BB with x+2=A(2x)+Bx + 2 = A(2x) + B⁠. (3) Split into I1I_1 and I2I_2⁠. (4) I1I_1 by substitution. (5) I2I_2 by 7.4 (4). (6) Combine. (7) Differentiate back.

Basics you need

1Comparing coefficients

If px+q=A(2ax+b)+Bpx + q = A(2ax + b) + B for all xx⁠, the coefficients of xx and the constants on the two sides are equal. Basics: splitting fractions

2Substitution t=Q(x)t = Q(x)

∫Q′(x)Q(x) dx=2Q(x)+C\int\frac{Q'(x)}{\sqrt{Q(x)}}\,dx = 2\sqrt{Q(x)} + C⁠. Basics: substitution

3Formula 7.4 (4)

∫dxx2−a2=log⁡∣x+x2−a2∣+C\int\frac{dx}{\sqrt{x^2 - a^2}} = \log\left|x + \sqrt{x^2 - a^2}\right| + C for ∣x∣>a>0|x| > a > 0⁠. Lesson: integrals of particular functions

Solution

  1. Where the integrand exists

    We need x2−1>0x^2 - 1 > 0⁠, that is x<−1x < -1 or x>1x > 1⁠.

    The quadratic is under a square root in a denominator, so it must be strictly positive. The domain has two separate pieces; the answer must work on both.
  2. Split the numerator as A⋅Q′+BA\cdot Q' + B

    Q=x2−1Q = x^2 - 1 has Q′=2xQ' = 2x⁠. Write x+2=A(2x)+Bx + 2 = A(2x) + B⁠.

    Coefficients of xx⁠: 2A=12A = 1⁠. Constants: B=2B = 2⁠. So A=12A = \frac12⁠, B=2B = 2⁠.

    This is type 7.4 (10). Check: 12(2x)+2=x+2\frac12(2x) + 2 = x + 2⁠.
  3. Split the integral into I1I_1 and I2I_2

    ∫x+2x2−1 dx=12∫2x dxx2−1+2∫dxx2−1=12I1+2I2.\begin{aligned} \int\frac{x + 2}{\sqrt{x^2 - 1}}\,dx &= \frac12\int\frac{2x\,dx}{\sqrt{x^2 - 1}} + 2\int\frac{dx}{\sqrt{x^2 - 1}} \\ &= \frac12 I_1 + 2I_2. \end{aligned}
    Dividing 12(2x)+2\frac12(2x) + 2 by the denominator term by term gives two fractions, and Property (V) of Section 7.2.1 splits the integral of a sum of constant multiples.
    Property (V), Section 7.2.1. Lesson: integrals of particular functions
  4. I1I_1 by substitution

    Put t=x2−1t = x^2 - 1 (so t>0t > 0⁠), dt=2x dxdt = 2x\,dx⁠:

    I1=∫dtt=2t+C1=2x2−1+C1.\begin{aligned} I_1 = \int\frac{dt}{\sqrt t} &= 2\sqrt t + C_1 \\ &= 2\sqrt{x^2 - 1} + C_1. \end{aligned}
    Power formula with n=−12n = -\frac12⁠: ∫t−1/2 dt=t1/21/2=2t\int t^{-1/2}\,dt = \frac{t^{1/2}}{1/2} = 2\sqrt t⁠.
    Substitution, Section 7.3.1; standard formula (i), Section 7.2. Basics: the power rule
  5. I2I_2 by formula 7.4 (4)

    I2=∫dxx2−12=log⁡∣x+x2−1∣+C2.I_2 = \int\frac{dx}{\sqrt{x^2 - 1^2}} = \log\left|x + \sqrt{x^2 - 1}\right| + C_2.
    "Square minus a positive constant" under a root is the shape of 7.4 (4), here with a=1a = 1⁠. The book proves it with x=asec⁡θx = a\sec\theta⁠; it also holds for x<−1x < -1⁠, because the derivative of log⁡∣x+x2−1∣\log\left|x + \sqrt{x^2 - 1}\right| is 1x2−1\frac{1}{\sqrt{x^2 - 1}} whenever ∣x∣>1|x| > 1 (shown in Step 7).
  6. Combine

    ∫x+2x2−1 dx=x2−1+2log⁡∣x+x2−1∣+C,\begin{aligned} \int\frac{x + 2}{\sqrt{x^2 - 1}}\,dx &= \sqrt{x^2 - 1} \\ &\quad + 2\log\left|x + \sqrt{x^2 - 1}\right| + C, \end{aligned}

    with C=C12+2C2C = \frac{C_1}{2} + 2C_2⁠.

    12⋅2x2−1=x2−1\frac12\cdot 2\sqrt{x^2 - 1} = \sqrt{x^2 - 1}⁠; the two arbitrary constants merge into one. This is exactly the textbook's form.
  7. Check: differentiate the answer

    Write s=x2−1s = \sqrt{x^2 - 1}⁠, so s′=xss' = \frac xs⁠. Then

    ddxlog⁡∣x+s∣=1+xsx+s=s+xsx+s=1s,ddx(s+2log⁡∣x+s∣)=xs+2s=x+2x2−1. ✓\begin{aligned} \frac{d}{dx}\log|x + s| &= \frac{1 + \frac xs}{x + s} = \frac{\frac{s + x}{s}}{x + s} = \frac1s, \\ \frac{d}{dx}\left(s + 2\log|x + s|\right) &= \frac xs + \frac2s = \frac{x + 2}{\sqrt{x^2 - 1}}. \ \checkmark \end{aligned}
    s′=2x2ss' = \frac{2x}{2s} by the chain rule. The sum x+sx + s is never 0: s2=x2−1<x2s^2 = x^2 - 1 < x^2⁠, so s<∣x∣s < |x| and x+sx + s has the sign of xx⁠. Nothing here assumed x>1x > 1⁠, so the check holds on both pieces of the domain.
    Chain rule (Theorem 4, Section 5.3.1); derivative (xii), Section 7.2. Basics: logarithms and 1/x
Result ∫x+2x2−1 dx=x2−1+2log⁡∣x+x2−1∣+C,\begin{aligned} \int\frac{x + 2}{\sqrt{x^2 - 1}}\,dx &= \sqrt{x^2 - 1} \\ &\quad + 2\log\left|x + \sqrt{x^2 - 1}\right| + C, \end{aligned}

valid for x<−1x < -1 or x>1x > 1⁠. (Textbook answer: x2−1+2log⁡∣x+x2−1∣+C\sqrt{x^2 - 1} + 2\log\left|x + \sqrt{x^2 - 1}\right| + C⁠.)

Check it with numbers

By Section 7.8, ∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a) for our answer FF⁠. The middle column is a computer's sum of very many thin strips, found without our answer. One interval is taken on each piece of the domain:

IntervalSum of thin stripsF(b)−F(a)F(b) - F(a)
[2,3][2, 3]1.98795491.98795491.98795491.9879549
[−3,−2][-3, -2]−0.2047978-0.2047978−0.2047978-0.2047978

On [2,3][2, 3]⁠, F(3)−F(2)=22−3+2log⁡3+222+3F(3) - F(2) = 2\sqrt2 - \sqrt3 + 2\log\frac{3 + 2\sqrt2}{2 + \sqrt3}⁠.

Common mistakes
  1. Taking ∫x dxx2−1\int\frac{x\,dx}{\sqrt{x^2 - 1}} as a log. The numerator xx is half the derivative of x2−1x^2 - 1⁠, and over a square root the result is x2−1\sqrt{x^2 - 1}⁠, not a log.
  2. Using sin⁡−1x\sin^{-1}x for ∫dxx2−1\int\frac{dx}{\sqrt{x^2 - 1}}⁠. sin⁡−1\sin^{-1} belongs to 11−x2\frac{1}{\sqrt{1 - x^2}}⁠; here the square comes first, so it is the log formula.
  3. Forgetting the factor 2 in front of I2I_2⁠. The constant B=2B = 2 multiplies the whole log term.
What to take away
  1. Linear over the root of a quadratic: numerator =A⋅Q′+B= A\cdot Q' + B⁠, then 2AQ2A\sqrt Q plus BB times a standard root integral.
  2. ∫dxx2−1=log⁡∣x+x2−1∣+C\int\frac{dx}{\sqrt{x^2 - 1}} = \log\left|x + \sqrt{x^2 - 1}\right| + C on both x>1x > 1 and x<−1x < -1⁠.

Every fact used, and where it comes from

FactUsed inSource
px+q=Addx(ax2+bx+c)+Bpx + q = A\frac{d}{dx}(ax^2 + bx + c) + BStep 2Type 7.4 (10) (Lesson: integrals of particular functions)
Integral of a sum of constant multiplesStep 3Property (V), Section 7.2.1
∫t−1/2 dt=2t+C\int t^{-1/2}\,dt = 2\sqrt t + CStep 4Standard formula (i), Section 7.2
Substitution t=x2−1t = x^2 - 1Step 4Section 7.3.1 (Basics: substitution)
∫dxx2−a2=log⁡∣x+x2−a2∣+C\int\frac{dx}{\sqrt{x^2 - a^2}} = \log\left|x + \sqrt{x^2 - a^2}\right| + CStep 5Formula 7.4 (4)
ddxlog⁡∣x∣=1x\frac{d}{dx}\log|x| = \frac1x⁠; chain ruleStep 7Derivative (xii), Section 7.2; Theorem 4, Section 5.3.1
∫abf(x) dx=F(b)−F(a)\int_a^b f(x)\,dx = F(b) - F(a)Numerical checkSection 7.8 (Lesson: definite integrals)
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 →