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