Question #107935
What is the shortest distance from the surface xy+12x+z2=144 to the origin?

distance=?
1
Expert's answer
2020-04-07T12:08:32-0400

Let the square of the distance function be f(x,y,z)=x2+y2+z2f(x,y,z)=x^2+y^2+z^2

Given, the constraint function g(x,y,z)=xy+12x+z2g(x,y,z)=xy+12x+z^2


Apply Lagrange Multiplier as,


f(x,y,z)=λg(x,y,z)\nabla f(x,y,z)=\lambda g(x,y,z)


So, find the gradient both sides to obtain,


<2x,2y,2z>=λ <y+12,x,2z><2x,2y,2z>=\lambda\ <y+12,x,2z>

Equate to gradients of both sides as,


2x=λ(y+12),2y=λ(x),2z=λ(2z)2x=\lambda (y+12), 2y=\lambda (x), 2z=\lambda (2z)

From equation 2z=λ(2z),λ=12z=\lambda (2z),\lambda=1 , so plug λ=1\lambda=1 into 2y=λ(x)2y=\lambda (x) to obtain x=2yx=2y.

Next, plug x=2yx=2y and λ=1\lambda=1 into equation 2x=λ(y+12)2x=\lambda (y+12) and solve for yy as,



2(2y)=(y+12)2(2y)=(y+12)4y=y+124y=y+12

Subtract yy from both sides to isolate variable yy from constant as,


4yy=y+12y4y-y=y+12-y3y=123y=12

Divide both sides by 33 to obtain,


3y3=123\frac{3y}{3}=\frac{12}{3}y=4y=4

So, the value of yy is y=4y=4 and x=2y=2(4)=8x=2y=2(4)=8


Now, plug the values of xx and yy into constraint equation xy+12x+z2=144xy+12x+z^2=144 and solve for zz as,


(8)(4)+12(8)+z2=144(8)(4)+12(8)+z^2=14432+48+z2=14432+48+z^2=14480+z2=14480+z^2=144

Subtract 8080 from both sides to obtain,


80+z280=1448080+z^2-80=144-80z2=64z^2=64z=±8z=±8

Now, plug x=8,y=4x=8,y=4 and z=±8z=±8 into objective function f(x,y,z)=x2+y2+z2f(x,y,z)=x^2+y^2+z^2 to obtain,


f(8,4,±8)=(8)2+(4)2+(±8)2=64+16+64=144f(8,4,±8)=(8)^2+(4)^2+(±8)^2=64+16+64=144

Next, find the square root of objective function as,


d=144=12d=\sqrt{144}=12


Therefore, the shortest distance from the surface xy+12x+z2=144xy+12x+z^2=144 to the origin is [12][12].



Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS