PrecalculusSystems of Equations and Matrices3 of 6
Systems of Equations and Matrices · 3

Partial Fractions

We already know how to add two simple fractions over a common denominator, and partial fractions is the reverse process of breaking a combined fraction back apart into those simpler pieces.

1

Un-adding a Fraction

We want to split a single fraction with a factored denominator back into the two separate fractions it came from:

5x+1(x−1)(x+2)\displaystyle \frac{5x + 1}{\lin{(x - 1)}\lintwo{(x + 2)}}

Knowing the factors on the bottom tells us what denominators our smaller fractions must have before we even look for their numerators.

Un-adding a Fraction
2x−1+3x+2\displaystyle \frac{2}{\htmlClass{lc-blue}{x - 1}} + \frac{3}{\htmlClass{lc-pink}{x + 2}} =?\displaystyle = \mathord{?}

Because (x−1)\lin{(x - 1)} and (x+2)\lintwo{(x + 2)} are degree-11 factors, their numerators only need to be plain numbers AA and BB:

5x+1(x−1)(x+2)\displaystyle \frac{5x + 1}{\lin{(x - 1)}\lintwo{(x + 2)}} =Ax−1+Bx+2\displaystyle = \frac{A}{\lin{x - 1}} + \frac{B}{\lintwo{x + 2}}

Once we multiply both sides by (x−1)(x+2)\lin{(x - 1)}\lintwo{(x + 2)} to clear the fractions, we can find AA and BB either by plugging in values of xx that make a factor zero or by matching the powers of xx on both sides.

Knock-Out and Matching Methods
5x+1(x−1)(x+2)\displaystyle \frac{5x + 1}{\htmlClass{lc-blue}{(x - 1)}\htmlClass{lc-pink}{(x + 2)}} =Ax−1+Bx+2\displaystyle = \frac{A}{\htmlClass{lc-blue}{x - 1}} + \frac{B}{\htmlClass{lc-pink}{x + 2}}
A=?B=?\displaystyle {A = \mathord{?} \qquad B = \mathord{?}}
Text solution
Set up one fraction for each linear factorEach factor in the denominator gets its own fraction with a plain number on top.
5x+1(x−1)(x+2)⏟linear factors\displaystyle \frac{5x + 1}{\underbrace{\lin{(x - 1)}\lintwo{(x + 2)}}_{\text{linear factors}}} =Ax−1+Bx+2\displaystyle = \frac{A}{\lin{x - 1}} + \frac{B}{\lintwo{x + 2}}
Multiply by the common denominator to clear the fractionsMultiplying both sides by (x−1)(x+2)\lin{(x - 1)}\lintwo{(x + 2)} cancels each denominator with its matching factor.
5x+1\displaystyle 5x + 1 =A(x+2)+B(x−1)\displaystyle = A\lintwo{(x + 2)} + B\lin{(x - 1)}
Knock out BB by plugging in x=1\lin{x = 1}Choosing x=1\lin{x = 1} turns (x−1)\lin{(x - 1)} into zero, so the entire BB piece disappears and leaves AA by itself.
5(1)+1=A(1+2)+B(1−1)6=3A2=A\displaystyle \begin{aligned} 5(1) + 1 &= A\lintwo{(1 + 2)} + B\lin{(1 - 1)} \\ 6 &= 3A \\ 2 &= A \end{aligned}
Knock out AA by plugging in x=−2\lintwo{x = -2}Choosing x=−2\lintwo{x = -2} turns (x+2)\lintwo{(x + 2)} into zero and isolates BB.
5(−2)+1=A(−2+2)+B(−2−1)−9=−3B3=B\displaystyle \begin{aligned} 5(-2) + 1 &= A\lintwo{(-2 + 2)} + B\lin{(-2 - 1)} \\ -9 &= -3B \\ 3 &= B \end{aligned}
Put AA and BB back into the partial fractionsReplacing AA and BB with 22 and 33 gives the two simpler fractions that add up to our original expression.
5x+1(x−1)(x+2)\displaystyle \frac{5x + 1}{\lin{(x - 1)}\lintwo{(x + 2)}} =2x−1+3x+2\displaystyle = \frac{2}{\lin{x - 1}} + \frac{3}{\lintwo{x + 2}}
y=5x+1(x−1)(x+2)y = \dfrac{5x + 1}{\htmlClass{lc-blue}{(x - 1)}\htmlClass{lc-pink}{(x + 2)}}
−2\htmlClass{lc-pink}{-2}
1\htmlClass{lc-blue}{1}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}
y=2x−1\htmlClass{lc-blue}{y = \dfrac{2}{x - 1}}
y=3x+2\htmlClass{lc-pink}{y = \dfrac{3}{x + 2}}
−2\htmlClass{lc-pink}{-2}
1\htmlClass{lc-blue}{1}
x\htmlClass{lc-mute}{x}
y\htmlClass{lc-mute}{y}

