Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
VariationalCalculus[EulerLagrange] - construct the Euler-Lagrange equations
Calling Sequence
EulerLagrange(f, t, x(t))
Parameters
f
-
expression in t, x(t), and x'(t)
t
independent variable
x(t)
unknown function (or list of functions)
Description
The EulerLagrange(f, t, x(t)) command computes the Euler-Lagrange equations of a functional subject to and .
In general, the Euler-Lagrange equations are not independent.
The Euler-Lagrange equations are returned as expressions.
If they can be calculated, the trivial first integrals are also returned.
The first integrals are set equal to generated global indexed variables that denote arbitrary constants.
For higher-order functionals, for example, f(t, y(t), y'(t), y''(t)), use variables to represent derivatives. For example, set x1(t) = y(t) and x2(t)=y'(t), and then determine the Euler-Lagrange equations of the functional f + L*( x1'(t) - x2(t) )^2. To find the equations for the higher-order problem, substitute x2(t) = x1'(t) into the result.
Examples
Geodesics in the plane
Brachistochrone
See Also
dsolve, solve, VariationalCalculus
Download Help Document