Numerical Calculus of Variations

Click For Summary
SUMMARY

The discussion focuses on solving the brachistochrone problem numerically using a direct method that employs Lagrange polynomials evaluated at fixed nodes. The time functional is defined as a multivariate function of the curve's endpoints, specifically requiring the endpoints at (x0, 0) and (x1, y1) with an initial velocity of v0=0. The challenge arises when the denominator of the integrand in the time functional vanishes at the endpoint (x0, 0), leading to convergence issues. A suggested solution involves reformulating the model to make velocity dependent on acceleration rather than displacement.

PREREQUISITES
  • Understanding of Lagrange polynomials
  • Familiarity with numerical integration techniques, specifically quadrature rules
  • Knowledge of optimization methods, particularly interior point methods
  • Basic concepts of calculus of variations and the brachistochrone problem
NEXT STEPS
  • Research reformulating models in calculus of variations to handle singularities
  • Explore advanced numerical methods for solving differential equations
  • Study the application of velocity and acceleration relationships in physics
  • Investigate alternative optimization techniques for function minimization
USEFUL FOR

Mathematicians, physicists, and engineers interested in numerical methods for solving variational problems, particularly those tackling the brachistochrone problem and related optimization challenges.

Pablo Brubeck
Messages
6
Reaction score
0
I attempt to solve the brachistochrone problem numerically. I am using a direct method which considers the curve ##y(x)## as a Lagrange polynomial evaluated at fixed nodes ##x_i##, and the time functional as a multivariate function of the ##y_i##. The classical statement of the problem requires the curve ##y(x)## to have its endpoints on ##(x_0, 0)## and ##(x_1, y_1)## and the initial velocity of the particle to be ##v_0=0##, so that the time functional would take the form

$$ T[y]=\int_{x_0}^{x_1} \sqrt{\frac{1+\left[\frac{dy}{dx}\right]^2}{2gy}} dx $$.

The derivative ##\frac{dy}{dx}## is approximated from the Lagrange polynomial and the integral is computed using a quadrature rule, then the functional is minimized using an interior point method. But the problem comes when the denominator of the integrand vanishes, which will always happen at the endpoint ##(x_0, 0)##. I tried to avoid this by setting ##v_0##, but the method fails to converge to a continuous curve for arbitrary small ##v_0##.

What would be the proper way to handle this situation?
 
Physics news on Phys.org
Pablo Brubeck said:
What would be the proper way to handle this situation?

Intuitively, your formulation makes velocity a function of displacement, so if there is no initial displacement then there "is no reason" the particle should begin moving. You could reformulate the model so velocity depends on acceleration.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 22 ·
Replies
22
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 13 ·
Replies
13
Views
1K