We get the same values by expanding the right side into (A+B)x+(2A−B)(A + B)x + (2A - B) and matching coefficients to get A+B=5A + B = 5 and 2A−B=12A - B = 1, though plugging in the roots is faster whenever linear factors can be zeroed out.

In the cleared equation, the signed values of A(x+2)\lintwo{A(x + 2)} and B(x−1)\lin{B(x - 1)} add up to 5x+15x + 1 at every xx. At x=1\lin{x = 1} and x=−2\lintwo{x = -2} one piece equals zero, so the other piece equals 5x+15x + 1 on its own.

The two pieces add up to the total everywhere, and where one piece hits zero, the other unknown is left alone.
2

Repeated Linear Factors

Now suppose the denominator is a single linear factor squared rather than two different factors:

3x+5(x+1)2\displaystyle \frac{3x + 5}{\lin{(x + 1)^2}}

Just as a fraction with a denominator of 9\lin{9} can come from adding thirds and ninths, a denominator of (x+1)2\lin{(x + 1)^2} can come from adding a first-power (x+1)\lin{(x + 1)} fraction and an (x+1)2\lin{(x + 1)^2} fraction.

Repeated Linear Factors
3x+5(x+1)2\displaystyle \frac{3x + 5}{\htmlClass{lc-blue}{(x + 1)^2}} =?\displaystyle = \mathord{?}
Text solution
Include a fraction for each power of the repeated factorWe write one fraction with (x+1)\lin{(x + 1)} and a second fraction with (x+1)2\lin{(x + 1)^2}, each with a plain number on top.
3x+5(x+1)2\displaystyle \frac{3x + 5}{\lin{(x + 1)^2}} =Ax+1+B(x+1)2\displaystyle = \frac{A}{\lin{x + 1}} + \frac{B}{\lin{(x + 1)^2}}
Multiply by (x+1)2\lin{(x + 1)^2} to clear the denominatorsThe first fraction keeps one factor of (x+1)\lin{(x + 1)}, while the second denominator cancels completely.
3x+5\displaystyle 3x + 5 =A(x+1)+B\displaystyle = A\lin{(x + 1)} + B
Knock out AA by plugging in x=−1\lin{x = -1}Setting x=−1\lin{x = -1} makes (x+1)\lin{(x + 1)} equal to zero and gives BB right away.
3(−1)+5=A(−1+1)+B2=B\displaystyle \begin{aligned} 3(-1) + 5 &= A\lin{(-1 + 1)} + B \\ 2 &= B \end{aligned}
Match the xx terms to find AASince no other value of xx makes a factor zero, we compare the xx terms on both sides, where AxAx is the only xx term on the right.
3x+5=Ax+A+B3=A\displaystyle \begin{aligned} 3x + 5 &= Ax + A + B \\ 3 &= A \end{aligned}
Put AA and BB back into the setupSubstituting A=3A = 3 and B=2B = 2 breaks the fraction into its first-power and second-power pieces.
3x+5(x+1)2\displaystyle \frac{3x + 5}{\lin{(x + 1)^2}} =3x+1+2(x+1)2\displaystyle = \frac{3}{\lin{x + 1}} + \frac{2}{\lin{(x + 1)^2}}

Two (x+1)\lin{(x + 1)} fractions would only combine over (x+1)\lin{(x + 1)}, and B(x+1)2\frac{B}{\lin{(x + 1)^2}} by itself has no xx term on top. Pairing Ax+1\frac{A}{\lin{x + 1}} with B(x+1)2\frac{B}{\lin{(x + 1)^2}} multiplies AA by (x+1)\lin{(x + 1)} when we combine them, giving the xx term we need in the numerator.

To split 3x+5(x+1)2\frac{3x + 5}{\lin{(x + 1)^2}}, we use both x+1\lin{x + 1} and (x+1)2\lin{(x + 1)^2} as denominators. The first fraction gives us the xx term on top.
3

Unfactorable Quadratic Factors

Next, we want to break apart a fraction whose denominator has a quadratic factor that cannot be factored any further:

5x2+3x+7(x−1)(x2+4)\displaystyle \frac{5x^2 + 3x + 7}{\lin{(x - 1)}\irr{(x^2 + 4)}}

Unlike x2−4=(x−2)(x+2)\splits{x^2 - 4} = \splits{(x - 2)(x + 2)}, the sum of squares x2+4\irr{x^2 + 4} never equals zero for any real xx, so it stays together as a degree-22 factor and needs room for an xx term in its numerator.

Unfactorable Quadratic Factors
5x2+3x+7(x−1)(x2+4)\displaystyle \frac{5x^2 + 3x + 7}{\htmlClass{lc-blue}{(x - 1)}\htmlClass{lc-green}{(x^2 + 4)}} =?\displaystyle = \mathord{?}
Text solution
Give the linear factor a constant top and the quadratic factor a linear topBecause x2+4\irr{x^2 + 4} has degree 22, its numerator can have degree 11, written as Bx+CBx + C.
5x2+3x+7(x−1)(x2+4)⏟unfactorablequadratic=Ax−1+Bx+Cx2+4\displaystyle \frac{5x^2 + 3x + 7}{\lin{(x - 1)}\underbrace{\irr{(x^2 + 4)}}_{\begin{gathered}\scriptstyle\text{unfactorable} \\[-2pt] \scriptstyle\text{quadratic}\end{gathered}}} = \frac{A}{\lin{x - 1}} + \frac{Bx + C}{\irr{x^2 + 4}}
Multiply by (x−1)(x2+4)\lin{(x - 1)}\irr{(x^2 + 4)} to clear the denominatorsKeep Bx+CBx + C in parentheses so the entire numerator is multiplied by (x−1)\lin{(x - 1)}.
5x2+3x+7\displaystyle 5x^2 + 3x + 7 =A(x2+4)+(Bx+C)(x−1)\displaystyle = A\irr{(x^2 + 4)} + (Bx + C)\lin{(x - 1)}
Knock out BB and CC together by plugging in x=1\lin{x = 1}Because (Bx+C)(Bx + C) is multiplied by (x−1)\lin{(x - 1)}, setting x=1\lin{x = 1} wipes out both BB and CC at the same time.
5(1)2+3(1)+7=A(12+4)+(B(1)+C)(1−1)15=5A3=A\displaystyle \begin{aligned} 5(1)^2 + 3(1) + 7 &= A\irr{(1^2 + 4)} + (B(1) + C)\lin{(1 - 1)} \\ 15 &= 5A \\ 3 &= A \end{aligned}
Match the x2x^2 terms to find BBLooking only at the x2x^2 terms on each side, 5x25x^2 on the left must match Ax2+Bx2Ax^2 + Bx^2 on the right.
5=A+B5=3+B2=B\displaystyle \begin{aligned} 5 &= A + B \\ 5 &= 3 + B \\ 2 &= B \end{aligned}
Match the plain numbers to find CCThe constant terms without xx are 77 on the left and 4A−C4A - C on the right.
7=4A−C7=4(3)−C5=C\displaystyle \begin{aligned} 7 &= 4A - C \\ 7 &= 4(3) - C \\ 5 &= C \end{aligned}
Put AA, BB, and CC back into the setupSubstituting A=3A = 3, B=2B = 2, and C=5C = 5 gives the two partial fractions.
5x2+3x+7(x−1)(x2+4)\displaystyle \frac{5x^2 + 3x + 7}{\lin{(x - 1)}\irr{(x^2 + 4)}} =3x−1+2x+5x2+4\displaystyle = \frac{3}{\lin{x - 1}} + \frac{2x + 5}{\irr{x^2 + 4}}
4

Repeated Quadratic Factors

Now we want to decompose a fraction where an unfactorable quadratic factor is squared:

x3+2x2+7x+12(x2+4)2\displaystyle \frac{x^3 + 2x^2 + 7x + 12}{\irr{(x^2 + 4)^2}}

Here we need one fraction for each power of (x2+4)\irr{(x^2 + 4)} with a linear numerator on each piece, and because no real number makes x2+4\irr{x^2 + 4} zero, we find the unknowns by matching powers of xx.

Repeated Quadratic Factors
Ax+1+B(x+1)2Bx+Cx2+4\displaystyle \footnotesize \frac{A}{\htmlClass{lc-blue}{x + 1}} + \frac{B}{\htmlClass{lc-blue}{(x + 1)^2}} \qquad \frac{Bx + C}{\htmlClass{lc-green}{x^2 + 4}}
x3+2x2+7x+12(x2+4)2\displaystyle \frac{x^3 + 2x^2 + 7x + 12}{\htmlClass{lc-green}{(x^2 + 4)^2}} =?\displaystyle = \mathord{?}
Text solution
Set up a linear numerator for each power of (x2+4)\irr{(x^2 + 4)}Because the factor inside the parentheses is the quadratic x2+4\irr{x^2 + 4}, both the first power and the second power get degree-11 numerators.
x3+2x2+7x+12(x2+4)2\displaystyle \frac{x^3 + 2x^2 + 7x + 12}{\irr{(x^2 + 4)^2}} =Ax+Bx2+4+Cx+D(x2+4)2\displaystyle = \frac{Ax + B}{\irr{x^2 + 4}} + \frac{Cx + D}{\irr{(x^2 + 4)^2}}
Multiply by (x2+4)2\irr{(x^2 + 4)^2} and group like powers of xxExpanding the right side and collecting the x3x^3, x2x^2, xx, and constant terms lines them up with the polynomial on the left.
x3+2x2+7x+12=(Ax+B)(x2+4)+Cx+D=Ax3+4Ax+Bx2+4B+Cx+D=Ax3+Bx2+(4A+C)x+(4B+D)\displaystyle \begin{aligned} x^3 + 2x^2 + 7x + 12 &= (Ax + B)\irr{(x^2 + 4)} + Cx + D \\ &= Ax^3 + 4Ax + Bx^2 + 4B + Cx + D \\ &= Ax^3 + Bx^2 + (4A + C)x + (4B + D) \end{aligned}
Match the x3x^3 and x2x^2 terms to get AA and BBThe x3x^3 and x2x^2 coefficients on the right each contain just one unknown letter.
A=1B=2\displaystyle \begin{aligned} A &= 1 \\ B &= 2 \end{aligned}
Match the xx and constant terms to get CC and DDPlugging A=1A = 1 and B=2B = 2 into the remaining two coefficients gives CC and DD.
4A+C=74B+D=124(1)+C=74(2)+D=12C=3D=4\displaystyle \begin{aligned} 4A + C &= 7 & 4B + D &= 12 \\ 4(1) + C &= 7 & 4(2) + D &= 12 \\ C &= 3 & D &= 4 \end{aligned}
Put AA, BB, CC, and DD back into the setupReplacing the letters with 11, 22, 33, and 44 completes the decomposition.
x3+2x2+7x+12(x2+4)2\displaystyle \frac{x^3 + 2x^2 + 7x + 12}{\irr{(x^2 + 4)^2}} =x+2x2+4+3x+4(x2+4)2\displaystyle = \frac{x + 2}{\irr{x^2 + 4}} + \frac{3x + 4}{\irr{(x^2 + 4)^2}}

Each linear factor in a denominator gets a constant top, each unfactorable quadratic gets a linear top, and repeating a factor adds one fraction for each power. The number of unknown letters matches the number of possible coefficient slots in a numerator of degree less than the denominator.

Each factor in the denominator decides the numerator form of its partial fraction piece. Together, the unknown letters give us room to match every possible coefficient on top.
5

Top-Heavy Fractions

Finally, we want to decompose a fraction where the highest power of xx on top is at least as large as the highest power of xx on the bottom:

x2+5(x−1)(x+1)\displaystyle \frac{x^2 + 5}{\lin{(x - 1)}\lintwo{(x + 1)}}

Multiplying out the denominator gives x2−1x^2 - 1, which has the same x2x^2 power as the numerator, so we have to divide first to pull out the whole part before splitting the remainder fraction.

