What are the steps for solving a problem using Lagrange Multipliers?

Click For Summary

Discussion Overview

The discussion revolves around the application of Lagrange Multipliers to find the extrema of the function f(x, y) = e^(xy) under the constraint x^2 + y^2 = 8. Participants explore the steps involved in solving the problem, including deriving gradients and setting up equations.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant outlines their initial work, including the gradients of f and g, and sets up the equation gradient of f = L * gradient of g.
  • Another participant suggests solving for λ and equating the results, leading to the equation y/x = x/y, which implies x^2 = y^2.
  • Several participants question why e^(xy) cannot equal zero and discuss the implications of finding x^2 = y^2.
  • One participant calculates potential critical points by substituting x^2 for y^2 in the constraint and identifies points A through D, ultimately rejecting those outside the first quadrant.
  • Another participant agrees on the critical point (2, 2) and suggests comparing the function value at another point on the constraint to determine if it is a maximum or minimum.
  • Some participants express uncertainty about the origin of the alternative point chosen for comparison and discuss the correctness of their findings based on external references.
  • One participant expresses a desire to understand the problem-solving process using Lagrange Multipliers and mentions upcoming topics related to double integrals.

Areas of Agreement / Disagreement

Participants generally agree on the critical point (2, 2) being valid under the given constraints, but there is ongoing discussion about the nature of this point (maximum or minimum) and the validity of other points on the constraint. The discussion remains unresolved regarding the implications of the findings and the application of Lagrange Multipliers.

Contextual Notes

Participants express uncertainty about the implications of certain mathematical steps, such as the significance of x^2 = y^2 and the choice of additional points for comparison. There are also references to external validation from a textbook, which may influence the discussion.

Who May Find This Useful

Readers interested in optimization problems, particularly those involving Lagrange Multipliers, as well as those studying mathematical methods in calculus may find this discussion beneficial.

harpazo
Messages
208
Reaction score
16
Use Lagrange Multipliers to find the individual extrema, assuming that x and y are positive.

Maximize: f (x, y) = e^(xy)

Constraint: x^2 + y^2 = 8

My Work:

I decided to rewrite the constraint as x^2 + y^2 without the constant 8 as originally given.

g (x, y) = x^2 + y^2

I found the gradient of f to be ye^(xy)i + xe^(xy)j.

I found the gradient of g to be 2xi + 2yj.

I then substituted the above into

gradient of f = L * gradient of g, where L represents the lowercase Greek letter lambda.

ye^(xy)i + xe^(xy)j = L * 2xi + 2yj.

I equated the coefficient of i to 2xL and the coefficient of j to 2yL.

This yields the following system of equations:

ye^(xy) = 2xL
xe^(xy) = 2yL

I am stuck here.
 
Physics news on Phys.org
If you solve both equations for $\lambda$ and then equate the results, you obtain:

$$\frac{ye^{xy}}{2x}=\frac{xe^{xy}}{2y}$$

Multiply through by 2:

$$\frac{ye^{xy}}{x}=\frac{xe^{xy}}{y}$$

Since $e^{xy}\ne0$ for any real values, you may divide through by that expression:

$$\frac{y}{x}=\frac{x}{y}$$

What does this imply?
 
MarkFL said:
If you solve both equations for $\lambda$ and then equate the results, you obtain:

$$\frac{ye^{xy}}{2x}=\frac{xe^{xy}}{2y}$$

Multiply through by 2:

$$\frac{ye^{xy}}{x}=\frac{xe^{xy}}{y}$$

Since $e^{xy}\ne0$ for any real values, you may divide through by that expression:

$$\frac{y}{x}=\frac{x}{y}$$

What does this imply?

1. Why can't e^(xy) = 0? What is the reason for this fact?

2. After dividing through using e^(xy), we are left with
y/x = x/y.

I then cross-multiply to find x^2 = y^2 but I do not know what the implication is in this case.
 
Harpazo said:
1. Why can't e^(xy) = 0? What is the reason for this fact?

Consider:

$$e^u=0$$

What do you get when solving for $u$?

Harpazo said:
2. After dividing through using e^(xy), we are left with
y/x = x/y.

I then cross-multiply to find x^2 = y^2 but I do not know what the implication is in this case.

Okay, you correctly found $x^2=y^2$...what do you get when you substitute for either $x$ or $y$ in the constraint?
 
MarkFL said:
Consider:

$$e^u=0$$

What do you get when solving for $u$?
Okay, you correctly found $x^2=y^2$...what do you get when you substitute for either $x$ or $y$ in the constraint?

1. e^u = 0

Solving for u we get undefined.

2. I will plug either x^2 or y^2 into the constraint and get back to you later.
 
MarkFL said:
Consider:

$$e^u=0$$

What do you get when solving for $u$?
Okay, you correctly found $x^2=y^2$...what do you get when you substitute for either $x$ or $y$ in the constraint?

Ok. I will take it from x^2 = y^2. I decided to plug x^2 for y^2 in the given constraint which is x^2 + y^2 = 8.

x^2 + x^2 = 8

After doing algebra, I found x to be -2 and 2.

I then substituted x = -2 & x = 2 into the constraint to find the y value(s).

I found the following 4 points which I denoted using A through D:

A (-2, 2)

B (-2, -2)

C (2, 2)

D (2, -2)

I rejected points A, B, and D because they fall outside of quadrant 1.

The critical point is (2, 2).

I finally substituted the critical point (2, 2) into the original function. I found the max value to be e^4 > 0. This max value happens at the critical point (2, 2).

What do you say?
 
I agree that the point $(2,2)$, is the only one that meets all criteria. Now we need to compare the value of $f$ at another point on the constraint, such as $(\sqrt{5},\sqrt{3})$, to determine if our critical point is a maximum or a minimum...what do you find?
 
MarkFL said:
I agree that the point $(2,2)$, is the only one that meets all criteria. Now we need to compare the value of $f$ at another point on the constraint, such as $(\sqrt{5},\sqrt{3})$, to determine if our critical point is a maximum or a minimum...what do you find?

1. In Terms of the other point, where did it come from? Did it come from quadrant 1?

2. The back of the book tells me that I am correct. The max value is e^4 and it can only be found at the critical point (2, 2).

3. How can I solve this problem using Lagrange Multipliers? Like I said in another post, I enjoy working with Lambda.
 
I arbitrarily chose another point on the constraint, so that we could do a comparison like I mentioned just now in the other thread. :D
 
  • #10
MarkFL said:
I arbitrarily chose another point on the constraint, so that we could do a comparison like I mentioned just now in the other thread. :D

Good information. I have two more questions in terms of Lagrange Multipliers. The next chapter is DOUBLE INTEGRALS. Remember that I only present my questions after trying several times on my own.
 

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
Replies
5
Views
2K