Ok this is the question I had on a test today:(adsbygoogle = window.adsbygoogle || []).push({});

given this constraint equation z^2-xy+1=0 find the min. distance from the origin using Lagrange method.

so basically you use D^2=x^2+y^2+z^2 as the other equation. however, it basically goes nuts from there. especially if you set it up like you are suppose to.

Fx=(lambda)Gx

Fy=(lambda)Gy

Fz=(lambda)Gz

g=0

(capitals are partial derivatives)

with f as the distance formual and g as the constraint

this one sucks but if someone could help it would be greatly appreciated

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Crazy optimization/Lagrange questino

**Physics Forums | Science Articles, Homework Help, Discussion**