Skip to content
Exercise 7.5 · Q2

Q.Integrate the following function: 1x2−9\frac{1}{x^2 - 9}

Yanam BieapTextbookSubjective· 2mImportance★★★★★
34% · 128/373 Questions
✓ Free question

We decompose 1x2−9\frac{1}{x^2 - 9} into partial fractions of the form Ax−3+Bx+3\frac{A}{x-3} + \frac{B}{x+3}, solve for AA and BB, then integrate each term to get 16log⁡∣x−3x+3∣+C\frac{1}{6}\log\left|\frac{x-3}{x+3}\right| + C.

The key here is that x2−9x^2 - 9 factors as (x−3)(x+3)(x-3)(x+3), a product of two distinct linear factors. When you have a rational function like this — a constant numerator over a factorable quadratic denominator — partial fraction decomposition is the natural tool. The idea is to break the complicated fraction into a sum of simpler fractions, each with a single linear denominator, which we can integrate directly using the natural logarithm.

Why does this work? Because integration is linear: the integral of a sum is the sum of the integrals. And each piece Ax−a\frac{A}{x-a} integrates to Alog⁡∣x−a∣A\log|x-a|. So if we can find the right constants AA and BB, the problem reduces to two easy log integrals.

Let’s do it step by step.

  1. Factor the denominator and set up the decomposition. Since x2−9=(x−3)(x+3)x^2 - 9 = (x-3)(x+3), we write:

1x2−9=Ax−3+Bx+3\frac{1}{x^2 - 9} = \frac{A}{x-3} + \frac{B}{x+3}

where AA and BB are constants we need to find.

  1. Clear the denominators. Multiply both sides by (x−3)(x+3)(x-3)(x+3):

1=A(x+3)+B(x−3)1 = A(x+3) + B(x-3)

This equation must hold for all xx (except x=±3x = \pm 3, where the original fraction is undefined, but the identity holds algebraically).

  1. Solve for AA and BB.

    There are two efficient methods. I’ll show both — pick whichever you find clearer.

    Method 1: Substitution (the “cover-up” trick).

    Choose x=3x = 3 to make the BB term vanish:

1=A(3+3)+B(0)  ⟹  1=6A  ⟹  A=161 = A(3+3) + B(0) \implies 1 = 6A \implies A = \frac{1}{6}

Choose x=−3x = -3 to make the AA term vanish:

1=A(0)+B(−3−3)  ⟹  1=−6B  ⟹  B=−161 = A(0) + B(-3-3) \implies 1 = -6B \implies B = -\frac{1}{6}

Method 2: Equating coefficients.

Expand the right side: 1=Ax+3A+Bx−3B=(A+B)x+(3A−3B)1 = A x + 3A + B x - 3B = (A+B)x + (3A - 3B).

Compare coefficients of xx and the constant term:

{A+B=03A−3B=1\begin{cases} A + B = 0 \\ 3A - 3B = 1 \end{cases}

From the first equation, B=−AB = -A. Substitute into the second: 3A−3(−A)=6A=13A - 3(-A) = 6A = 1, so A=16A = \frac{1}{6}, and then B=−16B = -\frac{1}{6}. Same result.

Tip

The substitution method is faster when denominators are linear and distinct — just plug in the root of each factor. It’s often called the “cover-up” method because you mentally cover the factor whose root you’re using.

  1. Write the decomposed form. Now we have:

1x2−9=1/6x−3−1/6x+3\frac{1}{x^2 - 9} = \frac{1/6}{x-3} - \frac{1/6}{x+3}

  1. Integrate term by term.

∫1x2−9 dx=16∫1x−3 dx−16∫1x+3 dx\int \frac{1}{x^2 - 9} \, dx = \frac{1}{6} \int \frac{1}{x-3} \, dx - \frac{1}{6} \int \frac{1}{x+3} \, dx

Each integral is a standard log form: ∫1udu=log⁡∣u∣+C\int \frac{1}{u} du = \log|u| + C. So:

=16log⁡∣x−3∣−16log⁡∣x+3∣+C= \frac{1}{6} \log|x-3| - \frac{1}{6} \log|x+3| + C

  1. Simplify using logarithm properties. Combine the two logs into one:

=16log⁡∣x−3x+3∣+C= \frac{1}{6} \log\left|\frac{x-3}{x+3}\right| + C

Watch out

Don’t forget the absolute value signs inside the log — the argument could be negative for some xx, and log⁡\log of a negative number is undefined in real analysis. The absolute value ensures the result is valid wherever the original integrand is defined (i.e., x≠±3x \neq \pm 3).

✓Final answer

The integral is 16log⁡∣x−3x+3∣+C\boxed{\frac{1}{6}\log\left|\frac{x-3}{x+3}\right| + C}.

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.