- #1
Addez123
- 199
- 21
- Homework Statement
- f = x^2 + xy +y^2
x^4 + y^4 <= 8
y => 0
- Relevant Equations
- Lagrange multiplier
d(f,g)/d(x,y) = 0 also provides equation that solves everything
So I understand the concept of lagrange multiplier but I fail at every single execise I encounter anyways.
Because you always end up with unsolvable equations of x^3yzb3gh + 37y^38x^3 + k^5x = 0
Anways here's my stupid attempt:
Instead of doing
$$grad(f) + \lambda grad(g) = 0$$
I solve
$$
\begin{vmatrix}
df/dx & df/dy \\
dg/dx & dg/dy
\end{vmatrix} = 0$$
$$(2x+y)*4y^3 - (2y+x)(4x^3) = 0$$
$$2xy^3 + y^4 -2x^3y -x^4 = 0$$
At BEST you can deduct y^4 = 8-x^4 from the constraint function g.
But then you're still left with
$$2xy^3 + (8 - x^4) - 2x^3y -x^4 = 0$$
If you substitube y with
$$y = \sqrt{8-x^4}$$
then you just have an extremely convoluted mess.
You could make a guess that (0,0) is a critical point and test it. But really, this is just a mess of numbers and this is where I get stuck on every exercise.
Because you always end up with unsolvable equations of x^3yzb3gh + 37y^38x^3 + k^5x = 0
Anways here's my stupid attempt:
Instead of doing
$$grad(f) + \lambda grad(g) = 0$$
I solve
$$
\begin{vmatrix}
df/dx & df/dy \\
dg/dx & dg/dy
\end{vmatrix} = 0$$
$$(2x+y)*4y^3 - (2y+x)(4x^3) = 0$$
$$2xy^3 + y^4 -2x^3y -x^4 = 0$$
At BEST you can deduct y^4 = 8-x^4 from the constraint function g.
But then you're still left with
$$2xy^3 + (8 - x^4) - 2x^3y -x^4 = 0$$
If you substitube y with
$$y = \sqrt{8-x^4}$$
then you just have an extremely convoluted mess.
You could make a guess that (0,0) is a critical point and test it. But really, this is just a mess of numbers and this is where I get stuck on every exercise.
Last edited: