Finding Critical Points of P: Sum Notation Explained

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 2K views
hoffmann
Messages
65
Reaction score
0
i have the following problem:

find the critical points of:

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

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:

[tex]\sum(x_{k+1} - x_{k}) = 1 - x_{1} - x_{n}[/tex]

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?
 
i'll write P as:

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

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

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

[tex]P^{'}_{x_{2}} = -1 + 1= 0, x_{2}= 0[/tex]

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

so would the critical points be (3/2, 0, ..., 0, -1/2)? or am i doing something wrong...
 
yep, that makes sense. why isn't x2, ..., xn-1 = 0 then? are you saying it should just be 1?