## Partial Fractions

### Learning Objectives

By the end of this section, you will be able to:

• Decompose $\frac{{P( x )}}{{ Q( x )}}$ , where Q( x ) has only nonrepeated linear factors.
• Decompose $\frac{{P( x )}}{{ Q( x )}}$ , where Q( x ) has repeated linear factors.
• Decompose $\frac{{P( x )}}{{ Q( x )}}$ , where Q( x ) has a nonrepeated irreducible quadratic factor.
• Decompose $\frac{{P( x )}}{{ Q( x )}}$ , where Q( x ) has a repeated irreducible quadratic factor.

Earlier in this chapter, we studied systems of two equations in two variables, systems of three equations in three variables, and nonlinear systems. Here we introduce another way that systems of equations can be utilized—the decomposition of rational expressions.

Fractions can be complicated; adding a variable in the denominator makes them even more so. The methods studied in this section will help simplify the concept of a rational expression.

## Decomposing P(x) / Q(x), Where Q(x) Has Only Nonrepeated Linear Factors

Recall the algebra regarding adding and subtracting rational expressions. These operations depend on finding a common denominator so that we can write the sum or difference as a single, simplified rational expression. In this section, we will look at partial fraction decomposition, which is the undoing of the procedure to add or subtract rational expressions. In other words, it is a return from the single simplified rational expression to the original expressions, called the partial fractions.

For example, suppose we add the following fractions:

$\frac{2}{x - 3}+\frac{-1}{x+2}$

We would first need to find a common denominator, $\left(x+2\right)\left(x - 3\right)$.

Next, we would write each expression with this common denominator and find the sum of the terms.

$\begin{array}{l}\frac{2}{x - 3}\left(\frac{x+2}{x+2}\right)+\frac{-1}{x+2}\left(\frac{x - 3}{x - 3}\right)=\hfill \\ \text{ }\frac{2x+4-x+3}{\left(x+2\right)\left(x - 3\right)}=\frac{x+7}{{x}^{2}-x - 6}\hfill \end{array}$

Partial fraction decomposition is the reverse of this procedure. We would start with the solution and rewrite (decompose) it as the sum of two fractions.

$\underset{\begin{array}{l}\\ \text{Simplified}\text{sum}\end{array}}{\frac{x+7}{{x}^{2}-x - 6}}=\underset{\begin{array}{l}\\ \text{Partial}\text{fraction}\text{decomposition}\end{array}}{\frac{2}{x - 3}+\frac{-1}{x+2}}$

We will investigate rational expressions with linear factors and quadratic factors in the denominator where the degree of the numerator is less than the degree of the denominator. Regardless of the type of expression we are decomposing, the first and most important thing to do is factor the denominator.

When the denominator of the simplified expression contains distinct linear factors, it is likely that each of the original rational expressions, which were added or subtracted, had one of the linear factors as the denominator. In other words, using the example above, the factors of ${x}^{2}-x - 6$ are $\left(x - 3\right)\left(x+2\right)$, the denominators of the decomposed rational expression. So we will rewrite the simplified form as the sum of individual fractions and use a variable for each numerator. Then, we will solve for each numerator using one of several methods available for partial fraction decomposition.

### A General Note: Partial Fraction Decomposition of $\frac{P\left(x\right)}{Q\left(x\right)}:Q\left(x\right)$ Has Nonrepeated Linear Factors

The partial fraction decomposition of $\frac{P\left(x\right)}{Q\left(x\right)}$ when $Q\left(x\right)$ has nonrepeated linear factors and the degree of $P\left(x\right)$ is less than the degree of $Q\left(x\right)$ is

$\frac{P\left(x\right)}{Q\left(x\right)}=\frac{{A}_{1}}{\left({a}_{1}x+{b}_{1}\right)}+\frac{{A}_{2}}{\left({a}_{2}x+{b}_{2}\right)}+\frac{{A}_{3}}{\left({a}_{3}x+{b}_{3}\right)}+\cdot \cdot \cdot +\frac{{A}_{n}}{\left({a}_{n}x+{b}_{n}\right)}$.

### How To: Given a rational expression with distinct linear factors in the denominator, decompose it.

1. Use a variable for the original numerators, usually $A,B,$ or $C$, depending on the number of factors, placing each variable over a single factor. For the purpose of this definition, we use ${A}_{n}$ for each numerator
$\frac{P\left(x\right)}{Q\left(x\right)}=\frac{{A}_{1}}{\left({a}_{1}x+{b}_{1}\right)}+\frac{{A}_{2}}{\left({a}_{2}x+{b}_{2}\right)}+\cdots \text{+}\frac{{A}_{n}}{\left({a}_{n}x+{b}_{n}\right)}$
2. Multiply both sides of the equation by the common denominator to eliminate fractions.
3. Expand the right side of the equation and collect like terms.
4. Set coefficients of like terms from the left side of the equation equal to those on the right side to create a system of equations to solve for the numerators.

### Example 1: Decomposing a Rational Function with Distinct Linear Factors

Decompose the given rational expression with distinct linear factors.

$\frac{3x}{\left(x+2\right)\left(x - 1\right)}$

### Solution

We will separate the denominator factors and give each numerator a symbolic label, like $A,B\text{\hspace{0.17em},}$ or $C$.

$\frac{3x}{\left(x+2\right)\left(x - 1\right)}=\frac{A}{\left(x+2\right)}+\frac{B}{\left(x - 1\right)}$

Multiply both sides of the equation by the common denominator to eliminate the fractions:

$\left(x+2\right)\left(x - 1\right)\left[\frac{3x}{\left(x+2\right)\left(x - 1\right)}\right]=\overline{)\left(x+2\right)}\left(x - 1\right)\left[\frac{A}{\overline{)\left(x+2\right)}}\right]+\left(x+2\right)\overline{)\left(x - 1\right)}\left[\frac{B}{\overline{)\left(x - 1\right)}}\right]$

The resulting equation is

$3x=A\left(x - 1\right)+B\left(x+2\right)$

Expand the right side of the equation and collect like terms.

$\begin{array}{l}3x=Ax-A+Bx+2B\\ 3x=\left(A+B\right)x-A+2B\end{array}$

Set up a system of equations associating corresponding coefficients.

$\begin{array}{l}3=A+B\\ 0=-A+2B\end{array}$

Add the two equations and solve for $B$.

$\begin{array}\text{ }3=A+B \\ 0=-A+2B \hfill& \\ \text{_____________} \\ 3=0+3B \hfill& \\ 1=B \hfill& \end{array}$

Substitute $B=1$ into one of the original equations in the system.

$\begin{array}{l}3=A+1\\ 2=A\end{array}$

Thus, the partial fraction decomposition is

$\frac{3x}{\left(x+2\right)\left(x - 1\right)}=\frac{2}{\left(x+2\right)}+\frac{1}{\left(x - 1\right)}$

Another method to use to solve for $A$ or $B$ is by considering the equation that resulted from eliminating the fractions and substituting a value for $x$ that will make either the A– or B-term equal 0. If we let $x=1$, the $A-$ term becomes 0 and we can simply solve for $B$.

$\begin{array}{l}\text{ }3x=A\left(x - 1\right)+B\left(x+2\right)\hfill \\ 3\left(1\right)=A\left[\left(1\right)-1\right]+B\left[\left(1\right)+2\right]\hfill \\ \text{ }3=0+3B\hfill \\ \text{ }1=B\hfill \end{array}$

Next, either substitute $B=1$ into the equation and solve for $A$, or make the B-term 0 by substituting $x=-2$ into the equation.

$\begin{array}{l}\text{ }3x=A\left(x - 1\right)+B\left(x+2\right)\hfill \\ \text{ }3\left(-2\right)=A\left[\left(-2\right)-1\right]+B\left[\left(-2\right)+2\right]\hfill \\ \text{ }-6=-3A+0\hfill \\ \text{ }\frac{-6}{-3}=A\hfill \\ \text{ 2}=A\hfill \end{array}$

We obtain the same values for $A$ and $B$ using either method, so the decompositions are the same using either method.

$\frac{3x}{\left(x+2\right)\left(x - 1\right)}=\frac{2}{\left(x+2\right)}+\frac{1}{\left(x - 1\right)}$

Although this method is not seen very often in textbooks, we present it here as an alternative that may make some partial fraction decompositions easier. It is known as the Heaviside method, named after Charles Heaviside, a pioneer in the study of electronics.

### Try It 1

Find the partial fraction decomposition of the following expression.

$\frac{x}{\left(x - 3\right)\left(x - 2\right)}$

## Decomposing P(x)/ Q(x), Where Q(x) Has Repeated Linear Factors

Some fractions we may come across are special cases that we can decompose into partial fractions with repeated linear factors. We must remember that we account for repeated factors by writing each factor in increasing powers.

### A General Note: Partial Fraction Decomposition of $\frac{P\left(x\right)}{Q\left(x\right)}:Q\left(x\right)$ Has Repeated Linear Factors

The partial fraction decomposition of $\frac{P\left(x\right)}{Q\left(x\right)}$, when $Q\left(x\right)$ has a repeated linear factor occurring $n$ times and the degree of $P\left(x\right)$ is less than the degree of $Q\left(x\right)$, is

$\frac{P\left(x\right)}{Q\left(x\right)}=\frac{{A}_{1}}{\left(ax+b\right)}+\frac{{A}_{2}}{{\left(ax+b\right)}^{2}}+\frac{{A}_{3}}{{\left(ax+b\right)}^{3}}+\cdot \cdot \cdot +\frac{{A}_{n}}{{\left(ax+b\right)}^{n}}$

Write the denominator powers in increasing order.

### How To: Given a rational expression with repeated linear factors, decompose it.

1. Use a variable like $A,B$, or $C$ for the numerators and account for increasing powers of the denominators.
$\frac{P\left(x\right)}{Q\left(x\right)}=\frac{{A}_{1}}{\left(ax+b\right)}+\frac{{A}_{2}}{{\left(ax+b\right)}^{2}}+ \text{. }\text{. }\text{. + }\frac{{A}_{n}}{{\left(ax+b\right)}^{n}}$
2. Multiply both sides of the equation by the common denominator to eliminate fractions.
3. Expand the right side of the equation and collect like terms.
4. Set coefficients of like terms from the left side of the equation equal to those on the right side to create a system of equations to solve for the numerators.

### Example 2: Decomposing with Repeated Linear Factors

Decompose the given rational expression with repeated linear factors.

$\frac{-{x}^{2}+2x+4}{{x}^{3}-4{x}^{2}+4x}$

### Solution

The denominator factors are $x{\left(x - 2\right)}^{2}$. To allow for the repeated factor of $\left(x - 2\right)$, the decomposition will include three denominators: $x,\left(x - 2\right)$, and ${\left(x - 2\right)}^{2}$. Thus,

$\frac{-{x}^{2}+2x+4}{{x}^{3}-4{x}^{2}+4x}=\frac{A}{x}+\frac{B}{\left(x - 2\right)}+\frac{C}{{\left(x - 2\right)}^{2}}$

Next, we multiply both sides by the common denominator.

$\begin{array}{l}x{\left(x - 2\right)}^{2}\left[\frac{-{x}^{2}+2x+4}{x{\left(x - 2\right)}^{2}}\right]=\left[\frac{A}{x}+\frac{B}{\left(x - 2\right)}+\frac{C}{{\left(x - 2\right)}^{2}}\right]x{\left(x - 2\right)}^{2}\hfill \\ \text{ }-{x}^{2}+2x+4=A{\left(x - 2\right)}^{2}+Bx\left(x - 2\right)+Cx\hfill \end{array}$

On the right side of the equation, we expand and collect like terms.

$\begin{array}{l}-{x}^{2}+2x+4=A\left({x}^{2}-4x+4\right)+B\left({x}^{2}-2x\right)+Cx\hfill \\ \text{ }=A{x}^{2}-4Ax+4A+B{x}^{2}-2Bx+Cx\hfill \\ \text{ }=\left(A+B\right){x}^{2}+\left(-4A - 2B+C\right)x+4A\hfill \end{array}$

Next, we compare the coefficients of both sides. This will give the system of equations in three variables:

$-{x}^{2}+2x+4=\left(A+B\right){x}^{2}+\left(-4A - 2B+C\right)x+4A$
$\begin{array}{rr}\hfill A+B=-1& \hfill \text{(1)}\\ \hfill -4A - 2B+C=2& \hfill \text{(2)}\\ \hfill 4A=4& \hfill \text{(3)}\end{array}$

Solving for $A$ , we have

$\begin{array}{l}4A=4\hfill \\ \text{ }A=1\hfill \end{array}$

Substitute $A=1$ into equation (1).

$\begin{array}{l}\text{ }A+B=-1\hfill \\ \left(1\right)+B=-1\hfill \\ \text{ }B=-2\hfill \end{array}$

Then, to solve for $C$, substitute the values for $A$ and $B$ into equation (2).

$\begin{array}{r}\hfill \text{ }-4A - 2B+C=2\\ \hfill -4\left(1\right)-2\left(-2\right)+C=2\\ \hfill \text{ }-4+4+C=2\\ \hfill \text{ }C=2\end{array}$

Thus,

$\frac{-{x}^{2}+2x+4}{{x}^{3}-4{x}^{2}+4x}=\frac{1}{x}-\frac{2}{\left(x - 2\right)}+\frac{2}{{\left(x - 2\right)}^{2}}$

### Try It 2

Find the partial fraction decomposition of the expression with repeated linear factors.

$\frac{6x - 11}{{\left(x - 1\right)}^{2}}$

## Decomposing P(x) / Q(x), Where Q(x) Has a Nonrepeated Irreducible Quadratic Factor

So far, we have performed partial fraction decomposition with expressions that have had linear factors in the denominator, and we applied numerators $A,B$, or $C$ representing constants. Now we will look at an example where one of the factors in the denominator is a quadratic expression that does not factor. This is referred to as an irreducible quadratic factor. In cases like this, we use a linear numerator such as $Ax+B,Bx+C$, etc.

### A General Note: Decomposition of $\frac{P\left(x\right)}{Q\left(x\right)}:Q\left(x\right)$ Has a Nonrepeated Irreducible Quadratic Factor

The partial fraction decomposition of $\frac{P\left(x\right)}{Q\left(x\right)}$ such that $Q\left(x\right)$ has a nonrepeated irreducible quadratic factor and the degree of $P\left(x\right)$ is less than the degree of $Q\left(x\right)$ is written as

$\frac{P\left(x\right)}{Q\left(x\right)}=\frac{{A}_{1}x+{B}_{1}}{\left({a}_{1}{x}^{2}+{b}_{1}x+{c}_{1}\right)}+\frac{{A}_{2}x+{B}_{2}}{\left({a}_{2}{x}^{2}+{b}_{2}x+{c}_{2}\right)}+\cdot \cdot \cdot +\frac{{A}_{n}x+{B}_{n}}{\left({a}_{n}{x}^{2}+{b}_{n}x+{c}_{n}\right)}$

The decomposition may contain more rational expressions if there are linear factors. Each linear factor will have a different constant numerator: $A,B,C$, and so on.

### How To: Given a rational expression where the factors of the denominator are distinct, irreducible quadratic factors, decompose it.

1. Use variables such as $A,B$, or $C$ for the constant numerators over linear factors, and linear expressions such as ${A}_{1}x+{B}_{1},{A}_{2}x+{B}_{2}$, etc., for the numerators of each quadratic factor in the denominator.
$\frac{P\left(x\right)}{Q\left(x\right)}=\frac{A}{ax+b}+\frac{{A}_{1}x+{B}_{1}}{\left({a}_{1}{x}^{2}+{b}_{1}x+{c}_{1}\right)}+\frac{{A}_{2}x+{B}_{2}}{\left({a}_{2}{x}^{2}+{b}_{2}x+{c}_{2}\right)}+\cdot \cdot \cdot +\frac{{A}_{n}x+{B}_{n}}{\left({a}_{n}{x}^{2}+{b}_{n}x+{c}_{n}\right)}$
2. Multiply both sides of the equation by the common denominator to eliminate fractions.
3. Expand the right side of the equation and collect like terms.
4. Set coefficients of like terms from the left side of the equation equal to those on the right side to create a system of equations to solve for the numerators.

### Example 3: Decomposing $\frac{P\left(x\right)}{Q\left(x\right)}$ When Q(x) Contains a Nonrepeated Irreducible Quadratic Factor

Find a partial fraction decomposition of the given expression.

$\frac{8{x}^{2}+12x - 20}{\left(x+3\right)\left({x}^{2}+x+2\right)}$

### Solution

We have one linear factor and one irreducible quadratic factor in the denominator, so one numerator will be a constant and the other numerator will be a linear expression. Thus,

$\frac{8{x}^{2}+12x - 20}{\left(x+3\right)\left({x}^{2}+x+2\right)}=\frac{A}{\left(x+3\right)}+\frac{Bx+C}{\left({x}^{2}+x+2\right)}$

We follow the same steps as in previous problems. First, clear the fractions by multiplying both sides of the equation by the common denominator.

$\begin{array}{l}\left(x+3\right)\left({x}^{2}+x+2\right)\left[\frac{8{x}^{2}+12x - 20}{\left(x+3\right)\left({x}^{2}+x+2\right)}\right]=\left[\frac{A}{\left(x+3\right)}+\frac{Bx+C}{\left({x}^{2}+x+2\right)}\right]\left(x+3\right)\left({x}^{2}+x+2\right)\hfill \\ \text{ }8{x}^{2}+12x - 20=A\left({x}^{2}+x+2\right)+\left(Bx+C\right)\left(x+3\right)\hfill \end{array}$

