Lagrange multiplier

  • I
  • Thread starter kidsasd987
  • Start date
  • #1
143
4
Hi, I have a question about lagrange multiplier

Let's say we are given with the following constraints

Σ{Ni}=N and Σ{NiEi}=total energy. N and total energy are constants by definition.
if we take the derivative with respect to Nj,

∂Σ{Ni}/∂Nj=∂N/∂Nj
where i=j, ∂Σ{Ni}/∂Nj=1 and ∂N/∂Nj = 0 because N is constant.

On slide 14, it says ∂N/∂Nj = 0 while ∂Σ{Ni}/∂Nj=1 with the preceding constraint Σ{Ni}=N.
Then, we can conclude

∂Σ{Ni}/∂Nj= ∂N/∂Nj=0.

This is quite ambiguous to me.
if we assume we have a constraint x1+x2+x3..+xn=const.

partial of this constraint with respect to xj will be 1=0 therefore it is contradiction.
how shoud I interpret this?
 

Attachments

Answers and Replies

  • #2
2,792
594
A constraint means that your variables are not independent from each other. So when I have ## x_1+x_2+\dots+x_n=const ##, it means when I decrease one of the ##x##s, another increases to maintain the constant. But the way you differentiate it, you assume they're independent variables which is a wrong assumption.
 
  • #3
143
4
A constraint means that your variables are not independent from each other. So when I have ## x_1+x_2+\dots+x_n=const ##, it means when I decrease one of the ##x##s, another increases to maintain the constant. But the way you differentiate it, you assume they're independent variables which is a wrong assumption.
hmm I get it thanks .
 

Related Threads on Lagrange multiplier

  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
3
Views
3K
  • Last Post
Replies
2
Views
2K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
5
Views
879
Replies
13
Views
492
Replies
4
Views
4K
Replies
4
Views
3K
Replies
10
Views
6K
  • Last Post
Replies
12
Views
4K
Top