Top-Heavy Fractions
x2+5(x−1)(x+1)\displaystyle \frac{x^2 + 5}{\htmlClass{lc-blue}{(x - 1)}\htmlClass{lc-pink}{(x + 1)}} =?\displaystyle = \mathord{?}
Text solution
Divide the denominator into the numerator to pull out the whole partSince (x−1)(x+1)=x2−1\lin{(x - 1)}\lintwo{(x + 1)} = x^2 - 1 goes into x2+5x^2 + 5 once with 6\rem{6} left over, the fraction splits into 11 plus a proper remainder fraction.
x2+5(x−1)(x+1)=(x2−1)+6x2−1=1+6(x−1)(x+1)\displaystyle \begin{aligned} \frac{x^2 + 5}{\lin{(x - 1)}\lintwo{(x + 1)}} &= \frac{(x^2 - 1) + \rem{6}}{x^2 - 1} \\ &= 1 + \frac{\rem{6}}{\lin{(x - 1)}\lintwo{(x + 1)}} \end{aligned}
Set up partial fractions for the leftover proper fractionNow that the numerator 6\rem{6} has a smaller power of xx than the denominator, we break apart just the remainder piece.
6(x−1)(x+1)\displaystyle \frac{\rem{6}}{\lin{(x - 1)}\lintwo{(x + 1)}} =Ax−1+Bx+1\displaystyle = \frac{A}{\lin{x - 1}} + \frac{B}{\lintwo{x + 1}}
Clear the denominators and knock out each factorMultiplying by (x−1)(x+1)\lin{(x - 1)}\lintwo{(x + 1)} and plugging in x=1\lin{x = 1} and x=−1\lintwo{x = -1} gives AA and BB.
6=A(x+1)+B(x−1)At x=1:6=A(1+1)  ⟹  A=3At x=−1:6=B(−1−1)  ⟹  B=−3\displaystyle \begin{aligned} \rem{6} &= A\lintwo{(x + 1)} + B\lin{(x - 1)} \\ \text{At } \lin{x = 1}:\quad \rem{6} &= A\lintwo{(1 + 1)} \\ &\implies A = 3 \\ \text{At } \lintwo{x = -1}:\quad \rem{6} &= B\lin{(-1 - 1)} \\ &\implies B = -3 \end{aligned}
Combine the whole part with the partial fractionsInclude the 11 we pulled out at the start in front of the decomposed remainder.
x2+5(x−1)(x+1)\displaystyle \frac{x^2 + 5}{\lin{(x - 1)}\lintwo{(x + 1)}} =1+3x−1−3x+1\displaystyle = 1 + \frac{3}{\lin{x - 1}} - \frac{3}{\lintwo{x + 1}}
6

The Four-Step Checklist

Checking these questions in order on any fraction tells you whether to divide first, how to factor the bottom, and how to set up and find the unknowns.

The Four-Step Checklist
11
Top-heavy?\text{Top-heavy?}
22
33
44

Key concepts

Before setting up unknown letters, compare the highest power of xx on top and bottom. A partial fraction setup can only produce a numerator with a smaller degree than the common denominator, so if the top degree is equal to or larger than the bottom degree, like x2+5x2−1\frac{x^2 + 5}{x^2 - 1}, divide first to pull out the whole part 1+6x2−11 + \frac{\rem{6}}{x^2 - 1} and only decompose the proper remainder. When the top already has a smaller power of xx than the bottom, skip straight to factoring the denominator.

Factor the denominator as far as it will go over the real numbers, watching out for quadratics that still split: x2−4\splits{x^2 - 4} factors into (x−2)(x+2)\splits{(x - 2)(x + 2)} and uses plain numbers on top, whereas a sum of squares like x2+4\irr{x^2 + 4} cannot be factored and needs a linear top Bx+CBx + C. Whenever a factor is repeated with an exponent, include a fraction for every power leading up to that exponent, choosing each numerator based on the factor inside the parentheses:

Ax+1+B(x+1)2⏟repeated linear factorandAx+Bx2+4+Cx+D(x2+4)2⏟repeated unfactorable quadratic\displaystyle \begin{gathered}\underbrace{\frac{A}{\lin{x + 1}} + \frac{B}{\lin{(x + 1)^2}}}_{\text{repeated linear factor}} \\ \text{and} \\ \underbrace{\frac{Ax + B}{\irr{x^2 + 4}} + \frac{Cx + D}{\irr{(x^2 + 4)^2}}}_{\text{repeated unfactorable quadratic}}\end{gathered}

After multiplying by the common denominator to clear the fractions, use the Knock-Out Method first by plugging in any xx values that make a linear factor zero, such as x=1\lin{x = 1} for (x−1)\lin{(x - 1)}. Whenever repeated factors or unfactorable quadratics leave you without enough roots to plug in, finish with the Matching Method by comparing the coefficients of x3x^3, x2x^2, xx, and the plain numbers on both sides.

7

Practice

1

Decompose 7x+6(x−2)(x+3)\frac{7x + 6}{(x - 2)(x + 3)} into partial fractions.

The denominator has two different linear factors. What goes on top of each one, and which two values of xx will make a factor zero after you clear the denominators?

Set up one fraction for each linear factor and multiply by (x−2)(x+3)\lin{(x - 2)}\lintwo{(x + 3)}:
7x+6(x−2)(x+3)=Ax−2+Bx+37x+6=A(x+3)+B(x−2)\displaystyle \begin{aligned} \frac{7x + 6}{\lin{(x - 2)}\lintwo{(x + 3)}} &= \frac{A}{\lin{x - 2}} + \frac{B}{\lintwo{x + 3}} \\ 7x + 6 &= A\lintwo{(x + 3)} + B\lin{(x - 2)} \end{aligned}
Watch out: When clearing fractions, (x−2)\lin{(x - 2)} cancels under AA so AA gets multiplied by the other factor (x+3)\lintwo{(x + 3)}. Multiplying each numerator by its own denominator's factor (A(x−2)+B(x+3)A\lin{(x - 2)} + B\lintwo{(x + 3)}) swaps the two values and gives the wrong answer 3x−2+4x+3\frac{3}{x - 2} + \frac{4}{x + 3}.
Plug in x=2\lin{x = 2} and x=−3\lintwo{x = -3} to knock out each group:
At x=2:7(2)+6=A(2+3)  ⟹  20=5A  ⟹  A=4At x=−3:7(−3)+6=B(−3−2)  ⟹  −15=−5B  ⟹  B=3\displaystyle \begin{aligned} \text{At } \lin{x = 2}:\quad 7(2) + 6 &= A\lintwo{(2 + 3)} \implies 20 = 5A \implies A = 4 \\ \text{At } \lintwo{x = -3}:\quad 7(-3) + 6 &= B\lin{(-3 - 2)} \implies -15 = -5B \implies B = 3 \end{aligned}
4x−2+3x+3\displaystyle \frac{4}{\lin{x - 2}} + \frac{3}{\lintwo{x + 3}}
2

Decompose 4x−5(x−2)2\frac{4x - 5}{(x - 2)^2} into partial fractions.

Think of thirds and ninths. Which two denominators can combine to give a common denominator of (x−2)2(x - 2)^2?

Include a fraction for both the first power (x−2)\lin{(x - 2)} and the second power (x−2)2\lin{(x - 2)^2}, then multiply by (x−2)2\lin{(x - 2)^2}:
4x−5(x−2)2=Ax−2+B(x−2)24x−5=A(x−2)+B\displaystyle \begin{aligned} \frac{4x - 5}{\lin{(x - 2)^2}} &= \frac{A}{\lin{x - 2}} + \frac{B}{\lin{(x - 2)^2}} \\ 4x - 5 &= A\lin{(x - 2)} + B \end{aligned}
Plug in x=2\lin{x = 2} to knock out AA, then match the xx terms on both sides to find AA:
At x=2:4(2)−5=A(0)+B  ⟹  B=3Match x:4=A\displaystyle \begin{aligned} \text{At } \lin{x = 2}:\quad 4(2) - 5 &= A\lin{(0)} + B \implies B = 3 \\ \text{Match } x:\quad 4 &= A \end{aligned}
Watch out: Plugging in x=2\lin{x = 2} knocks out AA and solves for BB first; putting that first number 33 into the AA spot gives the wrong answer 3x−2+4(x−2)2\frac{3}{x - 2} + \frac{4}{(x - 2)^2}.
4x−2+3(x−2)2\displaystyle \frac{4}{\lin{x - 2}} + \frac{3}{\lin{(x - 2)^2}}
3

Decompose 2x2+2x+5(x−1)(x+2)2\frac{2x^2 + 2x + 5}{(x - 1)(x + 2)^2} into partial fractions.

You have one linear factor (x−1)(x - 1) and one repeated linear factor (x+2)2(x + 2)^2. How many fractions do you need in total, and which two values of xx can you plug in before matching the x2x^2 terms?

