stevengogogo / mmpdenet

Jax Implementation of the paper "Moving Sampling Physics-informed Neural Networks induced by Moving Mesh PDE"
0 stars 0 forks source link

Calculus of Variations #5

Open stevengogogo opened 1 month ago

stevengogogo commented 1 month ago

Good learning material about Calculus of variations:

https://en.wikipedia.org/wiki/Calculus_of_variations

stevengogogo commented 1 month ago

Variational Calculus

Euler-Lagrange Equation

Find extrema of functional

Example of the functional

$$ J[y] = \int^{x2}{x_1} L(x,y(x), y'(x))dx $$

where

Local minimum at $f$

$$ J[f] \leq J[f+\epsilon \eta] $$

Let

$$ \phi(\epsilon) = J[f+ \epsilon \eta] $$

Since $J[y]=J[f+\epsilon\eta]$ has a minimum for $y=f$,

$$ \phi'(0) = \frac{d\phi}{d\epsilon}_{\epsilon=0} =0 $$

Total derivative of $L[x,y,y']$ where $y=f+\epsilon \eta(x)$

stevengogogo commented 1 month ago

image

image

Integral by part image

image

bu fundamental lemma of calculus of variations

Euler-Lagrange equation and functional derivative: image

stevengogogo commented 1 month ago

Other resources: