It's my first time on this site:) I have to find a strictly increasing finite sequence $\{x_k\} _{k=1, \dots, n}$ with $x_1=c^2$ that will minimize the following expression $$\sum_{i=1}^n\sqrt{x_{i+1}-x_i} \frac{c}{\sqrt{x_i}},$$ subject to the constraint $x_{n+1}=c^\frac{2}{3}$, where $c$ is a constant less than 1.
It seems like an optimization problem but in my experience I have only had to minimize expressions with respect to one or few variables. Here, even the number of variables is unknown. I'm having problems understanding how to find an optimal sequence without presupposing its length. Is this even possible and does there exist any thoery on this subject?
For this particular problem, it makes sense to me to keep adding elements to the sequence in the beginning in order to make use of the $\frac{c}{\sqrt{x_i}}$ factor, and eventually, with enought terms, splitting the interval $[c^2,c^\frac{2}{3}]$ further is harmful because the dominating effect comes from creating a new term in the summation. It also seems the sequence should have more points close to $c^2$ than to the other endpoint, $c^\frac{2}{3}$, but that is as far as I've got.