For functionals, the variational derivative plays the role of the gradient of functions of several variables.
Given a smooth function , the gradient is a 1-form such that for a vector
that is, it tells us how much the function varies along the direction specified by .
If we think of not like a finite dimensional vector but like a function we can generalize this to the case , , being now not a function but a functional.
The question is: for a functional , is there any mathematical object such that for a function gives us the new function
?
Observe that in the usual case of being a vector and being a function we can interpret as the gradient vector (assuming the standard inner product, see here for more information) which satisfies
We can replace with the usual inner product for the Hilbert space, so we can alternatively require to our new object , being a functional again, to satisfy
There are lots of technical details we are missing here, but this is the idea.
Definition
Definition (@olver86 page 245)
Let be a variational problem (for functions ). The variational derivative of is the unique -tuple
such that given functions , with compact support, satisfies:
Some facts
Remarks
a) To my knowledge, it doesn't have to exist...
b) I think that the quantity (1) should also be denoted by
to agree with . In this sense would be something similar to differential of a function. The expression can be thought as another function of or, alternatively, as something eating functions and turning back numbers, i.e., something analogous to the 1-form in the usual case of functions of . Something like the duality between the gradient and (vectors correspond to functions).
c) Since the functional is coming from a variational problem we can compute an explicit formula for its variational derivative. Let's focus in the case of functions :
being the th derivative of .
We can apply integration by parts, leaving apart the first term, and obtain that the expression above equals
Proposition (@olver86 page 246)
If is an extrema of then , the null function on .
The Euler-Lagrange equations then appear from this proposition together with Remark c) above.
Old stuff (integrate with above)
Functional derivative. Gradient flow
Given a functional , being a Hilbert space of functions, the associated gradient flow is given by the equation
for .
In other words, decreases along the gradient of . The terminology stems from the 'finite dimensional' case, where a function produces a vector field , which is called its 'gradient vector field'. Then, as with any vector field, one can study the flow induced by that vector field, i.e. the flow of the dynamical system given by .
In , the notation denotes the so-called functional derivative of to , which generalises the 'gradient' notion for functions. There exist multiple versions of the functional derivative, mainly because its definition depends on the function space on which acts. Anyway, the idea is to perturb a bit, i.e. to substitute with , and work out the resulting expression.
Example
Let , and such that for :
That is, is the Dirichlet energy. Then the Heat Equation