Write one fraction for (x−1)\lin{(x - 1)} and one for each power of (x+2)\lintwo{(x + 2)}:
2x2+2x+5(x−1)(x+2)2\displaystyle \frac{2x^2 + 2x + 5}{\lin{(x - 1)}\lintwo{(x + 2)^2}} =Ax−1+Bx+2+C(x+2)2\displaystyle = \frac{A}{\lin{x - 1}} + \frac{B}{\lintwo{x + 2}} + \frac{C}{\lintwo{(x + 2)^2}}
Watch out: Leaving out the first-power middle piece Bx+2\frac{B}{\lintwo{x + 2}} and only writing Ax−1+C(x+2)2\frac{A}{\lin{x - 1}} + \frac{C}{\lintwo{(x + 2)^2}} still lets you plug in x=1\lin{x = 1} and x=−2\lintwo{x = -2} without any obvious error, giving you the wrong answer 1x−1−3(x+2)2\frac{1}{x - 1} - \frac{3}{(x + 2)^2}.
Multiply both sides by (x−1)(x+2)2\lin{(x - 1)}\lintwo{(x + 2)^2}:
2x2+2x+5\displaystyle 2x^2 + 2x + 5 =A(x+2)2+B(x−1)(x+2)+C(x−1)\displaystyle = A\lintwo{(x + 2)^2} + B\lin{(x - 1)}\lintwo{(x + 2)} + C\lin{(x - 1)}
Plug in x=1\lin{x = 1} and x=−2\lintwo{x = -2}, then match the x2x^2 terms (2x22x^2 on the left and Ax2+Bx2Ax^2 + Bx^2 on the right):
At x=1:2(1)2+2(1)+5=A(1+2)2  ⟹  9=9A  ⟹  A=1At x=−2:2(−2)2+2(−2)+5=C(−2−1)  ⟹  9=−3C  ⟹  C=−3Match x2:2=A+B  ⟹  2=1+B  ⟹  B=1\displaystyle \begin{aligned} \text{At } \lin{x = 1}:\quad 2(1)^2 + 2(1) + 5 &= A\lintwo{(1 + 2)^2} \implies 9 = 9A \implies A = 1 \\ \text{At } \lintwo{x = -2}:\quad 2(-2)^2 + 2(-2) + 5 &= C\lin{(-2 - 1)} \implies 9 = -3C \implies C = -3 \\ \text{Match } x^2:\quad 2 &= A + B \implies 2 = 1 + B \implies B = 1 \end{aligned}
1x−1+1x+2−3(x+2)2\displaystyle \frac{1}{\lin{x - 1}} + \frac{1}{\lintwo{x + 2}} - \frac{3}{\lintwo{(x + 2)^2}}
4

Decompose 4x2−3x−7(x+2)(x2+1)\frac{4x^2 - 3x - 7}{(x + 2)(x^2 + 1)} into partial fractions.

Compare the two factors on the bottom: one is degree 11 and the other is an unfactorable degree-22 sum of squares. What kind of numerator goes over x2+1x^2 + 1?

Give the linear factor (x+2)\lin{(x + 2)} a constant top AA and the unfactorable quadratic (x2+1)\irr{(x^2 + 1)} a linear top Bx+CBx + C:
4x2−3x−7(x+2)(x2+1)=Ax+2+Bx+Cx2+14x2−3x−7=A(x2+1)+(Bx+C)(x+2)\displaystyle \begin{aligned} \frac{4x^2 - 3x - 7}{\lin{(x + 2)}\irr{(x^2 + 1)}} &= \frac{A}{\lin{x + 2}} + \frac{Bx + C}{\irr{x^2 + 1}} \\ 4x^2 - 3x - 7 &= A\irr{(x^2 + 1)} + (Bx + C)\lin{(x + 2)} \end{aligned}
Watch out: If you put a single constant over x2+1\irr{x^2 + 1}, plugging in x=−2\lin{x = -2} and matching the constant terms gives 3x+2−5x2+1\frac{3}{x + 2} - \frac{5}{x^2 + 1}. But this misses the xx coefficient: after clearing denominators, the coefficient is −5-5 instead of −3-3.
Plug in x=−2\lin{x = -2} to knock out (Bx+C)(Bx + C), then match the x2x^2 terms and the plain numbers:
At x=−2:4(−2)2−3(−2)−7=A((−2)2+1)  ⟹  15=5A  ⟹  A=3Match x2:4=A+B  ⟹  4=3+B  ⟹  B=1Match constants:−7=A+2C  ⟹  −7=3+2C  ⟹  C=−5\displaystyle \begin{aligned} \text{At } \lin{x = -2}:\quad 4(-2)^2 - 3(-2) - 7 &= A\irr{((-2)^2 + 1)} \implies 15 = 5A \implies A = 3 \\ \text{Match } x^2:\quad 4 &= A + B \implies 4 = 3 + B \implies B = 1 \\ \text{Match constants}:\quad -7 &= A + 2C \implies -7 = 3 + 2C \implies C = -5 \end{aligned}
3x+2+x−5x2+1\displaystyle \frac{3}{\lin{x + 2}} + \frac{x - 5}{\irr{x^2 + 1}}
5

Decompose 2x3−x2+5x+4(x2+1)2\frac{2x^3 - x^2 + 5x + 4}{(x^2 + 1)^2} into partial fractions.

