Real Partial Fraction Decomposition

Summary: Euler’s method (§199–§210) for resolving a real proper rational function into a sum of real partial fractions whose denominators are real linear factors or real quadratic trinomial factors . Extends the §39–§46 algorithm to handle the complex-root case without introducing complex numerators.

Sources: chapter12

Last updated: 2026-05-04


Setup

Let be a proper real rational function (see improper-rational-function if it is improper). By the §28–§32 theorem (the fundamental-theorem-of-algebra), factors over into real linear factors and real quadratic factors. Each real linear factor is handled by the Chapter 2 algorithm. Each real quadratic factor — the case Chapter 12 addresses — is normalized to the canonical form

with complex roots (source: chapter12, §200).

Distinct quadratic factors (§200–§205)

For one such factor of , the corresponding partial fraction has the form

with two unknown real coefficients and . The numerator is exactly first degree: a higher degree would leave behind a polynomial part (which should already have been removed) (source: chapter12, §200).

Derivation (§201)

Write . Subtracting from leaves a fraction whose numerator must be divisible by the trinomial — i.e. it must vanish at the trinomial’s two roots. Setting , De Moivre gives at the roots

(source: chapter12, §201).

Two real equations (§202)

Substituting both roots into and expanding the cosines/sines gives, in the abbreviations

the single complex equation . Separating real and imaginary parts:

(source: chapter12, §202–§203). Notice the pattern: come from substituting (resp. ) in ; come from the same substitution in ; from the same substitution in (which shifts every exponent by one).

Closed-form solution (§203)

The two-equation system gives

Once and are computed, the partial fraction is determined. Subtracting it from leaves a “complementary fraction” whose denominator is , which can be decomposed by the same rule applied to its own quadratic factors (and by the Chapter 2 algorithm for any linear factors).

Streamlined formula (§204–§205)

A direct calculation from the definitions gives

so and are not independent computations — they are determined by . Substituting into the §203 system yields

Plugging back gives the compact form

Only the four scalars are needed — half the trigonometric multiples of §203 (source: chapter12, §204–§205).

Worked Example I (§203)

Decompose using the factor .

Compare to : , , , hence . Here and , .

  • From : only the -coefficient contributes. , .
  • From : the -coefficient and the -coefficient contribute. , .
  • From : , .

Then and . The partial fraction is

Subtracting from the original gives the complementary fraction (using ). The complement still has denominator , two more trinomial factors with , decomposed identically in Example II (source: chapter12, §203).

Worked Example III (§203, abridged)

Decompose . The factor has , , . This is not a fractional part of a right angle, so , must be computed by the addition formulas: , , , , . With and (and ), the formulas give , , , , , , and finally , . The partial fraction is

A symmetric computation for the other factor (now , ) yields (source: chapter12, §203).

Repeated quadratic factors (§206–§210)

If divides , the algorithm above degenerates: after substituting the trinomial’s roots, both and vanish, and the §203 system becomes (source: chapter12, §206). A separate iterative procedure is needed.

Tower of partial fractions (§206)

Write where contains no further power of this trinomial. The contribution to the partial-fraction decomposition is the tower

(source: chapter12, §209). Each numerator pair has two unknowns; together there are unknowns to determine.

One step at a time (§207–§209)

Each numerator pair is found by a single application of a fixed formula. For the top numerator :

  • Substitute in to obtain the scalar , and in to obtain .
  • Substitute in to obtain , and in to obtain .
  • Then

(source: chapter12, §207). After are known, define the next polynomial

The numerator is divisible by the trinomial (this is what the formulas for guarantee), so is a polynomial. Apply the same formula to in place of : new substituted values (real and imaginary substitutions of ) replace ; the values are unchanged because has not changed. This produces . Then , then , then , and so on for rounds (source: chapter12, §208–§209).

Complementary fraction (§210)

The sequence of polynomials produced in the iteration is exactly what is needed for the complementary fraction with denominator . After all numerators in the tower have been extracted, the next polynomial in the sequence (call it the last one) is the numerator of the complement: for , ; for , ; for , ; and so on. The complement, having denominator which contains no further power of this trinomial, can itself be expressed in partial fractions by the §200–§205 rule applied to its own quadratic factors (source: chapter12, §210).

Worked example (§209)

Decompose . The repeated factor has , , , , , . Take , .

  • At : evaluates to , so , . evaluates to , so , .
  • .
  • .

So . The first partial fraction is .

Compute .

Repeat with : at , , so the new , new . unchanged (). Then , , so and the second partial fraction is .

Compute wait — .

Repeat: at , , so . Third partial fraction is .

Compute .

Repeat: at , , so the substituted values from are (real) and (imaginary). Then and . Fourth partial fraction is (source: chapter12, §209).

The complementary fraction has numerator , divided by :

Putting everything together (source: chapter12, §209):

The remaining piece could itself be decomposed into trinomial fractions by the §200–§205 rule (Example II of §203 does exactly this for the cousin denominator ).

General procedure

To decompose an arbitrary real proper rational function :

  1. If is improper, extract the polynomial part by division; see improper-rational-function.
  2. Factor over into real linear and real quadratic factors (see Chapter 9).
  3. For each real linear factor (distinct or repeated), use the Chapter 2 algorithm.
  4. For each distinct real quadratic trinomial factor, use §200–§205 to produce a single partial fraction .
  5. For each repeated real quadratic factor , use the §207–§209 iterative algorithm to produce the tower of partial fractions; the iteration’s last polynomial is the numerator of the complementary fraction.
  6. Sum all partial fractions (plus the polynomial part, if any). The result equals in fully real partial-fraction form.

Why this matters

A real partial-fraction decomposition is what makes rational functions tractable when working over :

  • Integration. Real linear pieces integrate to logarithms; real quadratic pieces integrate to a logarithm plus an arctangent (after completing the square). Without §200–§205, one would either work with complex partial fractions (and then re-pair them at the end) or simply not have a method.
  • Series expansion. Each real quadratic piece is, by the §62–§70 recurrent-series machinery, a power series whose coefficients satisfy a trigonometric recurrence . Real partial fractions therefore expose the trigonometric content of any real rational function’s series expansion.