How Do You Solve a Lagrange Multiplier Problem with a Circle Constraint?

MrCreamer
Messages
6
Reaction score
0

Homework Statement



Find the extrema of f(x, y) = x2−2xy+ 2y2, subject to the
constraint x2 +y2 = 1.

Homework Equations



∇f(x,y) = λg(x,y)

The Attempt at a Solution



This is the work I have thus far:

Letting g(x,y) = x2+y2-1,

We obtain the following three equations from the Lagrange Multiplier equation:

2x-2y = 2λx
4y-2x = 2λy
x2+y2-1=0

I know that x and y cannot both be zero due to the constraint equation.

If x = 0:

4y = 2λy

--> λ = 2

If y = 0:

2x = 2λx

--> λ = 1

I have no idea what else to do
 
Physics news on Phys.org
MrCreamer said:

Homework Statement



Find the extrema of f(x, y) = x2−2xy+ 2y2, subject to the
constraint x2 +y2 = 1.


Homework Equations



∇f(x,y) = λg(x,y)


The Attempt at a Solution



This is the work I have thus far:

Letting g(x,y) = x2+y2-1,

We obtain the following three equations from the Lagrange Multiplier equation:

2x-2y = 2λx
4y-2x = 2λy
x2+y2-1=0

I know that x and y cannot both be zero due to the constraint equation.

If x = 0:

4y = 2λy

--> λ = 2

If y = 0:

2x = 2λx

--> λ = 1

I have no idea what else to do

Using the symbol u instead of λ, you have:
##(1-u)x = y## and ##(2-u)y = x##, so ##0 = x(u^2 - 3u + 1)##.
 
MrCreamer said:
We obtain the following three equations from the Lagrange Multiplier equation:

2x-2y = 2λx
4y-2x = 2λy
x2+y2-1=0

I know that x and y cannot both be zero due to the constraint equation.

If x = 0:

4y = 2λy

--> λ = 2

If y = 0:

2x = 2λx

--> λ = 1

I have no idea what else to do
At this point, there's really no reason to consider the cases x=0 and y=0. Nothing in the equations obviously suggests that either of those cases have anything to do with solving the system of equations. However, after you combine the equations the way Ray suggests, you find x=0 could be part of a possible solution. You found this implies that ##y \ne 0## and ##\lambda=2##. The first equation, however, then requires that ##y=0##, which is a contradiction. You can therefore eliminate x=0 as a possibility.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top