The factor x2+1x^2 + 1 is an unfactorable quadratic and it is squared. What goes on top of each power, and which method finds the unknowns when no real xx makes x2+1x^2 + 1 zero?

Set up a linear numerator over each power of (x2+1)\irr{(x^2 + 1)}, clear the denominators, and group like powers of xx:
2x3−x2+5x+4(x2+1)2=Ax+Bx2+1+Cx+D(x2+1)22x3−x2+5x+4=(Ax+B)(x2+1)+Cx+D=Ax3+Bx2+(A+C)x+(B+D)\displaystyle \begin{aligned} \frac{2x^3 - x^2 + 5x + 4}{\irr{(x^2 + 1)^2}} &= \frac{Ax + B}{\irr{x^2 + 1}} + \frac{Cx + D}{\irr{(x^2 + 1)^2}} \\ 2x^3 - x^2 + 5x + 4 &= (Ax + B)\irr{(x^2 + 1)} + Cx + D \\ &= Ax^3 + Bx^2 + (A + C)x + (B + D) \end{aligned}
Match the coefficients of each power of xx on both sides:
Match x3:A=2Match x2:B=−1Match x:A+C=5  ⟹  2+C=5  ⟹  C=3Match constants:B+D=4  ⟹  −1+D=4  ⟹  D=5\displaystyle \begin{aligned} \text{Match } x^3:\quad A &= 2 \\ \text{Match } x^2:\quad B &= -1 \\ \text{Match } x:\quad A + C &= 5 \implies 2 + C = 5 \implies C = 3 \\ \text{Match constants}:\quad B + D &= 4 \implies -1 + D = 4 \implies D = 5 \end{aligned}
Watch out: When plugging B=−1B = -1 into B+D=4B + D = 4, dropping the negative sign on −1-1 gives D=3D = 3 and the wrong answer 2x−1x2+1+3x+3(x2+1)2\frac{2x - 1}{x^2 + 1} + \frac{3x + 3}{(x^2 + 1)^2}.
2x−1x2+1+3x+5(x2+1)2\displaystyle \frac{2x - 1}{\irr{x^2 + 1}} + \frac{3x + 5}{\irr{(x^2 + 1)^2}}
6

Decompose 2x2+4x2−4\frac{2x^2 + 4}{x^2 - 4} into partial fractions.

Before factoring x2−4x^2 - 4, compare the highest power of xx on top and bottom. What do you need to do first when a fraction is top-heavy?

Because the numerator and denominator both have degree 22, divide x2−4x^2 - 4 into 2x2+42x^2 + 4 first to pull out the whole number part:
2x2+4x2−4=2(x2−4)+12x2−4=2+12x2−4\displaystyle \begin{aligned} \frac{2x^2 + 4}{x^2 - 4} &= \frac{2(x^2 - 4) + \rem{12}}{x^2 - 4} \\ &= 2 + \frac{\rem{12}}{x^2 - 4} \end{aligned}
Watch out: If you skip dividing and immediately set 2x2+4(x−2)(x+2)=Ax−2+Bx+2\frac{2x^2 + 4}{\lin{(x - 2)}\lintwo{(x + 2)}} = \frac{A}{\lin{x - 2}} + \frac{B}{\lintwo{x + 2}}, plugging in x=2\lin{x = 2} and x=−2\lintwo{x = -2} still gives A=3A = 3 and B=−3B = -3, leading you to write the wrong answer 3x−2−3x+2\frac{3}{x - 2} - \frac{3}{x + 2} with the 22 missing.
Now factor x2−4=(x−2)(x+2)x^2 - 4 = \lin{(x - 2)}\lintwo{(x + 2)} and decompose the proper remainder fraction:
12(x−2)(x+2)=Ax−2+Bx+212=A(x+2)+B(x−2)At x=2:12=4A  ⟹  A=3At x=−2:12=−4B  ⟹  B=−3\displaystyle \begin{aligned} \frac{\rem{12}}{\lin{(x - 2)}\lintwo{(x + 2)}} &= \frac{A}{\lin{x - 2}} + \frac{B}{\lintwo{x + 2}} \\ \rem{12} &= A\lintwo{(x + 2)} + B\lin{(x - 2)} \\ \text{At } \lin{x = 2}:\quad \rem{12} &= 4A \implies A = 3 \\ \text{At } \lintwo{x = -2}:\quad \rem{12} &= -4B \implies B = -3 \end{aligned}
2+3x−2−3x+2\displaystyle 2 + \frac{3}{\lin{x - 2}} - \frac{3}{\lintwo{x + 2}}