A - Mechanism - Consists - of - Two - Horizontal - Circles Final

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

A mechanism consists of two horizontal circles, each of radius √ 8and centered at (0,0,0) and at (1, 1, 1),

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

Rubric for Problem

(a) 4 points for modelling f, g,h


f is distance function
f =√ (x 2−x 1 )2+( y 2− y 1 )2+(z 2−z 1)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

(b) 6 points for finding the critical points


To find critical point compute

∇ 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 )

∇ h=(0 , 0 , 0 ,2 x 2−2 , 2 y 2−2, 2 z 2−2)

∇ 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 x 2−2 x 1=2 μx 2−2 μ

2 y 2−2 y 1=2 μy 2−2 μ

2 z 2−2 z 1=2 μz 2−2 μ


2 2 2
-(x 1) −( y 1 ) −( z 1 ) + 8=0

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−μ) x 2=x 1−μ

(1−μ) y 2= y 1−μ

(1−μ) z 2=z 1−μ


2 2
-(x 1) −( y 1 ) + 8=0

2 2
−( x 2−1 ) −( y 2−1 ) +8=0

since λ∧¿ μ are zero for

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

z 2=1 are critical points

Surface plot
Graphs are two different spheres with radius 8 and with two different centers. Figure shows the
intersection of two spheres.

Maximum is 16 and minimum is 0 by evaluating at critical points.

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

You might also like