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 - The Fusion of Science and Community**

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

Loading...

Similar Threads for Crazy optimization Lagrange | Date |
---|---|

A Pontryagin minimum principle with control constraints | Apr 3, 2018 |

A What is the closed-form solution using ALS algorithm to optimize | Feb 24, 2016 |

What is this differential equation? I'm going crazy | Aug 11, 2015 |

ODE with a function of variable crazy equ please help | Feb 17, 2012 |

Crazy ODE, can it be solved? | Dec 9, 2010 |

**Physics Forums - The Fusion of Science and Community**