We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Guide allo studio > College Algebra

Partial Fractions: an Application of Systems

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:

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

We would first need to find a common denominator,

(x+2)(x3)\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.

2x3(x+2x+2)+1x+2(x3x3)= 2x+4x+3(x+2)(x3)=x+7x2x6\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.

x+7x2x6Simplified sum=2x3+1x+2Partial fraction decomposition\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}}

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 x2x6{x}^{2}-x - 6 are (x3)(x+2)\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 P(x)Q(x):Q(x)\frac{P\left(x\right)}{Q\left(x\right)}:Q\left(x\right) Has Nonrepeated Linear Factors

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

P(x)Q(x)=A1(a1x+b1)+A2(a2x+b2)+A3(a3x+b3)++An(anx+bn)\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,A,B, or CC, depending on the number of factors, placing each variable over a single factor. For the purpose of this definition, we use An{A}_{n} for each numerator
    P(x)Q(x)=A1(a1x+b1)+A2(a2x+b2)++An(anx+bn)\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: Decomposing a Rational Expression with Distinct Linear Factors

Decompose the given rational expression with distinct linear factors.

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

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

3x(x+2)(x1)=A(x+2)+B(x1)\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:

(x+2)(x1)[3x(x+2)(x1)]=)(x+2)(x1)[A)(x+2)]+(x+2))(x1)[B)(x1)]\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(x1)+B(x+2)3x=A\left(x - 1\right)+B\left(x+2\right)

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

3x=AxA+Bx+2B3x=(A+B)xA+2B\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.

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

Add the two equations and solve for BB.

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

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

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

Thus, the partial fraction decomposition is

3x(x+2)(x1)=2(x+2)+1(x1)\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 AA or BB is by considering the equation that resulted from eliminating the fractions and substituting a value for xx that will make either the A- or B-term equal 0. If we let x=1x=1, the AA- term becomes 0 and we can simply solve for BB.

 3x=A(x1)+B(x+2)3(1)=A[(1)1]+B[(1)+2] 3=0+3B 1=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=1B=1 into the equation and solve for AA, or make the B-term 0 by substituting x=2x=-2 into the equation.

 3x=A(x1)+B(x+2) 3(2)=A[(2)1]+B[(2)+2] 6=3A+0 63=A 2=A\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 AA and BB using either method, so the decompositions are the same using either method.

3x(x+2)(x1)=2(x+2)+1(x1)\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

Find the partial fraction decomposition of the following expression.

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

Answer: 3x32x2\frac{3}{x - 3}-\frac{2}{x - 2}

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. https://youtu.be/prtx4o1wbaQ

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

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

P(x)(ax2+bx+c)n=A1x+B1(ax2+bx+c)+A2x+B2(ax2+bx+c)2+A3x+B3(ax2+bx+c)3++Anx+Bn(ax2+bx+c)n\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,BA,B, or CC for the constant numerators over linear factors, and linear expressions such as A1x+B1,A2x+B2{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
    P(x)Q(x)=Aax+b+A1x+B1(ax2+bx+c)+A2x+B2(ax2+bx+c)2++ An+Bn(ax2+bx+c)n\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: 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.

x4+x3+x2x+1x(x2+1)2\frac{{x}^{4}+{x}^{3}+{x}^{2}-x+1}{x{\left({x}^{2}+1\right)}^{2}}

Answer: The factors of the denominator are x,(x2+1)x,\left({x}^{2}+1\right), and (x2+1)2{\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+BAx+B. So, let’s begin the decomposition.

x4+x3+x2x+1x(x2+1)2=Ax+Bx+C(x2+1)+Dx+E(x2+1)2\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(x2+1)2x{\left({x}^{2}+1\right)}^{2}. Thus,

x4+x3+x2x+1=A(x2+1)2+(Bx+C)(x)(x2+1)+(Dx+E)(x){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.

 x4+x3+x2x+1=A(x4+2x2+1)+Bx4+Bx2+Cx3+Cx+Dx2+Ex =Ax4+2Ax2+A+Bx4+Bx2+Cx3+Cx+Dx2+Ex\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.

x4+x3+x2x+1=(A+B)x4+(C)x3+(2A+B+D)x2+(C+E)x+A{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.

 A+B=1 C=12A+B+D=1 C+E=1 A=1\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=1A=1 into the first equation.

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

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

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

Substitute C=1C=1 into the fourth equation.

1+E=1 E=2\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=1A=1, B=0B=0, C=1C=1, D=1D=-1, and E=2E=-2. We can write the decomposition as follows:

x4+x3+x2x+1x(x2+1)2=1x+1(x2+1)x+2(x2+1)2\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

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

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

Answer: x2x22x+3+2x+1(x22x+3)2\frac{x - 2}{{x}^{2}-2x+3}+\frac{2x+1}{{\left({x}^{2}-2x+3\right)}^{2}}

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. https://youtu.be/Dupeou-FDnI

Key Concepts

  • Decompose P(x)Q(x)\frac{P\left(x\right)}{Q\left(x\right)} by writing the partial fractions as Aa1x+b1+Ba2x+b2\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 P(x)Q(x)\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 P(x)Q(x)\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 Ax+Bx+C(ax2+bx+c)\frac{A}{x}+\frac{Bx+C}{\left(a{x}^{2}+bx+c\right)}.
  • In the decomposition of P(x)Q(x)\frac{P\left(x\right)}{Q\left(x\right)}, where Q(x)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

    Ax+B(ax2+bx+c)+A2x+B2(ax2+bx+c)2++Anx+Bn(ax2+bx+c)n\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

Licenses & Attributions