Lagrange multipliers with two constraints

Click For Summary
SUMMARY

The discussion focuses on solving the optimization problem using Lagrange multipliers for the function f(x,y) = x + y, subject to the constraints x² + y² + z² = 1 and y + z = 12. The user initially derived the equations using lambda = 1/(2x) but encountered issues with the roots of the quadratic equation 6y² - 6y + 1 = 0. Ultimately, the correct roots were identified, leading to the conclusion that y = (3 + √3)/2 and z = (3 - √3)/2, while x was determined to be 0.

PREREQUISITES
  • Understanding of Lagrange multipliers
  • Familiarity with quadratic equations
  • Knowledge of multivariable calculus
  • Basic algebraic manipulation skills
NEXT STEPS
  • Study the application of Lagrange multipliers in optimization problems with multiple constraints
  • Explore the properties of quadratic equations and their roots
  • Learn about the geometric interpretation of Lagrange multipliers
  • Investigate other optimization techniques such as the method of substitution
USEFUL FOR

Students and educators in mathematics, particularly those studying calculus and optimization techniques, as well as professionals in fields requiring mathematical modeling and problem-solving skills.

aclotm81
Messages
2
Reaction score
0

Homework Statement


By using the Lagrange multipliers find the extrema of the following function:
f(x,y)=x+y
subject to the constraints:

x2+y2+z2=1
y+z=12. The attempt at a solution
Using lambda = 1/(2x) I got x=y-z and y=1-z
plugging that into the first constraint, I got:
6y^2-6y+1=0 which makes y=0.5+-(31/2/6)

I got the same thing when solving for z, which means x=0 and lambda = infinity, which doesn't make sense.
 
Physics news on Phys.org
You've also got z=1-y. So if you choose the root y=(3+sqrt(3))/2 you have to choose z=(3-sqrt(3))/2 not the other root for z. You can't mix and match any two roots with each other.
 
Ah, I forgot to distribute the negative! I hate when that happens...it's all worked out now, thanks a lot!
 

Similar threads

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