A - Mechanism - Consists - of - Two - Horizontal - Circles Final
A - Mechanism - Consists - of - Two - Horizontal - Circles Final
A - Mechanism - Consists - of - Two - Horizontal - Circles Final
respectively. A rod AB of variable length is connecting them, that is A is a variable point on the first circle
and B is a variable point on the second circle.
Use Lagrange multipliers technics to calculate the critical points and maximum and minimum of the
distance AB.
Since we have two constraints, say g, h, one for each circle, the Lagrange system
∇ f =λ ∇ g+ μ ∇ h
Becomes
g=c 1
h=c 2
2 2 2 2
f =( x 2−x 1 ) +( y 2− y 1 ) +(z 2−z 1)
˚
g is withcenter ( 0 , 0 , 0 )∧radius =√ 8
2
g=(x 1)2 +( y 1)2 +(z 1 )2=√ 8
2 2 2
g=(x 1) +( y 1) +(z 1 ) =8
˚ center ( 1 , 1, 1 )∧radius =√ 8
h is with
2
h=(x 2−1)2+( y 2−1)2 +(z 2−1)2=√ 8
2 2 2
h=(x 2−1) +( y 2−1) +(z 2−1) =8
∇ f =λ ∇ g+ μ ∇ h
2
lagrange=L=∇ f −λ ∇ g−μ ∇ h-
Compute the partial derivative of L w.r.t x ,y,z, λ , μ
2
∇ f =¿
∇ g=( 2 x 1 , 2 y 1 , 2 z1 , 0 , 0 ,0 )
∇ f =λ ∇ g+ μ ∇ h
−2 x 2+2 x 1=2 λ x 1
−2 y 2+ 2 y 1=2 λ y1
−2 z 2+2 z 1=2 λ z 1
2 2 2
−( x 2−1 ) −( y 2−1 ) −( z2 −1 ) + 8=0
−2 λ x 1+ 2 x 1=2 x 2
x 2=(1−λ) x1
y 2=(1−λ) y 1
z 2=( 1−λ) z1
(1−μ) y 2= y 1−μ
2 2
−( x 2−1 ) −( y 2−1 ) +8=0
x 2=x 1
y 2= y 1
2 2
-(x 1) −( y 1 ) + 8=0
2 2
−( x 1−1 ) − ( y 1−1 ) +8=0
hence z1=0
Surface plot
Graphs are two different spheres with radius 8 and with two different centers. Figure shows the
intersection of two spheres.
1. https://tutorial.math.lamar.edu/classes/calciii/lagrangemultipliers.aspx
2. https://math.libretexts.org/Bookshelves/Calculus/Calculus_(OpenStax)/
14%3A_Differentiation_of_Functions_of_Several_Variables/14.08%3A_Lagrange_Multipliers
3. https://www.uwyo.edu/ceas/resources/current-students/classes/esig-help/windows-help-
files/MatLab/Matlab-Plotting%203D%20Spheres.pdf