CHAPTER IX.
INTRODUCING A USEFUL DODGE.
SOMETIMES one is stumped by finding that the expression to be differentiated is too complicated to tackle directly.
Thus, the equation is awkward to a beginner.
Now the dodge to turn the difficulty is this: Write some symbol, such as , for the expression ; then the equation becomes which you can easily manage; for
Then tackle the expression and differentiate it with respect to ,
Then all that remains is plain sailing; that is, and so the trick is done.
By and bye, when you have learned how to deal with sines, and cosines, and exponentials, you will find this dodge of increasing usefulness.
Examples.
Let us practise this dodge on a few examples.
(1) Differentiate .
Let .
(2) Differentiate .
Let .
(3) Differentiate .
Let .
(4) Differentiate .
Let .
(5) Differentiate .
Write this as . (We may also write and differentiate as a product.)
Proceeding as in example (1) above, we get
Hence or
(6) Differentiate .
We may write this
Differentiating , as shown in example (2) above, we get so that
(7) Differentiate .
Let .
Now let and .
Hence ,
(8) Differentiate .
We get
Let and .
Let and .
Hence
(9) Differentiate with respect to . (10) Find the first and second differential coefficients of .
Let and let ; then .
Hence
Now (We shall need these two last differential coefficients later on. See Ex. X. No. 11.)
Exercises VI. (See page 255 for Answers.)
Differentiate the following:
(1) .
(2) .
(3) .
(4) .
(5) .
(6) .
(7) .
(8) Differentiate with respect to .
(9) Differentiate .
The process can be extended to three or more differential coefficients, so that .
Examples.
(1) If , find .
We have
(2) If , find .
Hence an expression in which must be replaced by its value, and by its value in terms of .
(3) If and , find .
We get (see example 5, p. 68); and
So that .
Replace now first , then by its value.
Exercises VII. You can now successfully try the following. (See page 256 for Answers.)
(1) If and , find .
(2) If and , find .
(3) If and , find .
CHAPTER X.
GEOMETRICAL MEANING OF DIFFERENTIATION.
IT is useful to consider what geometrical meaning can be given to the differential coefficient.
In the first place, any function of , such, for example, as , or , or , can be plotted as a curve; and nowadays every schoolboy is familiar with the process of curve-plotting.
Fig. 7.
Let , in Fig. 7, be a portion of a curve plotted with respect to the axes of coordinates and . Consider any point on this curve, where the abscissa of the point is and its ordinate is . Now observe how changes when is varied. If is made to increase by a small increment , to the right, it will be observed that also (in this particular curve) increases by a small increment (because this particular curve happens to be an ascending curve). Then the ratio of to is a measure of the degree to which the curve is sloping up between the two points and . As a matter of fact, it can be seen on the figure that the curve between and has many different slopes, so that we cannot very well speak of the slope of the curve between and . If, however, and are so near each other that the small portion of the curve is practically straight, then it is true to say that the ratio is the slope of the curve along . The straight line produced on either side touches the curve along the portion only, and if this portion is indefinitely small, the straight line will touch the curve at practically one point only, and be therefore a tangent to the curve.
This tangent to the curve has evidently the same slope as , so that is the slope of the tangent to the curve at the point for which the value of is found.
We have seen that the short expression "the slope of a curve" has no precise meaning, because a curve has so many slopes-in fact, every small portion of a curve has a different slope. "The slope of a curve at a point" is, however, a perfectly defined thing; it is the slope of a very small portion of the curve situated just at that point; and we have seen that this is the same as "the slope of the tangent to the curve at that point."
Observe that is a short step to the right, and the corresponding short step upwards. These steps must be considered as short as possible—in fact indefinitely short,—though in diagrams we have to represent them by bits that are not infinitesimally small, otherwise they could not be seen.
We shall hereafter make considerable use of this circumstance that represents the slope of the curve at any point.
Fig. 8.
If a curve is sloping up at at a particular point, as in Fig. 8, and will be equal, and the value of .
If the curve slopes up steeper than (Fig. 9), will be greater than 1.
If the curve slopes up very gently, as in Fig. 10, will be a fraction smaller than 1.
For a horizontal line, or a horizontal place in a curve, , and therefore .
If a curve slopes downward, as in Fig. 11, will be a step down, and must therefore be reckoned of negative value; hence will have negative sign also.
Fig. 9.
Fig. 10.
If the "curve" happens to be a straight line, like that in Fig. 12, the value of will be the same at all points along it. In other words its slope is constant.
If a curve is one that turns more upwards as it goes along to the right, the values of will become greater and greater with the increasing steepness, as in Fig. 13.
Fig. 11.
If a curve is one that gets flatter and flatter as it goes along, the values of will become smaller and smaller as the flatter part is reached, as in Fig. 14.
Fig. 12.
Fig. 13.
If a curve first descends, and then goes up again, as in Fig. 15, presenting a concavity upwards, then clearly will first be negative, with diminishing values as the curve flattens, then will be zero at the point where the bottom of the trough of the curve is reached; and from this point onward will have positive values that go on increasing. In such a case is said to pass by a minimum.
Fig. 14.
Fig. 15.
The minimum value of is not necessarily the smallest value of , it is that value of corresponding to the bottom of the trough; for instance, in Fig. 28 (p. 99), the value of corresponding to the bottom of the trough is 1, while takes elsewhere values which are smaller than this. The characteristic of a minimum is that must increase on either side of it.
N.B.—For the particular value of that makes a minimum, the value of .
If a curve first ascends and then descends, the values of will be positive at first; then zero, as the summit is reached; then negative, as the curve slopes downwards, as in Fig. 16. In this case is said to pass by a maximum, but the maximum value of is not necessarily the greatest value of . In Fig. 28, the maximum of is , but this is by no means the greatest value can have at some other point of the curve.
N.B.—For the particular value of that makes a maximum, the value of .
If a curve has the peculiar form of Fig. 17, the values of will always be positive; but there will be one particular place where the slope is least steep, where the value of will be a minimum; that is, less than it is at any other part of the curve.
Fig. 16.
Fig. 17.
If a curve has the form of Fig. 18, the value of will be negative in the upper part, and positive in the lower part; while at the nose of the curve where it becomes actually perpendicular, the value of will be infinitely great.
Fig. 18.
Now that we understand that measures the steepness of a curve at any point, let us turn to some of the equations which we have already learned how to differentiate.
(1) As the simplest case take this:
It is plotted out in Fig. 19, using equal scales for and . If we put , then the corresponding ordinate will be ; that is to say, the "curve" crosses the -axis at the height . From here it ascends at ; for whatever values we give to to the right, we have an equal to ascend. The line has a gradient of 1 in 1.
Fig. 19.
Fig. 20.
Now differentiate , by the rules we have already learned (pp. 21 and 25 ante), and we get .
The slope of the line is such that for every little step to the right, we go an equal little step upward. And this slope is constant-always the same slope.
(2) Take another case:
We know that this curve, like the preceding one, will start from a height on the -axis. But before we draw the curve, let us find its slope by differentiating; which gives . The slope will be constant, at an angle, the tangent of which is here called . Let us assign to some numerical value—say . Then we must give it such a slope that it ascends 1 in 3; or will be 3 times as great as ; as magnified in Fig. 21. So, draw the line in Fig. 20 at this slope.
Fig. 21.
(3) Now for a slightly harder case.
Let
Again the curve will start on the -axis at a height above the origin.
Now differentiate. [If you have forgotten, turn back to p. 25; or, rather, don't turn back, but think out the differentiation.]
This shows that the steepness will not be constant: it increases as increases. At the starting point , where , the curve (Fig. 22) has no steepness—that is, it is level. On the left of the origin, where has negative values, will also have negative values, or will descend from left to right, as in the Figure.
Fig. 22.
Let us illustrate this by working out a particular instance. Taking the equation and differentiating it, we get
Now assign a few successive values, say from 0 to 5, to ; and calculate the corresponding values of by the first equation; and of from the second equation. Tabulating results, we have:
Then plot them out in two curves, Figs. 23 and 24, in Fig. 23 plotting the values of against those of and in Fig. 24 those of against those of . For any assigned value of , the height of the ordinate in the second curve is proportional to the slope of the first curve.
Fig. 23.
Fig. 24.
If a curve comes to a sudden cusp, as in Fig. 25, the slope at that point suddenly changes from a slope upward to a slope downward. In that case will clearly undergo an abrupt change from a positive to a negative value.
Fig. 25.
The following examples show further applications of the principles just explained.
(4) Find the slope of the tangent to the curve at the point where . Find the angle which this tangent makes with the curve .
The slope of the tangent is the slope of the curve at the point where they touch one another (see p. 76); that is, it is the of the curve for that point. Here and for , which is the slope of the tangent and of the curve at that point. The tangent, being a straight line, has for equation , and its slope is , hence . Also if ; and as the tangent passes by this point, the coordinates of the point must satisfy the equation of the tangent, namely so that and ; the equation of the tangent is therefore .
Now, when two curves meet, the intersection being a point common to both curves, its coordinates must satisfy the equation of each one of the two curves; that is, it must be a solution of the system of simultaneous equations formed by coupling together the equations of the curves. Here the curves meet one another at points given by the solution of that is,
This equation has for its solutions and . The slope of the curve at any point is
For the point where , this slope is zero; the curve is horizontal. For the point where hence the curve at that point slopes downwards to the right at such an angle with the horizontal that ; that is, at to the horizontal.
The slope of the straight line is ; that is, it slopes downwards to the right and makes with the horizontal an angle such that ; that is, an angle of . It follows that at the first point the curve cuts the straight line at an angle of , while at the second it cuts it at an angle of .
(5) A straight line is to be drawn, through a point whose coordinates are , as tangent to the curve . Find the coordinates of the point of contact.
The slope of the tangent must be the same as the of the curve; that is, .
The equation of the straight line is , and as it is satisfied for the values , then ; also, its .
The and the of the point of contact must also satisfy both the equation of the tangent and the equation of the curve.
We have then four equations in .
Equations (i) and (ii) give .
Replacing and by their value in this, we get which simplifies to , the solutions of which are: and . Replacing in (i), we get and respectively; the two points of contact are then , , and , .
Note.—In all exercises dealing with curves, students will find it extremely instructive to verify the deductions obtained by actually plotting the curves.
Exercises VIII. (See page 256 for Answers.)
(1) Plot the curve , using a scale of millimetres. Measure at points corresponding to different values of , the angle of its slope.
Find, by differentiating the equation, the expression for slope; and see, from a Table of Natural Tangents, whether this agrees with the measured angle.
(2) Find what will be the slope of the curve
at the particular point that has as abscissa .
(3) If , show that at the particular point of the curve where will have the value .
(4) Find the of the equation ; and calculate the numerical values of for the points corresponding to , , .
(5) In the curve to which the equation is , find the values of at those points where the slope .
(6) Find the slope, at any point, of the curve whose equation is ; and give the numerical value of the slope at the place where , and at that where .
(7) The equation of a tangent to the curve , being of the form , where and are constants, find the value of and if the point where the tangent touches the curve has for abscissa.
(8) At what angle do the two curves cut one another?
(9) Tangents to the curve are drawn at points for which and . Find the coordinates of the point of intersection of the tangents and their mutual inclination.
(10) A straight line touches a curve at one point. What are the coordinates of the point of contact, and what is the value of ?
CHAPTER XI.
MAXIMA AND MINIMA.
ONE of the principal uses of the process of differentiating is to find out under what conditions the value of the thing differentiated becomes a maximum, or a minimum. This is often exceedingly important in engineering questions, where it is most desirable to know what conditions will make the cost of working a minimum, or will make the efficiency a maximum.
Now, to begin with a concrete case, let us take the equation
By assigning a number of successive values to , and finding the corresponding values of , we can readily see that the equation represents a curve with a minimum.
These values are plotted in Fig. 26, which shows that has apparently a minimum value of 3, when is made equal to 2. But are you sure that the minimum occurs at 2, and not at or at ?
Fig. 26.
Of course it would be possible with any algebraic expression to work out a lot of values, and in this way arrive gradually at the particular value that may be a maximum or a minimum.
Fig. 27.
Here is another example:
Let
Calculate a few values thus:
Plot these values as in Fig. 27.
It will be evident that there will be a maximum somewhere between and ; and the thing looks as if the maximum value of ought to be about . Try some intermediate values. If ; if ; if . How can we be sure that 2.25 is the real maximum, or that it occurs exactly when ?
Now it may sound like juggling to be assured that there is a way by which one can arrive straight at a maximum (or minimum) value without making a lot of preliminary trials or guesses. And that way depends on differentiating. Look back to an earlier page (78) for the remarks about Figs. 14 and 15, and you will see that whenever a curve gets either to its maximum or to its minimum height, at that point its . Now this gives us the clue to the dodge that is wanted. When there is put before you an equation, and you want to find that value of that will make its a minimum (or a maximum), first differentiate it, and having done so, write its as equal to zero, and then solve for . Put this particular value of into the original equation, and you will then get the required value of . This process is commonly called "equating to zero."
To see how simply it works, take the example with which this chapter opens, namely
Differentiating, we get: Now equate this to zero, thus: Solving this equation for , we get:
Now, we know that the maximum (or minimum) will occur exactly when .
Putting the value into the original equation, we get
Now look back at Fig. 26, and you will see that the minimum occurs when , and that this minimum of .
Try the second example (Fig. 24), which is
Differentiating, .
Equating to zero, and putting this value of into the original equation, we find: This gives us exactly the information as to which the method of trying a lot of values left us uncertain.
Now, before we go on to any further cases, we have two remarks to make. When you are told to equate to zero, you feel at first (that is if you have any wits of your own) a kind of resentment, because you know that has all sorts of different values at different parts of the curve, according to whether it is sloping up or down. So, when you are suddenly told to write you resent it, and feel inclined to say that it can't be true. Now you will have to understand the essential difference between "an equation," and "an equation of condition." Ordinarily you are dealing with equations that are true in themselves, but, on occasions, of which the present are examples, you have to write down equations that are not necessarily true, but are only true if certain conditions are to be fulfilled; and you write them down in order, by solving them, to find the conditions which make them true. Now we want to find the particular value that has when the curve is neither sloping up nor sloping down, that is, at the particular place where . So, writing does not mean that it always is ; but you write it down as a condition in order to see how much will come out if is to be zero.
The second remark is one which (if you have any wits of your own) you will probably have already made: namely, that this much-belauded process of equating to zero entirely fails to tell you whether the that you thereby find is going to give you a maximum value of or a minimum value of . Quite so. It does not of itself discriminate; it finds for you the right value of but leaves you to find out for yourselves whether the corresponding is a maximum or a minimum. Of course, if you have plotted the curve, you know already which it will be.
For instance, take the equation:
Without stopping to think what curve it corresponds to, differentiate it, and equate to zero: whence and, inserting this value, will be either a maximum or else a minimum. But which? You will hereafter be told a way, depending upon a second differentiation, (see Chap. XII., p. 109). But at present it is enough if you will simply try any other value of differing a little from the one found, and see whether with this altered value the corresponding value of is less or greater than that already found.
Try another simple problem in maxima and minima. Suppose you were asked to divide any number into two parts, such that the product was a maximum? How would you set about it if you did not know the trick of equating to zero? I suppose you could worry it out by the rule of try, try, try again. Let 60 be the number. You can try cutting it into two parts, and multiplying them together. Thus, 50 times 10 is 500; 52 times 8 is 416; 40 times 20 is 800; 45 times 15 is 675; 30 times 30 is 900. This looks like a maximum: try varying it. 31 times 29 is 899, which is not so good; and 32 times 28 is 896, which is worse. So it seems that the biggest product will be got by dividing into two equal halves.
Now see what the calculus tells you. Let the number to be cut into two parts be called . Then if is one part, the other will be , and the product will be or . So we write . Now differentiate and equate to zero; Solving for , we get .
So now we know that whatever number may be, we must divide it into two equal parts if the product of the parts is to be a maximum; and the value of that maximum product will always be .
This is a very useful rule, and applies to any number of factors, so that if a constant number, is a maximum when .
Test Case.
Let us at once apply our knowledge to a case that we can test.
Let and let us find whether this function has a maximum or minimum; and if so, test whether it is a maximum or a minimum.
Differentiating, we get
Equating to zero, we get whence or
That is to say, when is made , the corresponding value of will be either a maximum or a minimum. Accordingly, putting in the original equation, we get
Is this a maximum or a minimum? To test it, try putting a little bigger than ,—say make . Then which is higher up than -0.25; showing that is a minimum.
Plot the curve for yourself, and verify the calculation.
Further Examples.
A most interesting example is afforded by a curve that has both a maximum and a minimum. Its equation is: Now
Fig. 28.
Equating to zero, we get the quadratic, and solving the quadratic gives us two roots, viz.
Now, when ; and when . The first of these is a minimum, the second a maximum.
The curve itself may be plotted (as in Fig. 28) from the values calculated, as below, from the original equation.
A further exercise in maxima and minima is afforded by the following example:
The equation to a circle of radius , having its centre at the point whose coordinates are , as depicted in Fig. 29, is:
Fig. 29.
This may be transformed into
Now we know beforehand, by mere inspection of the figure, that when , will be either at its maximum value, , or else at its minimum value, . But let us not take advantage of this knowledge; let us set about finding what value of will make a maximum or a minimum, by the process of differentiating and equating to zero. which reduces to
Then the condition for being maximum or minimum is:
Since no value whatever of will make the denominator infinite, the only condition to give zero is
Inserting this value in the original equation for the circle, we find and as the root of is either or , we have two resulting values of ,
The first of these is the maximum, at the top; the second the minimum, at the bottom.
If the curve is such that there is no place that is a maximum or minimum, the process of equating to zero will yield an impossible result. For instance:
Let
Then
Equating this to zero, we get , Therefore has no maximum nor minimum.
A few more worked examples will enable you to thoroughly master this most interesting and useful application of the calculus.
(1) What are the sides of the rectangle of maximum area inscribed in a circle of radius ?
If one side be called , and as the diagonal of the rectangle is necessarily a diameter, the other side .
Then, area of rectangle ,
If you have forgotten how to differentiate , here is a hint: write and , and seek and ; fight it out, and only if you can't get on refer to page 66.
You will get
For maximum or minimum we must have that is, and .
The other side ; the two sides are equal; the figure is a square the side of which is equal to the diagonal of the square constructed on the radius. In this case it is, of course, a maximum with which we are dealing.
(2) What is the radius of the opening of a conical vessel the sloping side of which has a length when the capacity of the vessel is greatest?
If be the radius and the corresponding height, .
Proceeding as in the previous problem, we get for maximum or minimum.
Or, , and , for a maximum, obviously.
(3) Find the maxima and minima of the function
We get for maximum or minimum; or
There is only one value, hence only one maximum or minimum. it is therefore a minimum. (It is instructive to plot the graph of the function.)
(4) Find the maxima and minima of the function . (It will be found instructive to plot the graph.)
Differentiating gives at once (see example No. 1, p. 67) for maximum or minimum.
Hence and , the only solution. For .
For , so this is a maximum.
(5) Find the maxima and minima of the function
We have for maximum or minimum; or or ; which has for solutions
These being imaginary, there is no real value of for which ; hence there is neither maximum nor minimum.
(6) Find the maxima and minima of the function
This may be written . that is, , which is satisfied for , and for , that is for . So there are two solutions.
Taking first . If , and if . On one side is imaginary; that is, there is no value of that can be represented by a graph; the latter is therefore entirely on the right side of the axis of (see Fig. 30).
On plotting the graph it will be found that the curve goes to the origin, as if there were a minimum there; but instead of continuing beyond, as it should do for a minimum, it retraces its steps (forming what is called a "cusp"). There is no minimum, therefore, although the condition for a minimum is satisfied, namely . It is necessary therefore always to check by taking one value on either side.