VariationalCalculus
Weierstrass
compute the Weierstrass excess function
Calling Sequence
Parameters
Description
Examples
Weierstrass(f, t, x(t), p)
f
-
expression in t, x(t), and x'(t)
t
independent variable
x(t)
unknown function (or list of functions)
p
name to use for the vector p[1..n]
The Weierstrass(f, t, x, x(t), p) command computes the Weierstrass excess function
Et,x,x',p=Lt,x,x'−Lt,x,p−x'−p⁢Lpt,x,p
The output is unsimplified. There are many techniques that can be used to simplify the output: factor, collect, combine, or complete the square.
If E⁡t,x,x'⁢,p is positive when x is the extremal, except when x'⁢=p, the extremal provides a strong local minimum.
The Cauchy-Schwarz inequality can be used to determine the sign of the expression.
with⁡VariationalCalculus
ConjugateEquation,Convex,EulerLagrange,Jacobi,Weierstrass
A Lagrange Multiplier Problem (Queen Dido's problem): Find the maximum area enclosed by a curve of length λ.
f≔y+λ⁢1+diff⁡y⁡t,t212
f≔y+λ⁢1+ⅆⅆty⁡t2
Weierstrass⁡f,t,y⁡t,p
λ⁢1+ⅆⅆty⁡t2−λ⁢p12+1−ⅆⅆty⁡t−p1⁢λ⁢p1p12+1
See Also
collect
combine
eval
factor
Student[Precalculus][CompleteSquare]
VariationalCalculus[EulerLagrange]
Download Help Document