Integration TechniquesTopic #26 of 32

Partial Fractions

Decomposing rational functions for easier integration.

Overview

Partial fraction decomposition breaks a rational function into simpler fractions that are easier to integrate.

When to Use

For integrals of the form P(x)Q(x)dx\int \frac{P(x)}{Q(x)} \, dx where:

  • PP and QQ are polynomials
  • deg(P)<deg(Q)\deg(P) < \deg(Q)

If deg(P)deg(Q)\deg(P) \geq \deg(Q), divide first.

Cases

Case 1: Distinct Linear Factors

If Q(x)=(a1x+b1)(a2x+b2)(anx+bn)Q(x) = (a_1x + b_1)(a_2x + b_2)\cdots(a_nx + b_n):

P(x)Q(x)=A1a1x+b1+A2a2x+b2++Ananx+bn\frac{P(x)}{Q(x)} = \frac{A_1}{a_1x + b_1} + \frac{A_2}{a_2x + b_2} + \cdots + \frac{A_n}{a_nx + b_n}

Case 2: Repeated Linear Factors

If Q(x)Q(x) contains (ax+b)n(ax + b)^n:

+A1ax+b+A2(ax+b)2++An(ax+b)n+\cdots + \frac{A_1}{ax + b} + \frac{A_2}{(ax + b)^2} + \cdots + \frac{A_n}{(ax + b)^n} + \cdots

Case 3: Distinct Irreducible Quadratic Factors

If Q(x)Q(x) contains (ax2+bx+c)(ax^2 + bx + c) where b24ac<0b^2 - 4ac < 0:

+Ax+Bax2+bx+c+\cdots + \frac{Ax + B}{ax^2 + bx + c} + \cdots

Case 4: Repeated Irreducible Quadratic Factors

If Q(x)Q(x) contains (ax2+bx+c)n(ax^2 + bx + c)^n:

+A1x+B1ax2+bx+c++Anx+Bn(ax2+bx+c)n+\cdots + \frac{A_1x + B_1}{ax^2 + bx + c} + \cdots + \frac{A_nx + B_n}{(ax^2 + bx + c)^n} + \cdots

Finding Coefficients

Method 1: Equating Coefficients

Multiply both sides by Q(x)Q(x) and match coefficients of like powers.

Method 2: Strategic Substitution

Substitute values of xx that make factors zero.

Method 3: Cover-up Method (for distinct linear factors)

Cover up the factor in the denominator and evaluate at its root.

Examples

Example 1: Distinct linear factors

1(x1)(x+2)dx\int \frac{1}{(x-1)(x+2)} \, dx

Decompose: 1(x1)(x+2)=Ax1+Bx+2\frac{1}{(x-1)(x+2)} = \frac{A}{x-1} + \frac{B}{x+2}

1=A(x+2)+B(x1)1 = A(x+2) + B(x-1)

x=1x = 1: 1=3A1 = 3A, A=13A = \frac{1}{3}

x=2x = -2: 1=3B1 = -3B, B=13B = -\frac{1}{3}

[13(x1)13(x+2)]dx=13lnx113lnx+2+C\int \left[\frac{1}{3(x-1)} - \frac{1}{3(x+2)}\right] dx = \frac{1}{3}\ln|x-1| - \frac{1}{3}\ln|x+2| + C

=13lnx1x+2+C= \frac{1}{3}\ln\left|\frac{x-1}{x+2}\right| + C

Example 2: Repeated linear factor

2x+3(x1)2dx\int \frac{2x+3}{(x-1)^2} \, dx

Decompose: 2x+3(x1)2=Ax1+B(x1)2\frac{2x+3}{(x-1)^2} = \frac{A}{x-1} + \frac{B}{(x-1)^2}

2x+3=A(x1)+B2x + 3 = A(x-1) + B

x=1x = 1: 5=B5 = B

Coefficient of xx: 2=A2 = A

[2x1+5(x1)2]dx=2lnx15x1+C\int \left[\frac{2}{x-1} + \frac{5}{(x-1)^2}\right] dx = 2\ln|x-1| - \frac{5}{x-1} + C

Example 3: Irreducible quadratic

x+1x2+1dx\int \frac{x+1}{x^2+1} \, dx

=xx2+1dx+1x2+1dx= \int \frac{x}{x^2+1} \, dx + \int \frac{1}{x^2+1} \, dx

=12ln(x2+1)+arctan(x)+C= \frac{1}{2}\ln(x^2+1) + \arctan(x) + C

Example 4: Linear and quadratic factors

1(x1)(x2+1)dx\int \frac{1}{(x-1)(x^2+1)} \, dx

Decompose: 1(x1)(x2+1)=Ax1+Bx+Cx2+1\frac{1}{(x-1)(x^2+1)} = \frac{A}{x-1} + \frac{Bx+C}{x^2+1}

1=A(x2+1)+(Bx+C)(x1)1 = A(x^2+1) + (Bx+C)(x-1)

x=1x = 1: 1=2A1 = 2A, A=12A = \frac{1}{2}

Expanding: 1=Ax2+A+Bx2Bx+CxC1 = Ax^2 + A + Bx^2 - Bx + Cx - C

Comparing coefficients:

x2x^2: 0=A+B0 = A + B, so B=12B = -\frac{1}{2}

x0x^0: 1=AC1 = A - C, so C=12C = -\frac{1}{2}

[12(x1)+x/21/2x2+1]dx\int \left[\frac{1}{2(x-1)} + \frac{-x/2 - 1/2}{x^2+1}\right] dx

=12lnx114ln(x2+1)12arctan(x)+C= \frac{1}{2}\ln|x-1| - \frac{1}{4}\ln(x^2+1) - \frac{1}{2}\arctan(x) + C

Example 5: Long division first

x3x21dx\int \frac{x^3}{x^2-1} \, dx

Divide: x3÷(x21)=x+xx21x^3 \div (x^2-1) = x + \frac{x}{x^2-1}

=xdx+x(x1)(x+1)dx= \int x \, dx + \int \frac{x}{(x-1)(x+1)} \, dx

For second integral: x(x1)(x+1)=1/2x1+1/2x+1\frac{x}{(x-1)(x+1)} = \frac{1/2}{x-1} + \frac{1/2}{x+1}

=x22+12lnx1+12lnx+1+C= \frac{x^2}{2} + \frac{1}{2}\ln|x-1| + \frac{1}{2}\ln|x+1| + C

=x22+12lnx21+C= \frac{x^2}{2} + \frac{1}{2}\ln|x^2-1| + C