Calculus of Variations PDF
Calculus of Variations PDF
Calculus of Variations PDF
Chapter 4
Calculus of Variations
∂f ∂ 2f ∂ 2f ∂ 2f
− y′ − y ′′ ′2 = 0
# $
∂f d ∂f − (13)
i.e., − =0 (2) ∂y ∂x∂y ′ ∂y∂y ′ ∂y
∂y dx ∂y ′
General case: the necessary condition for the occur-
Note: Equation (2) is not sufficient condition. Solu- rence of extremum of the general integral
tion of (2) may be maximum or minimum or a hori- ! x2
zontal inflexion. Thus y(x) is known as extremizing f (x, y1 , y2 , . . . , yη , y1′ , y2′ , . . . , yη′ )dx
function or extremal and the term extremum includes x1
∂f
Then
Case (d): If f is independent of y ′ , then ∂y ′
=0 d
%
y′
&
and the Euler’s Equation (2) reduces to 0− 0 =0
dx 1 + y ′2
∂f
=0 "
∂y or y ′ = k 1 + y ′2 where k = constant
Integrating, we get f = f (x) , i.e., function of x
Squaring y ′2 = k 2 (1 + y ′2 )
alone.
Chap-04 B.V.Ramana August 30, 2006 10:13
reduces to
)0 +
d 1 + y ′2 y ′2
√ −√ 0 =0
dx y y 1 + y ′2
Integrating
1 + y ′2 1 + y ′2 − y ′2
0 0
√ 0 = k1 = constant
y 1 + y ′2
or y(1 + y ′2 ) = k2 (1)
' (2
Fig. 4.3 where k2 = k1 , put y ′ = cotθ where θ is a
1
parameter. Then from (1)
Solution: Assume the positive direction of the y-
axis is vertically downward and let x1 < x2 . Let y=
k2
=
k2 k2
= k2 sin2 θ = (1 − cos 2θ )
P (x, y) be the position of the particle at any time t, 1 + y ′2 1 + cot2 θ 2
on the curve c. Since energy is conserved, the speed (2)
v of the particle sliding along any curve is given by Now
k2
2 (+2 · sin 2θ )dθ
0
v = 2g(y − y ∗ ) dx =
dy
=
# $ y′ cotθ
∗ v12
where y = y1 − 2g
. Here g is acceleration due k2 2 · sin θ · cos θ dθ
= = 2k2 sin2 θ dθ
to gravity, v1 is the initial speed. Choose the origin cotθ
at A so that x1 = 0, y1 = 0 and assume that v1 = 0. dx = k2 · (1 − cos 2θ )dθ.
Then
Integrating, x = k2 θ − sin22θ + k3 , where k3 is
2 3
ds 0
= v = 2gy constant of integration. So
dt
Integrating this, we get the time taken by the particle k2
x − k3 = (2θ − sin 2θ ) (2)
moving under gravity (and neglecting friction along 2
the curve and neglecting resistance of the medium) Since y = 0 at x = 0, we have k3 = 0. Put 2θ = φ
from A(0, 0) to B(x2 , y2 ) is in (1) and (2), then
0
1 x=x2 1 + y ′2 k2 k2
! !
ds x= (φ − sin φ), y = (1 − cos 2φ) (3)
t[y(x)] = √ = √ √ dx (1)
2gy 2g x=0 y 2 2
Chap-04 B.V.Ramana August 30, 2006 10:13
Fig. 4.4
(ds)2 = (dr)2 + (rdθ )2 + (r sin θ dφ)2 Since r = a, the spherical coordinates are x =
a sin θ cos φ, y = a sin θ sin φ, z = a cos θ , so
Since r = a = constant, dr = 0. So
# $2 # $2 z = Ax + By
ds 2 2 2 dφ
= a + a sin θ
dθ dθ which is the equation of plane, passing through ori-
Integrating w.r.t. θ between θ1 and θ2 , gin (0, 0, 0) (since no constant term) the centre of
1 sphere. This plane cuts the sphere along a great cir-
$2
θ2 cle. Hence the great circle is the geodesic on the
! #
dφ
s= a 1 + sin2 θ dθ
θ1 dθ sphere.
Chap-04 B.V.Ramana August 30, 2006 10:13
Solution: The rope in equilibrium take a shape such WORKED OUT EXAMPLES
that its centre of gravity occupies the lowest position.
Thus to find minimum of y-coordinate of the centre
Example 1: 9 π Find the extremal of the function
of gravity of the string given by
I [y(x)] = 0 (y ′2 − y 2 )dx with boundary condi-
9 x2 0
′2 tions y(0)
9 π = 0, y(π ) = 1 and subject to the con-
x y 1 + y dx
I [y(x)] = 9 1x 0 (1) straint 0 y dx = 1.
2
x 1 + y ′2 dx
1
Solution: Here f = y ′2 − y 2 and g = y. So choose
subject to the constraint H = f + λg = (y ′2 − y 2 ) + λy where λ is the
! x2 " unknown Lagrange’s multiplier. The Euler’s equa-
J [y(x)] = 1 + y ′2 dx = L = constant (2) tion for H is
x1 # $
∂H d ∂H
Thus to minimize the numerator in R.H.S. of (1) sub- − =0
∂y dx ∂y ′
ject to (2). Form
" " " Using derivatives of H w.r.t. y and y ′ , we get
H = y (1 + y ′2 ) + λ 1 + y ′2 = (y + λ) 1 + y ′2 d
(3) (−2y + λ) − (2y ′ ) = 0
dx
where λ is Lagrangian multiplier. Here H is inde-
pendent of x. So the Euler equation is or y ′′ + y = λ
The three unknowns c1 , c2 , λ in (1) will be deter- B.C’s y(1) = 3 and y(4) = 24 (i.e., passing through
mined using the two boundary conditions and the points P1 and P2 ) and the given constraint. From (1)
given constraint. From (1) λ
3 = y(1) = + c1 + c2 (2)
0 = y(0) = c1 + c2 · 0 + λ or c1 + λ = 0 4
Again from (1)
1 = y(π ) = −c1 + c2 · 0 + λ or − c1 + λ = 1
24 = y(4) = 4λ + 4c1 + c2 (3)
Solving λ = 21 , c1 = −λ = − 21
Now from the constraint
Now from the given constraint ! x2 =4
! π y(x)dx = 36
y dx = 1, we have x1 =1
0 ! 4 #λ $
π
or x 2 + c1 x + c2 dx = 36
!
(c1 cos x + c2 sin x + λ)dx = 1 1 4
0 *4
*π λ x3 x2
i.e., + c2 x ** = 36
*
c1 sin x − c2 cos x + λx ** = 1
* · + c1
4 3 2 1
0
(0 + c2 + λπ ) − (0 − c2 + 0) = 1 or 42λ + 60c1 + 24c2 = 288 (4)
π( From (2) & (3):
'
or 2c2 = 1 − π λ = 1 −
2
λ − c2 = 12
Thus the required extremal function y(x) is
and from (3) & (4)
1 1 π 1
# $
y(x) = − cos x + − sin x + . 2λ − c2 = 8
2 2 4 2
Solving λ = −4, c2 = −16, c1 = 20. Thus the spe-
Example 2: Show that the9 extremal of the isoperi- cific parabola satisfying the given B.C.’s (passing
x
metric problem I [y(x)] = x12 y ′2 dx subject to the through P1 and P2 ) is
9 x2
condition J [y(x)] = x1 y dx = constant = k is a 4
y = − x 2 + 20x − 16
parabola. Determine the equation of the parabola 4
passing through the points P1 (1, 3) and P2 (4, 24) and i.e., y = −x 2 + 20x − 16.
k = 36.
The Euler equation for H is 1. Find the curve of given length L which joins
# $ the points (x1 , 0) and (x2 , 0) and cuts off from
∂H d ∂H the first quadrant the maximum area.
− =0
∂y dx ∂y ′
Ans. (x − c)2 + (y − d)2 = λ2 , c = x1 +x
2
2
,
d (x2 −x1 ) 2 2 2
√
λ− (2y ′ ) = 0 a = 2 ,λ = d + a , d + a 2 2
dx
cot −1 da = L2 .
2 3
λ
or y ′′ − = 0 2. Determine the curve of given length L which
2
Integrating twice, joins the points (−a, b) and (a, b) and gen-
erates the minimum surface area when it is
λ x2 revolved about the x-axis.
y(x) = + c1 x + c2 (1)
2 2
Ans. y = c cosh xc − λ, where c = a' (
, λ=
which is a parabola. Here c1 and c2 are constants of sin h−1 L
2
√
integration. To determine the particular parabola, use c
2
4 + L2 − b
Chap-04 B.V.Ramana August 30, 2006 10:13