## 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)}$