SOLVER7 Study. Nothing Else.
Exercise 7.5 Q18

Integrate the rational functions in Exercises 1 to 21. \(\dfrac{(x^2+1)(x^2+2)}{(x^2+3)(x^2+4)}\)

CBSE Class 12 Maths · Integrals

Solution

👶 Simple Explanation

Simple Explanation

Imagine you have a big fraction where the top and bottom are almost the same size. You can peel off the equal parts first, like separating a whole number from a messy fraction. What remains is simpler to handle. We then split that simpler piece into two friendlier fractions. Each friendly piece looks like something we already know how to integrate, giving us an inverse tangent answer.

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

📖 Integrating a Rational Function with Equal-Degree Numerator and Denominator

Detailed Explanation

The given function is \(\dfrac{(x^2+1)(x^2+2)}{(x^2+3)(x^2+4)}\). Since the highest power of \(x\) in the numerator (which is \(x^4\)) equals that in the denominator, the fraction is improper. First we simplify by writing it as a constant plus a proper fraction. A useful trick here is to substitute \(t = x^2\), do partial fractions in terms of \(t\), and then replace \(t\) back by \(x^2\). The remaining pieces are of the form \(\dfrac{1}{x^2 + a^2}\), whose integral is a standard inverse-tangent result.

Formula Used

Standard result: \[\int \frac{dx}{x^2 + a^2} = \frac{1}{a}\tan^{-1}\left(\frac{x}{a}\right) + C\]

Solution

  1. Step 1: Expand numerator and denominator. \[(x^2+1)(x^2+2) = x^4 + 3x^2 + 2\] \[(x^2+3)(x^2+4) = x^4 + 7x^2 + 12\] So the integrand is \[\frac{x^4 + 3x^2 + 2}{x^4 + 7x^2 + 12}.\]
  2. Step 2: Since numerator and denominator have the same degree, divide. Write \[\frac{x^4 + 3x^2 + 2}{x^4 + 7x^2 + 12} = 1 + \frac{(x^4 + 3x^2 + 2) - (x^4 + 7x^2 + 12)}{x^4 + 7x^2 + 12}.\] The difference in the top is \[-4x^2 - 10.\] So the integrand becomes \[1 - \frac{4x^2 + 10}{(x^2+3)(x^2+4)}.\]
  3. Step 3: Do partial fractions on the proper part. Put \(t = x^2\): \[\frac{4t + 10}{(t+3)(t+4)} = \frac{A}{t+3} + \frac{B}{t+4}.\] Then \[4t + 10 = A(t+4) + B(t+3).\] Put \(t = -3\): \[-12 + 10 = A(1) \Rightarrow A = -2.\] Put \(t = -4\): \[-16 + 10 = B(-1) \Rightarrow B = 6.\]
  4. Step 4: Replace \(t\) by \(x^2\). The integrand is now \[1 - \left(\frac{-2}{x^2+3} + \frac{6}{x^2+4}\right) = 1 + \frac{2}{x^2+3} - \frac{6}{x^2+4}.\]
  5. Step 5: Integrate term by term using the standard formula \(\int \frac{dx}{x^2+a^2} = \frac{1}{a}\tan^{-1}\frac{x}{a}\). For \(x^2+3\), \(a=\sqrt{3}\); for \(x^2+4\), \(a=2\). \[\int 1\, dx = x\] \[\int \frac{2}{x^2+3}\, dx = \frac{2}{\sqrt{3}}\tan^{-1}\left(\frac{x}{\sqrt{3}}\right)\] \[\int \frac{6}{x^2+4}\, dx = 6\cdot\frac{1}{2}\tan^{-1}\left(\frac{x}{2}\right) = 3\tan^{-1}\left(\frac{x}{2}\right).\]
  6. Step 6: Combine all the pieces (subtracting the last one) to get the complete integral.

Final Answer

\[x + \frac{2}{\sqrt{3}}\tan^{-1}\left(\frac{x}{\sqrt{3}}\right) - 3\tan^{-1}\left(\frac{x}{2}\right) + C\]

Common Mistake

