Lesson 0.1 - Review of Partial Fraction Decomposition

One of the biggest tools that I forgot how to use when going into my differential equations course was partial fraction decomposition.

Partial fraction decomposition is a method that we can use to take complex rational expressions and break them down into their simplest forms, which will be the sum or difference of multiple rational expressions. This tool helps us integrate these rational expressions.

We must recall one important integral in order to continue. In our explorations of single-variable integration calculus, we discovered that the following statement is true.

1xdx=ln|x|

We also discovered that this would be true for any constant C in the numerator and a simple linear equation in the denominator.

Consider the following

2x+3=2ln|x+3|

Now, what if we had something a bit more complicated. Let's take a look at a simple rational expression that does not allow us to use the previous method of integration.

Consider the expression

12x29

Since the denominator of this equation is not a simple linear equation, we simply cannot integrate it the same way we had in the previous example. We must impose partial fraction decomposition.

In order to do so, we have a series of steps that we can follow.

Step 1: Completely factor the denominator into prime linear or quadratic factors. In our example above, the denominator is a difference of squares.

12(x3)(x+3)

Step 2: For linear factors: Each distinct linear factor of the form (px+q) include the following terms:

A(px+q)

For each repeated factor (px+q)n, we must include n terms of the form:

A(px+q)+B(px+q)+C(px+q)++Z(px+q)

In this case, we have two linear terms in the denominator: (x3) and (x+3). Thus, we have

Ax3+Bx+3

Step 3: For Quadratic Factors: Each distinct factor in the form ax2+bx+x include the following term:

Bx+C(ax2+bx+x)+Dx+E(ax2+bx+x)++Yx+Z(ax2+bx+x)

In the case above, we do not have quadratic factors in the denominator, so we can skip this step. However, we will go over an example of this later.

Step 4: Multiply each fraction by the LCD. Then solve the basic equation by determining the values of A,B,C,...,Z.

Before we get into step 4, let's look at what we've done so far.

12x29=12(x3)(x+3)=A(x3)+B(x+3)

Let's focus on the two right equations for step 4.

12(x3)(x+3)=A(x3)+B(x+3)

The goal here is to cancel out our denominators so that we can get a linear equation to solve for A and B. To do so, let's multiply both sides by the lowest common denominator, which is (x3)(x+3).

(x3)(x+3)1×12(x3)(x+3)=(A(x3)+B(x+3))×(x3)(x+3)1

Notice the denominators on both side cancel out, and we're left with

12=A(x+3)+B(x3)

Now that we have a simple linear expression, we can choose values of x that will cause A to become zero so we can solve for B, and vice versa. The clearest way to do this is to choose x=3 and x=3.

For x=3

12=A((3)+3)+B((3)3)

For ( x = 3 ), we substitute 3 into the equation:

12=A(3+3)+B(33)

This simplifies to:

12=A(6)+B(0)

So, ( A = \frac{12}{6} = 2 ).

Now, for ( x = -3 ), substitute ( -3 ) into the equation:

12=A((3)+3)+B((3)3)

This simplifies to:

12=A(0)+B(6)

So, B=126=2.

Now that we know ( A = 2 ) and ( B = -2 ), we can write our partial fraction decomposition as:

12(x3)(x+3)=2x32x+3

With this decomposition, we can now easily integrate the original expression. Applying the integral to both terms, we get:

12x29dx=(2x32x+3)dx

Using the integral formula we recalled earlier:

=2ln|x3|2ln|x+3|+C

Finally, we can combine these logarithmic terms if desired:

=2ln(|x3||x+3|)+C

The rational expression is decomposed, integrated, and simplified into its final form. This process of partial fraction decomposition can be applied to more complex rational expressions.

Example: Decomposing and Integrating with a Polynomial Numerator

Consider the expression:

2x+5x2x6

Step 1: Factor the Denominator

First, factor the quadratic in the denominator:

x2x6=(x3)(x+2)

So, we rewrite the expression as:

2x+5(x3)(x+2)

Step 2: Set Up the Partial Fraction Decomposition

Since we have two distinct linear factors in the denominator, we set up the decomposition as:

2x+5(x3)(x+2)=Ax3+Bx+2

Step 3: Multiply Both Sides by the LCD

Multiply both sides by the least common denominator, ( (x - 3)(x + 2) ), to eliminate the denominators:

2x+5=A(x+2)+B(x3)

Step 4: Solve for A and B

Expand the right-hand side:

2x+5=A(x+2)+B(x3)2x+5=A(x)+2A+B(x)3B

Combine like terms:

2x+5=(A+B)x+(2A3B)

Now, equate the coefficients of ( x ) and the constants from both sides. For the ( x )-terms:

