Theory 1

A rational function is a ratio of polynomials, for example:

P(x)Q(x)=5x2+x−28x3−4x2+x+6

Partial fraction decomposition

The partial fraction decomposition of a rational function is a way of writing it as a sum of simple terms, like this:

3x3−5x2−6x+20x4−3x3+4x=−2x+1+2(x−2)2+5x

Allowed denominators:

  • Linear, e.g. x−a, or linear power, e.g. (x−a)n
  • Quadratic, e.g. x2+bx+c, or quadratic power, e.g. (x2+bx+c)n
    • Condition: quadratics must be irreducible. (No roots, i.e. b2<4c.)

Allowed numerators: constant (over linear power) or linear (over quadratic power)

These are allowed as simple terms in partial fraction decompositions:

1x2+1,2x+1x2+5,75x−8,1x,1x3

These are not allowed:

xx−1,x3+2x2+1,1x2−1,1x(x−1)

These are allowed, showing irreducible quadratic and higher powers:

xx2+1,x3+2x+1(x2+2)2

In this example the numerator is linear and the denominator is quadratic and irreducible.

center

To create a partial fraction decomposition, follow these steps:

  1. Check denominator degree is higher
    • Else do long division
  2. Factor denominator completely (even using irrational roots)
  3. Write the generic sum of partial fraction terms with their constants

Repeated factors – special treatment – incrementing powers

  1. Solve for constants

Theory 2

Partial fractions can be integrated using just a few techniques. Consider these terms:

Ax−a,A(x−a)2,A(x−a)3,…,andAx2+h2,andAx+Bx2+h2

Linear power bottom

In order to integrate terms like this:

A(x−a)n

If n=1 then use log:

∫Ax−adx=Aln⁡|x−a|+C

If n>1 then use power rule:

∫A(x−a)ndx≫≫∫A(x−a)−ndx≫≫A(x−a)−n+1−n+1+C

Quadratic bottom, constant top

Formula for simple irreducible quadratics:

∫dxx2+h2=1htan−1⁡(xh)+C

Memorize this formula!

Quadratic bottom, linear top

In order to integrate terms like this:

Ax+Bx2+h2

Break into separate terms:

Ax+Bx2+h2≫≫Axx2+h2+Bx2+h2

Then:

  • First term with x in top:
∫Axx2+h2dx≫≫A2ln⁡|x2+h2|+C
  • Second term lacking x in top:
∫Bx2+h2dx≫≫Bhtan−1⁡(xh)+C

Extra - “Rationalize a quotient” - convert into PFD

Sometimes an integrand may be converted to a rational function using a substitution.

Consider this integral:

∫x+4xdx

Set u=x+4, so x=u2−4 and dx=2udu:

≫≫∫2uduu2−4

Now this rational function has a partial fraction decomposition:

2uu2−4≫≫2u(u−2)(u+2)≫≫1u−2+1u+2

It is easy to integrate from there!

Practice exercises:

  • To compute ∫xx−1dx, try the substitution u=x.
  • To compute ∫dxx2−x3, try the substitution u=x6.
  • To compute ∫1x−x+2dx, try the substitution u=x+2.