Calculus of variations
φa(x(a))+φb(x(b))+Zb
aF
t,x,xdt! maxminThe argument is very similar. Now letybe an arbitrary (di§erentiable)
function and letψ(λ) $ φa(x(a)+λy(a))+φb(x(b)+λy(b))++Zb
aF
t,x(t)+λy(t),x(t)+λy(t)dt.If the functionxis optimal then by Fermatís principleψ^0 ( (^0) )= 0.