Educerie

Educerie · AP · Calculus AB and BC

Unit 6 Integration and Accumulation of Change · 6.12 Integrating Using Linear Partial Fractions

This topic is BC only. It is not on the AB exam.

Big ideas: FUN (Functions). A fraction with a factored denominator can be split into simple fractions, each of which integrates to a logarithm.

The question this unit answers: How do we integrate a fraction whose denominator factors into different linear pieces?

Where it is examined: Section I multiple choice (BC): an integral like ∫1x2−4 dx\int \frac{1}{x^2 - 4}\,dx or ∫3x+5(x+1)(x+2) dx\int \frac{3x + 5}{(x + 1)(x + 2)}\,dx, or the decomposition itself. Section II free response (BC): partial fractions is the key step when you solve a logistic differential equation (7.9), and it can appear in an area or accumulation part.


AP Calculus AB and BC 6.12

Integrating Using Linear Partial Fractions

How do we integrate a fraction whose denominator factors into different linear pieces?

What you will learn

  • Understand that a proper fraction with distinct linear factors splits into one constant over each factor.
  • Know how substituting each root finds each constant.
  • Understand that an improper fraction is divided first.

You must be able to

  1. Write the partial fraction decomposition with distinct linear factors.
  2. Find the constants by substituting roots or matching coefficients.
  3. Integrate each piece to a logarithm and combine if asked.
  4. Evaluate a definite integral from the logs.
  5. Divide first when the degrees are equal.

1When it applies

The fraction needs two things.

  • A proper fraction: the numerator's degree is less than the denominator's. If not, divide first (6.10) and decompose the remainder.
  • A denominator that factors into distinct linear factors (x−a)(x−b)⋯(x - a)(x - b)\cdots.

If the denominator is an irreducible quadratic, such as x2+9x^2 + 9, use completing the square instead (6.10).

2Finding the decomposition

For two distinct linear factors, write

px+q(x−a)(x−b)=Ax−a+Bx−b \frac{px + q}{(x - a)(x - b)} = \frac{A}{x - a} + \frac{B}{x - b}

Multiply both sides by (x−a)(x−b)(x - a)(x - b):

px+q=A(x−b)+B(x−a) px + q = A(x - b) + B(x - a)

This is true for every xx, so you can pick convenient values of xx.

  • Put x=ax = a: the BB term vanishes, and AA is found.
  • Put x=bx = b: the AA term vanishes, and BB is found.

Example (invented): 5(x−1)(x+4)=Ax−1+Bx+4\dfrac{5}{(x - 1)(x + 4)} = \dfrac{A}{x - 1} + \dfrac{B}{x + 4}.

  • Multiply: 5=A(x+4)+B(x−1)5 = A(x + 4) + B(x - 1).
  • x=1x = 1: 5=5A5 = 5A, so A=1A = 1.
  • x=−4x = -4: 5=−5B5 = -5B, so B=−1B = -1.
  • So 5(x−1)(x+4)=1x−1−1x+4\dfrac{5}{(x - 1)(x + 4)} = \dfrac{1}{x - 1} - \dfrac{1}{x + 4}.

Check: 1x−1−1x+4=(x+4)−(x−1)(x−1)(x+4)=5(x−1)(x+4)\frac{1}{x - 1} - \frac{1}{x + 4} = \frac{(x + 4) - (x - 1)}{(x - 1)(x + 4)} = \frac{5}{(x - 1)(x + 4)}.

If the roots are awkward, match coefficients instead: expand the right side and equate the coefficients of xx and the constants.

Example (invented): 3x+5=A(x+2)+B(x+1)3x + 5 = A(x + 2) + B(x + 1) expands to 3x+5=(A+B)x+(2A+B)3x + 5 = (A + B)x + (2A + B). So A+B=3A + B = 3 and 2A+B=52A + B = 5. Subtracting gives A=2A = 2, and then B=1B = 1. Both methods give the same constants.

A quicker way to find a constant is to cover the factor you are working on and substitute its root into what is left. For 5(x−1)(x+4)\frac{5}{(x - 1)(x + 4)}, to find AA cover (x−1)(x - 1) and put x=1x = 1 into 5x+4\frac{5}{x + 4}, which gives 1. This is the same as the substitution above, with less writing.

3Integrating

Each piece is a constant over a linear term.

