It's one of my favorite subject from grad school so I thought I'll talk about it a bit in this forum. I am fucking bored and I got some time to kill before spring break so here it is.
We start with Part I: Birth of Optimal control: the Brachystochrone problem and Calculus of Variations
The birth of the optimal control theory can be arguably traced back to Johann Bernoulli back in 1696. J.B. was the professor of mathematics at the University of Groningen in the Netherlands. At the time there was interesting problem (by interesting I mean unsolved) called the Brachystochrone problem. The problem is as follows: we want to find the path that minimizes the time it takes for the point mass m to slide from A to B (both horizontal distances) under the influence of gravity (pointing downwards).
Bernoulli presented this problem as his challenge to all of his contemporary mathematicians. When the deadline finally passed Johann received six solutions. One from himself and the other 5 from Newton, Leibniz, L'Hopital, his own brother Jakob, and Tschirnhaus. All of them submitted correct solutions. It should be noted that Newton published his results to the Royal Society anonymously and without proof however the elegant and beauty of the paper led Johann to conclude ex ungue leonem (you can tell the lion by its claw).
Johann's solution to Brachystochorone problem is derived from using Huygen's principle for refraction of light however it did spur a period of intense study on variational problems (Brachychrostone is one of them) which led to the birth of calculus of variations. Johann's Swiss student Euler (you might've heard of this guy) and the famous French mathematician Lagrange (you might've heard of him also) were key figures in that development.
The classic calculus of variation problem can be stated as the following: find the function q(t) such that the cost functional J with the specified boundary conditions is minimized.
The Euler-Lagrange equation is the solution to the classic problem above.
Now I shall skip over the derivation of the Euler-Lagrange equation however it's fairly straightforward and uses the principle of least action i.e. a necessary condition is the first order variation on J must be zero.
Now we look at the Brachystochrone problem in more detail. I am going to show that it can be solved using the more generalized method i.e. Calculus of Variation. Consider the plane of trajectory to be the x-y plane. Now also consider the conservation of energy equation.
In terms of x, y and their time derivatives the velocity of the mass m squared is just the following
hence the conservation of energy equation becomes
Factor the dx and get the following
Now since the problem's goal to minimize the traveling time hence the cost functional to be minimized is
which is obviously in the form of the classic calculus of variation above i.e. we want to minimize the following
hence we will use the Euler-Lagrange equation of the following form to solve the problem
Substitute the L(y,y',x) into the euler-lagrange equation above we get the following Nonlinear Ordinary Differential equation.
The solution trajectory to that ODE above is a cycloid. You can
read about cycloid here.
So in conclusion the birth of optimal control was triggered by a simple variational problem with a very elegant solution.
For more about this you can read from the Horse's mouth i.e. Jan C. Willem's article: The Birth of Optimal Control.
We start with Part I: Birth of Optimal control: the Brachystochrone problem and Calculus of Variations
The birth of the optimal control theory can be arguably traced back to Johann Bernoulli back in 1696. J.B. was the professor of mathematics at the University of Groningen in the Netherlands. At the time there was interesting problem (by interesting I mean unsolved) called the Brachystochrone problem. The problem is as follows: we want to find the path that minimizes the time it takes for the point mass m to slide from A to B (both horizontal distances) under the influence of gravity (pointing downwards).

Bernoulli presented this problem as his challenge to all of his contemporary mathematicians. When the deadline finally passed Johann received six solutions. One from himself and the other 5 from Newton, Leibniz, L'Hopital, his own brother Jakob, and Tschirnhaus. All of them submitted correct solutions. It should be noted that Newton published his results to the Royal Society anonymously and without proof however the elegant and beauty of the paper led Johann to conclude ex ungue leonem (you can tell the lion by its claw).
Johann's solution to Brachystochorone problem is derived from using Huygen's principle for refraction of light however it did spur a period of intense study on variational problems (Brachychrostone is one of them) which led to the birth of calculus of variations. Johann's Swiss student Euler (you might've heard of this guy) and the famous French mathematician Lagrange (you might've heard of him also) were key figures in that development.
The classic calculus of variation problem can be stated as the following: find the function q(t) such that the cost functional J with the specified boundary conditions is minimized.

The Euler-Lagrange equation is the solution to the classic problem above.

Now I shall skip over the derivation of the Euler-Lagrange equation however it's fairly straightforward and uses the principle of least action i.e. a necessary condition is the first order variation on J must be zero.

Now we look at the Brachystochrone problem in more detail. I am going to show that it can be solved using the more generalized method i.e. Calculus of Variation. Consider the plane of trajectory to be the x-y plane. Now also consider the conservation of energy equation.

In terms of x, y and their time derivatives the velocity of the mass m squared is just the following

hence the conservation of energy equation becomes

Factor the dx and get the following

Now since the problem's goal to minimize the traveling time hence the cost functional to be minimized is

which is obviously in the form of the classic calculus of variation above i.e. we want to minimize the following

hence we will use the Euler-Lagrange equation of the following form to solve the problem

Substitute the L(y,y',x) into the euler-lagrange equation above we get the following Nonlinear Ordinary Differential equation.

The solution trajectory to that ODE above is a cycloid. You can
read about cycloid here.
So in conclusion the birth of optimal control was triggered by a simple variational problem with a very elegant solution.
For more about this you can read from the Horse's mouth i.e. Jan C. Willem's article: The Birth of Optimal Control.
Last edited: