### Learning Outcomes

- Decompose [latex]{\large\frac{P(x)}{Q(x)}}[/latex], where [latex]Q(x)[/latex] has only nonrepeated linear factors.
- Decompose [latex]{\large\frac{P(x)}{Q(x)}}[/latex], where [latex]Q(x)[/latex] has repeated linear factors.
- Decompose [latex]{\large\frac{P(x)}{Q(x)}}[/latex], where [latex]Q(x)[/latex] has a nonrepeated irreducible quadratic factor.
- Decompose [latex]{\large\frac{P(x)}{Q(x)}}[/latex], where [latex]Q(x)[/latex] 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.

## 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**. Some types of rational expressions require solving a system of equations in order to decompose them, in case you were wondering what partial fractions has to do with linear systems.

For example, suppose we add the following fractions:

[latex]\dfrac{2}{x - 3}+\dfrac{-1}{x+2}[/latex]

We would first need to find a common denominator,

[latex]\left(x+2\right)\left(x - 3\right)[/latex].

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

[latex]\begin{align} \dfrac{x+7}{{x}^{2}-x - 6}&=\dfrac{2}{x - 3}+\dfrac{-1}{x+2} \\[2mm]\text{Simplified sum}&\hspace{6mm}\text{Partial fraction decomposition} \end{align}[/latex]

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.

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

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 [latex]{x}^{2}-x - 6[/latex] are [latex]\left(x - 3\right)\left(x+2\right)[/latex], 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 [latex]\frac{P\left(x\right)}{Q\left(x\right)}:Q\left(x\right)[/latex] Has Nonrepeated Linear Factors

The **partial fraction decomposition** of [latex]\dfrac{P\left(x\right)}{Q\left(x\right)}[/latex] when [latex]Q\left(x\right)[/latex] has nonrepeated linear factors and the degree of [latex]P\left(x\right)[/latex] is less than the degree of [latex]Q\left(x\right)[/latex] is

[latex]\dfrac{P\left(x\right)}{Q\left(x\right)}=\dfrac{{A}_{1}}{\left({a}_{1}x+{b}_{1}\right)}+\dfrac{{A}_{2}}{\left({a}_{2}x+{b}_{2}\right)}+\dfrac{{A}_{3}}{\left({a}_{3}x+{b}_{3}\right)}+\cdot \cdot \cdot +\dfrac{{A}_{n}}{\left({a}_{n}x+{b}_{n}\right)}[/latex].

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

- Use a variable for the original numerators, usually [latex]A,B,[/latex] or [latex]C[/latex], depending on the number of factors, placing each variable over a single factor. For the purpose of this definition, we use [latex]{A}_{n}[/latex] for each numerator
[latex]\dfrac{P\left(x\right)}{Q\left(x\right)}=\dfrac{{A}_{1}}{\left({a}_{1}x+{b}_{1}\right)}+\dfrac{{A}_{2}}{\left({a}_{2}x+{b}_{2}\right)}+\cdots \text{+}\dfrac{{A}_{n}}{\left({a}_{n}x+{b}_{n}\right)}[/latex]
- Multiply both sides of the equation by the common denominator to eliminate fractions.
- Expand the right side of the equation and collect like terms.
- 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: Decomposing a Rational Expression with Distinct Linear Factors

Decompose the given **rational expression** with distinct linear factors.

[latex]\dfrac{3x}{\left(x+2\right)\left(x - 1\right)}[/latex]

### Try It

Find the partial fraction decomposition of the following expression.

[latex]\dfrac{x}{\left(x - 3\right)\left(x - 2\right)}[/latex]

In this video, you will see another example of how to find a partial fraction decomposition when you have linear factors.

## 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 [latex]\frac{P\left(x\right)}{Q\left(x\right)}:Q\left(x\right)[/latex] Has Repeated Linear Factors

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

