Lagrange Multipliers(just need confirmation)

  • Thread starter Thread starter arl146
  • Start date Start date
  • Tags Tags
    Lagrange
Click For Summary

Homework Help Overview

The discussion revolves around the application of Lagrange multipliers to find the maximum and minimum values of the function f(x1,x2,...,xn) = x1 + x2 + ... + xn, subject to the constraint that (x1)^2 + (x2)^2 + ... + (xn)^2 = 1.

Discussion Character

  • Exploratory, Assumption checking

Approaches and Questions Raised

  • Participants explore the implications of the constraint and the values of xi that satisfy it, questioning how these relate to the maximum and minimum values of the function. There are discussions about whether the function has a maximum or minimum and what values it takes under certain conditions.

Discussion Status

The discussion is ongoing, with participants providing insights into the behavior of the function under the given constraint. Some participants have suggested that the function may be constant, leading to questions about the existence of maximum and minimum values.

Contextual Notes

Participants are considering specific cases, such as n=2 and n=3, to better understand the function's behavior on the constraint surface. There is a focus on the interpretation of the results and the implications of the constraint on the function's values.

arl146
Messages
342
Reaction score
1

Homework Statement


Use Lagrange multipliers to find the max and min values of the function subject to the given constraints:

f(x1,x2,...,xn) = x1 + x2 + ... + xn
constraint: (x1)^2 + (x2)^2 + ... (xn)^2 = 1


The Attempt at a Solution



fo x1 to xn values, x must equal 1/sqrt(n) in order to equal 1. [ g(x)=k --> the constraint ]

so (1/sqrt(n))^2 + (1/sqrt(n))^2 + (1/sqrt(n))^2 + ETC = 1

right? so how else could i answer that? how would a give a value for the min/max?
 
Physics news on Phys.org
arl146 said:
fo x1 to xn values, x must equal 1/sqrt(n) in order to equal 1. [ g(x)=k --> the constraint ]

The sum of xi2 has to be equal to 1. So you have to solutions xi=1/√n or xi=-1/√n.

ehild
 
but what about the max/min ... or did i technically answer that?
 
arl146 said:
but what about the max/min ... or did i technically answer that?
What is the value of the function f if all xi-s are 1/√n ? and when all xi=-1/√n ?

ehild
 
always 1 ... so there is no max or min ? its just flat?
 
arl146 said:
always 1 ... so there is no max or min ? its just flat?
f = ∑ xi. Why is it 1??

ehild
 
...i don't know ...
 
Say n=2. f(x1,x2)=x1+x2. The constraint is x12+x22=1.
You found that the extrema are when x1=x2=1/√2 or x1=x2=-1/√2. Substitute back to f:

f=x1+x2=1/√2+1/√2=2/√2 or

f=x1+x2=-1/√2+(-1/√2)=-2/√2

Are the values of f equal to 1?

ehild
 
arl146 said:
always 1 ... so there is no max or min ? its just flat?

Is the function x1 + x2 + ...+ xn constant for all (x1, x2, ...,xn) on the sphere? Look at the cases of n = 2 and n = 3.

RGV
 

Similar threads

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