Find the minimum distance from the origin to the intersection of $xy=6$ with $7x+24z=0$.
Solution:
We should minimize $f(x,y,z)=x^2+y^2+z^2$ subject to the two conditions $g(x,y,z)=xy-6$ and $h(x,y,z)=7x+24z-0$.
By the Lagranage multiplier method we , we have:$$\triangledown f=\lambda\triangledown g+ \mu\triangledown h \implies 2x \hat{i}+2y\hat{j}+2z\hat{k}=\lambda(7\hat{i}+24\hat{k})+\mu(y\hat{i}+x\hat{j})$$
From here, we have $$\begin{align*}2x=7\lambda+\mu y, \;\;2y=\mu x,\;\;2z=24\lambda \end{align*}$$
Now, we should solve these equations with $xy=6$ and $7x+24z=0$. How should I proceed to solve for $x,y,z$ and $\mu,\lambda$. Thanks.
Best Answer
Number the equations: $$2x=7\lambda+\mu y\tag1$$ $$2y=\mu x\tag2$$ $$2z=24\lambda\tag3$$ $$xy=6\tag4$$ $$7x+24z=0\tag5$$ We solve them as follows: