Finding Critical Points of P: Sum Notation Explained

Click For Summary
To find the critical points of the function P = (x_{1} - 1)^{2} + (x_{n})^{2} + ∑(x_{k+1} - x_{k}), the differentiation must be done with respect to each variable x_{1}, x_{2}, ..., x_{n}. The resulting equations indicate that x_{1} = 3/2 and x_{n} = -1/2, while x_{2} through x_{n-1} do not appear in the equations, implying they can take any value. This means that the critical points can be expressed as (3/2, x_{2}, ..., x_{n-1}, -1/2), where x_{2} and the other intermediate variables are not constrained. The discussion emphasizes the importance of correctly identifying which variables affect the critical points in the context of summation notation.
hoffmann
Messages
65
Reaction score
0
i have the following problem:

find the critical points of:

P = (x_{1} - 1)^{2} + (x_{n})^{2} + \sum(x_{k+1} - x_{k})

the bounds of the sum are from i = 1 to n-1.

so i differentiate P with respect to x and i set it equal to zero, and i eventually get the expression:

\sum(x_{k+1} - x_{k}) = 1 - x_{1} - x_{n}

what do i do from here / how do i differentiate the summation notation?

thanks!
 
Physics news on Phys.org
How can you differentiate with respect to x when there is no x in the problem? I think you want to differentiate with respect to x1, x2, x3... xn and set them all equal to zero to get a critical point.
 
alright, so how would i do that within the summation notation?
 
You can write the summation in a form that's a lot simpler. Take the case n=4. Then the sum is (x4-x3)+(x3-x2)+(x2-x1). Do you see what I'm saying?
 
i'll write P as:

P = x^{2}_{1} - 2x_{1} + 1 + x^{2}_{n} + (x_{n} - x_{n-1}) + ... + (x_{2} - x_{1})

and now differentiating P wrt x1, ..., xn:

P^{'}_{x_{1}} = 2x_{1} -3 = 0, x_{1}= 3/2

P^{'}_{x_{2}} = -1 + 1= 0, x_{2}= 0

P^{'}_{x_{n}} = 2x_{n}+ 1 = 0, x_{n}= -1/2

so would the critical points be (3/2, 0, ..., 0, -1/2)? or am i doing something wrong...
 
Only a bit wrong. Your P'_x2 doesn't have any x2 in it. It's identically zero. No matter what x2 is. Doesn't that mean x2 can be anything? Same for x3...xn-1?
 
yep, that makes sense. why isn't x2, ..., xn-1 = 0 then? are you saying it should just be 1?
 
No, I'm saying that if x2...xn-1 don't even occur in your equations, then there is nothing to solve for and they could be ANYTHING.
 

Similar threads

Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 21 ·
Replies
21
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K