A very common error is to try partial fractions directly without first dividing. Because the degrees are equal, the fraction is improper, so you MUST reduce it to a constant plus a proper fraction first; skipping this gives a wrong decomposition and a missing \(x\) term in the answer.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Expand both the numerator and denominator separately. \[(x^2+1)(x^2+2) = x^4 + 3x^2 + 2\] \[(x^2+3)(x^2+4) = x^4 + 7x^2 + 12\] So the integrand becomes \[\frac{x^4 + 3x^2 + 2}{x^4 + 7x^2 + 12}\] Reason: Expanding makes it easy to compare the degrees of numerator and denominator and decide how to simplify.
  2. Step 2: Since both numerator and denominator are degree 4, perform polynomial division by subtracting and adding the denominator. Write: \[\frac{x^4 + 3x^2 + 2}{x^4 + 7x^2 + 12} = 1 + \frac{(x^4 + 3x^2 + 2) - (x^4 + 7x^2 + 12)}{x^4 + 7x^2 + 12}\] The numerator of the remainder simplifies to \[(3x^2 + 2) - (7x^2 + 12) = -4x^2 - 10\] So the integrand is now \[1 - \frac{4x^2 + 10}{(x^2+3)(x^2+4)}\] Reason: An improper fraction cannot be directly partial-fractioned; expressing it as 1 plus a proper fraction makes the next step valid.
  3. Step 3: Apply partial fractions to the proper part. Let \(t = x^2\) to treat the expression algebraically: \[\frac{4t + 10}{(t+3)(t+4)} = \frac{A}{t+3} + \frac{B}{t+4}\] Multiply both sides by \((t+3)(t+4)\): \[4t + 10 = A(t+4) + B(t+3)\] Reason: Partial fractions split a complex rational expression into simpler pieces that can each be integrated using the standard inverse-tangent formula.
  4. Step 4: Find constants \(A\) and \(B\) by substituting convenient values of \(t\). Putting \(t = -3\): \[4(-3) + 10 = A(-3+4) \Rightarrow -2 = A\] Putting \(t = -4\): \[4(-4) + 10 = B(-4+3) \Rightarrow -6 = -B \Rightarrow B = 6\] Reason: Choosing values of \(t\) that make one bracket zero isolates each constant instantly.
  5. Step 5: Substitute \(A = -2\) and \(B = 6\) back, and replace \(t\) with \(x^2\). The integrand becomes: \[1 - \left(\frac{-2}{x^2+3} + \frac{6}{x^2+4}\right) = 1 + \frac{2}{x^2+3} - \frac{6}{x^2+4}\] Reason: Returning to the variable \(x\) is essential before integrating, since the original integral is in terms of \(x\).
  6. Step 6: Integrate each term separately using the standard formula \(\int \frac{dx}{x^2+a^2} = \frac{1}{a}\tan^{-1}\left(\frac{x}{a}\right) + C\). For the constant: \[\int 1 \, dx = x\] For the second term with \(a^2 = 3\), so \(a = \sqrt{3}\): \[\int \frac{2}{x^2+3} \, dx = 2 \cdot \frac{1}{\sqrt{3}}\tan^{-1}\left(\frac{x}{\sqrt{3}}\right) = \frac{2}{\sqrt{3}}\tan^{-1}\left(\frac{x}{\sqrt{3}}\right)\] For the third term with \(a^2 = 4\), so \(a = 2\): \[\int \frac{6}{x^2+4} \, dx = 6 \cdot \frac{1}{2}\tan^{-1}\left(\frac{x}{2}\right) = 3\tan^{-1}\left(\frac{x}{2}\right)\] Reason: Each term now matches the standard inverse-tangent integral formula exactly.
  7. Step 7: Combine all three integrated parts, remembering to attach the constant of integration \(C\): \[x + \frac{2}{\sqrt{3}}\tan^{-1}\left(\frac{x}{\sqrt{3}}\right) - 3\tan^{-1}\left(\frac{x}{2}\right) + C\] Reason: Adding all pieces gives the complete antiderivative of the original function.

Final Answer

\[x + \frac{2}{\sqrt{3}}\tan^{-1}\left(\frac{x}{\sqrt{3}}\right) - 3\tan^{-1}\left(\frac{x}{2}\right) + C\]

Common Mistake

