Physics · Intermediate

Applications of Euler’s equation

Written by SignalsLab

Early edition: these lessons are being reviewed.

Content

Summary

This lesson applies Euler’s differential equation to find stationary functions for physical functionals, demonstrating that shortest paths are straight lines and fastest descent curves are cycloids. It also derives the optimal flight profile for minimizing travel cost based on altitude-dependent fuel efficiency.

Intuition

The calculus of variations seeks a function that makes an integral functional stationary, meaning small changes to the path do not change the integral's value to first order. By introducing a varied path and setting the derivative with respect to the variation parameter to zero, we derive Euler's equation. This equation acts as a filter: any physical path that minimizes or maximizes a quantity like time, distance, or cost must satisfy this differential relationship between the integrand's dependencies on position and slope.

Key equations

∂f∂y−ddx(∂f∂y′)=0
(1)

Euler’s differential equation, the necessary condition for a function y(x) to make the functional F stationary.

v=2gy
(2)

Velocity of a particle starting from rest in a uniform gravitational field g, derived from energy conservation.

x=a(θ−sin⁡θ),y=a(1−cos⁡θ)
(3)

Parametric equations of the cycloid, the solution to the Brachistochrone problem.

z′′+ω(1+(z′)2)=0
(4)

Differential equation for the optimal flight path minimizing cost, where cost density is e−ωz.

Derivation

  1. Define the functional F=∫f(y,y′,x)dx and introduce a varied path y(ϵ,x)=y(x)+ϵη(x) where η vanishes at boundaries.
  2. Set the condition dF/dϵ|ϵ=0=0 to ensure stationarity.
  3. Apply the chain rule to expand the derivative, resulting in an integral involving ∂f∂yη+∂f∂y′η′.
  4. Integrate the second term by parts to transfer the derivative from η to ∂f∂y′, causing boundary terms to vanish.
  5. Factor out the arbitrary variation η(x) from the remaining integral.
  6. Conclude that the integrand must be zero for any η, yielding Euler’s equation: ∂f∂y−ddx(∂f∂y′)=0.

Worked example

Problem

Determine the path of fastest descent (Brachistochrone) for a particle sliding from rest under gravity g. The transit time functional is T=∫1+(x′)22gydy, where x is the dependent variable and y is the independent variable.

  1. Identify the integrand f=12g1+(x′)2y.
  2. Observe that f does not explicitly depend on x, so ∂f∂x=0.
  3. Apply Euler’s equation: ∂f∂x−ddy(∂f∂x′)=0 implies ∂f∂x′= constant.
  4. Calculate ∂f∂x′=x′2gy(1+(x′)2). Set this equal to constant 12a.
  5. Rearrange to find x′=dxdy=y2a−y.
  6. Use substitution y=a(1−cos⁡θ) to integrate dx, yielding x=a(θ−sin⁡θ)+C.
  7. Set origin at start to eliminate C, resulting in the cycloid parametric equations.

Answer The path is a cycloid defined by x=a(θ−sin⁡θ) and y=a(1−cos⁡θ).

Common mistakes

  • Forgetting that the variation function η(x) must vanish at the boundary endpoints, which is crucial for eliminating boundary terms during integration by parts.
  • Confusing the independent and dependent variables in the Brachistochrone problem; the source uses y as the independent variable to simplify the integral.
  • Assuming the solution to the shortest distance problem is arbitrary; it must be a straight line y = ax + b.
  • Ignoring the chain rule when differentiating the functional with respect to the parameter ϵ.

Animation

Animation coming soon

The animated version of this lesson is being prepared for the web. In the Signals AI app, lessons are drawn step by step.

Code

This is a text lesson: it has no animation code yet.

ccBYNC© 2026 SignalsLab. Lesson text shared as is under CC BY-NC 4.0.