Finding Global Extrema on Disc x^2 + y^2 ≤ 1 for f(x,y) = xy + 5y

  • Thread starter Thread starter jonroberts74
  • Start date Start date
  • Tags Tags
    Disc Global
Click For Summary
SUMMARY

The discussion focuses on finding the global extrema of the function f(x,y) = xy + 5y within the disc defined by x² + y² ≤ 1. The critical point identified for the interior is (0, -5). For the boundary, the method of Lagrange multipliers is employed, leading to the equations y = λ2x and x + 5 = λ2y, which are solved to find critical points. The participants emphasize the importance of verifying solutions to avoid false results introduced by nonlinear manipulations.

PREREQUISITES
  • Understanding of multivariable calculus, specifically Lagrange multipliers.
  • Familiarity with gradient vectors and critical points.
  • Knowledge of the properties of functions defined on closed and bounded regions.
  • Ability to perform algebraic manipulations and solve nonlinear equations.
NEXT STEPS
  • Study the method of Lagrange multipliers in detail, focusing on its applications in optimization problems.
  • Learn about the second derivative test for identifying local maxima and minima in multivariable functions.
  • Explore the implications of nonlinear transformations in solving equations and how they can introduce extraneous solutions.
  • Practice finding extrema of various functions over constrained regions to solidify understanding of the concepts discussed.
USEFUL FOR

Students and educators in calculus, particularly those focusing on optimization techniques in multivariable functions, as well as anyone interested in applying Lagrange multipliers to real-world problems.

jonroberts74
Messages
189
Reaction score
0

Homework Statement



find the global extrema on the disc x^2 + y^2 \le 1

given the function f(x,y)=xy+5y

The Attempt at a Solution



For the interior of the disc

\nabla f = <y,x+5>

the critical point is (0,-5)

for the boundary of the disc
using lagrange multipliers

\left\{\begin{array}{cc}y=\lambda 2x \\ x+5 = \lambda 2y \\ x^2+y^2 =1 \end{array}\right.

solving for lambda

\lambda = \frac{y}{2x}; \lambda = \frac{x+5}{2y}
\frac{y}{2x}=\frac{x+5}{2y} \Rightarrow y = \pm \sqrt{x(x+5)}
now,
x^2 + (\pm \sqrt{x(x+5)})^2 = 1 \Rightarrow x = \frac{1}{4}(\pm\sqrt{33}-5)
subbing the x value into
y = \pm \sqrt{x(x+5)} \Rightarrow \pm \sqrt{\frac{1}{8}(5 \sqrt{33} - 21)}

I know to test those critical points in the original function but before I go further I want to make sure I have done everything up to it correctly
 
Last edited:
Physics news on Phys.org
jonroberts74 said:

Homework Statement



find the global extrema on the disc x^2 + y^2 \le 1

given the function f(x,y)=xy+5y




The Attempt at a Solution



For the interior of the disc

\nabla f = <y,x+5>

the critical point is (0,-5)

for the boundary of the disc
using lagrange multipliers

\left\{\begin{array}{cc}y=\lambda 2x \\ x+5 = \lambda 2y \\ x^2+y^2 =1 \end{array}\right.

solving for lambda

\lambda = \frac{y}{2x}; \lambda = \frac{x+5}{2y}
\frac{y}{2x}=\frac{x+5}{2y} \Rightarrow y = \pm \sqrt{x(x+5)}
now,
x^2 + (\pm \sqrt{x(x+5)})^2 = 1 \Rightarrow x = \frac{1}{4}(\pm\sqrt{33}-5)
subbing the x value into
y = \pm \sqrt{x(x+5)} \Rightarrow \pm \sqrt{\frac{1}{8}(5 \sqrt{33} - 21)}

I know to test those critical points in the original function but before I go further I want to make sure I have done everything up to it correctly

I got the same numbers using a different method.
 
  • Like
Likes   Reactions: 1 person
jonroberts74 said:

Homework Statement



find the global extrema on the disc x^2 + y^2 \le 1

given the function f(x,y)=xy+5y




The Attempt at a Solution



For the interior of the disc

\nabla f = <y,x+5>

the critical point is (0,-5)

for the boundary of the disc
using lagrange multipliers

\left\{\begin{array}{cc}y=\lambda 2x \\ x+5 = \lambda 2y \\ x^2+y^2 =1 \end{array}\right.

solving for lambda

\lambda = \frac{y}{2x}; \lambda = \frac{x+5}{2y}
\frac{y}{2x}=\frac{x+5}{2y} \Rightarrow y = \pm \sqrt{x(x+5)}
now,
x^2 + (\pm \sqrt{x(x+5)})^2 = 1 \Rightarrow x = \frac{1}{4}(\pm\sqrt{33}-5)
subbing the x value into
y = \pm \sqrt{x(x+5)} \Rightarrow \pm \sqrt{\frac{1}{8}(5 \sqrt{33} - 21)}

I know to test those critical points in the original function but before I go further I want to make sure I have done everything up to it correctly

Be careful: one of your ##x =\frac{1}{4}(\sqrt{33}-5)## and ## x =\frac{1}{4}(-\sqrt{33}-5)## is incorrect; do you see why?

It would have been less troublesome to use the Lagrangian stationary conditions to solve for ##x,y## as functions of ##\lambda##, then use these expressions in the constraint to get a single equation for ##\lambda##. The two roots for ##\lambda## correspond to the min and the max, and when you then use those values in the ##x,y## expressions you are done: no ##\pm## problems to worry about.
 
I am not currently aware of Lagrangian stationary conditions. I will use my googles but I always welcome better ways to do a problems. especially ones with less than optimal results.

I'll check those x values in the morning.

EDIT:

I found something about creating a new function and taking partials

F(x,y,z,\lambda)=f(x,y,z) - \lambda(g(x,y,z)-k)

and take the partials for x,y,z,lambda
 
Last edited:
jonroberts74 said:
I am not currently aware of Lagrangian stationary conditions. I will use my googles but I always welcome better ways to do a problems. especially ones with less than optimal results.

I'll check those x values in the morning.

You are aware of the conditions: you used them! They are just the two equations ##x+5 = 2 \lambda y## and ##y = 2 \lambda x##. These are the "stationarity" conditions for the Lagrangian function ##L = f(x,y) - \lambda g(x,y)## in the problem
\min f(x,y)\\<br /> \text{subject to } g(x,y) = 0

BTW: the Lagrangian ##L## plays an important role in second-order tests for maxima and minima, but more on that later.
 
  • Like
Likes   Reactions: 1 person
ah, okay thank you. I just hadn't heard that terminology used yet.
 
I went through it again, got the same number. I am not seeing why one of the x values is incorrect
 
jonroberts74 said:
I went through it again, got the same number. I am not seeing why one of the x values is incorrect

Whenever you use nonlinear manipulations (squaring equations, and the like) you can introduce false solutions, that is, so-called solutions that do not satisfy the original equations you started with. Check both ##x = (1/4)(\sqrt{33}-5)## and ##x = (1/4)(-\sqrt{33}-5)##. There is no way that one of them can possibly satisfy ##x^2 + y^2 \leq 1## for any real value of ##y##. If you don't believe it, try evaluating them numerically.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
1K
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
8
Views
2K