Sunday

March 29, 2015

March 29, 2015

Posted by **Justin** on Tuesday, December 7, 2010 at 9:46pm.

- Math -
**MathMate**, Tuesday, December 7, 2010 at 11:54pmRead up your textbook or lecture notes on Lagrange multipliers. It is not as difficult as it sounds.

However, you need to master you algebra and basic calculus, which I believe should not be a problem.

To put it in the least words possible, we attempt to optimize (maximize or minimize) a function f(x,y,z) subject to the constraint g(x,y,z).

The suggested objective function is the square of the distance from the origin, which therefore is

f(x,y,z)=x²+y²+z²

The constraint is

g(x,y,z)=x-2y+3z-14=0

We now introduce a Lagrange multiplier, λ, to form a new function Λ:

Λ(x,y,z)=f(x)-λg(x)

Λ(x,y,z)=x²+y²+z²-λ(x-2y+3z-14)

Now apply partial differentiation with respect to each of the variables, and equate result to zero:

∂Λ/∂x=2x-λ...(1)

∂Λ/∂y=2y+2λ...(2)

∂Λ/∂z=2z-3λ...(3)

Add the original constraint equation:

x-2y+3z-14=0...(4)

Now solve the system of 4 equations in x,y,z and λ and voilą!

x=1, y=-2, z=3, L=2.

So the distance is

D=√(1²+(-2)²+3²)

=√14

How can we tell if this is correct?

This is not too difficult... in this particular case.

The shortest distance from a point (origin 0,0,0) to a plane is the perpendicular distance, given by the well-known formula:

Dmin=(ax0+by0+cz0+d)/√(a²+b*sup2;+c²)

=(0-0+0-14)/√(1²+(-2)²+3²)

=-14/√(14)

=-√(14)

and the square of the minimum distance

Dmin²=14

which checks with our Lagrange multiplier answer.

**Answer this Question**

**Related Questions**

physics - A point charge Q= 4.60 uC is held fixed at the origin. A second point ...

calculus - Find the point on the plane z = 6x + 9y + 1 closest to the point P...

physics - A ball starts at the origin from rest rolling down a hill. It takes ...

calculus - Use Lagrange multipliers to find the maximum and minimum values of f(...

calculus - Use Lagrange multipliers to find the max/min values of the function f...

Math - How do you: Find the shortest distance, to two decimal places from the ...

Calculus - With y=f(x) (2x-10)^1/2 having a virtual line joined at point Q from ...

physics - A projectile is launched from ground level at 37.0 m/s at an angle of ...

math - Which point on the circle x^2+y^2-12x-4y=50 is closest to the origin? ...

Math - Which point on the circle x^2+y^2-12x-4y=50 is closest to the origin? ...