[latex]\dfrac{P\left(x\right)}{Q\left(x\right)}=\dfrac{{A}_{1}}{\left(ax+b\right)}+\dfrac{{A}_{2}}{{\left(ax+b\right)}^{2}}+\dfrac{{A}_{3}}{{\left(ax+b\right)}^{3}}+\cdot \cdot \cdot +\dfrac{{A}_{n}}{{\left(ax+b\right)}^{n}}[/latex]

Write the denominator powers in increasing order.

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

- Use a variable like [latex]A,B[/latex], or [latex]C[/latex] for the numerators and account for increasing powers of the denominators.
[latex]\dfrac{P\left(x\right)}{Q\left(x\right)}=\dfrac{{A}_{1}}{\left(ax+b\right)}+\dfrac{{A}_{2}}{{\left(ax+b\right)}^{2}}+ \text{. }\text{. }\text{. + }\dfrac{{A}_{n}}{{\left(ax+b\right)}^{n}}[/latex]
- Multiply both sides of the equation by the common denominator to eliminate fractions.
- Expand the right side of the equation and collect like terms.
- 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: Decomposing with Repeated Linear Factors

Decompose the given rational expression with repeated linear factors.

[latex]\dfrac{-{x}^{2}+2x+4}{{x}^{3}-4{x}^{2}+4x}[/latex]

### Try It

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

[latex]\dfrac{6x - 11}{{\left(x - 1\right)}^{2}}[/latex]

In this video, you will see an example of how to find the partial fraction decomposition of a rational expression with repeated linear factors.

## Quadratic Factors

So far we have performed partial fraction decomposition with expressions that have had linear factors in the denominator, and we applied numerators [latex]A,B[/latex], or [latex]C[/latex] 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 [latex]Ax+B,Bx+C[/latex], etc.

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

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

[latex]\dfrac{P\left(x\right)}{Q\left(x\right)}=\dfrac{{A}_{1}x+{B}_{1}}{\left({a}_{1}{x}^{2}+{b}_{1}x+{c}_{1}\right)}+\dfrac{{A}_{2}x+{B}_{2}}{\left({a}_{2}{x}^{2}+{b}_{2}x+{c}_{2}\right)}+\cdot \cdot \cdot +\dfrac{{A}_{n}x+{B}_{n}}{\left({a}_{n}{x}^{2}+{b}_{n}x+{c}_{n}\right)}[/latex]

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

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

- Use variables such as [latex]A,B[/latex], or [latex]C[/latex] for the constant numerators over linear factors, and linear expressions such as [latex]{A}_{1}x+{B}_{1},{A}_{2}x+{B}_{2}[/latex], etc., for the numerators of each quadratic factor in the denominator.
[latex]\dfrac{P\left(x\right)}{Q\left(x\right)}=\dfrac{A}{ax+b}+\dfrac{{A}_{1}x+{B}_{1}}{\left({a}_{1}{x}^{2}+{b}_{1}x+{c}_{1}\right)}+\dfrac{{A}_{2}x+{B}_{2}}{\left({a}_{2}{x}^{2}+{b}_{2}x+{c}_{2}\right)}+\cdot \cdot \cdot +\dfrac{{A}_{n}x+{B}_{n}}{\left({a}_{n}{x}^{2}+{b}_{n}x+{c}_{n}\right)}[/latex]
- Multiply both sides of the equation by the common denominator to eliminate fractions.
- Expand the right side of the equation and collect like terms.
- 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: Decomposing [latex]\frac{P\left(x\right)}{Q\left(x\right)}[/latex] When *Q(x)* Contains a Nonrepeated Irreducible Quadratic Factor

Find a partial fraction decomposition of the given expression.

[latex]\dfrac{8{x}^{2}+12x - 20}{\left(x+3\right)\left({x}^{2}+x+2\right)}[/latex]

### Q & A

#### 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 [latex]A[/latex] first. The expansion on the right would be:*

[latex]\begin{align} 8{x}^{2}+12x - 20&=A{x}^{2}+Ax+2A+B{x}^{2}+3B+Cx+3C \\ 8{x}^{2}+12x - 20&=\left(A+B\right){x}^{2}+\left(A+3B+C\right)x+\left(2A+3C\right) \end{align}[/latex]

*So the system of equations would be:*

[latex]\begin{align}A+B=8 \\ A+3B+C=12 \\ 2A+3C=-20 \end{align}[/latex]

### Try It

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

[latex]\dfrac{5{x}^{2}-6x+7}{\left(x - 1\right)\left({x}^{2}+1\right)}[/latex]

In the following video, you will see another example of how to find the partial fraction decomposition for a rational expression that has quadratic factors.

## 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 [latex]\frac{P\left(x\right)}{Q\left(x\right)}[/latex] When *Q(x)* Has a Repeated Irreducible Quadratic Factor

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

[latex]\dfrac{P\left(x\right)}{{\left(a{x}^{2}+bx+c\right)}^{n}}=\dfrac{{A}_{1}x+{B}_{1}}{\left(a{x}^{2}+bx+c\right)}+\dfrac{{A}_{2}x+{B}_{2}}{{\left(a{x}^{2}+bx+c\right)}^{2}}+\dfrac{{A}_{3}x+{B}_{3}}{{\left(a{x}^{2}+bx+c\right)}^{3}}+\cdot \cdot \cdot +\dfrac{{A}_{n}x+{B}_{n}}{{\left(a{x}^{2}+bx+c\right)}^{n}}[/latex]

Write the denominators in increasing powers.

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

- Use variables like [latex]A,B[/latex], or [latex]C[/latex] for the constant numerators over linear factors, and linear expressions such as [latex]{A}_{1}x+{B}_{1},{A}_{2}x+{B}_{2}[/latex], etc., for the numerators of each quadratic factor in the denominator written in increasing powers, such as
[latex]\dfrac{P\left(x\right)}{Q\left(x\right)}=\dfrac{A}{ax+b}+\dfrac{{A}_{1}x+{B}_{1}}{\left(a{x}^{2}+bx+c\right)}+\dfrac{{A}_{2}x+{B}_{2}}{{\left(a{x}^{2}+bx+c\right)}^{2}}+\cdots +\text{ }\dfrac{{A}_{n}+{B}_{n}}{{\left(a{x}^{2}+bx+c\right)}^{n}}[/latex]
- Multiply both sides of the equation by the common denominator to eliminate fractions.
- Expand the right side of the equation and collect like terms.

### Example: 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.

[latex]\dfrac{{x}^{4}+{x}^{3}+{x}^{2}-x+1}{x{\left({x}^{2}+1\right)}^{2}}[/latex]

### Try It

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

[latex]\dfrac{{x}^{3}-4{x}^{2}+9x - 5}{{\left({x}^{2}-2x+3\right)}^{2}}[/latex]

This video provides you with another worked example of how to find the partial fraction decomposition for a rational expression that has repeating quadratic factors.

## Key Concepts

- Decompose [latex]\frac{P\left(x\right)}{Q\left(x\right)}[/latex] by writing the partial fractions as [latex]\frac{A}{{a}_{1}x+{b}_{1}}+\frac{B}{{a}_{2}x+{b}_{2}}[/latex]. 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 [latex]\frac{P\left(x\right)}{Q\left(x\right)}[/latex] with repeated linear factors must account for the factors of the denominator in increasing powers.
- The decomposition of [latex]\frac{P\left(x\right)}{Q\left(x\right)}[/latex] with a nonrepeated irreducible quadratic factor needs a linear numerator over the quadratic factor, as in [latex]\frac{A}{x}+\frac{Bx+C}{\left(a{x}^{2}+bx+c\right)}[/latex].
- In the decomposition of [latex]\frac{P\left(x\right)}{Q\left(x\right)}[/latex], where [latex]Q\left(x\right)[/latex] 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
[latex]\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}}[/latex].

## 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