Professional Documents
Culture Documents
Unit 2 Beam
Unit 2 Beam
INTRODUCTION
df ∂f dx ∂f dy
= + = 2x(−r sin θ) + 2y (r cos θ).
dθ ∂x dθ ∂y dθ
Putting x = r cos θ and y = r sin θ, we get
df
= −2r 2 cos θ sin θ + 2r 2 cos θ sin θ = 0.
dr
In order to calculate df , we consider f (r , θ) = x 2 + y 2 = r 2 . Hence
df
= 2r ⇒ df = 2rdr .
dr
Example: A metal box without a top has inside dimensions 6ft, 4ft and
2ft. If the metal is 0.1ft thick, find the approximate values by using the
differential.
EXAMPLE:2
If u = u( yxy , xz ) show that x 2 ∂u
−x z−x 2 ∂u 2 ∂u
∂x + y ∂y + z ∂z = 0
SOLUTION:
Let v = yxy−x
, w = z−xxz
⇒ v = x1 − y1 , w = x1 − 1z
So u = u(v , w )
Therefore ∂u ∂u ∂v ∂u ∂w ∂u −1 ∂u −1
∂x = ∂v ∂x + ∂w ∂x = ∂v ( x 2 ) + ∂w ( x 2 )
∂u ∂u ∂u
x 2 ∂x = − ∂v + ∂w ———–(1)
∂u ∂u ∂v ∂u ∂w ∂u −1 ∂u
∂y = ∂v ∂y + ∂w ∂y = ∂v ( y 2 ) + ∂w (0)
y 2 ∂u ∂u
∂y = ∂v ———–(2)
and ∂u ∂u ∂v ∂u ∂w ∂u ∂u 1
∂z = ∂v ∂z + ∂w ∂z = ∂v (0) + ∂w ( z 2 )
z 2 ∂u ∂u
∂z = ∂w
———–(3)
Therefore (1) + (2) + (3) ⇒ x 2 ∂u 2 ∂u 2 ∂u
∂x + y ∂y + z ∂z = 0
EXAMPLE:3
If u = f (x, y ) where x = rcosθ and y = rsinθ, prove that ( ∂u 2 ∂u 2
∂x ) + ( ∂y ) =
( ∂u 2 1 ∂u 2
∂r ) + r 2 ( ∂θ )
SOLUTION:
∂u ∂u ∂x ∂u ∂y
∂r = ∂x · ∂r + ∂y · ∂r
= cosθ ∂u ∂u
∂x + sinθ ∂y ———-(1)
∂u ∂u ∂y
∂θ = ∂u ∂x
∂x · ∂θ + ∂y · ∂θ
= −rsinθ · ∂u ∂u
∂x + rcosθ · ∂y
That is 1r ∂u ∂u ∂u
∂θ = −sinθ ∂x + cosθ ∂y ————-(2)
Squaring both sides of (1) and (2) and adding, we get
( ∂u 2 ∂u 2 ∂u 2 1 ∂u 2
∂x ) + ( ∂y ) = ( ∂r ) + r 2 ( ∂θ )
EXAMPLE:4
Find dy 3 3 2 y x
dx , when (i) x + y = 3ax y and (ii) x + y = c.
SOLUTION:
Let f (x, y ) = x 3 + y 3 − 3ax 2 y
∂f
p = ∂x = 3x 2 − 6axy
∂f
q = ∂y = 3y 2 − 3ax 2
2
3(x −2axy ) x(2ay −x)
Therefore dy p
dx = − q = − 3(y 2 −ax 2 ) = y 2 −ax 2
(ii) f (x, y ) = x y + y x = c
∂f
p = ∂x = yx y −1 + y x logy
∂f
q = ∂y = x y logx + xy x−1
dy y−1 x
+y logy
Therefore dx = − pq = − yx
x y logx+xy x−1
EXAMPLE:1
Expand e x log (1 + y ) in powers of x and y upto terms of third degree.
SOLUTION:
Let f (x, y ) = e x log (1 + y ) Therefore f (0, 0) = 0
fx (x, y ) = e x log (1 + y ) , Therefore fx (0, 0) = 0
1
fy (x, y ) = e x 1+y Therefore fy (0, 0) = 1
x
fxx (x, y ) = e log (1 + y ) Therefore fxx (0, 0) = 0
1
fyy (x, y ) = −e x (1+y )2
Therefore fyy (0, 0) = −1
1
fxy (x, y ) = e x 1+y Therefore fxy (0, 0) = 1
x
fxxx (x, y ) = e log (1 + y ) Therefore fxxx (0, 0) = 0
1
fxxy (x, y ) = e x 1+y Therefore fxxy (0, 0) = 1
x 1
fxyy (x, y ) = −e (1+y )2 Therefore fxyy (0, 0) = −1
1
fyyy (x, y ) = 2e x (1+y )3
Therefore fyyy (0, 0) = 2
—-(1)
Here a= 1, b= -2
f (x, y ) = x 2 y + 3y − 2 ⇒ f (1, −2) = −2 − 6 − 2 = −10
fx (x, y ) = 2xy ⇒ fx (1, −2) = −4
fy (x, y ) = x 2 + 3 ⇒ fy (1, −2) = 4
fyy (x, y ) = 0 ⇒ fyy (1, −2) = 0
fxx (x, y ) = 2y ⇒ fxx (1, −2) = −4
fxy (x, y ) = 2x ⇒ fxy (1, −2) = 2
fxxx (x, y ) = 0 ⇒ fxxx (1, −2) = 0
() Lecture Notes - Dr. B. Bira September 1, 2023 20 / 52
Example 2 Cont...
EXAMPLE:3
Expand f (x, y ) = tan−1 ( yx ) in powers of (x-1) and (y-1) upto third degree
terms. Hence compute f (1.1, 0.9) approximately.
SOLUTION:
f (x, y ) = tan−1 ( yx ), a = 1, b = 1 and f (1, 1) = tan−1 (1) = Π4
fx (x, y ) = 1y 2 (− xy2 ) = x 2−y
+y 2
⇒ fx (1, 1) = − 12
1+ 2
x
1 1 x 1
fy (x, y ) = 2 ( ) = x 2 +y 2 ⇒ fy (1, 1) = 2
1+ y 2 x
x
fxx (x, y ) = (x 22xy
+y 2 )2
⇒ fxx (1, 1) = 24 = 12
2
fyy (x, y ) = (x−2xy
2 +y 2 )2 ⇒ fyy (1, 1) = − 4 = 2
−1
2 2 −2x 2 2 −x 2
fxy (x, y ) = x (x+y2 +y 2 )2 = (xy2 +y 2 )2 ⇒ fxy (1, 1) =0
—-(1)
(1)⇒ tan−1 ( yx ) = Π4 + [(x − 1)( −1 1 1 2 1
2 ) + (y − 1)( 2 )] + 2! [(x − 1) ( 2 ) + 2(x −
2 1 3 2
1)(y − 1)(0) + (y − 1) ( 2 )] + 3! [(x − 1) ( 2 ) + 3(x − 1) (y − 1)( −1
−1 −1
2 )+
2 1 3 1
3(x − 1)(y − 1) ( 2 )] + (y − 1) ( 2 )
= π − 1 [(x()− 1) − (y − 1)] +Lecture
1
[(xNotes
− 1) 2 B. (y
- Dr.−
2
Bira − 1) ] −
1 September 1, 3
[(x − 1)2023 + 3(x23 −
/ 52
MAXIMA AND MINIMA FOR FUNCTIONS
OF TWO VARIABLES
You have learned maxima and minima of a function f(x) of a single variable
in x. We shall extend these ideas to a function f(x, y) of two variables in x
and y.
A function f(x, y) is said to have a relative maximum(or simply maximum)
at x=a and y=b, if f (a + h, b + k) < f (a, b) for all small values of h and k.
A function f(x, y) is said to have a relative minimum(or simply minimum)
at x=a and y=b, if f (a + h, b + k) > f (a, b) for all small values of h and k.
A maximum or minimum value of a function is called its extreme value.
The necessary condition for f(x, y) to have a maximum or a minimum at
(a, b) are that fx (a, b) = 0, fy (a, b) = 0.
NOTE:
f(a, b) is said to be a stationary value of f(x, y) if fx (a, b) = 0, fy (a, b) = 0
that is the function is stationary at (a, b).
∆ = rt − s 2 .
Step 4: At the stationary point (a, b) (i) If rt − s 2 > 0 and r(or t) ¡ 0, then
f(a, b) is a maximum value of f(x, y).
(ii) If rt − s 2 > 0 and r(or t) ¿ 0, then f(a, b) is a minimum value of f(x, y).
(iii) If rt − s 2 < 0, then f(x, y) has neither a maximum nor a minimum value
at (a, b).In this case, the point (a, b) called a saddle point of the function
f(x, y).
(iv) If rt −s 2 = 0, the case is doubtful and further investigations are required
to decide the nature of the extreme values of the function f(x, y).
rt − s 2 = 4(3x 2 − 1)4(3y 2 − 1) − 16
At (0, 0), rt − s 2 = 16 − 16 = 0
Therefore the further investigation is required to find the nature of the
extreme
√ of√f(x, y) at2the origin.
At ( 2, − 2), rt −s = 4(3x 2 −1)4(3y 2 −1)−16 = 4(6−1)4(6−1)−16 =
384 > 0
r = 4(3x 2 − 1) = 20 > 0 √ √
Therefore the function attains minimum at ( 2, − 2) and hence the min-
imum
√ value
√ is
f ( 2,√ − √2) = −8
At (− 2, 2), rt − s 2 = 384 > 0
r = 20 > 0 √ √
Therefore the function attains minimum at (− 2, 2) and hence the min-
imum√ value
√ is
f (− 2, 2) = −8
EXAMPLE:2
In a plane triangle, find the maximum value of cos A cos B cos C
SOLUTION:
In triangle A + B + C = π
Using this condition we express the given function as a function of A and
B. Thus
cosAcosBcosC = cosAcosBcos[π − (A + B)] = −cosAcosBcos(A + B)
Let f(A, B)= -cosA cos B cos (A+B)
fA = sinAcosBcos(A + B) + cosAcosBsin(A + B)
= cos B [sin A cos (A+B)+ cos A sin (A+B)]
= cos B sin (2A+B)
fB = cosAsinBcos(A + B) + cosAcosBsin(A + B)
= cos A[sin B cos (A+B)+ cos B sin (A+B)]
= cos A sin (A+2B)
r = fAA = 2cosBcos(2A + B)
s = fAB = −sinAsin(2A + B) + cosBcos(2A + B)
= cos(2A + 2B)
t = fBB = 2cosAcos(A + 2B)
∂f ∂f
For maximum and minimum value ∂A = 0 and ∂B =0
∂f
∂A = 0 ⇒ cosBsin(2A + B) = 0——–(1)
⇒ 12 [sin(2A + 2B) + sin(2A)] = 0
⇒ sin(2A + 2B) + sin(2A) = 0———-(2)
∂f
∂B = 0
⇒ cosAsin(A + 2B) = 0
⇒ 12 [sin(2A + 2B) + sin(2B)] = 0
⇒ sin(2A + 2B) + sin(2B) = 0——-(3)
(2)-(3)⇒ sin2A = sin2B ⇒ A = B
EXAMPLE:3
Examine the following function for extreme values
f (x, y ) = 2(x 2 − y 2 ) − x 4 + y 4 .
SOLUTION:
Given f (x, y ) = 2x 2 − 2y 2 − x 4 + y 4
∂f 3 ∂f 3
∂x = 4x − 4x , ∂y = −4y + 4y
∂2f ∂2f ∂2f
r= ∂x 2
= 4 − 12x 2 , s = ∂x∂y = 0, t = ∂y 2
= −4 + 12y 2
∂f
∂x = 0 ⇒ x(1 − x 2 ) = 0 ⇒ x = 0, x = ±1
∂f
∂y = 0 ⇒ y (−1 + y 2 ) = 0 ⇒ y = 0, y = ±1
The stationary points are (0, 0), (0, 1), (0, -1),(1, 0), (1, 1), (1, -1), (-1,
0), (-1, 1), (-1, -1)
WORKING RULE:
1.Construct the auxiliary function F (x, y , z) = f (x, y , z) + λg (x, y , z)
where λ is an undetermined parameter independent of x, y, z. λ is called
Lagranges multiplier.
2. Obtain the equations ∂F ∂F ∂F
∂x = 0, ∂y = 0, ∂z = 0.
3.Solve the above equations together with g (x, y , z) = 0.
The values of x, y, z so obtained will give the stationary value of f(x, y, z).
EXAMPLE:2
Shoe that the rectangular solid of maximum volume that can be inscribed
in a sphere is a cube.
SOLUTION:
Let 2x, 2y, 2z be the length, breadth and height of the rectangular solid so
that its volume V = 8xyz = f (x, y , z)
Let R be the radius of the sphere so that x 2 + y 2 + z 2 = R 2 ——(1)
g (x, y , z) = x 2 + y 2 + z 2 − R 2
Let F (x, y , z) = 8xyz + λ(x 2 + y 2 + z 2 − R 2 )
∂F −4yz
∂x = 0 ⇒ 8yz + 2λx = 0 ⇒ λ = x − − − − − − − (2)
∂F −4xz
∂y = 0 ⇒ 8xz + 2λy = 0 ⇒ λ = y − − − − − − − (3)
∂F −4xy
∂z = 0 ⇒ 8xy + 2λz = 0 ⇒ λ = z − − − − − −(4)
From (2) and (3)
yz xz
x = y
⇒ x 2 = y 2 ———–(5)
EXAMPLE: 4
Divide the number 24 into three parts such that the continued product of
the first, square of the second and the cube of the third may be maximum.
SOLUTION:
Let 24 be divided into 3 parts x, y, z so that x + y + z = 24——–(1) where
x, y , z > 0
and the product is xy 2 z 3
We have to maximize this product subject to (1) Let f (x, y , z) = xy 2 z 3 and
g (x, y , z) = x + y + z − 24
Form the auxiliary function F (x, y , z) = f (x, y , z) + λg (x, y , z)
where λ is the Lagranges multiplier.
F (x, y , z) = xy 2 z 3 + λ(x + y + z − 24)
∂F 2 3 2 3
∂x = 0 ⇒ y z + λ = 0 ⇒ λ = −y z ——(2)
∂F 3 3
∂y = 0 ⇒ 2xyz + λ = 0 ⇒ λ = −2xyz ——(3)
∂F 2 2 2 2
∂z = 0 ⇒ 3xy z + λ = 0 ⇒ λ = −3xy z ——(4)
EXAMPLE:1
(i)If x = rcosθ, y = rsinθ, then find the Jacobian of x and y with respect to
r and θ.
SOLUTION:
∂x ∂x
∂(x,y ) cosθ − rsinθ
∂(r ,θ) =
∂r
∂y
∂θ
∂y = = rcos 2 θ + rsin2 θ = r
∂r ∂θ
sinθ rcosθ
(ii) In cylindrical coordinates x = ρcosφ, y = ρsinφ, z = z Show that
∂(x,y ,z)
∂(ρ,φ,z) = ρ
SOLUTION:
∂x ∂x ∂x
∂ρ ∂φ ∂z cosφ − ρsinφ 0
∂(x,y ,z) ∂y ∂y ∂y
∂(ρ,φ,z) = ∂ρ ∂φ ∂z = sinφ ρcosφ 0 =ρ
∂z ∂z ∂z 0 0 1
∂ρ ∂φ ∂z
EXAMPLE:2
If y1 = xx2 x1 3 , y2 = xx3 x2 1 , y3 = x1 x2
x3 , Show that the jacobian of y1 , y2 , y3 with
respect to x1 , x2 , x3 is 4.
SOLUTION:
−x2 x3 x3 x2
x12 x1 x1 −x2 x3 x1 x3 x1 x2
∂(y1 ,y2 ,y3 ) x3 −x3 x1 x1 1
∂(x1 ,x2 ,x3 ) = x2 x22 x2 = x12 x22 x32
x2 x3 − x3 x1 x1 x2
x2 x1 −x1 x2 x2 x3 x3 x1 − x1 x2
x3 x3 x32
−1 1 1
x22 x32 x12
x12 x22 x32
1 −1 1 =4
1 1 −1
EXAMPLE:3
If u = x + 3y 2 − z 3 , v = 4x 2 yz, w = 2z 2 − xy ,evaluate ∂(u,v ,w )
∂(x,y ,z) at (1, -1,
0).
SOLUTION:
1 6y − 3z 2
∂(u,v ,w ) 2
∂(x,y ,z) = 8xyz 4x z 4x 2 y
−y 2z 2 − x 4z
1 −6 0
∂(u,v ,w )
Therefore at the point (1, -1, 0), ∂(x,y ,z) = 0 0 − 4 = 20
1 −1 0
EXAMPLE:4
∂(u,v )
If u = x 2 − y 2 , v = 2xy and x = rcosθ, y = rsinθ find ∂(r ,θ) .
SOLUTION:
We have ∂(u,v ) ∂(u,v ) ∂(x,y )
∂(r ,θ) = ∂(x,y ) × ∂(r ,θ)
since u = x 2 − y 2 , v = 2xy
∂(u,v ) 2x − 2y
∂(x,y ) = = 4(x 2 + y 2 )
2y 2x
x = rcosθ, y = rsinθ
∂(x,y ) cosθ − rsinθ
∂(r ,θ) = sinθ rcosθ
=r
Hence ∂(u,v ) 2 2
∂(x,y ) = 4(x + y ) × r .
3
EXAMPLE:5
∂(x,y ,z)
If u = xyz, v = x 2 + y 2 + z 2 , w = x + y + z, find ∂(u,v ,w )
SOLUTION:
Let f1 = u − xyz, f2 = v − x 2 + y 2 + z 2 , f3 = w − x + y + z
∂(x,y ,z) 3 ∂(f1 ,f2 ,f3 ) ∂(f1 ,f2 ,f3 )
∂(u,v ,w ) = (−1) ∂(u,v ,w ) ∂(x,y ,z)
1 0 0
∂(f1 ,f2 ,f3 )
∂(u,v ,w ) = 0 1 0
0 −0 1
−yz − xz − xy
∂(f1 ,f2 ,f3 )
∂(x,y ,z) = −2x − 2y − 2z = −2(x − y )(y − z)(z − x)
−1 −1 −1
EXAMPLE:6
x+y
If u = 1−xy and v = tan−1 x + tan−1 y , find ∂(u,v )
∂(x,y ) . Are u and v are
functionally (related)dependent? If so find the relationship.
SOLUTION: 2
(1−xy )−(x+y )(−y ) (1−xy )−(x+y )(−x) (1+y (1+
∂(u,v ) (1−xy )2 (1−xy )2 (1−xy )2 (1−x
∂(x,y ) = 1 1 = 1 1
1+x 2 1+y 2 1+x 2 1+y
1 1
= (1−xy )2
− (1−xy )2
=0
Hence u and v are functionally related.
x+y
We have v = tan−1 x + tan−1 y = tan−1 ( 1−xy ) = tan−1 u
That is u = tanv which is the required relationship between u and v.