PlanetMath (more info)
 Math for the people, by the people. Sponsor PlanetMath
Encyclopedia | Requests | Forums | Docs | Wiki | Random | RSS  
Login
create new user
name:
pass:
forget your password?
Main Menu
Owner confidence rating: Very high Entry average rating: No information on entry rating
[parent] example of using Lagrange multipliers (Example)

One way to determine the perpendicular distance of the parallel planes $$Ax+By+Cz+D \;=\; 0 \quad \mbox{and} \quad Ax+By+Cz+E \;=\; 0$$ is to use the Lagrange multiplier method. In this case we may to minimise the Euclidean distance of a point $(x,\,y,\,z)$ of the former plane to a (fixed) point $(x_0,\,y_0,\,z_0)$ of the latter plane.

Thus we have the equation $Ax_0+By_0+Cz_0+E \,=\, 0$ which we can subtract from the first plane equation, getting

$\displaystyle g \;:=\; A(x-x_0)+B(y-y_0)+C(z-x_0)+D-E \;=\; 0.$ (1)

This is the (only) constraint equation for minimising the square
$\displaystyle f \;:=\; (x-x_0)^2+(y-y_0)^2+(z-x_0)^2$ (2)

of the distance of the points.

The polynomial functions $f$ and $g$ satisfy the differentiability requirements. Accordingly, we can find the minimising point $(x,\,y,\,z)$ by considering the system of equations formed by (1) and

\begin{align*}\begin{cases}\frac{\partial f}{\partial x}+\lambda\frac{\partial g... ...al g}{\partial z} \;\equiv\; 2(z-z_0)+\lambda C \;=\; 0. \end{cases}\end{align*} (3)

We solve from (3) the differences $$x-x_0 \;=\; -\frac{A\lambda}{2}, \quad y-y_0 \;=\; -\frac{B\lambda}{2}, \quad z-z_0 \;=\; -\frac{C\lambda}{2}$$ and set them into (1). It then yields the value $$\lambda \;=\; \frac{2(D-E)}{A^2+B^2+C^2}$$ of the Lagrange multiplier, which we substitute into the preceding three equations obtaining $$x-x_0 \;=\; \frac{A(D-E)}{A^2+B^2+C^2}, \quad y-y_0 \;=\; \frac{B(D-E)}{A^2+B^2+C^2}, \quad z-z_0 \;=\; \frac{C(D-E)}{A^2+B^2+C^2}.$$ These values give the minimal distance when put into the expression of $\sqrt{f}$ : $$d \;=\; \sqrt{\frac{(D-E)^2(A^2+B^2+C^2)}{(A^2+B^2+C^2)^2}}.$$ Hence we have gotten the distance formula $$d \;=\; \frac{|D-E|}{\sqrt{A^2+B^2+C^2}}.$$




"example of using Lagrange multipliers" is owned by pahio.
(view preamble | get metadata)

View style:

See Also: parallelism of two planes, example needing two Lagrange multipliers

Other names:  example of Lagrange multipliers
Keywords:  Lagrange multiplier

This object's parent.

Attachments:
Lagrange multiplier applied to the Legendre transform (Example) by dh2718
Log in to rate this entry.
(view current ratings)

Cross-references: expression, minimal, differences, polynomial functions, equation, fixed, plane, point, Euclidean distance, Lagrange multiplier method, parallel planes, distance, perpendicular
There is 1 reference to this entry.

This is version 4 of example of using Lagrange multipliers, born on 2009-02-06, modified 2009-02-08.
Object id is 11604, canonical name is ExampleOfUsingLagrangeMultipliers.
Accessed 1217 times total.

Classification:
AMS MSC26B10 (Real functions :: Functions of several variables :: Implicit function theorems, Jacobians, transformations with several variables)
 51N20 (Geometry :: Analytic and descriptive geometry :: Euclidean analytic geometry)

Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:
forum policy

No messages.

Interact
post | correct | update request | add example | add (any)