Lagrange Multiplier question with solid attempt

Click For Summary
The discussion focuses on using Lagrange multipliers to find the maximum and minimum values of the function f(x, y) = x + y² under the constraint g(x, y) = 2x² + y² - 1. The initial attempt involved setting up the equations from the gradients but contained errors in the derivatives and substitutions. After correcting the derivative for y, the participant found a critical point at (1/4, 7/8) but struggled to determine the maximum and minimum values. Another contributor suggested eliminating λ by dividing the equations to simplify the problem and pointed out a potential misunderstanding regarding the constraint definition. The conversation highlights the importance of correctly applying the method and clarifying constraints in optimization problems.
tamintl
Messages
74
Reaction score
0

Homework Statement



Use the method of Lagrange multipliers to find the maximum and minimum values of the function

f(x, y) = x + y2

subject to the constraint g(x,y) = 2x2 + y2 - 1


Homework Equations



none

The Attempt at a Solution



We need to find \nablaf = λ\nablag

Hence,

\nablafx - λ\nablagx = 0

Which becomes, 1 - λ(4x) = 0

\nablafy - λ\nablagy = 0

Which becomes, 2y - λ = 0

-------------------------

Now we have: x = 1/4λ and y = λ/2

I assume I am right in now subbing x and y into the constraint...

To give us: 2/16λ2 + λ2/4 - 1 = 0


It seems a bit messy considering this is an elementary part of my homework? Have I gone wrong somewhere?

Regards as always
 
Physics news on Phys.org
Your \partial{L}/\partial{y} is incorrect; try again.

RGV
 
Ray Vickson said:
Your \partial{L}/\partial{y} is incorrect; try again.

RGV

Wow, rookie error..

yep dL/dy = 2y - λ(2y)
so λ = 1

Thus, x=1/4

Put this into constraint to get: y=7/8

So (1/4,7/8) is a point..

How do i find the maximum and minimum? thanks
 
the equation 2y = lambda*(2y) has TWO solutions: lambda = 1 is one of them. Can you see another?

RGV
 
Since specific values of \lambda are not part of the "solution" of problems like these, I find it is often a good step to start by dividing one equation by another, eliminating \lambda at the start. Here, your equations are 1= 4\lambda x and 2y= 2\lambda y[/i2tex]. Dividing the second equation by the first:<br /> \frac{2y}{1}= \frac{2\lambda y}{\lambda x}= \frac{2y}{x}<br /> which reduces to x= 1 or y= 0.<br /> <br /> However, you say your constraint is &quot;g(x,y)= 2x^2+ y^2- 1&quot; which is not a constraint at all. Did you mean g(x,y)= 2x^2+ y^2= 1? If so, set x= 1 in that and solve for y, then set y= 0 and solve for x.
 
The statement that "specific values of lambda are not part of the solution ..." is either misleading or wrong, depending on exactly how you meant it. ONE of the max or min points IS obtained by looking at lambda = 1 and seeing the consequences.

RGV
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
10
Views
1K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
1K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K