Solving Fixed Endpoint Problems in Calculus of Variations

Fixed Endpoint Problems in the Calculus of Variations

What happens when you’re not just finding a number, but a function? Welcome to the world of the calculus of variations — a discipline that asks: what function y(x) makes a certain integral as small (or as large) as possible?

The Setup

You’re given a functional:

J[y] = ∫ab L(x, y(x), y'(x)) dx
  

The task is to find a smooth function y(x) such that y(a) = ya and y(b) = yb — those are your fixed endpoints.

The Tool: Euler–Lagrange Equation

The condition for extremizing this functional is elegantly encoded in the Euler–Lagrange equation:

∂L/∂y − d/dx(∂L/∂y') = 0
  

This is a second-order differential equation — and it’s your gateway to finding the magic curve.

Example: The Shortest Distance Between Two Points

Ever wondered why the shortest path is a straight line? Let’s derive it.

The arc length between two points is:

J[y] = ∫ab √(1 + (y')²) dx
  

Here, L = √(1 + (y')²). It doesn’t depend on y directly, so ∂L/∂y = 0. Computing the rest gives:

d/dx (y' / √(1 + (y')²)) = 0 ⇒ y' = constant ⇒ y(x) = mx + c
  

So yes — the straight line wins.

Strategy for Solving Fixed Endpoint Problems

  • 1. Identify your functional J[y].
  • 2. Write out the Euler–Lagrange equation.
  • 3. Solve the resulting differential equation.
  • 4. Apply the fixed boundary conditions at a and b.

No variation at the endpoints. The function is nailed down there.

Extra Trick: The Beltrami Identity

If L doesn’t depend explicitly on x, you can simplify things using:

L - y' ∂L/∂y' = constant
  

It’s a shortcut worth remembering. It can turn some otherwise painful problems into manageable puzzles.

Closing Thoughts

Fixed endpoint problems remind us: math isn’t just about numbers — it’s about functions. Shapes. Curves. Trajectories.

And when the boundary is locked in place, the path in between tells a story — often the most efficient one.


Discover more from Equations Sinkala

Subscribe to get the latest posts sent to your email.