A rational function P(x)/Q(x) can be split into simple pieces that are easy to integrate. Factor the denominator, set up one term for each factor (one per power for a repeated factor, a linear numerator over a quadratic factor), and find the coefficients, quickly by the cover-up method where it works. If the numerator's degree is not lower than the denominator's, first divide the polynomials.
Some rational functions are easy: ∫(x−11+x+23)dx=ln∣x−1∣+3ln∣x+2∣+c (transcript, p. 1; notes, p. 1). But add the fractions over a common denominator, and the same function is disguised (pp. 1–2):
The same function, disguised
x−11+x+23=(x−1)(x+2)(x+2)+3(x−1)=x2+x−24x−1
In words
1 over the quantity x minus 1, plus 3 over the quantity x plus 2, equals the quantity the quantity x plus 2, all plus 3 the quantity x minus 1, all over the quantity the quantity x minus 1, the quantity x plus 2, equals the quantity 4 x minus 1, all over the quantity x squared plus x minus 2
The slow way clears all denominators, 4x−1=A(x+2)+B(x−1), and solves the simultaneous equations A+B=4, 2A−B=−1 (notes, p. 1). The quick way multiplies by just one factor. Multiplying by x−1 gives x+24x−1=A+x+2B(x−1), and at x=1 the B term drops out (transcript, p. 2):
Cover-up for A
A=1+24⋅1−1=1
In words
capital A equals the quantity 4 times 1 minus 1, all over the quantity 1 plus 2, equals 1
Setting x=1 looks illegal, since the original equation has x−1 in a denominator. But the multiplied equation holds for every x=1, so we may take the limitx→1 (p. 3). In the same way, multiplying by x+2 and setting x=−2 gives B=−2−1−8−1=3 (p. 3; notes, p. 2), and the disguise is undone.
In practice this is the cover-up method: cover up the factor x−1 on the left, plug x=1 into what is left, and read offA, with no writing in between (transcript, p. 4). It works when Q has distinct linear factors and the degree of P is less than the degree of Q (pp. 4–5). With more factors, put in one term each: (x−1)(x−2)(x+5)x2+3x+8=x−1A+x−2B+x+5C (p. 5).
When a factor repeats, the set-up needs one term for each power (transcript, p. 5; notes, p. 2):
Set-up with a repeated factor
(x−1)2(x+2)x2+2=x−1A+(x−1)2B+x+2C
In words
the quantity x squared plus 2, all over the quantity the quantity x minus 1, all squared the quantity x plus 2, equals capital A over the quantity x minus 1, plus B over the quantity x minus 1, all squared plus capital C over the quantity x plus 2
It is like writing a number in base 2: 167=20+221+231+241 needs every power up to the highest (p. 5). Cover-up still gives C (set x=−2: 94+2=32) and B (cover up the whole (x−1)2, set x=1: 1+21+2=1), but not A: multiplying by just x−1 leaves B/(x−1), which blows up at x=1 (p. 6). For A, plug in an easy value not used yet, x=0: 22=−A+1+31, so A=31 (p. 7). The three unknowns really solve a 3-by-3 system in disguise, and the bigger the denominator, the more arithmetic (p. 7):
Repeated factor, solved
(x−1)2(x+2)x2+2=x−11/3+(x−1)21+x+22/3
In words
the quantity x squared plus 2, all over the quantity the quantity x minus 1, all squared the quantity x plus 2, equals the quantity one third, all over the quantity x minus 1, plus 1 over the quantity x minus 1, all squared plus the quantity two thirds, all over the quantity x plus 2
A quadratic such as x2+1 does not factor without complex numbers; with them, cover-up comes back, which is how Heaviside first used it (transcript, p. 8). Over a quadratic factor the numerator is one degree lower, Bx+C (p. 8). For (x−1)(x2+1)x2=x−1A+x2+1Bx+C, cover-up gives A=1+11=21 (p. 8). For B and C, clear the denominators, x2=A(x2+1)+(Bx+C)(x−1), and compare coefficients: the x2 terms give 1=21+B, the constant terms 0=21−C, so B=C=21 (p. 9). The highest and lowest powers are the easiest to compare; plugging in numbers such as x=0 works too (p. 9). Then each piece integrates (p. 11):
the integral of x squared d x over the quantity the quantity x minus 1, the quantity x squared plus 1, equals one half log the absolute value of x minus 1 plus one quarter log of the quantity x squared plus 1, plus one half inverse tan x plus c
using (lnu)′=u′/u for the middle term (p. 11). The notes do the similar (x2+1)(x−1)1 (notes, pp. 2–3). A cubic such as x3+1 is not fully factored: it is (x+1)(x2−x+1), and every polynomial with real coefficients eventually splits into linear and quadratic factors (transcript, p. 10). (In the lecture the sign in x2−x+1 is left uncertain, p. 10.)
If the degree of P is at least the degree of Q, like an improper fraction, the set-up gives a wrong answer (transcript, pp. 8, 11). Multiply the denominator back out and use long division (pp. 11–12):
Long division first
(x−1)(x+2)x3=x2+x−2x3=x−1+x2+x−23x−2
In words
x cubed over the quantity the quantity x minus 1, the quantity x plus 2, equals x cubed over the quantity x squared plus x minus 2, equals x minus 1 plus the quantity 3 x minus 2, all over the quantity x squared plus x minus 2
The quotient x−1 is easy to integrate, and the remainder has a lower degree than the denominator, so cover-up now works (p. 12).
The notes add two cases that need no partial fractions at all: ∫(x−1)10dx=−91(x−1)−9+c, and ∫(x2+1)10dx, which x=tanu turns into ∫cos18udu, a trigonometric integral (notes, p. 3).
Cover-up: A=1+31+5=23 and B=−3−1−3+5=−21. So the integral is [23ln∣x−1∣−21ln∣x+3∣]23=23ln2−21ln56≈1.040−0.091=0.949.
(b) A repeated factor
Set up xA+x2B+x+1C. Cover up x2 and set x=0: B=1. Cover up x+1 and set x=−1: C=1. At x=1: 21=A+1+21, so A=−1. Check at x=2: −21+41+31=121=4⋅31.
(c) Divide first
The degrees are equal, so divide: x2−1x2+1=1+x2−12. Then cover-up on (x−1)(x+1)2 gives x−11−x+11, so the function is 1+x−11−x+11.
Steps: factor Q; set up one term per linear factor, one per power of a repeated factor, quadraticBx+C per quadratic factor; solve for the coefficients.
Cover-up: cover the factor x−a, set x=a in the rest. It finds the coefficients of distinct linear factors and of the highest power of a repeated one.
If the degree of P is not less than that of Q, do long division first.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
Of a relation or equation: using only first powers of the unknowns, so doubling the cause doubles the effect and effects simply add. Explained in Solving and rearranging formulas.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
A universe with exactly the critical density, whose space has no curvature and which expands forever, ever more slowly. Explained in Open, closed and flat universes.
The thing that undoes another: a matrix times its inverse gives the identity matrix, as a function followed by its inverse gives back the start. Explained in Planes through three points, and matrices.
To put numbers or expressions into a formula in place of its symbols.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).