Skip to content
Exercise 7.4 · Q15

Q.Integrate the following function: 1(x−a)(x−b)\frac{1}{\sqrt{(x-a)(x-b)}}

CBSENCERTSubjective· 3mImportance★★★★★
29% · 110/373 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The key idea is to rewrite the integrand using a substitution that eliminates the square root of a quadratic. By completing the square and substituting t=x−a+b2t = x - \frac{a+b}{2}, the integral reduces to a standard inverse hyperbolic sine form. The final result is log⁡∣2x−a−b+2(x−a)(x−b)∣+C\log\left| 2x - a - b + 2\sqrt{(x-a)(x-b)} \right| + C.

Let’s start with the concept. You’re asked to integrate 1(x−a)(x−b)\frac{1}{\sqrt{(x-a)(x-b)}}. At first glance, the product inside the square root looks like a quadratic in xx: (x−a)(x−b)=x2−(a+b)x+ab(x-a)(x-b) = x^2 - (a+b)x + ab. This is a quadratic expression, and integrals of the form 1quadratic\frac{1}{\sqrt{\text{quadratic}}} are classic candidates for a substitution that turns them into a standard form like ∫duu2±k2\int \frac{du}{\sqrt{u^2 \pm k^2}}, which integrates to an inverse hyperbolic sine (or a logarithm). The trick is to complete the square to reveal a perfect square plus or minus a constant.

Why does this work? Because the derivative of the expression inside the square root often appears in the numerator after a clever substitution, or we can use a trigonometric/hyperbolic substitution. Here, the most efficient path is to shift the variable to center the quadratic, then use a substitution that simplifies the square root into something like t2−d2\sqrt{t^2 - d^2}.

Let’s work through it step by step.

  1. Rewrite the integrand by expanding and completing the square.

    (x−a)(x−b)=x2−(a+b)x+ab(x-a)(x-b) = x^2 - (a+b)x + ab.

    Complete the square:

    x2−(a+b)x+ab=(x−a+b2)2−(a+b2)2+abx^2 - (a+b)x + ab = \left(x - \frac{a+b}{2}\right)^2 - \left(\frac{a+b}{2}\right)^2 + ab.

    Simplify the constant term:

    −(a+b2)2+ab=−a2+2ab+b24+ab=−a2−2ab−b2+4ab4=−a2+2ab−b24=−(a−b)24-\left(\frac{a+b}{2}\right)^2 + ab = -\frac{a^2 + 2ab + b^2}{4} + ab = \frac{-a^2 - 2ab - b^2 + 4ab}{4} = \frac{-a^2 + 2ab - b^2}{4} = -\frac{(a-b)^2}{4}.

    So (x−a)(x−b)=(x−a+b2)2−(a−b2)2(x-a)(x-b) = \left(x - \frac{a+b}{2}\right)^2 - \left(\frac{a-b}{2}\right)^2.

  2. Make a substitution to center the variable.

    Let t=x−a+b2t = x - \frac{a+b}{2}. Then dt=dxdt = dx, and the integral becomes

    ∫dtt2−(a−b2)2\int \frac{dt}{\sqrt{t^2 - \left(\frac{a-b}{2}\right)^2}}.

    Notice the constant d=∣a−b∣2d = \frac{|a-b|}{2} (we’ll assume a≠ba \neq b; if a=ba=b, the integrand is 1∣x−a∣\frac{1}{|x-a|}, which integrates to log⁡∣x−a∣+C\log|x-a| + C). For definiteness, let c=a−b2c = \frac{a-b}{2}, so the integral is ∫dtt2−c2\int \frac{dt}{\sqrt{t^2 - c^2}}.

  3. Recognize the standard form.

    The integral ∫dtt2−c2\int \frac{dt}{\sqrt{t^2 - c^2}} is a standard result. You can derive it using a hyperbolic substitution: let t=ccosh⁡ut = c \cosh u, then dt=csinh⁡u dudt = c \sinh u \, du, and t2−c2=csinh⁡u\sqrt{t^2 - c^2} = c \sinh u (for t>ct > c). The integral becomes ∫csinh⁡u ducsinh⁡u=∫du=u+C=cosh⁡−1(tc)+C\int \frac{c \sinh u \, du}{c \sinh u} = \int du = u + C = \cosh^{-1}\left(\frac{t}{c}\right) + C.

    Alternatively, the result is often written as log⁡∣t+t2−c2∣+C\log\left| t + \sqrt{t^2 - c^2} \right| + C, which is valid for ∣t∣>∣c∣|t| > |c|.

    ∫dtt2−c2=log⁡∣t+t2−c2∣+C\int \frac{dt}{\sqrt{t^2 - c^2}} = \log\left| t + \sqrt{t^2 - c^2} \right| + C

  4. Substitute back in terms of xx.

    Recall t=x−a+b2t = x - \frac{a+b}{2} and c=a−b2c = \frac{a-b}{2}. Then …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.