Lagrange method to find extremes

6 replies · 2K views · last reply
LCSphysicist
Messages
644
Reaction score
163
Homework Statement
Study the function's maximum and minimum
Relevant Equations
All below.
Handwritten problem b): f(x, y) = 3x + ye^(x²) + 2y² ≤ 1, with the inequality partly obscured by a stray mark.

ƒ(x,y) = 3x + y
x² + 2y² ≤ 1

It is easy to find the maximum, the really problem is find the minimum, here is the system:

(3,1) = λ(2x,4y)
x² + 2y² ≤ 1

how to deal with the inequality?
 
Sorry, I find the picture a little unclear. f(x,y)=3x+y is the function you're maximizing/minimizing, and ##x^2+2y^2\leq1## is the region of the plane you're doing it in?

The extrema all are in one of two states:
1.) The inequality is strict. In that case there's no boundary condition, and the gradient needs to just be zero.

2.) The inequality is exact. In that case you can use Lagrange multipliers to figure out where the extrema are.

I think you need to just solve these two cases separately.
 
  • Like
Likes   Reactions: LCSphysicist
Office_Shredder said:
Sorry, I find the picture a little unclear. f(x,y)=3x+y is the function you're maximizing/minimizing, and ##x^2+2y^2\leq1## is the region of the plane you're doing it in?

The extrema all are in one of two states:
1.) The inequality is strict. In that case there's no boundary condition, and the gradient needs to just be zero.

2.) The inequality is exact. In that case you can use Lagrange multipliers to figure out where the extrema are.

I think you need to just solve these two cases separately.
The gradients i found can never be zero, that is:

∇ƒ = (3,1,0)
so what to do?

I though wrongly that it would be, for example, (0,0) the minimum, but we can find to (-1,0) and so f = -3.
 
If the gradient is never zero, then all the extrema must be where the inequality is an equality, and you can use Lagrange multipliers.
 
  • Informative
Likes   Reactions: LCSphysicist
Office_Shredder said:
If the gradient is never zero, then all the extrema must be where the inequality is an equality, and you can use Lagrange multipliers.
Okay, that's good to know, i found:

A point written as (-6/√38, -1/√38), with the second coordinate shown as -1/√38.


the book:

Coordinate pair written in parentheses: (-6/√38, -6/√38).

but (-6/√38,-6/√38) don't satisfy!
(-6/√38)² + 2*(-6/√38)² ≤ 1

Maybe am i right?
 
Attachments
  • Portuguese text: (6/√38, 1/√38) é ponto de máximo; (-6/√38, -1/√38) é ponto de mínimo.
    1597336469028.png
    3.8 KB · Views: 209
  • Point written as (-6/√38, -1/√38), with the fractions set in a parenthesised coordinate pair.
    1597336493633.png
    1.2 KB · Views: 231
  • Coordinates written as (-6/√38, -6/√38), with the x and y components each shown as a fraction with numerator -6 and denominator √38.
    1597336571310.png
    1.2 KB · Views: 218
I think you got it right, and the book has a typo.
 
  • Like
Likes   Reactions: LCSphysicist