Optimization Problem: Max and Min Values of e^(x+2y) with x^2+y^2=5 Condition

  • Context: MHB 
  • Thread starter Thread starter Yankel
  • Start date Start date
  • Tags Tags
    Optimization
Click For Summary

Discussion Overview

The discussion revolves around finding the maximum and minimum values of the function \(z=e^{x+2y}\) subject to the constraint \(x^{2}+y^{2}=5\). Participants explore methods for solving this optimization problem, particularly through the use of Lagrange multipliers.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant suggests that the problem may involve Lagrange multipliers but expresses uncertainty about its application.
  • Another participant confirms that Lagrange multipliers is a suitable approach and prompts for the system of equations derived from the partial derivatives.
  • Participants discuss the formulation of the Lagrangian function and the necessity of setting partial derivatives to zero.
  • There is a disagreement regarding the sign of the terms involving the Lagrange multiplier, with one participant insisting on addition while another prefers subtraction.
  • One participant expresses confusion about the correctness of their derivatives and seeks clarification on solving the resulting system of equations.
  • A participant derives a relationship between \(x\) and \(y\) leading to critical points, but questions whether these are the only points and how to confirm they are absolute extrema.
  • Another participant reassures that the calculations are correct and discusses the implications of the constraint on the critical points.

Areas of Agreement / Disagreement

Participants generally agree on the correctness of the calculations related to the critical points, but there is disagreement on the formulation of the Lagrangian function and the method of deriving the equations. The discussion remains unresolved regarding the best approach to formulate the Lagrangian and the implications of the results.

Contextual Notes

Participants express uncertainty about the implications of their findings and the nature of the critical points. There is also a lack of consensus on the correct formulation of the Lagrangian function, which may affect the results.

Yankel
Messages
390
Reaction score
0
Hello all,

I am trying to solve this problem, and I don't know which way to go...

The product of the maximum value and minimum value of the function:

\[z=e^{x+2y}\]

under the condition:

\[x^{2}+y^{2}=5\]

Equals to:

a. 0
b. 1
c. e^5
d. e
e. e^-1

I have a feeling that this problem involves the Lagrange multipliers, but I am really not sure, and doesn't know how it's related to it (in case I am correct).

Thank you
 
Physics news on Phys.org
Yes, Lagrange multipliers is a good way to go here. Your objective function is:

$$f(x,y)=e^{x+2y}$$

subject to the constraint:

$$g(x,y)=x^2+y^2-5=0$$

Can you form the system of equations that results from the partials?
 
Hi!

Let's indeed try with the Lagrange multipliers.

We define:
$$\Lambda = e^{x+2y} - \lambda(x^{2}+y^{2}-5)$$
And we set each of the partial derivatives of $\Lambda$ to zero.
Which system do you get?
 
I did what you suggested and got these 3 equations, technically (algebraically), how do I solve such a thing ?\[e^{x+2y}+2\lambda x=0\]

\[2e^{x+2y}+2\lambda y=0\]

\[x^{2}+y^{2}-5=0\]Thank you
 
You have a sign error in front of the terms having $\lambda$ as a factor.

The way I was taught, which is equivalent to I like Serena's suggestion, is to use:

$$f_x(x,y)=\lambda g_x(x,y)$$

$$f_y(x,y)=\lambda g_y(x,y)$$

Now this should give you an implication regarding the relationship between the two variables at the critical point. Solve both for $\lambda$ and then equate the results and simplify. What do you find?
 
I can't find any error. The Lagrangian function is:

\[L(x,y,\lambda )=e^{x+2y}+\lambda (x^{2}+y^{2}-5)\]

And I need to find it's derivatives by x, y and lambda, can't find my error there.
 
Yankel said:
I can't find any error. The Lagrangian function is:

\[L(x,y,\lambda )=e^{x+2y}+\lambda (x^{2}+y^{2}-5)\]

And I need to find it's derivatives by x, y and lambda, can't find my error there.

Well, you are correct in that within the Lagrangian function, the term with $\lambda$ may be either added or subtracted. I prefer subtraction as given by I like Serena. Either way, you should find the same implication though.
 
I am getting confused here. I learned that I need to add, not subtract. I believe you that you can do both.

But assume that adding is what needed, do we agree that my derivatives are correct ?
(they must be, checked with Maple)

How do I solve this system then ? :confused:
 
Yankel said:
I am getting confused here. I learned that I need to add, not subtract. I believe you that you can do both.

But assume that adding is what needed, do we agree that my derivatives are correct ?
(they must be, checked with Maple)

How do I solve this system then ? :confused:

Yes, my apologies...what you have done so far is correct. So, let's look at your first two equations:

$$e^{x+2y}+2\lambda x=0$$

$$2e^{x+2y}+2\lambda y=0$$

Now, solve both for $\lambda$ and then equate the results and simplify. What do you find?
 
  • #10
No worries :)

What I got was:

\[\frac{1}{2x}=\frac{1}{y}\]

From which I got:

\[y=2x\]

I put it in the 3rd equation and got:

\[x=\pm 1\rightarrow y=\pm 2\]

Leading me to 2 critical points:

\[f(1,2)=e^{5}\]

\[f(-1,-2)=e^{-5}\]Are my calculations correct ?

Are these the only points, how do I know that they are absolute min/max ?
 
  • #11
Yes, your calculations are correct. Does the constraint lead to any other critical points with the implication you found? To verify the nature of the critical points you found, you could use the constraint, solving it for one of the variables, and then substitute into the objective function to get a function in one variable, and then use the first or second derivative test.
 
  • #12
Yankel said:
Are my calculations correct ?

Are these the only points, how do I know that they are absolute min/max ?

Yep. All correct!

Since you have a continuous function defined on a circle, there can be no boundary extremum.
That leaves only local and absolute minima and maxima.
Since there is only one minimum and one maximum, both of them have to be absolute.
 
  • #13
Thanks guys,

great help !

(Yes)
 

Similar threads

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