Solve system of equations $2yz+y+9z=2xz+x+4z=2xy+4y+9x$

97 Views Asked by At

Applying the Lagrange multiplier to a constrained optimization problem results in the system of equations below,

$$2xyz +xy+4yz+9zx=36$$ $$w=2yz+y+9z$$ $$w=2xz+x+4z$$ $$w=2xy+4y+9x$$

which I have trouble dealing with. I only need the values of $(x,y,z)$ in the end and could get them by on-line calculators. But, would really like to know the steps to solve the system. There are four sets of solutions, which indicates that one should get a quartic equation for any of the variables after elimination of other variables. But, it does not seem to be straightforward due to coupling among the variables, which makes the isolation procedure non-trivial.

Would like to get a helpful hand in seeing some light of it.

2

There are 2 best solutions below

5
On

It seems that you want to find the conditional extrema of $x+y+z$ subject to the restriction in the first line. Fair enough.

You can solve the system using software, for instant with WolframAlpha, with the command GroebnerBasis, see here . This eliminates $x$, $y$, $z$ from the system, to get the equation that $w$ must satisfy: $w^6 - 252 w^4 - 1296 w^3=0$, that luckily factors as $w^3(w+6)(w+12)(w-18)=0$. Consider each case for $w$ in turn and solve the system in $x$, $y$, $z$. You can still do that using Groebner bases. For instance, in the case $w-18=0$, just add relation $w-18$, like here. It seems that all the solutions are nice...

3
On

Considering the system of equations $$2xyz +xy+4yz+9zx=36\tag 1$$ $$w=2yz+y+9z\tag 2$$ $$w=2xz+x+4z\tag 3$$ $$w=2xy+4y+9x\tag 4$$ what I did is the following

  • eliminate $y$ from $(2)$
  • eliminate $x$ from $(3)$
  • plug all of that in $(4)$ to end with $$\frac{(w+2) (2 w+9)}{(2 z+1)^2}-w-18=0 \implies z_\pm =\frac{\pm\sqrt{2 w^3+49 w^2+252 w+324}-w-18}{2 (w+18)}$$ Using $z_+$ and plugging in $(1)$ leads $$w^3-126 w-18 \left(\sqrt{(w+2) (w+18) (2 w+9)}+18\right)=0 $$ and the solutions are $w=-6$ and $w=18$. Using $z_-$ and plugging in $(1)$ leads $$-w^3+126 w+324-18 \sqrt{(w+2) (w+18) (2 w+9)}$$ and the solutions are $w=0$ and $w=-12$.

I hope no mistake.