Notice we could easily solve for $A$ by choosing a value for $x$ that will make the $Bx+C$ term equal 0. Let $x=-3$ and substitute it into the equation.

$\begin{array}{l}\text{ }8{x}^{2}+12x - 20=A\left({x}^{2}+x+2\right)+\left(Bx+C\right)\left(x+3\right)\hfill \\ \text{ }8{\left(-3\right)}^{2}+12\left(-3\right)-20=A\left({\left(-3\right)}^{2}+\left(-3\right)+2\right)+\left(B\left(-3\right)+C\right)\left(\left(-3\right)+3\right)\hfill \\ \text{ }16=8A\hfill \\ \text{ }A=2\hfill \end{array}$

Now that we know the value of $A$, substitute it back into the equation. Then expand the right side and collect like terms.

$\begin{array}{l}\hfill \\ 8{x}^{2}+12x - 20=2\left({x}^{2}+x+2\right)+\left(Bx+C\right)\left(x+3\right)\hfill \\ 8{x}^{2}+12x - 20=2{x}^{2}+2x+4+B{x}^{2}+3B+Cx+3C\hfill \\ 8{x}^{2}+12x - 20=\left(2+B\right){x}^{2}+\left(2+3B+C\right)x+\left(4+3C\right)\hfill \end{array}$

Setting the coefficients of terms on the right side equal to the coefficients of terms on the left side gives the system of equations.

$\begin{array}{ll}\text{ }2+B=8\hfill & \text{(1)}\hfill \\ 2+3B+C=12\hfill & \text{(2)}\hfill \\ \text{ }4+3C=-20\hfill & \text{(3)}\hfill \end{array}$

Solve for $B$ using equation (1) and solve for $C$ using equation (3).

$\begin{array}{ll}\text{ }2+B=8\hfill & \text{(1)}\hfill \\ \text{ }B=6\hfill & \hfill \\ \hfill & \hfill \\ 4+3C=-20\hfill & \text{(3)}\hfill \\ \text{ }3C=-24\hfill & \hfill \\ \text{ }C=-8\hfill & \hfill \end{array}$

Thus, the partial fraction decomposition of the expression is

$\frac{8{x}^{2}+12x - 20}{\left(x+3\right)\left({x}^{2}+x+2\right)}=\frac{2}{\left(x+3\right)}+\frac{6x - 8}{\left({x}^{2}+x+2\right)}$

### Could we have just set up a system of equations to solve Example 3?

Yes, we could have solved it by setting up a system of equations without solving for $A$ first. The expansion on the right would be:

$\begin{array}{l}\begin{array}{l}\\ 8{x}^{2}+12x - 20=A{x}^{2}+Ax+2A+B{x}^{2}+3B+Cx+3C\end{array}\hfill \\ 8{x}^{2}+12x - 20=\left(A+B\right){x}^{2}+\left(A+3B+C\right)x+\left(2A+3C\right)\hfill \end{array}$

So the system of equations would be:

$\begin{array}{l}\text{ }A+B=8\hfill \\ A+3B+C=12\hfill \\ \text{ }2A+3C=-20\hfill \end{array}$

### Try It 3

Find the partial fraction decomposition of the expression with a nonrepeating irreducible quadratic factor.

$\frac{5{x}^{2}-6x+7}{\left(x - 1\right)\left({x}^{2}+1\right)}$

## Decomposing P(x) / Q(x), When Q(x) Has a Repeated Irreducible Quadratic Factor

Now that we can decompose a simplified rational expression with an irreducible quadratic factor, we will learn how to do partial fraction decomposition when the simplified rational expression has repeated irreducible quadratic factors. The decomposition will consist of partial fractions with linear numerators over each irreducible quadratic factor represented in increasing powers.

### A General Note: Decomposition of $\frac{P\left(x\right)}{Q\left(x\right)}$ When Q(x) Has a Repeated Irreducible Quadratic Factor

The partial fraction decomposition of $\frac{P\left(x\right)}{Q\left(x\right)}$, when $Q\left(x\right)$ has a repeated irreducible quadratic factor and the degree of $P\left(x\right)$ is less than the degree of $Q\left(x\right)$, is

