121. Some general theorems concerning derived functions.
In all that follows we suppose that ϕ(x) is a function of x which has a derivative ϕ'(x) for all values of x in question. This assumption of course involves the continuity of ϕ(x).
The meaning of the sign of ϕ'(x). Theorem A. If ϕ'(x_0) > 0 then ϕ(x) < ϕ(x_0) for all values of x less than x_0 but sufficiently near to x_0, and ϕ(x) > ϕ(x_0) for all values of x greater than x_0 but sufficiently near to x_0.
For {ϕ(x_0 + h) - ϕ(x_0)}/h converges to a positive limit ϕ'(x_0) as h → 0. This can only be the case if ϕ(x_0 + h) - ϕ(x_0) and h have the same sign for sufficiently small values of h, and this is precisely what the theorem states. Of course from a geometrical point of view the result is intuitive, the inequality ϕ'(x) > 0 expressing the fact that the tangent to the curve y = ϕ(x) makes a positive acute angle with the axis of x. The reader should formulate for himself the corresponding theorem for the case in which ϕ'(x) < 0.
An immediate deduction from Theorem A is the following important theorem, generally known as Rolle's Theorem. In view of the great importance of this theorem it may be well to repeat that its truth depends on the assumption of the existence of the derivative ϕ'(x) for all values of x in question.
[B.] If ϕ(a) = 0 and ϕ(b) = 0, then there must be at least one value of x which lies between a and b and for which ϕ'(x) = 0.
There are two possibilities: the first is that ϕ(x) is equal to zero throughout the whole interval [a, b]. In this case ϕ'(x) is also equal to zero throughout the interval. If on the other hand ϕ(x) is not always equal to zero, then there must be values of x for which ϕ(x) is positive or negative. Let us suppose, for example, that ϕ(x) is sometimes positive. Then, by Theorem 2 of §102, there is a value ξ of x, not equal to a or b, and such that ϕ(ξ) is at least as great as the value of ϕ(x) at any other point in the interval. And ϕ'(ξ) must be equal to zero. For if it were positive then ϕ(x) would, by Theorem A, be greater than ϕ(ξ) for values of x greater than ξ but sufficiently near to ξ, so that there would certainly be values of ϕ(x) greater than ϕ(ξ). Similarly we can show that ϕ'(ξ) cannot be negative.
[1.] If ϕ(a) = ϕ(b) = k, then there must be a value of x between a and b such that ϕ'(x) = 0.
We have only to put ϕ(x) - k = ψ(x) and apply Theorem B to ψ(x).
[2.] If ϕ'(x) > 0 for all values of x in a certain interval, then ϕ(x) is an increasing function of x, in the stricter sense of §95, throughout that interval.
Let x_1 and x_2 be two values of x in the interval in question, and x_1 < x_2. We have to show that ϕ(x_1) < ϕ(x_2). In the first place ϕ(x_1) cannot be equal to ϕ(x_2); for, if this were so, there would, by Theorem B, be a value of x between x_1 and x_2 for which ϕ'(x) = 0. Nor can ϕ(x_1) be greater than ϕ(x_2). For, since ϕ'(x_1) is positive, ϕ(x) is, by Theorem A, greater than ϕ(x_1) when x is greater than x_1 and sufficiently near to x_1. It follows that there is a value x_3 of x between x_1 andx_2 such that ϕ(x_3) = ϕ(x_1); and so, by Theorem B, that there is a value of x between x_1 and x_3 for which ϕ'(x) = 0.
[3.] The conclusion of Cor. 2 still holds if the interval [a, b] considered includes a finite number of exceptional values of x for which ϕ'(x) does not exist, or is not positive, provided ϕ(x) is continuous even for these exceptional values of x.
It is plainly sufficient to consider the case in which there is one exceptional value of x only, and that corresponding to an end of the interval, say to a. If a < x_1 < x_2 < b, we can choose a + δ so that a + δ < x_1, and ϕ'(x) > 0 throughout [a + δ, b], so that ϕ(x_1) < ϕ(x_2), by Cor. 2. All that remains is to prove that ϕ(a) < ϕ(x_1). Now ϕ(x_1) decreases steadily, and in the stricter sense, as x_1 decreases towards a, and so ϕ(a) = ϕ(a + 0) = lim _(x_1→ a+0) ϕ(x_1) < ϕ(x_1).
[4.] If ϕ'(x) > 0 throughout the interval [a, b], and ϕ(a) ≥ 0, then ϕ(x) is positive throughout the interval [a, b].
The reader should compare the second of these corollaries very carefully with Theorem A. If, as in Theorem A, we assume only that ϕ'(x) is positive at a single point x = x_0, then we can prove that ϕ(x_1) < ϕ(x_2) when x_1 and x_2 are sufficiently near to x_0 and x_1 < x_0 < x_2. For ϕ(x_1) < ϕ(x_0) and ϕ(x_2) > ϕ(x_0), by Theorem A. But this does not prove that there is any interval including x_0 throughout which ϕ(x) is a steadily increasing function, for the assumption that x_1 and x_2 lie on opposite sides of x_0 is essential to our conclusion. We shall return to this point, and illustrate it by an actual example, in a moment (§124).
122. Maxima and Minima.
We shall say that the value ϕ(ξ) assumed by ϕ(x) when x = ξ is a maximum if ϕ(ξ) is greater than any other value assumed by ϕ(x) in the immediate neighbourhood of x = ξ, i.e. if we can find an interval [ξ - δ, ξ + δ] of values of x such that ϕ(ξ) > ϕ(x) when ξ - δ < x < ξ and when ξ < x < ξ + δ; and we define a minimum in a similar manner. Thus in the figure the points A correspond to maxima, the points B to minima of the function whose graph is there shown. It is to be observed that the fact that A_3 corresponds to a maximum and B_1 to a minimum is in no way inconsistent with the fact that the value of the function is greater at B_1 than at A_3.
[C.] A necessary condition for a maximum or minimum value of ϕ(x) at x = ξ is that ϕ'(ξ) = 0. [Note: A function which is continuous but has no derivative may have maxima and minima. We are of course assuming the existence of the derivative.]
This follows at once from Theorem A. That the condition is not sufficient is evident from a glance at the point C in the figure. Thus if y = x^3 then ϕ'(x) = 3x^2, which vanishes when x = 0. But x = 0 does not give either a maximum or a minimum of x^3, as is obvious from the form of the graph of x^3 (Fig. 10, p.45).
But there will certainly be a maximum at x = ξ if ϕ'(ξ) = 0, ϕ'(x) > 0 for all values of x less than but near to ξ, and ϕ'(x) < 0 for all values of x greater than but near to ξ: and if the signs of these two inequalities are reversed there will certainly be a minimum. For then we can (by Cor. 3 of §121) determine an interval [ξ - δ, ξ] throughout which ϕ(x) increases with x, and an interval [ξ, ξ + δ] throughout which it decreases as x increases: and obviously this ensures that ϕ(ξ) shall be a maximum.
This result may also be stated thus. If the sign of ϕ'(x) changes at x = ξ from positive to negative, then x = ξ gives a maximum of ϕ(x): and if the sign of ϕ'(x) changes in the opposite sense, then x = ξ gives a minimum.
123.
There is another way of stating the conditions for a maximum or minimum which is often useful. Let us assume that ϕ(x) has a second derivative ϕ”(x): this of course does not follow from the existence of ϕ'(x), any more than the existence of ϕ'(x) follows from that of ϕ(x). But in such cases as we are likely to meet with at present the condition is generally satisfied.
[D.] If ϕ'(ξ) = 0 and ϕ”(ξ) ≠ 0, then ϕ(x) has a maximum or minimum at x = ξ, a maximum if ϕ”(ξ) < 0, a minimum if ϕ”(ξ) > 0.
Suppose, e.g., that ϕ”(ξ) < 0. Then, by Theorem A, ϕ'(x) is negative when x is less than ξ but sufficiently near to ξ, and positive when x is greater than ξ but sufficiently near to ξ. Thus x = ξ gives a maximum.
124.
In what has preceded (apart from the last paragraph) we have assumed simply that ϕ(x) has a derivative for all values of x in the interval under consideration. If this condition is not fulfilled the theorems cease to be true. Thus Theorem B fails in the case of the function y = 1 - √(x^2), where the square root is to be taken positive. The graph of this function is shown in Fig. 40. Here ϕ(-1) = ϕ(1) = 0: but ϕ'(x), as is evident from the figure, is equal to 1 if x is negative and to -1 if x is positive, and never vanishes. There is no derivative for x = 0, and no tangent to the graph at P. And in this case x = 0 obviously gives a maximum of ϕ(x), but ϕ'(0), as it does not exist, cannot be equal to zero, so that the test for a maximum fails.
The bare existence of the derivative ϕ'(x), however, is all that we have assumed. And there is one assumption in particular that we have not made, and that is that ϕ'(x) itself is a continuous function. This raises a rather subtle but still a very interesting point. Can a function ϕ(x) have a derivative for all values of x which is not itself continuous? In other words can a curve have a tangent at every point, and yet the direction of the tangent not vary continuously? The reader, if he considers what the question means and tries to answer it in the light of common sense, will probably incline to the answer No. It is, however, not difficult to see that this answer is wrong.
Consider the function ϕ(x) defined, when x ≠ 0, by the equation ϕ(x) = x^2 sin (1/x);
and suppose that ϕ(0) = 0. Then ϕ(x) is continuous for all values of x. If x ≠ 0 then ϕ'(x) = 2x sin (1/x) - cos (1/x);
while ϕ'(0) = lim _(h → 0) (h^2 sin (1/h))/h = 0.
Thus ϕ'(x) exists for all values of x. But ϕ'(x) is discontinuous for x = 0; for 2x sin (1/x) tends to 0 as x → 0, and cos (1/x) oscillates between the limits of indetermination -1 and 1, so that ϕ'(x) oscillates between the same limits.
What is practically the same example enables us also to illustrate the point referred to at the end of §121. Let ϕ(x) = x^2 sin (1/x) + ax, where 0 < a < 1, when x ≠ 0, and ϕ(0) = 0. Then ϕ'(0) = a > 0. Thus the conditions of Theorem A of §121 are satisfied. But if x ≠ 0 then ϕ'(x) = 2x sin (1/x) - cos (1/x) + a, which oscillates between the limits of indetermination a - 1 and a + 1 as x → 0. As a - 1 < 0, we can find values of x, as near to 0 as we like, for which ϕ'(x) < 0; and it is therefore impossible to find any interval, including x = 0, throughout which ϕ(x) is a steadily increasing function of x.
It is, however, impossible that ϕ'(x) should have what was called in Ch. V (Ex. xxxvii. 18) a `simple' discontinuity; e.g. that ϕ'(x) → a when x → +0, ϕ'(x) → b when x → -0, and ϕ'(0) = c, unless a = b = c, in which case ϕ'(x) is continuous for x = 0. For a proof see §125, Ex. xlvii. 3.
Examples XLVI.
1. Verify Theorem B when ϕ(x) = (x - a)^m (x - b)^n or ϕ(x) = (x - a)^m (x - b)^n (x - c)^p, where m, n, p are positive integers and a < b < c.
[The first function vanishes for x = a and x = b. And ϕ'(x) = (x - a)^(m-1) (x - b)^(n-1) {(m + n)x - mb - na} vanishes for x = (mb + na)/(m + n), which lies between a and b. In the second case we have to verify that the quadratic equation
(m + n + p)x^2 - {m(b + c) + n(c + a) + p(a + b)}x + mbc + nca + pab = 0 has roots between a and b and between b and c.]
2. Show that the polynomials
2x^3 + 3x^2 - 12x + 7, 3x^4 + 8x^3 - 6x^2 - 24x + 19 are positive when x > 1.
3. Show that x - sin x is an increasing function throughout any interval of values of x, and that tan x - x increases as x increases from -1/2π to 1/2π. For what values of a is ax - sin x a steadily increasing or decreasing function of x?
4. Show that tan x - x also increases from x = 1/2π to x = 3/2π, from x = 3/2π to x = 5/2π, and so on, and deduce that there is one and only one root of the equation tan x = x in each of these intervals (cf. Ex. xvii. 4).
5. Deduce from Ex. 3 that sin x - x < 0 if x > 0, from this that cos x - 1 + 1/2x^2 > 0, and from this that sin x - x + 1/6 x^3 > 0. And, generally, prove that if
C_(2m) = cos x - 1 + (x^2)/(2!) - … - (-1)^m (x^(2m))/((2m)!),
S_(2m+1) = sin x - x + (x^3)/(3!) - … - (-1)^m (x^(2m+1))/((2m+1)!), and x> 0, then C_(2m) and S_(2m+1) are positive or negative according as m is odd or even.
6. If f(x) and f”(x) are continuous and have the same sign at every point of an interval [a, b], then this interval can include at most one root of either of the equations f(x) = 0, f'(x) = 0.
7. The functions u, v and their derivatives u', v' are continuous throughout a certain interval of values of x, and uv' - u'v never vanishes at any point of the interval. Show that between any two roots of u = 0 lies one of v = 0, and conversely. Verify the theorem when u = cos x, v = sin x.
[If v does not vanish between two roots of u = 0, say α and β, then the function u/v is continuous throughout the interval [α, β] and vanishes at its extremities. Hence (u/v)' = (u'v - uv')/v^2 must vanish between α and β, which contradicts our hypothesis.]
8. Determine the maxima and minima (if any) of (x - 1)^2 (x + 2), x^3 - 3x, 2x^3 - 3x^2 - 36x + 10, 4x^3 - 18x^2 + 27x - 7, 3x^4 - 4x^3 + 1, x^5 - 15x^3 + 3. In each case sketch the form of the graph of the function.
[Consider the last function, for example. Here ϕ'(x) = 5x^2 (x^2 - 9), which vanishes for x = -3, x = 0, and x = 3. It is easy to see that x = -3 gives a maximum and x = 3 a minimum, while x = 0 gives neither, as ϕ'(x) is negative on both sides of x = 0.]
9. Discuss the maxima and minima of the function (x - a)^m (x - b)^n, where m and n are any positive integers, considering the different cases which occur according as m and n are odd or even. Sketch the graph of the function.
10. Discuss similarly the function (x - a) (x - b)^2 (x - c)^3, distinguishing the different forms of the graph which correspond to different hypotheses as to the relative magnitudes of a, b, c.
11. Show that (ax + b)/(cx + d) has no maxima or minima, whatever values a, b, c, d may have. Draw a graph of the function.
12. Discuss the maxima and minima of the function y = (ax^2 + 2bx + c)/(Ax^2 + 2Bx + C), when the denominator has complex roots.
[We may suppose a and A positive. The derivative vanishes if
(ax + b)(Bx + C) - (Ax + B)(bx + c) = 0. (1)
This equation must have real roots. For if not the derivative would always have the same sign, and this is impossible, since y is continuous for all values of x, and y → a/A as x → +∞ or x → -∞. It is easy to verify that the curve cuts the line y = a/A in one and only one point, and that it lies above this line for large positive values of x, and below it for large negative values, or vice versa, according as b/a > B/A or b/a < B/A. Thus the algebraically greater root of (1) gives a maximum if b/a > B/A, a minimum in the contrary case.]
13. The maximum and minimum values themselves are the values of λ for which ax^2 + 2bx + c - λ(Ax^2 + 2Bx + C) is a perfect square. [This is the condition that y = λ should touch the curve.]
14. In general the maxima and maxima of R(x) = P(x)/Q(x) are among the values of λ obtained by expressing the condition that P(x) - λ Q(x) = 0 should have a pair of equal roots.
15. If Ax^2 + 2Bx + C = 0 has real roots then it is convenient to proceed as follows. We have y - (a/A) = (λ x + μ)/{A(Ax^2 + 2Bx + C)}, where λ = bA - aB, μ = cA - aC. Writing further ξ for λ x + μ and η for (A/λ^2)(Ay - a), we obtain an equation of the form η = ξ/{(ξ - p)(ξ - q)}.
This transformation from (x, y) to (ξ, η) amounts only to a shifting of the origin, keeping the axes parallel to themselves, a change of scale along each axis, and (if λ < 0) a reversal in direction of the axis of abscissae; and so a minimum of y, considered as a function of x, corresponds to a minimum of η considered as a function of ξ, and vice versa, and similarly for a maximum.
The derivative of η with respect to ξ vanishes if
(ξ - p)(ξ - q) - ξ(ξ - p) - ξ(ξ - q) = 0, or if ξ^2 = pq. Thus there are two roots of the derivative if p and q have the same sign, none if they have opposite signs. In the latter case the form of the graph of η is as shown in Fig. 41a.
When p and q are positive the general form of the graph is as shown in Fig 41b, and it is easy to see that ξ = √pq gives a maximum and ξ = -√pq a minimum. [Note: The maximum is -1/(√p - √q)^2, the minimum -1/(√p + √q)^2, of which the latter is the greater.]
In the particular case in which p = q the function is η = ξ/(ξ - p)^2, and its graph is of the form shown in Fig. 41c.
The preceding discussion fails if λ = 0, i.e.if a/A = b/B. But in this case we have y - (a/A) = μ/{A(Ax^2 + 2Bx + C)} = μ/{A^2(x - x_1)(x - x_2)}, say, and dy/dx = 0 gives the single value x = 1/2(x_1 + x_2). On drawing a graph it becomes clear that this value gives a maximum or minimum according as μ is positive or negative. The graph shown in Fig. 42 corresponds to the former case.
[A full discussion of the general function y = (ax^2 + 2bx + c)/(Ax^2 + 2Bx + C), by purely algebraical methods, will be found in Chrystal's Algebra, vol i, pp. 464–7.]
16. Show that (x - α)(x - β)/(x - γ) assumes all real values as x varies, if γ lies between α and β, and otherwise assumes all values except those included in an interval of length 4√(|α - γ||β - γ|).
17. Show that y = (x^2 + 2x + c)/(x^2 + 4x + 3c)
can assume any real value if 0 < c < 1, and draw a graph of the function in this case. (Math. Trip. 1910.)
18. Determine the function of the form (ax^2 + 2bx + c)/(Ax^2 + 2Bx + C) which has turning values (i.e. maxima or minima) 2 and 3 when x = 1 and x = -1 respectively, and has the value 2.5 when x = 0. (Math. Trip. 1908.)
19. The maximum and minimum of (x + a) (x + b)/(x - a) (x - b), where a and b are positive, are
-((√a + √b)/(√a - √b))^2, -((√a - √b)/(√a + √b))^2.
20. The maximum value of (x - 1)^2/(x + 1)^3 is 2/27.
21. Discuss the maxima and minima of x(x - 1)/(x^2 + 3x + 3), x^4/(x - 1)(x - 3)^3,
(x - 1)^2(3x^2 - 2x - 37)/(x + 5)^2(3x^2 - 14x - 1).
(Math. Trip. 1898.)
[If the last function be denoted by P(x)/Q(x), it will be found that
P'Q - PQ' = 72(x - 7)(x - 3)(x - 1)(x + 1)(x + 2)(x + 5).]
22. Find the maxima and minima of a cos x + b sin x. Verify the result by expressing the function in the form A cos (x - a).
23. Find the maxima and minima of a^2 cos ^2 x + b^2 sin ^2 x, A cos ^2x + 2H cos x sin x + B sin ^2 x.
24. Show that sin (x + a)/ sin (x + b) has no maxima or minima. Draw a graph of the function.
25. Show that the function
( sin ^2x)/( sin (x + a) sin (x + b)) (0 < a < b < π)
has an infinity of minima equal to 0 and of maxima equal to
-4 sin a sin b/ sin ^2(a - b).
(Math. Trip. 1909.)
26. The least value of a^2 sec ^2x + b^2 cosec ^2x is (a + b)^2.
27. Show that tan 3x cot 2x cannot lie between 1/9 and 3/2.
28. Show that, if the sum of the lengths of the hypothenuse** [sic], variant spelling and another side of a right-angled triangle is given, then the area of the triangle is a maximum when the angle between those sides is 60°. (Math. Trip. 1909.)
29. A line is drawn through a fixed point (a, b) to meet the axes OX, OY in P and Q. Show that the minimum values of PQ, OP + OQ, and OP·OQ are respectively (a^(2/3) + b^(2/3))^(3/2), (√a + √b)^2, and 4ab.
30. A tangent to an ellipse meets the axes in P and Q. Show that the least value of PQ is equal to the sum of the semiaxes of the ellipse.
31. Find the lengths and directions of the axes of the conic ax^2 + 2hxy + by^2 = 1.
[The length r of the semi-diameter which makes an angle θ with the axis of x is given by
1/r^2 = a cos ^2 θ + 2h cos θ sin θ + b sin ^2 θ.
The condition for a maximum or minimum value of r is tan 2θ = 2h/(a - b). Eliminating θ between these two equations we find
{a - (1/r^2)}{b - (1/r^2)} = h^2.]
32. The greatest value of x^my^n, where x and y are positive and x + y = k, is m^m n^n k^(m+n)/(m + n)^(m+n).
33. The greatest value of ax + by, where x and y are positive and x^2 + xy + y^2 = 3κ^2, is
2κ √(a^2 - ab + b^2).
[If ax + by is a maximum then a + b(dy/dx) = 0. The relation between x and y gives (2x + y) + (x + 2y)(dy/dx) = 0. Equate the two values of dy/dx.]
34. If θ and ϕ are acute angles connected by the relation a sec θ + b sec ϕ = c, where a, b, c are positive, then a cos θ + b cos ϕ is a minimum when θ = ϕ.
125. The Mean Value Theorem.
We can proceed now to the proof of another general theorem of extreme importance, a theorem commonly known as `The Mean Value Theorem' or `The Theorem of the Mean'.
If ϕ(x) has a derivative for all values of x in the interval [a, b], then there is a value ξ of x between a and b, such that ϕ(b) - ϕ(a) = (b - a)ϕ'(ξ).
Before we give a strict proof of this theorem, which is perhaps the most important theorem in the Differential Calculus, it will be well to point out its obvious geometrical meaning. This is simply (see Fig. 43) that if the curve APB has a tangent at all points of its length then there must be a point, such as P, where the tangent is parallel to AB. For ϕ'(ξ) is the tangent of the angle which the tangent at P makes with OX, and {ϕ(b) - ϕ(a)}/(b - a) the tangent of the angle which AB makes with OX.
It is easy to give a strict analytical proof. Consider the function ϕ(b) - ϕ(x) - (b - x)/(b - a){ϕ(b) - ϕ(a)}, which vanishes when x = a and x = b. It follows from Theorem B of §121 that there is a value ξ for which its derivative vanishes. But this derivative is
(ϕ(b) - ϕ(a))/(b - a) - ϕ'(x);
which proves the theorem. It should be observed that it has not been assumed in this proof that ϕ'(x) is continuous.
It is often convenient to express the Mean Value Theorem in the form ϕ(b) = ϕ(a) + (b - a) ϕ'{a + θ(b - a)}, where θ is a number lying between 0 and 1. Of course a + θ(b - a) is merely another way of writing `some number ξ between a and b'. If we put b = a + h we obtain ϕ(a + h) = ϕ(a) + hϕ'(a + θ h), which is the form in which the theorem is most often quoted.
Examples XLVII.
1. Show that ϕ(b) - ϕ(x) - (b - x)/(b - a){ϕ(b) - ϕ(a)} is the difference between the ordinates of a point on the curve and the corresponding point on the chord.
2. Verify the theorem when ϕ(x) = x^2 and when ϕ(x) = x^3.
[In the latter case we have to prove that (b^3 - a^3)/(b - a) = 3ξ^2, where a < ξ < b; i.e. that if 1/3(b^2 + ab + a^2) = ξ^2 then ξ lies between a and b.]
3. Establish the theorem stated at the end of §124 by means of the Mean Value Theorem.
[Since ϕ'(0) = c, we can find a small positive value of x such that {ϕ(x) - ϕ(0)}/x is nearly equal to c; and therefore, by the theorem, a small positive value of ξ such that ϕ'(ξ) is nearly equal to c, which is inconsistent with lim _(x → +0) ϕ'(x) = a, unless a = c. Similarly b = c.]
4. Use the Mean Value Theorem to prove Theorem (6) of §113, assuming that the derivatives which occur are continuous.
[The derivative of F{f(x)} is by definition lim (F{f(x + h)} - F{f(x)})/h.
But, by the Mean Value Theorem, f(x + h) = f(x) + hf'(ξ), where ξ is a number lying between x and x + h. And
F{f(x) + hf'(ξ)} = F{f(x)} + hf'(ξ) F'(ξ_1), where ξ_1 is a number lying between f(x) and f(x) + hf'(ξ). Hence the derivative of F{f(x)} is lim f'(ξ) F'(ξ_1) = f'(x) F'{f(x)}, since ξ→ x and ξ_1 → f(x) as h → 0.]
126.
The Mean Value Theorem furnishes us with a proof of a result which is of great importance in what follows: if ϕ'(x) = 0, throughout a certain interval of values of x, then ϕ(x) is constant throughout that interval.
For, if a and b are any two values of x in the interval, then ϕ(b) - ϕ(a) = (b - a) ϕ'{a + θ(b - a)} = 0.
An immediate corollary is that if ϕ'(x) = ψ'(x), throughout a certain interval, then the functions ϕ(x) and ψ(x) differ throughout that interval by a constant.
127. Integration.
We have in this chapter seen how we can find the derivative of a given function ϕ(x) in a variety of cases, including all those of the commonest occurrence. It is natural to consider the converse question, that of determining a function whose derivative is a given function.
Suppose that ψ(x) is the given function. Then we wish to determine a function such that ϕ'(x) = ψ(x). A little reflection shows us that this question may really be analysed into three parts.
(1) In the first place we want to know whether such a function as ϕ(x) actually exists. This question must be carefully distinguished from the question as to whether (supposing that there is such a function) we can find any simple formula to express it.
(2) We want to know whether it is possible that more than one such function should exist, i.e. we want to know whether our problem is one which admits of a unique solution or not; and if not, we want to know whether there is any simple relation between the different solutions which will enable us to express all of them in terms of any particular one.
(3) If there is a solution, we want to know how to find an actual expression for it.
It will throw light on the nature of these three distinct questions if we compare them with the three corresponding questions which arise with regard to the differentiation of functions.
(1) A function ϕ(x) may have a derivative for all values of x, like x^m, where m is a positive integer, or sin x. It may generally, but not always have one, like 3√x or tan x or sec x. Or again it may never have one: for example, the function considered in Ex. xxxvii. 20, which is nowhere continuous, has obviously no derivative for any value of x. Of course during this chapter we have confined ourselves to functions which are continuous except for some special values of x. The example of the function 3√x, however, shows that a continuous function may not have a derivative for some special value of x, in this case x = 0. Whether there are continuous functions which never have derivatives, or continuous curves which never have tangents, is a further question which is at present beyond us. Common-sense says No: but, as we have already stated in §111, this is one of the cases in which higher mathematics has proved common-sense to be mistaken.
But at any rate it is clear enough that the question `has ϕ(x) a derivative ϕ'(x)?' is one which has to be answered differently in different circumstances. And we may expect that the converse question `is there a function ϕ(x) of which ψ(x) is the derivative?'will have different answers too. We have already seen that there are cases in which the answer is No: thus if ψ(x) is the function which is equal to a, b, or c according as x is less than, equal to, or greater than 0, then the answer is No (Ex. xlvii. 3), unless a = b = c.
This is a case in which the given function is discontinuous. In what follows, however, we shall always suppose ψ(x) continuous. And then the answer is Yes: if ψ(x) is continuous then there is always a function ϕ(x) such that ϕ'(x) = ψ(x). The proof of this will be given in Ch. VII.
(2) The second question presents no difficulties. In the case of differentiation we have a direct definition of the derivative which makes it clear from the beginning that there cannot possibly be more than one. In the case of the converse problem the answer is almost equally simple. It is that if ϕ(x) is one solution of the problem then ϕ(x) + C is another, for any value of the constant C, and that all possible solutions are comprised in the form ϕ(x) + C. This follows at once from §126.
(3) The practical problem of actually finding ϕ'(x) is a fairly simple one in the case of any function defined by some finite combination of the ordinary functional symbols. The converse problem is much more difficult. The nature of the difficulties will appear more clearly later on.
If ψ(x) is the derivative of ϕ(x), then we call ϕ(x) an integral or integral function of ψ(x). The operation of forming ψ(x) from ϕ(x) we call integration.
We shall use the notation ϕ(x) = ∫ψ(x) dx.
It is hardly necessary to point out that ∫… dx like d/dx must, at present at any rate, be regarded purely as a symbol of operation: the ∫ and the dx no more mean anything when taken by themselves than do the d and dx of the other operative symbol d/dx.
128. The practical problem of integration.
The results of the earlier part of this chapter enable us to write down at once the integrals of some of the commonest functions. Thus
∫ x^m dx = (x^(m+1))/(m + 1), ∫ cos x dx = sin x, ∫ sin x dx = - cos x. (1)
These formulae must be understood as meaning that the function on the right-hand side is one integral of that under the sign of integration. The most general integral is of course obtained by adding to the former a constant C, known as the arbitrary constant of integration.
There is however one case of exception to the first formula, that in which m = -1. In this case the formula becomes meaningless, as is only to be expected, since we have seen already (Ex. xlii. 4) that 1/x cannot be the derivative of any polynomial or rational fraction.
That there really is a function F(x) such that D_xF(x) = 1/x will be proved in the next chapter. For the present we shall be content to assume its existence. This function F(x) is certainly not a polynomial or rational function; and it can be proved that it is not an algebraical function. It can indeed be proved that F(x) is an essentially new function, independent of any of the classes of functions which we have considered yet, that is to say incapable of expression by means of any finite combination of the functional symbols corresponding to them. The proof of this is unfortunately too detailed and tedious to be inserted in this book; but some further discussion of the subject will be found in Ch. IX, where the properties of F(x) are investigated systematically.
Suppose first that x is positive. Then we shall write
∫ dx/x = log x, (2)
and we shall call the function on the right-hand side of this equation the logarithmic function: it is defined so far only for positive values of x.
Next suppose x negative. Then -x is positive, and so log (-x) is defined by what precedes. Also d/dx log (-x) = (-1)/(-x) = 1/x, so that, when x is negative,
∫ dx/x = log (-x). (3)
The formulae (2) and (3) may be united in the formulae
∫ dx/x = log (±x) = log |x|, (4)
where the ambiguous sign is to be chosen so that ±x is positive: these formulae hold for all real values of x other than x = 0.
The most fundamental of the properties of log x which will be proved in Ch. IX are expressed by the equations log 1 = 0, log (1/x) = - log x, log xy = log x + log y, of which the second is an obvious deduction from the first and third. It is not really necessary, for the purposes of this chapter, to assume the truth of any of these formulae; but they sometimes enable us to write our formulae in a more compact form than would otherwise be possible.
It follows from the last of the formulae that log x^2 is equal to 2 log x if x > 0 and to 2 log (-x) if x < 0, and in either case to 2 log |x|. Either of the formulae (4) is therefore equivalent to the formula
∫ dx/x = 1/2 log x^2. (5)
The five formulae (1)–(3) are the five most fundamental standard forms of the Integral Calculus. To them should be added two more, viz.
∫ dx/(1 + x^2) = arctan x, ∫ x/(√(1 - x^2)) = ± arcsin x. (6)
[Note: See §119 for the rule for determining the ambiguous sign.]
129. Polynomials.
All the general theorems of §113 may of course also be stated as theorems in integration. Thus we have, to begin with, the formulae
∫{f(x) + F(x)} dx = ∫ f(x) dx + ∫ F(x) dx, (1) ∫ kf(x) dx = k∫ f(x) dx. (2)
Here it is assumed, of course, that the arbitrary constants are adjusted properly. Thus the formula (1) asserts that the sum of any integral of f(x) and any integral of F(x) is an integral of f(x) + F(x).
These theorems enable us to write down at once the integral of any function of the form ∑ A_ν f_ν (x), the sum of a finite number of constant multiples of functions whose integrals are known. In particular we can write down the integral of any polynomial: thus
∫ (a_0x^n + a_1x^(n-1) + … + a_n) dx = (a_0x^(n+1))/(n + 1) + (a_1x^n)/n + … + a_nx.
130. Rational Functions.
After integrating polynomials it is natural to turn our attention next to rational functions. Let us suppose R(x) to be any rational function expressed in the standard form of §117, viz. as the sum of a polynomial Π(x) and a number of terms of the form A/(x - α)^p.
We can at once write down the integrals of the polynomial and of all the other terms except those for which p = 1, since
∫ A/((x - α)^p) dx = -A/(p - 1) 1/((x - α)^(p-1)), whether α be real or complex (§117).
The terms for which p = 1 present rather more difficulty. It follows immediately from Theorem (6) of §113 that
∫ F'{f(x)} f'(x) dx = F{f(x)}. (3)
In particular, if we take f(x) = ax + b, where a and b are real, and write ϕ(x) for F(x) and ψ(x) for F'(x), so that ϕ(x) is an integral of ψ(x), we obtain
∫ψ(ax + b) dx = 1/aϕ(ax + b). (4)
Thus, for example,
∫ dx/(ax + b) = 1/a log |ax + b|, and in particular, if α is real,
∫ dx/(x - α) = log |x - α|.
We can therefore write down the integrals of all the terms in R(x) for which p = 1 and α is real. There remain the terms for which p = 1 and α is complex.
In order to deal with these we shall introduce a restrictive hypothesis, viz. that all the coefficients in R(x) are real. Then if α = γ + δ i is a root of Q(x) = 0, of multiplicity m, so is its conjugate α̅ = γ - δ i; and if a partial fraction A_p/(x - α)^p occurs in the expression of R(x), so does A̅_p/(x - α̅)^p, where A̅_p is conjugate to A_p. This follows from the nature of the algebraical processes by means of which the partial fractions can be found, and which are explained at length in treatises on Algebra. [Note: See, for example, Chrystal's Algebra, vol. i, pp. 151–9.]
Thus, if a term (λ + μ i)/(x - γ - δ i) occurs in the expression of R(x) in partial fractions, so will a term (λ - μ i)/(x - γ + δ i); and the sum of these two terms is
(2{λ(x - γ) - μδ})/((x - γ)^2 + δ^2).
This fraction is in reality the most general fraction of the form
(Ax + B)/(ax^2 + 2bx + c), where b^2 < ac. The reader will easily verify the equivalence of the two forms, the formulae which express λ, μ, γ, δ in terms of A, B, a, b, c being λ = A/2a, μ = -D/(2a√Δ), γ = -b/a, δ = √Δ/a, where Δ = ac - b^2, and D = aB - bA.234
If in (3) we suppose F{f(x)} to be log |f(x)|, we obtain
∫ (f'(x))/(f(x)) dx = log |f(x)|; (5)
and if we further suppose that f(x) = (x - λ)^2 + μ^2, we obtain
∫ (2(x - λ))/((x - λ)^2 + μ^2) dx = log {(x - λ)^2 + μ^2}.
And, in virtue of the equations (6) of §128 and (4) above, we have
∫ (-2δμ)/((x - λ)^2 + μ^2) dx = -2δ arctan ((x - λ)/μ).
These two formulae enable us to integrate the sum of the two terms which we have been considering in the expression of R(x); and we are thus enabled to write down the integral of any real rational function, if all the factors of its denominator can be determined. The integral of any such function is composed of the sum of a polynomial, a number of rational functions of the type
-A/(p - 1) 1/((x - α)^(p-1)), a number of logarithmic functions, and a number of inverse tangents.
It only remains to add that if α is complex then the rational function just written always occurs in conjunction with another in which A and α are replaced by the complex numbers conjugate to them, and that the sum of the two functions is a real rational function.