I am trying to understand the math behind the Brachistochrone.
I could understand all the technical intricacies of the mathematical treatment of the topic found at Wolfram-Mathworld|Brachistochrone Problem.
At the last part, they say, $$ \boxed{\left[1+\left(\frac{\mathrm{d}y}{\mathrm{d}x}\right)^2\right]y = \frac{1}{2gC^2} = k^2} \tag*{(1)} $$ and then they just say, This equation is solved by the parametric equations and write two equations, $$ x = \frac{1}{2}k^2(\theta-\sin \theta)\\ \tag*{(2)} y=\frac{1}{2}k^2(1-\cos \theta) $$ How did this come?
I plotted them on Desmos and I could clearly see a cycloid (Can be see here).
Note:
I have not shown my steps here because, I am just studying the problem straight from Wolfram. If you wish to have a look at the steps, I have mentioned the link above.
Learning Calculus of Variations on my own. I will be grateful if you could direct me towards some good resources.
I know how to derive the parametric equation of a cycloid, I learnt it from Math.Stackexchange|How to find the parametric equation of a cycloid?. I just don't know how to solve $(1)$ using the two equations in $(2)$.
Thank you.