$\frac{P\left(x\right)}{{\left(a{x}^{2}+bx+c\right)}^{n}}=\frac{{A}_{1}x+{B}_{1}}{\left(a{x}^{2}+bx+c\right)}+\frac{{A}_{2}x+{B}_{2}}{{\left(a{x}^{2}+bx+c\right)}^{2}}+\frac{{A}_{3}x+{B}_{3}}{{\left(a{x}^{2}+bx+c\right)}^{3}}+\cdot \cdot \cdot +\frac{{A}_{n}x+{B}_{n}}{{\left(a{x}^{2}+bx+c\right)}^{n}}$

Write the denominators in increasing powers.

### How To: Given a rational expression that has a repeated irreducible factor, decompose it.

1. Use variables like $A,B$, or $C$ for the constant numerators over linear factors, and linear expressions such as ${A}_{1}x+{B}_{1},{A}_{2}x+{B}_{2}$, etc., for the numerators of each quadratic factor in the denominator written in increasing powers, such as
$\frac{P\left(x\right)}{Q\left(x\right)}=\frac{A}{ax+b}+\frac{{A}_{1}x+{B}_{1}}{\left(a{x}^{2}+bx+c\right)}+\frac{{A}_{2}x+{B}_{2}}{{\left(a{x}^{2}+bx+c\right)}^{2}}+\cdots +\text{ }\frac{{A}_{n}+{B}_{n}}{{\left(a{x}^{2}+bx+c\right)}^{n}}$
2. Multiply both sides of the equation by the common denominator to eliminate fractions.
3. Expand the right side of the equation and collect like terms.
4. Set coefficients of like terms from the left side of the equation equal to those on the right side to create a system of equations to solve for the numerators.

### Example 4: Decomposing a Rational Function with a Repeated Irreducible Quadratic Factor in the Denominator

Decompose the given expression that has a repeated irreducible factor in the denominator.

$\frac{{x}^{4}+{x}^{3}+{x}^{2}-x+1}{x{\left({x}^{2}+1\right)}^{2}}$

### Solution

The factors of the denominator are $x,\left({x}^{2}+1\right)$, and ${\left({x}^{2}+1\right)}^{2}$. Recall that, when a factor in the denominator is a quadratic that includes at least two terms, the numerator must be of the linear form $Ax+B$. So, let’s begin the decomposition.

$\frac{{x}^{4}+{x}^{3}+{x}^{2}-x+1}{x{\left({x}^{2}+1\right)}^{2}}=\frac{A}{x}+\frac{Bx+C}{\left({x}^{2}+1\right)}+\frac{Dx+E}{{\left({x}^{2}+1\right)}^{2}}$

We eliminate the denominators by multiplying each term by $x{\left({x}^{2}+1\right)}^{2}$. Thus,

${x}^{4}+{x}^{3}+{x}^{2}-x+1=A{\left({x}^{2}+1\right)}^{2}+\left(Bx+C\right)\left(x\right)\left({x}^{2}+1\right)+\left(Dx+E\right)\left(x\right)$

Expand the right side.

$\begin{array}{l} \text{ }{x}^{4}+{x}^{3}+{x}^{2}-x+1=A\left({x}^{4}+2{x}^{2}+1\right)+B{x}^{4}+B{x}^{2}+C{x}^{3}+Cx+D{x}^{2}+Ex\hfill \\ \text{ }=A{x}^{4}+2A{x}^{2}+A+B{x}^{4}+B{x}^{2}+C{x}^{3}+Cx+D{x}^{2}+Ex\hfill \end{array}$

Now we will collect like terms.

${x}^{4}+{x}^{3}+{x}^{2}-x+1=\left(A+B\right){x}^{4}+\left(C\right){x}^{3}+\left(2A+B+D\right){x}^{2}+\left(C+E\right)x+A$

Set up the system of equations matching corresponding coefficients on each side of the equal sign.

$\begin{array}{l}\text{ }A+B=1\hfill \\ \text{ }C=1\hfill \\ 2A+B+D=1\hfill \\ \text{ }C+E=-1\hfill \\ \text{ }A=1\hfill \end{array}$

We can use substitution from this point. Substitute $A=1$ into the first equation.

$\begin{array}{l}1+B=1\hfill \\ \text{ }B=0\hfill \end{array}$

Substitute $A=1$ and $B=0$ into the third equation.

$\begin{array}{l}2\left(1\right)+0+D=1\hfill \\ \text{ }D=-1\hfill \end{array}$

Substitute $C=1$ into the fourth equation.

$\begin{array}{r}\hfill 1+E=-1\\ \hfill \text{ }E=-2\end{array}$

Now we have solved for all of the unknowns on the right side of the equal sign. We have $A=1$, $B=0$, $C=1$, $D=-1$, and $E=-2$. We can write the decomposition as follows:

$\frac{{x}^{4}+{x}^{3}+{x}^{2}-x+1}{x{\left({x}^{2}+1\right)}^{2}}=\frac{1}{x}+\frac{1}{\left({x}^{2}+1\right)}-\frac{x+2}{{\left({x}^{2}+1\right)}^{2}}$

### Try It 4

Find the partial fraction decomposition of the expression with a repeated irreducible quadratic factor.

$\frac{{x}^{3}-4{x}^{2}+9x - 5}{{\left({x}^{2}-2x+3\right)}^{2}}$

## Key Concepts

• Decompose $\frac{P\left(x\right)}{Q\left(x\right)}$ by writing the partial fractions as $\frac{A}{{a}_{1}x+{b}_{1}}+\frac{B}{{a}_{2}x+{b}_{2}}$. Solve by clearing the fractions, expanding the right side, collecting like terms, and setting corresponding coefficients equal to each other, then setting up and solving a system of equations.
• The decomposition of $\frac{P\left(x\right)}{Q\left(x\right)}$ with repeated linear factors must account for the factors of the denominator in increasing powers.
• The decomposition of $\frac{P\left(x\right)}{Q\left(x\right)}$ with a nonrepeated irreducible quadratic factor needs a linear numerator over the quadratic factor, as in $\frac{A}{x}+\frac{Bx+C}{\left(a{x}^{2}+bx+c\right)}$.
• In the decomposition of $\frac{P\left(x\right)}{Q\left(x\right)}$, where $Q\left(x\right)$ has a repeated irreducible quadratic factor, when the irreducible quadratic factors are repeated, powers of the denominator factors must be represented in increasing powers as

$\frac{Ax+B}{\left(a{x}^{2}+bx+c\right)}+\frac{{A}_{2}x+{B}_{2}}{{\left(a{x}^{2}+bx+c\right)}^{2}}+\cdots \text{+}\frac{{A}_{n}x+{B}_{n}}{{\left(a{x}^{2}+bx+c\right)}^{n}}$.

## Glossary

partial fractions
the individual fractions that make up the sum or difference of a rational expression before combining them into a simplified rational expression
partial fraction decomposition
the process of returning a simplified rational expression to its original form, a sum or difference of simpler rational expressions

## Section Exercises

1. Can any quotient of polynomials be decomposed into at least two partial fractions? If so, explain why, and if not, give an example of such a fraction

2. Can you explain why a partial fraction decomposition is unique? (Hint: Think about it as a system of equations.)

3. Can you explain how to verify a partial fraction decomposition graphically?

4. You are unsure if you correctly decomposed the partial fraction correctly. Explain how you could double-check your answer.

5. Once you have a system of equations generated by the partial fraction decomposition, can you explain another method to solve it? For example if you had $\frac{7x+13}{3{x}^{2}+8x+15}=\frac{A}{x+1}+\frac{B}{3x+5}$, we eventually simplify to $7x+13=A\left(3x+5\right)+B\left(x+1\right)$. Explain how you could intelligently choose an $x$ -value that will eliminate either $A$ or $B$ and solve for $A$ and $B$.

For the following exercises, find the decomposition of the partial fraction for the nonrepeating linear factors.

6. $\frac{5x+16}{{x}^{2}+10x+24}$

7. $\frac{3x - 79}{{x}^{2}-5x - 24}$

8. $\frac{-x - 24}{{x}^{2}-2x - 24}$

9. $\frac{10x+47}{{x}^{2}+7x+10}$

10. $\frac{x}{6{x}^{2}+25x+25}$

11. $\frac{32x - 11}{20{x}^{2}-13x+2}$

12. $\frac{x+1}{{x}^{2}+7x+10}$

13. $\frac{5x}{{x}^{2}-9}$

14. $\frac{10x}{{x}^{2}-25}$

15. $\frac{6x}{{x}^{2}-4}$

16. $\frac{2x - 3}{{x}^{2}-6x+5}$

17. $\frac{4x - 1}{{x}^{2}-x - 6}$

18. $\frac{4x+3}{{x}^{2}+8x+15}$

19. $\frac{3x - 1}{{x}^{2}-5x+6}$

For the following exercises, find the decomposition of the partial fraction for the repeating linear factors.

20. $\frac{-5x - 19}{{\left(x+4\right)}^{2}}$

21. $\frac{x}{{\left(x - 2\right)}^{2}}$

22. $\frac{7x+14}{{\left(x+3\right)}^{2}}$

