THE TECHNIQUE OF DIFFERENTIATION - THE CALCULUS - What Is Mathematics? An Elementary Approach to Ideas and Methods, 2nd Edition (1996)

What Is Mathematics? An Elementary Approach to Ideas and Methods, 2nd Edition (1996)

CHAPTER VIII. THE CALCULUS

§3. THE TECHNIQUE OF DIFFERENTIATION

Until now our efforts have been devoted to differentiating a variety of specific functions by transforming the difference quotients in preparation for passage to the limit. It was a decisive step when, through the work of Leibniz, Newton, and their successors, these individual devices were replaced by powerful general methods. By these methods one can differentiate almost automatically any function that normally occurs in mathematics, provided one has mastered a few simple rules and can recognize their applicability. Thus differentiation has acquired the character of an “algorithm” of calculation, and it is this aspect of the theory that is expressed by the term “calculus.”

We cannot go far into the details of this technique. Only a few simple rules will be mentioned.

(a) Differentiation of a sum. If a and b are constants and the function k(x) is given by

k(x) = af(x) + bg(x),

then, as the reader can easily verify,

k′(x) = af′(x) + bg′(x).

A similar rule holds for any number of terms.
(b) Differentiation of a product. For a product,

p(x) = f(x)g(x),

the derivative is

p′(x) = f(x)g′(x) + g(x)f′(x).

This is easily proved by the following device: we write, adding and subtracting the same term,

p(x + h) – p(x) = f(x + h)g(x + h) – f(x)g(x)

= f(x + h)g(x + h) – f(x + h)g(x) + f(x + h)g(x) – f(x)g(x),

and obtain, by combining the first two and the second two terms,

image

Now we let h approach zero; since f(x + h) approaches f(x), the statement to be proved follows immediately.

Exercise: Prove that the function p(x) = xn has the derivative p′(x) = nxn–1.

(Hint: Write xn = x·xn–1 and use mathematical induction.)

Using rules (a) and (b) we can differentiate any polynomial

f(x) = a0 + a1x + · · · + anxn;

the derivative is

f′(x) = a1 + 2a2x + 3a3x2 + · · · + nanxn–1.

As an application we may prove the binomial theorem (compare p. 17. This theorem concerns the expansion of (1 + x)n as a polynomial:

(1) J(x) = (1 + x)n = 1 + a1x + a2x2 + a3x3 + · · · + anxn, and states that the coefficient ak is given by the formula

(2) image

Of course, an = 1.

We have seen (Exercise, p. 421) that the left side of (1) differentiated yields n(1 + x)n–1. Thus by the preceding paragraph we obtain

(3) n(1 + x)n–1 = a1 + 2a2x + 3a3x2 + · · · + nanxn–1.

In this formula we now set x = 0 and find that n = a1, which is (2) for k = 1. Then we differentiate (3) again, obtaining

n(n – 1)(1 + x)n-2 = 2a2 + 3·2a3x +... + n(n – 1)anxn–2.

Substituting x = 0, we find n(n – 1) = 2a2 in agreement with (2) for k= 2.

Exercise: Prove (2) for k = 3, 4, and for general k by mathematical induction

(c) Differentiation of a quotient. If

image

then

image

The proof is left as an exercise. (Of course, we must assume g(x) ≠ 0.)

Exercise: Derive by this rule the formulas of page 422 for the derivatives of tan x and cot x from those for sin x and cos x. Prove that the derivatives of sec x = 1/cos x and cosec x = 1/sin x are sin x/cos2 x and –cos x/sin2 x respectively.

We are now able to differentiate any function that can be written as the quotient of two polynomials. For example,

image

has the derivative

image

Exercise: Differentiate

image

where m is a positive integer. The result is

f′(x) = –mxm–1,

(d) Differentiation of inverse functions. If

y = f(x) and x = g(y)

are inverse functions (e.g. y = x2 and image), then their derivatives are reciprocal:

image

This fact is easily proved by going back to the reciprocal difference quotients image and image respectively; it can also be seen from the geometrical interpretation of the inverse function given on page 281, if we refer the slope of the tangent to the y-axis instead of to the x-axis.

As an example we differentiate the function

image

inverse to x = ym. (See also the more direct treatment for m = image on p. 421.) Since the latter function has as its derivative the expression mym–1, we have

image

whence, after substituting image and ym = x–1, image, or

image.

As a further example we differentiate the inverse trigonometric function (see page 281):

y = arc tan x, which means the same as x = tan y.

Here the variable y, denoting the radian measure, is restricted to the interval Image so as to insure a unique definition of the inverse function.

Since we have (see page 422) D tan y = 1/cos2 y and since 1/cos2 y = (sin2 y + cos2 y)/cos2 y = 1 + tan2 y = 1 + x2, we find:

image

In the same way the reader may derive the following formulas:

image

Finally, we come to the important rule for

(e) Differentiation of compound functions. Such functions are compounded from two (or more) simpler ones (see p. 282). For example, image is compounded from z = sin y and y and image; the function image is compounded from z = y + y5 and image; z =

image

Fig. 272

image

Fig. 273

sin (x2) is a compound of z = sin y and y = x2; image is a compound of z = sin y and image

If two functions

z = g(y) and y = f(x)

are given, and if the latter function is substituted in the former, we obtain the compound function

z = k(x) = g[f(x)].

We assert that

(4)  k′(x) = g′(y)f′(x).

For if we write

image

where y = f(x1) and z1 = g(y1) = k(x1), and then let x1 approach x, the left side approaches k′(x) and the two factors on the right hand side approach g′(y) and f′(x) respectively, thus proving (4).

In this proof the condition y1y ≠ 0 was necessary. For we divided by Δy = y1y, and we cannot use values x1 for which y1y = 0. But the formula (4) remains valid even if Δy = 0 in an interval around x; y is then constant, f′(x) = 0, k(x) = g(y) is constant with respect to x (since y does not change with x), and hence k′(x) = 0, as (4) states in this case.

The reader should verify the following examples:

image

Exercise: Combining the results of pages 420 and 430, show that the function

image

has the derivative

image

It should be noted that all our formulas concerning powers of x can now be combined into a single one:

If r is any positive or negative rational number, then the function

f(x) = xr.

has the derivative

f′(x) = rxr–1.

Exercises: 1) Carry out the differentiations of the exercises on page 421 by using the rules of this section.

2) Differentiate the following functions: x sin x,image, (x3 – 3x2x + 1)3, 1 + sin2 x image arc sin (cos nx), image

3) Find the second derivatives of some of the preceding functions and of image, arc tan x, sin2 x, tan x.

4) Differentiate image *and prove the minimum properties of the light ray by reflection and by refraction stated in Chapter VII, pp. 330 and 382. The reflection or refraction is to be in the x-axis, and the coördinates of the endpoints of the path may bex1, y1 and x2, y2 respectively.

(Remark: The function possesses only one point with vanishing derivative; therefore, since a minimum but obviously no maximum occurs, there is no need to study the second derivative.)

More Problems on Maxima and Minima: 5) Find the extrema of the following functions, sketch their graphs, determine the intervals of increase, decrease, convexity, and concavity:

x3 – 6x + 2, x/(1 + x2), x2/(1 + x4), cos2 x.

6) Study the maxima and minima of the function x2+ 3ax + 1 in their dependence on a.

7) Which point of the hyperbola 2y2x2 = 2 is nearest to the point x = 0, y = 3?

8) Of all rectangles with given area find the one with the shortest diagonal.

9) Inscribe the rectangle of greatest area in the ellipse x2/a2 + y2/b2 = 1.

10) Of all circular cylinders with given volume find the one with the leastarea.