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
 
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.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 18 ·
Replies
18
Views
4K