One common mistake: Forgetting to first reduce the improper fraction (degree of numerator equals degree of denominator) before applying partial fractions — jumping directly into partial fractions on an improper rational expression gives wrong coefficients and an incorrect answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Simplify the integrand: Divide numerator by denominator (equal degrees): \[\frac{(x^2+1)(x^2+2)}{(x^2+3)(x^2+4)} = \frac{x^4+3x^2+2}{x^4+7x^2+12} = 1 - \frac{4x^2+10}{(x^2+3)(x^2+4)}\]
  2. Step 2: Partial fractions (set \( t = x^2 \)): Write \[\frac{4t+10}{(t+3)(t+4)} = \frac{A}{t+3} + \frac{B}{t+4}\] Substituting \( t = -3 \): \( A = -2 \); substituting \( t = -4 \): \( B = 6 \). So the integrand becomes \[1 + \frac{2}{x^2+3} - \frac{6}{x^2+4}\]
  3. Step 3: Integrate term by term: \[\int\left(1 + \frac{2}{x^2+3} - \frac{6}{x^2+4}\right)dx = x + \frac{2}{\sqrt{3}}\tan^{-1}\!\left(\frac{x}{\sqrt{3}}\right) - \frac{6}{2}\tan^{-1}\!\left(\frac{x}{2}\right) + C\]

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

➕ More Examples

More Examples

Example 1

Question: Integrate the rational function: \[\frac{(x^2+3)(x^2+5)}{(x^2+1)(x^2+2)}\]

Solution: Let \( t = x^2 \). First, expand the numerator and denominator. Numerator: \( (t+3)(t+5) = t^2 + 8t + 15 \) Denominator: \( (t+1)(t+2) = t^2 + 3t + 2 \) Since both are degree 2 in \( t \), perform polynomial long division: \[\frac{t^2 + 8t + 15}{t^2 + 3t + 2} = 1 + \frac{5t + 13}{t^2 + 3t + 2}\] So the integrand becomes: \[1 + \frac{5x^2 + 13}{(x^2+1)(x^2+2)}\] Now decompose \( \frac{5t + 13}{(t+1)(t+2)} \) using partial fractions. Write: \[\frac{5t + 13}{(t+1)(t+2)} = \frac{A}{t+1} + \frac{B}{t+2}\] Multiplying both sides by \( (t+1)(t+2) \): \[5t + 13 = A(t+2) + B(t+1)\] Setting \( t = -1 \): \( -5 + 13 = A(1) \), so \( A = 8 \). Setting \( t = -2 \): \( -10 + 13 = B(-1) \), so \( B = -3 \). Thus: \[\frac{5x^2 + 13}{(x^2+1)(x^2+2)} = \frac{8}{x^2+1} - \frac{3}{x^2+2}\] The integral becomes: \[\int \left(1 + \frac{8}{x^2+1} - \frac{3}{x^2+2}\right) dx\] Integrating term by term: \[= x + 8 \tan^{-1}(x) - \frac{3}{\ \sqrt{2}} \tan^{-1}\left(\frac{x}{\sqrt{2}}\right) + C\]

Answer: \[x + 8\tan^{-1}(x) - \frac{3}{\sqrt{2}}\tan^{-1}\left(\frac{x}{\sqrt{2}}\right) + C\]

Example 2

Question: Integrate the rational function: \[\frac{(x^2+2)(x^2+6)}{(x^2+4)(x^2+9)}\]

Solution: Let \( t = x^2 \). Expand numerator and denominator. Numerator: \( (t+2)(t+6) = t^2 + 8t + 12 \) Denominator: \( (t+4)(t+9) = t^2 + 13t + 36 \) Both are degree 2 in \( t \), so divide: \[\frac{t^2 + 8t + 12}{t^2 + 13t + 36} = 1 + \frac{-5t - 24}{t^2 + 13t + 36}\] So the integrand is: \[1 + \frac{-5x^2 - 24}{(x^2+4)(x^2+9)}\] Decompose using partial fractions with \( t = x^2 \): \[\frac{-5t - 24}{(t+4)(t+9)} = \frac{A}{t+4} + \frac{B}{t+9}\] Multiplying both sides by \( (t+4)(t+9) \): \[-5t - 24 = A(t+9) + B(t+4)\] Setting \( t = -4 \): \( 20 - 24 = A(5) \), so \( -4 = 5A \), giving \( A = -\dfrac{4}{5} \). Setting \( t = -9 \): \( 45 - 24 = B(-5) \), so \( 21 = -5B \), giving \( B = -\dfrac{21}{5} \). Thus: \[\frac{-5x^2 - 24}{(x^2+4)(x^2+9)} = \frac{-4/5}{x^2+4} + \frac{-21/5}{x^2+9}\] The integral becomes: \[\int \left(1 - \frac{4}{5(x^2+4)} - \frac{21}{5(x^2+9)}\right) dx\] Integrating term by term using \( \int \frac{1}{x^2+a^2} \, dx = \frac{1}{a}\tan^{-1}\left(\frac{x}{a}\right) + C \): For the second term: \( \int \frac{4}{5(x^2+4)} \, dx = \frac{4}{5} \cdot \frac{1}{2} \tan^{-1}\left(\frac{x}{2}\right) = \frac{2}{5}\tan^{-1}\left(\frac{x}{2}\right) \) For the third term: \( \int \frac{21}{5(x^2+9)} \, dx = \frac{21}{5} \cdot \frac{1}{3} \tan^{-1}\left(\frac{x}{3}\right) = \frac{7}{5}\tan^{-1}\left(\frac{x}{3}\right) \) Therefore the result is: \[x - \frac{2}{5}\tan^{-1}\left(\frac{x}{2}\right) - \frac{7}{5}\tan^{-1}\left(\frac{x}{3}\right) + C\]

