SOLVER7 Study. Nothing Else.
Exercise 7.4 Q15

Integrate the functions in Exercises 1 to 23. \(\dfrac{1}{\sqrt{(x-a)(x-b)}}\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a messy multiplication under a square root and want to tidy it up. The trick is like rearranging puzzle pieces — we rewrite the messy part as a neat square minus another square. Once it looks neat, a ready-made answer formula fits perfectly. The formula gives us a logarithm as the answer. No guessing needed — just recognise the pattern and plug in the pieces.

Answer: \[ \int \frac{dx}{\sqrt{(x-a)(x-b)}} = \log\left| x - \frac{a+b}{2} + \sqrt{(x-a)(x-b)} \right| + C. \]

📖 Integrating 1/√((x-a)(x-b))

Detailed Explanation

The expression \( (x-a)(x-b) \) is a quadratic in \( x \). To integrate \( \dfrac{1}{\sqrt{(x-a)(x-b)}} \) we expand the product to get a quadratic, then complete the square. Completing the square turns the quadratic into a form like \( t^2 - k^2 \), which matches a standard integral. The key standard result we use is \[ \int \frac{dx}{\sqrt{x^2 - c^2}} = \log\left| x + \sqrt{x^2 - c^2} \right| + C. \] After substitution and simplification, we get a logarithmic answer.

Formula Used

\[ \int \frac{dx}{\sqrt{x^2 - c^2}} = \log\left| x + \sqrt{x^2 - c^2} \right| + C \]

Solution

  1. Step 1: Expand the product inside the square root. \[ (x-a)(x-b) = x^2 - (a+b)x + ab. \] So the integral becomes \[ I = \int \frac{dx}{\sqrt{x^2 - (a+b)x + ab}}. \]
  2. Step 2: Complete the square for the quadratic. Take half the coefficient of \( x \), which is \( \dfrac{a+b}{2} \). \[ x^2 - (a+b)x + ab = \left( x - \frac{a+b}{2} \right)^2 - \frac{(a+b)^2}{4} + ab. \]
  3. Step 3: Simplify the constant term. \[ -\frac{(a+b)^2}{4} + ab = \frac{-(a+b)^2 + 4ab}{4} = \frac{-(a-b)^2}{4}. \] So the quadratic becomes \[ \left( x - \frac{a+b}{2} \right)^2 - \left( \frac{a-b}{2} \right)^2. \]
  4. Step 4: The integral is now in the standard form \[ I = \int \frac{dx}{\sqrt{\left( x - \frac{a+b}{2} \right)^2 - \left( \frac{a-b}{2} \right)^2}}. \] This matches \( \displaystyle \int \frac{dt}{\sqrt{t^2 - c^2}} \) with \( t = x - \dfrac{a+b}{2} \) and \( c = \dfrac{a-b}{2} \).
  5. Step 5: Apply the standard result \( \displaystyle \int \frac{dt}{\sqrt{t^2 - c^2}} = \log\left| t + \sqrt{t^2 - c^2} \right| + C \). We get \[ I = \log\left| \left( x - \frac{a+b}{2} \right) + \sqrt{\left( x - \frac{a+b}{2} \right)^2 - \left( \frac{a-b}{2} \right)^2} \right| + C. \]
  6. Step 6: Since the expression under the root equals \( (x-a)(x-b) \), we can write it neatly as \[ I = \log\left| x - \frac{a+b}{2} + \sqrt{(x-a)(x-b)} \right| + C. \]

Final Answer

\[ \int \frac{dx}{\sqrt{(x-a)(x-b)}} = \log\left| x - \frac{a+b}{2} + \sqrt{(x-a)(x-b)} \right| + C. \]

Common Mistake

A common mistake is to treat this as \( \int \frac{dx}{\sqrt{a^2 - x^2}} \) and give a \( \sin^{-1} \) answer. Here the completed square gives \( t^2 - c^2 \) (a minus), not \( c^2 - t^2 \), so the correct result is a logarithm, not an inverse sine.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Expand the product inside the square root. \[ (x-a)(x-b) = x^2 - (a+b)x + ab \] So the integral becomes \[ I = \int \frac{dx}{\sqrt{x^2 - (a+b)x + ab}} \] — Reason: Converting the product of two linear factors into a standard quadratic form allows us to apply the completing-the-square technique.
  2. Step 2: Complete the square for the quadratic expression in the denominator. Half the coefficient of \( x \) is \( \dfrac{a+b}{2} \), so: \[ x^2 - (a+b)x + ab = \left(x - \frac{a+b}{2}\right)^2 - \frac{(a+b)^2}{4} + ab \] — Reason: Completing the square transforms the quadratic into a perfect square minus a constant, which is needed to match the standard integral form \( t^2 - c^2 \).
  3. Step 3: Simplify the constant terms that remain after completing the square. \[ -\frac{(a+b)^2}{4} + ab = \frac{-(a+b)^2 + 4ab}{4} = \frac{-(a^2 - 2ab + b^2)}{4} = -\frac{(a-b)^2}{4} \] Therefore the quadratic becomes \[ \left(x - \frac{a+b}{2}\right)^2 - \left(\frac{a-b}{2}\right)^2 \] — Reason: Recognising that \( -(a+b)^2 + 4ab = -(a-b)^2 \) is a key algebraic identity that gives us the exact \( t^2 - c^2 \) structure we need.
  4. Step 4: Rewrite the integral using the completed-square form. \[ I = \int \frac{dx}{\sqrt{\left(x - \dfrac{a+b}{2}\right)^2 - \left(\dfrac{a-b}{2}\right)^2}} \] Set \( t = x - \dfrac{a+b}{2} \) and \( c = \dfrac{a-b}{2} \), so \( dt = dx \). The integral becomes \[ I = \int \frac{dt}{\sqrt{t^2 - c^2}} \] — Reason: This substitution directly maps our integral onto the standard form, making the formula immediately applicable.
  5. Step 5: Apply the standard result \( \int \dfrac{dt}{\sqrt{t^2 - c^2}} = \log\left| t + \sqrt{t^2 - c^2} \right| + C \) to get \[ I = \log\left| t + \sqrt{t^2 - c^2} \right| + C \] Now substitute back \( t = x - \dfrac{a+b}{2} \) and note that \( t^2 - c^2 = (x-a)(x-b) \): \[ I = \log\left| x - \frac{a+b}{2} + \sqrt{(x-a)(x-b)} \right| + C \] — Reason: Reversing the substitution restores the original variable \( x \) and gives the final answer in terms of the original integrand.

Final Answer

\[ \int \frac{dx}{\sqrt{(x-a)(x-b)}} = \log\left| x - \frac{a+b}{2} + \sqrt{(x-a)(x-b)} \right| + C. \]

Common Mistake

One common mistake: Students often forget to simplify \( -\dfrac{(a+b)^2}{4} + ab \) correctly, and may write it as \( \dfrac{(a-b)^2}{4} \) (with a positive sign) instead of \( -\dfrac{(a-b)^2}{4} \), leading to the wrong standard form and an incorrect final answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Expand: \[ (x-a)(x-b) = x^2 - (a+b)x + ab \]
  2. Step 2: Complete the square: \[ x^2 - (a+b)x + ab = \left(x - \frac{a+b}{2}\right)^2 - \left(\frac{a-b}{2}\right)^2 \]
  3. Step 3: Integral becomes: \[ I = \int \frac{dx}{\sqrt{\left(x - \dfrac{a+b}{2}\right)^2 - \left(\dfrac{a-b}{2}\right)^2}} \] Apply standard form with \( t = x - \dfrac{a+b}{2} \), \( c = \dfrac{a-b}{2} \).

Answer: \[ \int \frac{dx}{\sqrt{(x-a)(x-b)}} = \log\left| x - \frac{a+b}{2} + \sqrt{(x-a)(x-b)} \right| + C. \]

➕ More Examples

More Examples

Example 1

Question: Evaluate \[ \int \frac{1}{\sqrt{(x-3)(x-7)}} \, dx \]

Solution: We first expand the product inside the square root. \[ (x-3)(x-7) = x^2 - 10x + 21 \] Now complete the square: \[ x^2 - 10x + 21 = (x^2 - 10x + 25) - 25 + 21 = (x-5)^2 - 4 \] So the integral becomes: \[ \int \frac{1}{\sqrt{(x-5)^2 - 4}} \, dx \] Let \( t = x - 5 \), so \( dt = dx \). The integral becomes: \[ \int \frac{1}{\sqrt{t^2 - 2^2}} \, dt \] Applying the standard formula \( \int \frac{1}{\sqrt{t^2 - a^2}} \, dt = \ln \left| t + \sqrt{t^2 - a^2} \right| + C \) with \( a = 2 \): \[ = \ln \left| t + \sqrt{t^2 - 4} \right| + C \] Substituting back \( t = x - 5 \): \[ = \ln \left| (x-5) + \sqrt{(x-5)^2 - 4} \right| + C \] Since \( (x-5)^2 - 4 = (x-3)(x-7) \), the final answer is: \[ = \ln \left| (x-5) + \sqrt{(x-3)(x-7)} \right| + C \]

Answer: \[ \ln \left| (x-5) + \sqrt{(x-3)(x-7)} \right| + C \]

Example 2

Question: Evaluate \[ \int \frac{1}{\sqrt{(2x-1)(2x-5)}} \, dx \]

Solution: First, expand the product inside the square root: \[ (2x-1)(2x-5) = 4x^2 - 12x + 5 \] Factor out 4 from inside the square root: \[ \sqrt{(2x-1)(2x-5)} = \sqrt{4x^2 - 12x + 5} = \sqrt{4\left(x^2 - 3x + \frac{5}{4}\right)} = 2\sqrt{x^2 - 3x + \frac{5}{4}} \] So the integral becomes: \[ \int \frac{1}{2\sqrt{x^2 - 3x + \frac{5}{4}}} \, dx \] Now complete the square in the expression under the radical: \[ x^2 - 3x + \frac{5}{4} = \left(x - \frac{3}{2}\right)^2 - \frac{9}{4} + \frac{5}{4} = \left(x - \frac{3}{2}\right)^2 - 1 \] The integral is now: \[ \frac{1}{2} \int \frac{1}{\sqrt{\left(x - \frac{3}{2}\right)^2 - 1}} \, dx \] Let \( t = x - \frac{3}{2} \), so \( dt = dx \). The integral becomes: \[ \frac{1}{2} \int \frac{1}{\sqrt{t^2 - 1}} \, dt \] Applying the standard formula with \( a = 1 \): \[ = \frac{1}{2} \ln \left| t + \sqrt{t^2 - 1} \right| + C \] Substituting back \( t = x - \frac{3}{2} \): \[ = \frac{1}{2} \ln \left| \left(x - \frac{3}{2}\right) + \sqrt{\left(x - \frac{3}{2}\right)^2 - 1} \right| + C \] Since \( \left(x - \frac{3}{2}\right)^2 - 1 = x^2 - 3x + \frac{5}{4} = \frac{(2x-1)(2x-5)}{4} \), we get \( \sqrt{\left(x-\frac{3}{2}\right)^2 - 1} = \frac{\sqrt{(2x-1)(2x-5)}}{2} \). The final answer is: \[ = \frac{1}{2} \ln \left| \left(x - \frac{3}{2}\right) + \frac{\sqrt{(2x-1)(2x-5)}}{2} \right| + C \]

Answer: \[ \frac{1}{2} \ln \left| \left(x - \frac{3}{2}\right) + \frac{\sqrt{(2x-1)(2x-5)}}{2} \right| + C \]

🎯 Try a Similar Question

Try a Similar Question

Question: Integrate the function \( \dfrac{1}{\sqrt{(x-3)(x-7)}} \).

Solution

  1. Step 1: Expand the product under the square root: We first expand \( (x-3)(x-7) \): \[ (x-3)(x-7) = x^2 - 10x + 21 \]
  2. Step 2: Complete the square: We complete the square for \( x^2 - 10x + 21 \): \[ x^2 - 10x + 21 = (x^2 - 10x + 25) - 25 + 21 = (x-5)^2 - 4 \] So the integral becomes: \[ \int \frac{dx}{\sqrt{(x-5)^2 - 4}} \]
  3. Step 3: Apply substitution: Let \( t = x - 5 \), so \( dt = dx \). The integral transforms to: \[ \int \frac{dt}{\sqrt{t^2 - 4}} \] Here \( k^2 = 4 \), i.e., \( k = 2 \).
  4. Step 4: Apply the standard formula: Using the standard result \( \int \frac{dt}{\sqrt{t^2 - k^2}} = \log\left| t + \sqrt{t^2 - k^2} \right| + C \), we get: \[ \int \frac{dt}{\sqrt{t^2 - 4}} = \log\left| t + \sqrt{t^2 - 4} \right| + C \]
  5. Step 5: Substitute back: Replacing \( t = x - 5 \) and noting that \( t^2 - 4 = (x-5)^2 - 4 = (x-3)(x-7) \), we obtain: \[ \log\left| (x-5) + \sqrt{(x-3)(x-7)} \right| + C \]

Answer: \[ \int \frac{dx}{\sqrt{(x-3)(x-7)}} = \log\left| x - 5 + \sqrt{(x-3)(x-7)} \right| + C \]

Everything you get with Solver7

More questions in Integrals

Chapter 7 Examples Q1(i) 65/2/2 2023 / Section A Q1 Chapter 7 Examples Q1(ii) 65/2/1 2022 / Section A Q2(a) Chapter 7 Examples Q1(iii) 65/2/1 2022 / Section A Q2(b) Chapter 7 Examples Q2(i) Chapter 7 Examples Q2(ii) 65/1/1 2023 / Section A Q5 Chapter 7 Examples Q2(iii) 65/1/1 2023 / Section A Q6 65/1/1 2024 / Section A Q6 65/2/1 2024 / Section A Q6 65/3/1 2023 / Section A Q6 65/3/1 2024 / Section A Q6 Chapter 7 Examples Q3(i) 65/3/1 2023 / Section A Q7 Chapter 7 Examples Q3(ii) 65(B) 2026 / Section A Q8 65/1/1 2026 / Section A Q8 65/4/1 2022 / Section A Q6 65/4/1 2023 / Section A Q8 65/4/2 2024 / Section A Q8 Chapter 7 Examples Q3(iii) 65(B) 2026 / Section A Q9 65/1/1 2026 / Section A Q9 65/2/1 2022 / Section B Q8(a) 65/2/2 2023 / Section A Q9 65/4/1 2022 / Section B Q7 65/4/1 2023 / Section A Q9 65/4/1 2026 / Section A Q9 Chapter 7 Examples Q4 65/2/1 2022 / Section B Q8(b) 65/3/1 2026 / Section A Q10 65/4/1 2022 / Section B Q8(a) 65/4/1 2026 / Section A Q10 65/5/1 2026 / Section A Q10 Chapter 7 Examples Q5(i) 65/3/1 2026 / Section A Q11 65/4/1 2022 / Section B Q8(b) 65/5/1 2026 / Section A Q11 Chapter 7 Examples Q5(ii) 65/2/3 2026 / Section A Q12 Chapter 7 Examples Q5(iii) Chapter 7 Examples Q5(iv) Chapter 7 Examples Q6(i) 65/2/1 2022 / Section C Q12 Chapter 7 Examples Q6(ii) Chapter 7 Examples Q6(iii) Chapter 7 Examples Q7(i) 65/4/1 2022 / Section C Q13 Chapter 7 Examples Q7(ii) Chapter 7 Examples Q7(iii) Chapter 7 Examples Q8(i) Chapter 7 Examples Q8(ii) Chapter 7 Examples Q9(i) Chapter 7 Examples Q9(ii) 65/1/1 2024 / Section B Q23(a) 65/3/1 2024 / Section B Q23(a) Chapter 7 Examples Q9(iii)