Chapter VI · Derivatives and integrals
Derivatives of polynomials and rational functions
Polynomials differentiated term by term and factor by factor, what the derivative reveals about repeated roots, and rational functions through partial fractions, with a first proof that 1/x is not the derivative of any rational function.
Why this matters
With the rules of §114 we can differentiate any polynomial or rational function. §117 and §118 do this systematically, and two by-products turn out to matter more than the formulas. First, the derivative detects repeated roots: a polynomial and its derivative share a root exactly when that root is repeated. Second, partial fractions show that differentiating a rational function never produces a simple factor in the denominator, so is not the derivative of any rational function. The function whose derivative is must be something new, and in Chapter IX it turns out to be the logarithm.
The idea
A polynomial is a sum of multiples of powers, so by rules (1), (2) and it is differentiated term by term:
More revealing is the factored form. Write , with distinct roots (real or complex) of multiplicities . The product rule for many factors gives
Each term of the bracket cancels one factor . So a root of multiplicity survives in with multiplicity , and a simple root disappears.
Try this. Start with a double root at and simple roots at and . Watch the filled dot on the plot at . Raise the multiplicity of to , then make every root simple. Finally drag the roots together and apart.
- φ and its roots (bigger dot = higher multiplicity)
- φ′: repeated roots (filled) and the roots between (hollow)
What to notice
At a root of multiplicity the graph of touches or flattens against the axis, and has a root of multiplicity there. A simple root of is never a root of . Between any two neighbouring roots of there is always exactly one more root of (hollow dot), at the top or bottom of the hump. Counting both kinds always gives roots, so for a polynomial with only real roots these are all the roots of .
Precise statements
If , then . If , then .
Let be a polynomial and . If divides exactly (that is, is a root of multiplicity exactly ), then divides exactly. In particular, is a repeated root of if and only if and .
Between any two real roots of a polynomial lies a root of .
Hardy proves this one by algebra, valid for polynomials only. The general Rolle’s theorem comes in §122.
Rational functions are differentiated by the quotient rule, . The result is in lowest terms when has no repeated factor; otherwise it can be simplified. The cleaner route is through partial fractions. Algebra shows that can be written as a polynomial plus a sum of terms , where runs through the roots of and runs from up to the multiplicity of . This partial fraction decomposition is unique. By rule (4), extended to complex in §115,
If , then . In particular, for every integer , positive or negative (with when ).
If is the exact power of in the denominator of (in lowest terms), then the exact power in the denominator of is . Consequently the denominator of a derivative of a rational function never has a simple factor, and no rational function has derivative .
Proofs
Split off the factor and apply the product rule. The power drops by one, and the cofactor that remains does not vanish at .
Factor
Write , where is a polynomial with (that is what “exactly” means).
Differentiate
, where .
The cofactor does not vanish at
. So divides exactly.
The test for a repeated root
If then , so . If then is the exact power, so . Hence a root of is repeated exactly when .
Take two consecutive real roots . Remove the factors ; what remains has no root in , so it has one sign there. Then show that the cofactor of has opposite signs at and , and use the intermediate value property of a polynomial (§101).
Factor
, where is a polynomial with no root in . Being continuous and never zero there, has a fixed sign; say on .
Differentiate
, where .
Opposite signs at the ends
and .
Conclude
is a polynomial, hence continuous, so it vanishes at some with . Then . For two roots that are not consecutive, apply this to any consecutive pair between them.
Differentiate the partial fraction decomposition term by term. Every power of goes up by one, so the lowest power that can occur in a denominator is the second. Then use the uniqueness of the decomposition.
Term by term
. Here is a polynomial and every remaining term has exponent .
The highest power at
If is the exact power in the denominator of , then , so the term is present in and nothing else has as high a power of . So the exact power in the reduced denominator of is .
is not a derivative
Suppose for some rational . The decomposition of is the single term , a simple factor. By the first step, the decomposition of has no terms of exponent . Partial fraction decompositions are unique, so these cannot be the same function. (The same argument shows that any rational function whose denominator, in lowest terms, has a simple factor is not the derivative of a rational function.)
Try this. Differentiate each function on paper first, then pick the matching formula. For the last one, try both the quotient rule and partial fractions.
- φ′(x) from chord slopes
What to notice
The quotient rule and partial fractions must agree. Partial fractions often give the derivative almost without effort, which is why Hardy recommends them, especially for repeated differentiation (next lesson but one).
Worked examples and exercises
Show that if is a polynomial then is the coefficient of in the expansion of in powers of .
Hint
Solution
is a polynomial in (with coefficients depending on ): . Putting gives . So as . Thus .
Show that (with ) has a double root if and only if , using the derivative.
Hint
Solution
By the theorem on repeated roots, is a double root exactly when it is a root of both and . The derivative vanishes only at , and . So there is a double root exactly when .
Show that the equation (with , , real) can have a pair of equal roots only if .
Hint
Hint
Solution
With , the left side equals wherever . So the roots of the equation are those roots of the quadratic that differ from , and . A pair of equal roots of the equation is therefore a double root of , which requires the discriminant to vanish:
For real this forces . (Curiously, when the equation reads and has no roots at all, so in fact equal roots never occur.)
Show that and .
Solution
By the quotient rule, the first derivative is . For the second, . A quicker route for the second: , whose derivative is by the reciprocal rule.
Let . Find its partial fractions, differentiate, and check the claim about the denominator of .
Hint
Solution
. Putting gives ; putting gives ; comparing coefficients of gives , so . Thus , and
The denominator of contains and ; that of contains and , each power raised by one, and no simple factor, as the corollary predicts.
Check yourself
If is a polynomial with and , then divides .
True. If were a simple root, the theorem on repeated roots gives . So has multiplicity at least . This is Examples XLI, 3.
A polynomial of degree has the real roots (multiplicity ), (simple) and (multiplicity ), and no others. How many roots does have strictly between and , other than at , , themselves?
There is one root of in each of the gaps and . Together with multiplicity at and multiplicity at , this gives roots, which are all of them. The simple root is not a root of .
What is the derivative of at ?
By §118 the rule holds for negative integers: , which is at . (Or: and the reciprocal rule gives .)
There is a rational function with for all .
False. Derivatives of rational functions never have a simple factor such as in their reduced denominator, because differentiation raises every power of by one. So the function with derivative , the logarithm, is not rational. That is why it needs a chapter of its own (Chapter IX).
Hardy’s language
Summary
- Polynomials differentiate term by term; in factored form, .
- A root of multiplicity of is a root of multiplicity exactly of . So is a repeated root exactly when .
- Between two real roots of a polynomial lies a root of its derivative (Rolle, proved algebraically here).
- Rational functions: use partial fractions; , and for all integers .
- Differentiating raises each power in the denominator by one, so is not the derivative of a rational function.