∫Ax−a dx=Aln⁡∣x−a∣+C \int \frac{A}{x - a}\,dx = A\ln\lvert x - a\rvert + C

Example (invented): ∫3x+5(x+1)(x+2) dx\displaystyle\int \frac{3x + 5}{(x + 1)(x + 2)}\,dx. Write 3x+5=A(x+2)+B(x+1)3x + 5 = A(x + 2) + B(x + 1).

  • x=−1x = -1: 2=A2 = A.
  • x=−2x = -2: −1=−B-1 = -B, so B=1B = 1.
  • ∫(2x+1+1x+2)dx=2ln⁡∣x+1∣+ln⁡∣x+2∣+C\displaystyle\int \left(\frac{2}{x + 1} + \frac{1}{x + 2}\right)dx = 2\ln\lvert x + 1\rvert + \ln\lvert x + 2\rvert + C.

Example (invented): ∫1x2−4 dx\displaystyle\int \frac{1}{x^2 - 4}\,dx. Since x2−4=(x−2)(x+2)x^2 - 4 = (x - 2)(x + 2),   1x2−4=14(1x−2−1x+2)\;\frac{1}{x^2 - 4} = \frac{1}{4}\left(\frac{1}{x - 2} - \frac{1}{x + 2}\right). The integral is 14(ln⁡∣x−2∣−ln⁡∣x+2∣)+C=14ln⁡∣x−2x+2∣+C\tfrac{1}{4}\left(\ln\lvert x - 2\rvert - \ln\lvert x + 2\rvert\right) + C = \tfrac{1}{4}\ln\left\lvert\dfrac{x - 2}{x + 2}\right\rvert + C.

The logarithm rule ln⁡a−ln⁡b=ln⁡ab\ln a - \ln b = \ln\frac{a}{b} lets you write the answer as one logarithm. Both forms are correct.

4Definite integrals

Evaluate the logarithms at the limits.

Example (invented): ∫231x2−1 dx=12[ln⁡∣x−1∣−ln⁡∣x+1∣]23\displaystyle\int_2^3 \frac{1}{x^2 - 1}\,dx = \tfrac{1}{2}\Bigl[\ln\lvert x - 1\rvert - \ln\lvert x + 1\rvert\Bigr]_2^3.

  • At 3: ln⁡2−ln⁡4=ln⁡12\ln 2 - \ln 4 = \ln\tfrac{1}{2}.
  • At 2: ln⁡1−ln⁡3=ln⁡13\ln 1 - \ln 3 = \ln\tfrac{1}{3}.
  • The value is 12(ln⁡12−ln⁡13)=12ln⁡32≈0.203\tfrac{1}{2}\left(\ln\tfrac{1}{2} - \ln\tfrac{1}{3}\right) = \tfrac{1}{2}\ln\tfrac{3}{2} \approx 0.203.

The integrand is continuous on [2,3][2, 3], so the theorem applies. Over an interval that holds a root of the denominator, such as [0,2][0, 2] for 1x2−1\frac{1}{x^2 - 1}, the integral is improper (6.13).

5An improper fraction

When the degrees are equal or the numerator is higher, divide first.

Example (invented): ∫x2+1x2−1 dx\displaystyle\int \frac{x^2 + 1}{x^2 - 1}\,dx. Divide: x2+1x2−1=1+2x2−1\frac{x^2 + 1}{x^2 - 1} = 1 + \frac{2}{x^2 - 1}. The second term is 2x2−1=1x−1−1x+1\frac{2}{x^2 - 1} = \frac{1}{x - 1} - \frac{1}{x + 1}. So

∫x2+1x2−1 dx=x+ln⁡∣x−1∣−ln⁡∣x+1∣+C \int \frac{x^2 + 1}{x^2 - 1}\,dx = x + \ln\lvert x - 1\rvert - \ln\lvert x + 1\rvert + C

6Why it matters in Unit 7

The logistic equation has dPdt=kP(1−PK)\frac{dP}{dt} = kP\left(1 - \frac{P}{K}\right), and separating the variables gives ∫dPP(K−P)\int \frac{dP}{P(K - P)}. With K=10K = 10, the decomposition is

1P(10−P)=110(1P+110−P) \frac{1}{P(10 - P)} = \frac{1}{10}\left(\frac{1}{P} + \frac{1}{10 - P}\right)

and each part integrates to a logarithm. You will meet this again in 7.9.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.