Calculus · real student question

Find the integral of dx / ((x − 1) sqrt(−x² + 2x + 3)).

Question

Find

I=dx(x1)x2+2x+3I=\int\frac{dx}{(x-1)\sqrt{-x^{2}+2x+3}}

Step-by-step solution

  1. Complete the square under the radical. The radicand is

    x2+2x+3=4(x1)2-x^{2}+2x+3=4-(x-1)^{2}

    so the integral is real only for x1<2|x-1|<2, i.e. 1<x<3-1<x<3, and x1x\neq 1. The appearance of (x1)(x-1) both outside and inside is the clue to the right substitution.

  2. Use the reciprocal substitution. For an integrand of the form 1(xa)quadratic\dfrac{1}{(x-a)\sqrt{\text{quadratic}}}, set xa=1tx-a=\dfrac1t. Here

    x1=1tdx=dtt2x-1=\frac1t\quad\Longrightarrow\quad dx=-\frac{dt}{t^{2}}

    (Note the minus sign: differentiating 1/t1/t gives 1/t2-1/t^{2}. Dropping it flips the sign of the whole answer.)

  3. Rewrite the radical. With (x1)2=1t2(x-1)^{2}=\tfrac{1}{t^{2}},

    4(x1)2=41t2=4t21t\sqrt{4-(x-1)^{2}}=\sqrt{4-\frac{1}{t^{2}}}=\frac{\sqrt{4t^{2}-1}}{|t|}

  4. Assemble the transformed integral.

    I=dtt21t4t21t=ttdt4t21=sgn(t)dt4t21I=\int\frac{-\dfrac{dt}{t^{2}}}{\dfrac1t\cdot\dfrac{\sqrt{4t^{2}-1}}{|t|}}=-\int\frac{|t|}{t}\cdot\frac{dt}{\sqrt{4t^{2}-1}}=-\operatorname{sgn}(t)\int\frac{dt}{\sqrt{4t^{2}-1}}

    The messy t2t^{2} factors cancel completely — the point of the substitution.

  5. Integrate the standard form and substitute back. Since dt4t21=12ln2t+4t21+C\displaystyle\int\frac{dt}{\sqrt{4t^{2}-1}}=\frac12\ln\left|2t+\sqrt{4t^{2}-1}\right|+C, and 2t+4t21=2sgn(x1)+x2+2x+3x12t+\sqrt{4t^{2}-1}=\dfrac{2\operatorname{sgn}(x-1)+\sqrt{-x^{2}+2x+3}}{|x-1|}, the sign factor combines with the logarithm to give the single formula

    I=12ln2+x2+2x+3x1+C\boxed{I=-\frac12\ln\left|\frac{2+\sqrt{-x^{2}+2x+3}}{x-1}\right|+C}

    valid on both 1<x<1-1<x<1 and 1<x<31<x<3.

  6. Verify by differentiating and by a numerical check. Differentiating the answer returns 1(x1)x2+2x+3\dfrac{1}{(x-1)\sqrt{-x^{2}+2x+3}}. Numerically, 1.52.5dx(x1)x2+2x+3=0.634036\displaystyle\int_{1.5}^{2.5}\frac{dx}{(x-1)\sqrt{-x^{2}+2x+3}}=0.634036, and the closed form gives F(2.5)F(1.5)=0.634036F(2.5)-F(1.5)=0.634036 ✓; on the other branch, 0.20.8=0.713212\displaystyle\int_{0.2}^{0.8}=-0.713212 and the formula also gives 0.713212-0.713212 ✓.

  7. Watch two sign traps. Because (2+)(2)=(x1)2(2+\sqrt{\cdot})(2-\sqrt{\cdot})=(x-1)^{2}, the alternative form 12ln2x2+2x+3x1\tfrac12\ln\left|\tfrac{2-\sqrt{-x^{2}+2x+3}}{x-1}\right| differs only by a constant and is equally valid; but the version without the leading minus sign is wrong on the branch x<1x<1, and using dx=+dt/t2dx=+dt/t^{2} instead of dt/t2-dt/t^{2} negates the whole antiderivative.

Answer

12ln2+x2+2x+3x1+C-\dfrac12\ln\left|\dfrac{2+\sqrt{-x^{2}+2x+3}}{x-1}\right|+C

Need to solve a different problem like this? Open the solver →