VARIATIONS, CALCULUS OF. 1. The object of this calculus is the discovery of the form of a function which shall fulfil certain conditions, not expressed in direct terms, but involved in a finite integral. The first instance of a problem of this kind appears in a scholium to Prop. 34, b. ii. of the Principia, published in 1687. (See Prob. 2. below.) Newton gave the correct result; but he supplied no demonstration, nor do we find any method of solution applicable to such cases until ten years afterwards. In the Acta Eruditorum for 1696, John Bernoulli enunciated the problem of the brachystochrone, (Prob. 1. below,) and invited mathematicians to give a solution. After a considerable interval, his brother, James Bernoulli, gave in his result, which was, that the curve required is the cycloid. As the mode of demonstration which he adopted is very nearly that which was employed by all the earlier writers on the subject, it will not be uninteresting to exhibit it here.
2. The problem is the following: "To find that curve down which a body falling by the force of gravity will move from A to B in the shortest possible time."
The principles employed in the solution are these two:
1st, that when a quantity is a maximum or minimum, a slight change in the variables will produce no variation in the value of the function; 2d, that what is true of the whole quantity is likewise true of every portion of it.
The second principle requires that the time down PQR should be less than the time down any other line, as PSR;
Variations, and by applying the first principle to this property, we deduce the fundamental equation,
time down PQR = time down PSR ultimately.
Hence,
a well-known property of the cycloid.
3. Of the two principles employed in this solution, the first is equivalent to the theorem demonstrated in FLUXIONS, art. 62, and is the basis of all solutions. The second, although in the case in question it is actually true, is an assumption not warranted by the nature of the problem. It does not appear that any geometrical solution is exempt from this objection, and we cannot in consequence date the existence of the Calculus of Variations earlier than 1744, when Euler published his treatise, entitled Methodus inveniendo Lineas Curvas proprietate maximi minimi gaudentes. This work was followed by a memoir from the pen of Lagrange, published in the second volume of the Miscellanea Taurinensia. By the introduction of the symbol to express that change which is termed a variation, Lagrange may be said to have perfected the calculus; for although certain extensions were afterwards made by himself and others, no change was afterwards introduced into the general process. We shall therefore conclude our brief sketch at this point, and refer the reader for further information to the following works: the Acta Eruditorum for 1696 and the following years; the collected works of James and John Bernoulli; Memoires de l'Acad. des Sci. 1706, 1718, &c.; Brook Taylor's Methodus Incrementorum; the Petersburg Commentaries, vols. vi. and viii.; which, together with Euler's tract, quoted above, and his last memoir in the New Petersburg Com. vol. x. contain Euler's writings on the subject: the Turin Miscellanies, vols. ii. and iv. and the Theorie des Fonctions Analytiques, contain Lagrange's perfecting of the calculus. The reader will find in Woodhouse's Isoperimetrical Problems a complete history of the calculus, as well as an admirable digest of the different methods employed.
4. We proceed to the investigation of the theorem which is the basis of the calculus of variations.
To find the change or variation of a formula comprehended under the integral sign, when the variables and , on which it depends, receive the increments and .
Let be the formula under consideration; in
which involves , , , &c.
Denote by , by , &c.; the partial differential coefficients by , by , by , &c.; the increment of by , &c.
Also if be denoted by , we have
hence putting for and for , we obtain
By substitution,
The last line of this very elegant expression is due to Euler; the rest of the formula to Lagrange.
Let be the values of and at the two limits; then the whole value of between the limits is,
5. To satisfy the conditions of a maximum or minimum value of , the value of , expressed only as far as to the first powers of , must be equal to zero.
But this quantity consists of two parts; the one an integrated expression, depending only on the values of ; the other an unintegrated expression, depending on the general values of . Now it is evidently possible to make the latter expression assume an infinity of different values, corresponding to an assigned value of the former. It is therefore impossible to render the whole expression equal to zero for all values of , without making the two parts separately zero.
Our conditions are therefore,
6. It may be remarked, that the object of our investigation is to discover a mode of satisfying certain conditions by means of establishing a relation between and . To effect this, we seek to separate these quantities from the quantities and . This will explain why the unintegrated part of the expression has been reduced to the form in which we left it. Had been implicated with and ,
relation would have been assigned, not between and , but between , , and . We may add, that if be an integrable expression, the equation (1) is an identical equation.
In the above investigation it has been assumed that the other quantities which enter into the function , together with and , are absolute constants. If this hypothesis be not correct, our formulae require to be modified. Suppose , , &c., to enter the function .
Let the addition to be made to the expression for is . But &c. depend not on the general variation, but only on the variation at the limits, (see Prob. 4); here they are independent of and , and consequently the part of equation (2), which thus becomes
Had our object been merely to determine the form of a function which should satisfy certain conditions, we might have rested content with causing one of the quantities, as only, to vary. By this means equation (1) would have been obtained. There are however many problems which depend on the relation between and , at least at the limits, (see Prob. 3.) At the commencement of the variation, for instance, we cannot remove to any point we please, from the circumstance that we are compelled to begin in a certain manner. Hence equation (2) is a most important part of the result; and by assigning a relation between the things given and sought at the extremities, shews us the portion of the extremities of the curve, and thereby restricts the solution from a kind of curve (as a cycloid) to a specific curve, (a cycloid of known dimensions and position).
From equation (1) we might easily deduce a number of expressions, for particular cases, easy of application. Thus, if contains only and , the formula (1) gives
As the reader will readily supply such formulae for himself, we proceed to exhibit the solution of a few problems.
Prob. 1. To find the curve of quickest descent from one given point to another.
Let and be the co-ordinates of a point in the curve, being measured vertically downwards from the upper point.
corresponding to contains only and .
which is the differential equation to a cycloid. We may solve the problem by taking as the vertical co-ordinate, in which case will contain only , and equation (1) will
the same result as before, with the exception that and are interchanged. The solution of this equation shews that the cusp of the cycloid is at the highest point, and its axis vertical.
Prob. 2. Required the curve which by revolution round its axis generates the solid on which the resistance produced by motion in a fluid shall be less than on any other curve having the same extreme co-ordinates.
This equation expresses the same property as that which Newton, without demonstration, assigned to the curve.
Prob. 3. To find the shortest distance between two given curves.
The expression for is here where, as the line on which the distance is measured is a right line, . But by formula (2)
, when , &c. are indefinitely small. Also, if the curves have no connexion, we may make assume what values soever we please, without affecting ; we must therefore have separately
But, since the measurement must begin in the first curve, the limit of expresses the tangent of the angle in
which the tangent to the first curve cuts the axis. Our equation, then, shews that the line of shortest distance cuts the first curve at right angles. For the same reason it cuts the second curve also at right angles. Its position is consequently determined.
Prob. 4. To find the curve of quickest descent from one given curve to another.
Let be the vertical ordinate of the point at which motion begins:
it is evident that the curve is a cycloid. To determine the angles at which the cycloid cuts the given curves, we have the following equation, (3):
1. If the body starts from a given point in the first curve, that curve performs no part in the problem. Here , , and , are all zero.
point in which the cycloid cuts it, is equal to : which shews that the curve and cycloid cut each other at right angles.
2. If the motion is supposed to commence at the same horizontal line, whatever be the point at which the body reaches the first curve; we have constant, and the equation gives
, from which it is evident, as in Problem 3, that the cycloid cuts both curves at right angles.
3. If motion begins at the first curve, and ; hence our equation becomes
From the first of these it follows that the lower curve is cut at right angles. The second gives
Also the first equation is .
; from which it appears that the tangents to the two curves at the two points of section are parallel to one another.
10. We have hitherto solved only problems of absolute maxima and minima. But a very simple consideration will enable us to apply the same formulae to the investigation of relative maxima and minima. The problem of isoperimetricals (prob. 5 below) will illustrate this class of questions. Here the integrated function is not required to be a maximum or a minimum absolutely, but only one consistent with the further condition that another integrated function shall not change its value. Although, therefore, is actually zero, yet and are not, as in our previous investigations, any quantities whatever, but only such as will consist with the required condition that shall also be zero. To Euler we owe the idea of substituting for the quantity , which is made to vary, not , as in other cases, but ; being the quantity which is to remain unchanged. By this substitution we determine the relation between and , which renders a maximum or a minimum. But as that relation involves the arbitrary constant , we restrict it by assigning to that quantity such a value as shall render of the required magnitude. We have therefore found a relation, which not only makes the sum of two quantities a maximum or a minimum, but which likewise reduces one of those quantities to a specified value. This relation then evidently makes the other quantity a maximum or a minimum. Thus the problem is solved in all its generality.
Prob. 5. AB is a given line, PMQ a line perpendicular
to AB at the point M. The points P and Q are supposed to generate two curves by the motion of the line perpendicular to AB, having a relation such, that although both are unknown, PM is a known function of QM. It is required to determine both curves, when the length of AQB is given, and the area APBMA is a maximum.
Let QM = , then PM = , where is a known function.
Also length AQB = , and area APB = , the limits of both integrals being the same.
and by formula (4) ,
the differential equation to the curve AQB.
If be the solution of this equation, is the equation to the curve APB.
Cor. If , we get , the equation to a circle.
Prob. 6. To find the curve which, with a given length, contains between its chord and its arc the greatest possible area.
By cor. to last problem the equation is .
Let the origin be at A and AB = ; then since , both when and , we get
And from the equation to the limits , or ; and the curve required is the semicircle.
Prob. 7. Given the length of the curve contained between two points in a horizontal line; required its nature, that the centre of gravity of the arc may be the lowest possible. Here we have to make a maximum, whilst is constant.
the integral of which is , the equation to the catenary.
The solution of more complicated problems is not consistent with our limits. For the investigation of formulae in cases where involves an integral, or where it is given by a differential equation, the reader is referred to Woodhouse's Treatise. Considerations on the mode of distinguishing a maximum from a minimum will be found in Lagrange's Theorie des Fonctions Analytiques.
VARIATION of the Compass. See MAGNETISM.