Answer: \[x - \frac{2}{5}\tan^{-1}\left(\frac{x}{2}\right) - \frac{7}{5}\tan^{-1}\left(\frac{x}{3}\right) + C\]

🎯 Try a Similar Question

Try a Similar Question

Question: Integrate the rational function: \[\frac{(x^2+2)(x^2+5)}{(x^2+1)(x^2+4)}\]

Solution

  1. Step 1: Expand the Numerator and Denominator: Expand the numerator: \((x^2+2)(x^2+5) = x^4 + 7x^2 + 10\). Expand the denominator: \((x^2+1)(x^2+4) = x^4 + 5x^2 + 4\). The degree of numerator equals the degree of denominator, so we perform algebraic division.
  2. Step 2: Polynomial Division: Write the numerator as: \[x^4 + 7x^2 + 10 = 1 \cdot (x^4 + 5x^2 + 4) + (2x^2 + 6)\] So the integrand becomes: \[\frac{x^4 + 7x^2 + 10}{x^4 + 5x^2 + 4} = 1 + \frac{2x^2 + 6}{(x^2+1)(x^2+4)}\]
  3. Step 3: Partial Fraction Decomposition: Decompose \(\frac{2x^2+6}{(x^2+1)(x^2+4)}\) using partial fractions. Since the factors are irreducible quadratics, write: \[\frac{2x^2+6}{(x^2+1)(x^2+4)} = \frac{A}{x^2+1} + \frac{B}{x^2+4}\] Multiplying both sides by \((x^2+1)(x^2+4)\): \[2x^2 + 6 = A(x^2+4) + B(x^2+1)\] This gives \[2x^2 + 6 = (A+B)x^2 + (4A+B)\]
  4. Step 4: Compare Coefficients: Comparing coefficients of \(x^2\): \(A + B = 2\). Comparing constant terms: \(4A + B = 6\). Subtracting the first equation from the second: \(3A = 4\), so \(A = \frac{4}{3}\). Then \(B = 2 - \frac{4}{3} = \frac{2}{3}\).
  5. Step 5: Write the Full Integral: The integral becomes: \[\int \left(1 + \frac{4/3}{x^2+1} + \frac{2/3}{x^2+4}\right) dx\] which equals \[\int 1\, dx + \frac{4}{3}\int \frac{1}{x^2+1}\, dx + \frac{2}{3}\int \frac{1}{x^2+4}\, dx\]
  6. Step 6: Integrate Each Term: Using the standard formula \(\int \frac{1}{x^2+a^2}\, dx = \frac{1}{a}\tan^{-1}\left(\frac{x}{a}\right) + C\): The first integral gives \(x\). The second: \(\frac{4}{3}\int \frac{1}{x^2+1}\, dx = \frac{4}{3}\tan^{-1}(x)\). The third: \(\frac{2}{3}\int \frac{1}{x^2+4}\, dx = \frac{2}{3} \cdot \frac{1}{2}\tan^{-1}\left(\frac{x}{2}\right) = \frac{1}{3}\tan^{-1}\left(\frac{x}{2}\right)\).
  7. Step 7: Combine the Result: Adding all parts together: \[\int \frac{(x^2+2)(x^2+5)}{(x^2+1)(x^2+4)}\, dx = x + \frac{4}{3}\tan^{-1}(x) + \frac{1}{3}\tan^{-1}\left(\frac{x}{2}\right) + C\]

Answer: \[x + \frac{4}{3}\tan^{-1}(x) + \frac{1}{3}\tan^{-1}\left(\frac{x}{2}\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)