Find the maximum and minimum values of the function (Answers included).

Click For Summary
SUMMARY

The discussion focuses on finding the maximum and minimum values of the function f(x,y) = 2x^2 - 28xy + 2y^2 - 1 within the constraint x^2 + y^2 ≤ 1 using the Lagrange Multiplier method and partial differentiation. The correct minimum is calculated as 2*(sqrt(1/2))^2 - 28*sqrt(1/2)*sqrt(1/2) + 2(sqrt(1/2))^2 - 1, while the maximum is found using the same function structure with positive square roots. The choice of positive or negative square roots for x and y is crucial in determining the correct extremum values.

PREREQUISITES
  • Understanding of Lagrange Multiplier method
  • Knowledge of partial differentiation
  • Familiarity with optimization problems in calculus
  • Basic concepts of constraints in mathematical functions
NEXT STEPS
  • Study the application of the Lagrange Multiplier method in constrained optimization problems
  • Learn about partial differentiation techniques for multivariable functions
  • Explore the geometric interpretation of constraints in optimization
  • Investigate the implications of choosing different signs for Lagrange multipliers
USEFUL FOR

Students studying calculus, particularly those focusing on optimization techniques, as well as educators teaching advanced mathematical concepts related to multivariable functions and constraints.

s3a
Messages
828
Reaction score
8

Homework Statement


Find the maximum and minimum values of the function
f(x,y) = 2x^2 - 28xy + 2y^2 - 1 on the disk x^2 + y^2 <= 1.

(a) Find the maximum.
(b) Find the minimum.


Homework Equations


Lagrange Multiplier method and partial differentiation.


The Attempt at a Solution


My work is attached as MyWork.jpg. If anything is unclear, tell me and I will restate it (or whatever it is you request). In the image, I forgot to plug in x and y in f(x,y) to get f(sqrt(1/2), sqrt(1/2). This yields the correct answer for the minimum: 2*(sqrt(1/2))^2 - 28*sqrt(1/2)*sqrt(1/2) + 2(sqrt(1/2))^2 - 1 whereas the correct answer for the maximum is: 2*(sqrt(1/2))^2 + 28*sqrt(1/2)*sqrt(1/2) + 2(sqrt(1/2))^2 - 1. So, my ultimate question is, what are the reasons for choosing positive or negative square roots for x and/or y?
 

Attachments

  • MyWork.jpg
    MyWork.jpg
    71.3 KB · Views: 516
Physics news on Phys.org
s3a said:

Homework Statement


Find the maximum and minimum values of the function
f(x,y) = 2x^2 - 28xy + 2y^2 - 1 on the disk x^2 + y^2 <= 1.

(a) Find the maximum.
(b) Find the minimum.


Homework Equations


Lagrange Multiplier method and partial differentiation.


The Attempt at a Solution


My work is attached as MyWork.jpg. If anything is unclear, tell me and I will restate it (or whatever it is you request). In the image, I forgot to plug in x and y in f(x,y) to get f(sqrt(1/2), sqrt(1/2). This yields the correct answer for the minimum: 2*(sqrt(1/2))^2 - 28*sqrt(1/2)*sqrt(1/2) + 2(sqrt(1/2))^2 - 1 whereas the correct answer for the maximum is: 2*(sqrt(1/2))^2 + 28*sqrt(1/2)*sqrt(1/2) + 2(sqrt(1/2))^2 - 1. So, my ultimate question is, what are the reasons for choosing positive or negative square roots for x and/or y?

In the problem max f(x) s.t. g(x) <= 0, if you want the Max you should use L = f - λg, with λ ≥ 0; if you want the Min you should use L = f + λg, with λ >= 0 (or use f - λg with λ ≤ 0).

How can you remember this? The easiest way is to form L so that it is more favourable than f for feasible points; that is, for feasible points, L should be ≥ f in a max problem and should be ≤ f in a min problem. So, if the constraint is g ≤ 0 we get something ≥ f in a max problem by subtracting g, that is, by using L = f - λg with λ ≥ 0.

Note that for an equality constrained problem, with constraint g = 0, the sign of λ is not determined, and it does not matter whether you write L = f + λg or L = f - λg.

So, in your analysis you need to look at the sign of your λ.

RGV
 
The Lagrange multiplier method requires that you have "=" in the constraint. You can use that to determine any max or min on the boundary. Just set the partial derivatives equal to 0 in the interior of the disc.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
2
Views
2K
  • · Replies 27 ·
Replies
27
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
Replies
6
Views
2K
Replies
9
Views
2K