A photo of math course notes written on a blackboard.

Today’s quiz consisted of a single indefinite integral with several guiding questions on navigating the process of Partial Fraction Decomposition.

Our first task is to factor the denominator: x33x218x=x(x+3)(x6)

Then, each unique factor gets its own fraction: Ax+Bx+3+Cx6

Once we have the form for the decomposition, we set our form equal to the original fraction that we want to decompose: Ax+Bx+3+Cx6=6x239x90x33x218x

From this there are multiple methods to reduce this down to a polynomial equation (multiply both sides by the common denominator, or manipulate each fraction until the common denominator is held by all fractions in the equation):A(x+3)(x6)+Bx(x6)+Cx(x+3)=6x239x90

A photo of math course notes written on a blackboard.

After using the distributive property on all products, we can see how the like terms must combine. Remember that this equation must hold for ALL values of x and we aim to find the values for A, B, and C.

For the x2 terms, the left side coefficients form A+B+C, which must match the coefficient of 6 on the right side.

For the x terms, the left side coefficients form 3A6B+3C, which must match the coefficient of 24 on the right.

And finally, there is only one constant term on each side, so they must be equal: 18A=90, which requires that A=5.

Once we know that A=5, the other two equations swap out A for 5, leaving two equations with two unknowns (B and C): B+C=1 and 6B+3C=24.

Either substitution or elimination methods may be used here to conclude that C=2 and B=3.

A photo of math course notes written on a blackboard.

Finally, once the values for A, B, and C are determined, we can return to the original task of integrating our original fraction. In its decomposed form, the fraction is more straightforward to integrate: 5xdx+3x+3dx+2x6dx

The first integral requires no additional techniques, since the antiderivative of 1x is ln|x|. The remaining two integrals have similar antiderivative, but require a quick substitution: u=x+3 in the second integral, and u=x6 in the third. 5ln|x|+3ln|x+3|2ln|x6|+C

After the quiz, it was time to continue looking at more possibilities for denominator factors. First, what happens if we see a factor repeated? For example (x1)2 (in other terms (x1)(x1)). It does not make sense to give “each factor” its own fraction, since there are two copies of the same factor. If we create two fractions with the same factor in the denominator, they can already combine and we are being redundant.

A photo of math course notes written on a blackboard.

Instead, we still look at two fractions, but one with denominator x1 and the second with denominator (x1)2. In fact, whenever we see repeated factors, we will take the same approach. For example: x2(x1)3=Ax1+B(x1)3+C(x1)3

In this way, we cover all possible degrees for a “proper” fraction with denominator (x1)3.

Working this one out (similar to the quiz problem) we reduce the equation to x2=A(x1)2+B(x1)+C

After lining up our like terms to create separate equations in A, B, and C, we quickly find that A=1 and from that we conclude that B=2 and C=1.

A photo of math course notes written on a blackboard.

If we then try to integrate our original fraction, we again can replace the fraction with its decomposition: 1x1dx+21(x1)2dx+1(x1)3dx

Each of these can be substituted with u=x1 (and du=dx): 1udu+21u2du+1u3du

The first integral is a natural logarithm, and the remaining two are power rule integrals: ln|x1|2u12u2+C

In the case of repeated quadratic factors, we have the same tactic: one fraction for each increasing repetition of the factor — and in each numerator we use the pattern dictated by the denominator: linear numerators when the denominator is quadratic, and constant numerators when the denominator is linear. x5(x2+4)2(x2)2=Ax+Bx2+4+Cx+D(x2+4)2+Ex2+F(x2)2

Recall that a quadratic factor is “irreducible” (cannot be factored further) whenever we have a perfect square plus a positive constant. x2+4 is an example of this, as would be (x+1)2+4 (in other terms x2+2x+5.

A photo of math course notes written on a blackboard.

So we know that with linear factors in the denominator, the integration technique will always be u-substitution. But what about quadratic factors in the denominator?

First we recognize that a denominator like x2+4 is reminiscent of integrals that result in arctangent. 1u2+a2du=1aarctan(ua)+C

This is fine for numerators that are constant. But what happens if we have a linear term in the numerator as well? In that case, we split into two distinct integrals: Ax+Bx2+4dx=Axx2+4dx+B1x2+4dx

A photo of math course notes written on a blackboard.

Since we’ve already handled the 1x2+4dx case, we only need to consider xx2+4dx.

This is going to be a u-substitution integral, since u=x2+4 has du=2xdx, and we have an x with our dx to easily substitute xdx=12du.

As a result: Axx2+4dx+B1x2+4dx=A2ln|x2+4|+B2arctan(x2)+C

It can get trickier, for example in the case where our denominator has a factor of x2+2x+5. We can tell that this quadratic is irreducible by using the quadratic formula to determine that it has complex roots. Using the technique known as “completing the square” we separate the +5 into +1+4 and recognize that x2+2x+1 is equivalent to (x+1)2.

A photo of math course notes written on a blackboard.

Trying to integrate a decomposition with this denominator is trickier than the last, but still uses the same techniques: separating the linear and constant factors — aiming for arctangent and natural logarithm.