MHB Lagrange Multipliers: Find Extrema of f(x,y)=x^2y

Click For Summary
To find the extrema of the function f(x,y)=x^2y under the constraint g(x,y)=x^2+2y^2=6 using Lagrange multipliers, one must evaluate the gradients of both functions. The system of equations involves setting the gradient of f equal to a scalar multiple of the gradient of g. The critical points can be derived from the equations f_x(x,y)=λg_x(x,y) and f_y(x,y)=λg_y(x,y), along with the constraint. Participants in the discussion emphasize the importance of engaging with the problem-solving process rather than simply receiving answers. This collaborative approach aims to enhance understanding and learning outcomes for all involved.
GWR309
Messages
4
Reaction score
0
f(x,y)=x^2y with the constraint of x^2+2y^2=6

Use lagrange multipliers to find the extrema.

Thanks!
 
Physics news on Phys.org
Well, have you tried to solve the system

[math]\displaystyle \begin{align*} \nabla f(x, y) &= \lambda \nabla g(x, y) \\ g(x, y) &= k \end{align*}[/math]

yet? Here [math]\displaystyle f(x, y) = x^2y[/math] and [math]\displaystyle g(x, y) = x^2 + 2y^2 = 6[/math].
 
Prove It said:
Well, have you tried to solve the system

[math]\displaystyle \begin{align*} \nabla f(x, y) &= \lambda \nabla g(x, y) \\ g(x, y) &= k \end{align*}[/math]

yet? Here [math]\displaystyle f(x, y) = x^2y[/math] and [math]\displaystyle g(x, y) = x^2 + 2y^2 = 6[/math].

Yeah I tried. I ended up with 2y^2+sqrt(2)y-6 which doesn't seem right and if it is right, I don't know how to solve it
 
GWR309 said:
f(x,y)=x^2y with the constraint of x^2+2y^2=6

Use lagrange multipliers to find the extrema.

Thanks!

Hello again, GWR309!(Wave)

When I and others bring questions from other sites here, we provide a full solution, as a means of increasing our knowledge base and to demonstrate to guests the type of expertise available here at MHB.

As a registered member, you will now be encouraged to show what you have tried so that we may help you be a part of the learning process by taking part in getting to the solution. It would actually be lazy of us to provide full solutions to everyone, and would not meet our goal of teaching rather than simply providing answers, which is of minimal benefit to students.

We will provide suggestions/hints, and then expect you to either give feedback on your progress, or to ask for further clarification. We will continue until you have solved the problem, and you will have learned much more and will gain a sense of accomplishment in having actually taken part in finding the solution.

I just wanted to post that bit of information so that you understand why I worked out your problem from Yahoo! Answers in full when we normally try to actively engage students on the solutions process. I will now leave you in Prove It's very capable hands. (Cool)
 
GWR309 said:
Yeah I tried. I ended up with 2y^2+sqrt(2)y-6 which doesn't seem right and if it is right, I don't know how to solve it

Sorry but that's not even close. Start by evaluating the gradient vector for each of those functions. Remember that [math]\displaystyle \nabla f(x, y) = \left( \frac{\partial f }{\partial x} , \frac{\partial f}{\partial y} \right)[/math]
 
The way I learned to use Lagrange multipliers, while Prove It is being more rigorous, is to write:

The objective function is:

$$f(x,y)=x^2y$$

subject to the constraint:

$$g(x,y)=x^2+2y^2-6=0$$

Now, first find the implications of the system:

$$f_x(x,y)=\lambda g_x(x,y)$$

$$f_y(x,y)=\lambda g_y(x,y)$$

Then use the implications in the constraint to find the critical points. Can you write down the system from which to take the implications?
 
MarkFL said:
The way I learned to use Lagrange multipliers, while Prove It is being more rigorous, is to write:

The objective function is:

$$f(x,y)=x^2y$$

subject to the constraint:

$$g(x,y)=x^2+2y^2-6=0$$

Now, first find the implications of the system:

$$f_x(x,y)=\lambda g_x(x,y)$$

$$f_y(x,y)=\lambda g_y(x,y)$$

Then use the implications in the constraint to find the critical points. Can you write down the system from which to take the implications?

Which if we wrote as vectors would look like

[math]\displaystyle \begin{align*} \left[ \begin{matrix} f_x (x, y) \\ f_y (x, y) \end{matrix} \right] &= \lambda \left[ \begin{matrix} g_x(x, y) \\ g_y (x, y) \end{matrix} \right] \\ \nabla f(x, y) &= \lambda \nabla g(x, y) \end{align*}[/math]
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
7
Views
2K
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K