Unit 6, lesson 75

Partial Fraction Decomposition (Quadratic Factors)

How to decompose a rational function whose denominator has quadratic factors with no real zeros, using linear numerators, one term for each power, and coefficient matching.

  • Theory part 149
  • Practice part 150
  • Partial Fractions

The fraction 1x2+1\frac{1}{x^2 + 1} cannot be split any further with real numbers. Its denominator is never zero for real xx, so it has no real linear factor, and quadratic factors like it turn up in denominators such as x3+xx^3 + x and x4−1x^4 - 1. Partial fractions still work with one change. Over such a quadratic factor the numerator is a linear expression Bx+CBx + C instead of a single constant.

Key terms

Proper rational function

Definition A rational function P(x)Q(x)\frac{P(x)}{Q(x)}, a quotient of polynomials with QQ not the zero polynomial, is proper if deg⁡P<deg⁡Q\deg P < \deg Q. Only proper rational functions are decomposed. An improper one is first divided, which gives PQ=S+RQ\frac{P}{Q} = S + \frac{R}{Q} with a polynomial SS and either R=0R = 0 or deg⁡R<deg⁡Q\deg R < \deg Q, valid wherever Q(x)≠0Q(x) \ne 0. A proper fraction over a quadratic has a numerator of degree at most 11, which is where linear numerators come from.

In plain words Make sure the top has lower degree than the bottom before you split anything. If it does not, long division comes first.

Example The function x3+2xx2+1\frac{x^3 + 2x}{x^2 + 1} is improper. Since x3+2x=x(x2+1)+xx^3 + 2x = x(x^2 + 1) + x,

x3+2xx2+1=x+xx2+1.\frac{x^3 + 2x}{x^2 + 1} = x + \frac{x}{x^2 + 1}.

The leftover fraction is proper, and it already has the form Bx+Cx2+1\frac{Bx + C}{x^2 + 1} with B=1B = 1 and C=0C = 0.

Irreducible real quadratic factor

Definition A quadratic ax2+bx+cax^2 + bx + c with real coefficients and a≠0a \ne 0 is irreducible over the real numbers if it cannot be written as a product of two linear polynomials with real coefficients. This happens exactly when it has no real zero, that is when its discriminant is negative,

b2−4ac<0.b^2 - 4ac < 0.

In plain words An irreducible quadratic is never zero for real xx, so it has no real factor x−rx - r to split off. A quadratic with irrational zeros is not irreducible, because those zeros still give real factors.

Example The quadratic x2+4x+5x^2 + 4x + 5 has discriminant 16−20=−416 - 20 = -4, so it is irreducible. Completing the square shows why, since x2+4x+5=(x+2)2+1x^2 + 4x + 5 = (x + 2)^2 + 1 is at least 11 for every real xx. By contrast, x2+4x+3=(x+1)(x+3)x^2 + 4x + 3 = (x + 1)(x + 3), and x2−2x^2 - 2 has discriminant 88 and factors as (x−2)(x+2)(x - \sqrt{2})(x + \sqrt{2}). Neither of those two is irreducible.

Real factorization

Definition Every polynomial with real coefficients and degree at least 11 can be written as its leading coefficient times a product of linear factors x−rx - r with real rr and irreducible quadratic factors x2+px+qx^2 + px + q with p2−4q<0p^2 - 4q < 0. This factorization is unique apart from the order of the factors. The reason comes from the fundamental theorem of algebra. The nonreal zeros of a real polynomial come in conjugate pairs a+bia + bi and a−bia - bi with b≠0b \ne 0, and each pair combines into a real quadratic factor

(x−(a+bi))(x−(a−bi))=x2−2ax+a2+b2,\begin{aligned} &\bigl(x - (a + bi)\bigr)\bigl(x - (a - bi)\bigr) \\[0.4em] &\quad = x^2 - 2ax + a^2 + b^2, \end{aligned}

whose discriminant −4b2-4b^2 is negative. So the only irreducible real polynomials are the linear ones and the quadratics with negative discriminant.

In plain words Over the real numbers every denominator breaks into linear pieces and quadratic pieces that cannot break further. Nothing of degree three or more is left unbroken.

Example For every real xx the value of x4+4x^4 + 4 is at least 44, so it has no real zero. It still factors, because

x4+4=(x2+2)2−(2x)2=(x2+2x+2)(x2−2x+2).\begin{aligned} &x^4 + 4 = (x^2 + 2)^2 - (2x)^2 \\[0.4em] &\quad = (x^2 + 2x + 2)(x^2 - 2x + 2). \end{aligned}

Both quadratics have discriminant 4−8=−44 - 8 = -4, so this is the real factorization. Its zeros are 1±i1 \pm i and −1±i-1 \pm i.

Linear numerator

Definition Let PQ\frac{P}{Q} be a proper rational function with real coefficients, and factor QQ over the reals. The decomposition contains the terms for the linear factors, as in the previous lesson, and each irreducible quadratic factor ax2+bx+cax^2 + bx + c that appears exactly once contributes one term

Bx+Cax2+bx+c\frac{Bx + C}{ax^2 + bx + c}

with real constants BB and CC. Either constant may turn out to be zero, but the form must allow both.

In plain words A linear factor gets a constant on top. A quadratic factor gets a linear expression on top, one degree less than the bottom.

Example The factor x−1x - 1 gets a constant and the factor x2+1x^2 + 1 gets a linear numerator, so the form is

3x2+2x−1(x−1)(x2+1)=Ax−1+Bx+Cx2+1.\begin{aligned} \frac{3x^2 + 2x - 1}{(x - 1)(x^2 + 1)} &= \frac{A}{x - 1} \\[0.8em] &\quad + \frac{Bx + C}{x^2 + 1}. \end{aligned}

Clearing denominators gives

3x2+2x−1=A(x2+1)+(Bx+C)(x−1).\begin{aligned} &3x^2 + 2x - 1 = A(x^2 + 1) \\[0.4em] &\quad + (Bx + C)(x - 1). \end{aligned}

Putting x=1x = 1 gives 4=2A4 = 2A, so A=2A = 2. The x2x^2 coefficients give 3=A+B3 = A + B, so B=1B = 1, and the constants give −1=A−C-1 = A - C, so C=3C = 3. The result is

3x2+2x−1(x−1)(x2+1)=2x−1+x+3x2+1.\begin{aligned} \frac{3x^2 + 2x - 1}{(x - 1)(x^2 + 1)} &= \frac{2}{x - 1} \\[0.8em] &\quad + \frac{x + 3}{x^2 + 1}. \end{aligned}

With only a constant CC over x2+1x^2 + 1, the right side would be Ax2+Cx+(A−C)Ax^2 + Cx + (A - C), and matching would need A=3A = 3, C=2C = 2 and A−C=−1A - C = -1 all at once, which is impossible.

Repeated powers

Definition If an irreducible quadratic factor ax2+bx+cax^2 + bx + c appears exactly mm times in the real factorization of QQ, it contributes mm terms, each with its own linear numerator,

B1x+C1ax2+bx+c+B2x+C2(ax2+bx+c)2+⋯+Bmx+Cm(ax2+bx+c)m.\begin{aligned} &\frac{B_1 x + C_1}{ax^2 + bx + c} + \frac{B_2 x + C_2}{(ax^2 + bx + c)^2} \\[0.8em] &\quad + \cdots + \frac{B_m x + C_m}{(ax^2 + bx + c)^m}. \end{aligned}

With these terms and the terms for the linear factors and their powers, every proper rational function with real coefficients has exactly one decomposition, valid wherever Q(x)≠0Q(x) \ne 0.

In plain words A squared quadratic factor gets two fractions, one over the factor and one over its square, and both get a linear numerator.

Example To decompose x3+2x+1(x2+1)2\frac{x^3 + 2x + 1}{(x^2 + 1)^2}, use the form

B1x+C1x2+1+B2x+C2(x2+1)2.\frac{B_1 x + C_1}{x^2 + 1} + \frac{B_2 x + C_2}{(x^2 + 1)^2}.

Clearing denominators shows that the numerator must equal (B1x+C1)(x2+1)+B2x+C2(B_1 x + C_1)(x^2 + 1) + B_2 x + C_2. Dividing the numerator by x2+1x^2 + 1 finds all four constants at once, since x3+2x+1=x(x2+1)+(x+1)x^3 + 2x + 1 = x(x^2 + 1) + (x + 1). So

