^{2 }= (x-1)

^{2}+(y-1)

^{2}

^{ }

Find the minimum distance from the origin to the surface z^{2 }= (x-1)^{2}+(y-1)^{2} ^{
}

Tutors, sign in to answer this question.

This is a constrained optimization problem, so we need Lagrange multipliers.

We are constrained to the given surface, so we'll start by writing it in level-set form:

- g(x,y,z)=0=(x-1)
^{2}+(y-1)^{2}-z^{2} - We use the level set form because we want our gradient to produce vectors that are perpendicular to the surface. Other than that, there's nothing special about the level set and it does not change the surface at all. It's a shift in thinking: instead of dealing with z=f(x,y), we rewrite it to be 0 = f(x,y)-z = g(x,y,z).
- Additionally, writing the constraint in level-set form changes it from a function of two variables [f(x,y)] to a function of three variables [g(x,y,z)], so it will now match dimensions with the function in the next section.

The function we are optimizing ("objective function") is the distance from the origin.

- f(x,y,z)=√[x
^{2}+y^{2}+z^{2}] (a function of three variables) - This function is fine for optimization, but the square root will make our derivatives a bit messy. We can choose to optimize the
*square distance*instead, which will preserve our maxima/minima (if we have a set of numbers arranged from smallest to largest and then square them, they will still be arranged in ascending order) - choose f(x,y,z)=x
^{2}+y^{2}+z^{2}

Now we can apply the Lagrange multiplier equation and solve the resulting system of equations:

- ∇f=λ∇g (unknowns are x, y, z, and λ, so we require 4 equations to solve)
- <2x, 2y, 2z> = <2λ(x-1), 2λ(y-1), -2λz>
- Set vector components equal to one another to obtain first three equations; fourth equation is the level-set constraint written earlier (g=0)
- Eqn1: 2x=2λ(x-1)
- Eqn2: 2y=2λ(y-1)
- Eqn3: 2z=-2λz
- Eqn4: 0=(x-1)
^{2}+(y-1)^{2}-z^{2}

From Eqn3, we get λ=-1. Substituting this value into Eqn1 and Eqn2 give us x=1/2 and y=1/2. Then substituting those values into Eqn4 results in z=1/√2.

The point on the given surface that is closest to the origin is (1/2, 1/2, 1/√2), which is a distance of √[1/4+1/4+1/2]=√1=1 away from the origin.

Already have an account? Log in

By signing up, I agree to Wyzant’s terms of use and privacy policy.

Or

To present the tutors that are the best fit for you, we’ll need your ZIP code.

Your Facebook email address is associated with a Wyzant tutor account. Please use a different email address to create a new student account.

Good news! It looks like you already have an account registered with the email address **you provided**.

It looks like this is your first time here. Welcome!

To present the tutors that are the best fit for you, we’ll need your ZIP code.

Please try again, our system had a problem processing your request.

Alexis D.

Neuro Researcher with Significant Tutoring Experience, Night Tutoring

$11.25 per 15 min

View Profile >

Milan S.

UC Berkeley CS & Math major Tutor For Mastering SAT/SSAT/Math

$10 per 15 min

View Profile >

Cara Marie M.

Professional Tutor for Advanced Math, Science and MCAT!

$12.50 per 15 min

View Profile >