23. $\frac{-24x - 27}{{\left(4x+5\right)}^{2}}$

24. $\frac{-24x - 27}{{\left(6x - 7\right)}^{2}}$

25. $\frac{5-x}{{\left(x - 7\right)}^{2}}$

26. $\frac{5x+14}{2{x}^{2}+12x+18}$

27. $\frac{5{x}^{2}+20x+8}{2x{\left(x+1\right)}^{2}}$

28. $\frac{4{x}^{2}+55x+25}{5x{\left(3x+5\right)}^{2}}$

29. $\frac{54{x}^{3}+127{x}^{2}+80x+16}{2{x}^{2}{\left(3x+2\right)}^{2}}$

30. $\frac{{x}^{3}-5{x}^{2}+12x+144}{{x}^{2}\left({x}^{2}+12x+36\right)}$

For the following exercises, find the decomposition of the partial fraction for the irreducible nonrepeating quadratic factor.

31. $\frac{4{x}^{2}+6x+11}{\left(x+2\right)\left({x}^{2}+x+3\right)}$

32. $\frac{4{x}^{2}+9x+23}{\left(x - 1\right)\left({x}^{2}+6x+11\right)}$

33. $\frac{-2{x}^{2}+10x+4}{\left(x - 1\right)\left({x}^{2}+3x+8\right)}$

34. $\frac{{x}^{2}+3x+1}{\left(x+1\right)\left({x}^{2}+5x - 2\right)}$

35. $\frac{4{x}^{2}+17x - 1}{\left(x+3\right)\left({x}^{2}+6x+1\right)}$

36. $\frac{4{x}^{2}}{\left(x+5\right)\left({x}^{2}+7x - 5\right)}$

37. $\frac{4{x}^{2}+5x+3}{{x}^{3}-1}$

38. $\frac{-5{x}^{2}+18x - 4}{{x}^{3}+8}$

39. $\frac{3{x}^{2}-7x+33}{{x}^{3}+27}$

40. $\frac{{x}^{2}+2x+40}{{x}^{3}-125}$

41. $\frac{4{x}^{2}+4x+12}{8{x}^{3}-27}$

42. $\frac{-50{x}^{2}+5x - 3}{125{x}^{3}-1}$

43. $\frac{-2{x}^{3}-30{x}^{2}+36x+216}{{x}^{4}+216x}$

For the following exercises, find the decomposition of the partial fraction for the irreducible repeating quadratic factor.

44. $\frac{3{x}^{3}+2{x}^{2}+14x+15}{{\left({x}^{2}+4\right)}^{2}}$

45. $\frac{{x}^{3}+6{x}^{2}+5x+9}{{\left({x}^{2}+1\right)}^{2}}$

46. $\frac{{x}^{3}-{x}^{2}+x - 1}{{\left({x}^{2}-3\right)}^{2}}$

47. $\frac{{x}^{2}+5x+5}{{\left(x+2\right)}^{2}}$

48. $\frac{{x}^{3}+2{x}^{2}+4x}{{\left({x}^{2}+2x+9\right)}^{2}}$

49. $\frac{{x}^{2}+25}{{\left({x}^{2}+3x+25\right)}^{2}}$

50. $\frac{2{x}^{3}+11x+7x+70}{{\left(2{x}^{2}+x+14\right)}^{2}}$

51. $\frac{5x+2}{x{\left({x}^{2}+4\right)}^{2}}$

52. $\frac{{x}^{4}+{x}^{3}+8{x}^{2}+6x+36}{x{\left({x}^{2}+6\right)}^{2}}$

53. $\frac{2x - 9}{{\left({x}^{2}-x\right)}^{2}}$

54. $\frac{5{x}^{3}-2x+1}{{\left({x}^{2}+2x\right)}^{2}}$

For the following exercises, find the partial fraction expansion.

55. $\frac{{x}^{2}+4}{{\left(x+1\right)}^{3}}$

56. $\frac{{x}^{3}-4{x}^{2}+5x+4}{{\left(x - 2\right)}^{3}}$

For the following exercises, perform the operation and then find the partial fraction decomposition.

57. $\frac{7}{x+8}+\frac{5}{x - 2}-\frac{x - 1}{{x}^{2}-6x - 16}$

58. $\frac{1}{x - 4}-\frac{3}{x+6}-\frac{2x+7}{{x}^{2}+2x - 24}$

59. $\frac{2x}{{x}^{2}-16}-\frac{1 - 2x}{{x}^{2}+6x+8}-\frac{x - 5}{{x}^{2}-4x}$