x3+2x+1(x2+1)2=xx2+1+x+1(x2+1)2.\begin{aligned} \frac{x^3 + 2x + 1}{(x^2 + 1)^2} &= \frac{x}{x^2 + 1} \\[0.8em] &\quad + \frac{x + 1}{(x^2 + 1)^2}. \end{aligned}

Coefficient matching

Definition If a decomposition holds, then after multiplying both sides by Q(x)Q(x) they are polynomials that agree at all but finitely many xx, so they are the same polynomial and the coefficients of each power of xx match. This gives a linear system with exactly one solution. Real zeros of QQ still give quick equations by substitution, but an irreducible quadratic factor has no real zero to substitute. Its constants come from matching coefficients, or from substituting other convenient values such as x=0x = 0.

In plain words Plugging in roots finds the constants of the linear factors fast. For the quadratic factors, compare coefficients.

Example Since x3−8=(x−2)(x2+2x+4)x^3 - 8 = (x - 2)(x^2 + 2x + 4) and x2+2x+4x^2 + 2x + 4 has discriminant 4−16=−124 - 16 = -12, write

12x3−8=Ax−2+Bx+Cx2+2x+4.\frac{12}{x^3 - 8} = \frac{A}{x - 2} + \frac{Bx + C}{x^2 + 2x + 4}.

Clearing denominators and collecting powers of xx gives

12=(A+B)x2+(2A−2B+C)x+(4A−2C).\begin{aligned} 12 &= (A + B)x^2 \\[0.4em] &\quad + (2A - 2B + C)x \\[0.4em] &\quad + (4A - 2C). \end{aligned}

Putting x=2x = 2 in the unexpanded form, 12=A(4+4+4)12 = A(4 + 4 + 4), gives A=1A = 1. The x2x^2 coefficients give A+B=0A + B = 0, so B=−1B = -1, and the constants give 4A−2C=124A - 2C = 12, so C=−4C = -4. The xx coefficient checks out, since 2+2−4=02 + 2 - 4 = 0. The result is

12x3−8=1x−2−x+4x2+2x+4,\frac{12}{x^3 - 8} = \frac{1}{x - 2} - \frac{x + 4}{x^2 + 2x + 4},

and at x=0x = 0 both sides equal −32-\frac{3}{2}.

Check yourself

  1. Which of x2+x+1x^2 + x + 1, x2−5x^2 - 5 and 2x2+3x+22x^2 + 3x + 2 are irreducible over the real numbers?
Show the answer

The discriminants are 1−4=−31 - 4 = -3, then 0−4⋅(−5)=200 - 4 \cdot (-5) = 20, and 9−16=−79 - 16 = -7. So x2+x+1x^2 + x + 1 and 2x2+3x+22x^2 + 3x + 2 are irreducible, while x2−5=(x−5)(x+5)x^2 - 5 = (x - \sqrt{5})(x + \sqrt{5}) is not.

  1. Decompose x2+2x+3x3+x\frac{x^2 + 2x + 3}{x^3 + x}.
Show the answer

The denominator is x(x2+1)x(x^2 + 1), so write Ax+Bx+Cx2+1\frac{A}{x} + \frac{Bx + C}{x^2 + 1}. Then x2+2x+3=(A+B)x2+Cx+Ax^2 + 2x + 3 = (A + B)x^2 + Cx + A, which gives A=3A = 3, C=2C = 2 and B=−2B = -2. So

x2+2x+3x3+x=3x+−2x+2x2+1.\frac{x^2 + 2x + 3}{x^3 + x} = \frac{3}{x} + \frac{-2x + 2}{x^2 + 1}.
  1. Write the form of the decomposition of x4+1(x−2)2(x2+3)2\frac{x^4 + 1}{(x - 2)^2 (x^2 + 3)^2} without finding the constants.
Show the answer

The function is proper, with degrees 44 and 66, and x2+3x^2 + 3 is irreducible. The form has six constants, one for each degree of the denominator,

Ax−2+B(x−2)2+Cx+Dx2+3+Ex+F(x2+3)2.\begin{aligned} &\frac{A}{x - 2} + \frac{B}{(x - 2)^2} \\[0.8em] &\quad + \frac{Cx + D}{x^2 + 3} + \frac{Ex + F}{(x^2 + 3)^2}. \end{aligned}

How this lesson connects

Where this leads in Calculus