A+B=2

For the constant terms:

2A3B=5

Step 5: Solve the System of Equations

We now solve the system of two equations:

  1. ( A + B = 2 )
  2. ( 2A - 3B = 5 )

From the first equation, solve for ( A ):

A=2B

Substitute this into the second equation:

2(2B)3B=5

Simplify:

42B3B=545B=5

Solve for ( B ):

5B=1B=15

Substitute ( B = -\frac{1}{5} ) into ( A + B = 2 ):

A15=2A=2+15=115

Step 6: Write the Decomposition

Now that we have ( A = \frac{11}{5} ) and ( B = -\frac{1}{5} ), we can write the partial fraction decomposition:

2x+5(x3)(x+2)=115x315x+2

Or, equivalently:

2x+5(x3)(x+2)=115(x3)15(x+2)

Step 7: Integrate Both Terms

Now that the expression is decomposed, we can integrate it:

2x+5(x3)(x+2)dx=(115(x3)15(x+2))dx

This integrates to:

=115ln|x3|15ln|x+2|+C

Finally, we can combine the logarithms if desired:

=15(11ln|x3|ln|x+2|)+C

Example: Decomposing and Integrating with a Higher-Degree Polynomial Numerator

Consider the expression:

x2+5x+6(x1)(x2+x+1)

Step 1: Factor the Denominator

The denominator already consists of one linear factor ( (x - 1) ) and one irreducible quadratic factor ( (x^2 + x + 1) ). Thus, no further factoring is necessary.

Step 2: Set Up the Partial Fraction Decomposition

Since we have one linear factor and one irreducible quadratic factor, we decompose the expression as follows:

x2+5x+6(x1)(x2+x+1)=Ax1+Bx+Cx2+x+1

Here, ( A ), ( B ), and ( C ) are constants that we need to determine.

Step 3: Multiply Both Sides by the LCD

Multiply both sides by the least common denominator, ( (x - 1)(x^2 + x + 1) ), to eliminate the denominators:

x2+5x+6=A(x2+x+1)+(Bx+C)(x1)

Step 4: Expand Both Sides

First, expand ( A(x^2 + x + 1) ):

A(x2+x+1)=Ax2+Ax+A

Next, expand ( (Bx + C)(x - 1) ):

(Bx+C)(x1)=Bx(x1)+C(x1)=Bx2Bx+CxC

So, we have:

x2+5x+6=Ax2+Ax+A+Bx2Bx+CxC

Step 5: Combine Like Terms

Now, combine like terms on the right-hand side:

x2+5x+6=(A+B)x2+(AB+C)x+(AC)

Step 6: Solve for ( A ), ( B ), and ( C )

Now, equate the coefficients of ( x^2 ), ( x ), and the constant terms from both sides of the equation.

For the ( x^2 )-terms:

A+B=1

For the ( x )-terms:

AB+C=5

For the constant terms:

AC=6

Step 7: Solve the System of Equations

We now solve the system of three equations:

  1. ( A + B = 1 )
  2. ( A - B + C = 5 )
  3. ( A - C = 6 )

From equation 3, solve for ( C ):

C=A6

Substitute this into equation 2:

AB+(A6)=5

Simplify:

2AB6=52AB=11

Now, we have the system:

  1. ( A + B = 1 )
  2. ( 2A - B = 11 )

Add the two equations:

(A+B)+(2AB)=1+113A=12A=4

Substitute ( A = 4 ) into ( A + B = 1 ):

4+B=1B=3

Now, substitute ( A = 4 ) into ( C = A - 6 ):

C=46=2

Step 8: Write the Decomposition

Now that we have ( A = 4 ), ( B = -3 ), and ( C = -2 ), we can write the partial fraction decomposition:

x2+5x+6(x1)(x2+x+1)=4x1+3x2x2+x+1

Step 9: Integrate Both Terms

Now that the expression is decomposed, we can integrate it:

x2+5x+6(x1)(x2+x+1)dx=4x1dx+3x2x2+x+1dx

The first integral is straightforward:

4x1dx=4ln|x1|

For the second integral, we use substitution. Let ( u = x^2 + x + 1 ), so ( du = (2x + 1) dx ). We rewrite the second integral as:

3x2x2+x+1dx

Step 10: Conclusion

After solving the integrals, the final result is:

x2+5x+6(x1)(x2+x+1)dx=4ln|x1|+(solution for the second integral)+C

This shows how partial fraction decomposition works for a higher-degree polynomial numerator.

Next Lesson: Lesson 1 - What Are Differential Equations? What Should I Know Before Beginning?

Table of Contents: Table of Contents