The energy method is useful for establishing both uniqueness and continuity with respect to initial conditions (i.e. it does not establish existence). The method is based upon deriving an upper bound of an energy-like functional for a given problem.
Example: Consider the diffusion equation on the unit interval with homogeneous
Dirichlet boundary conditions and suitable initial data f(x) (e.g. for which f(0)=f(1)=0). \begin{align} u_t&=D u_{xx}, && 00,\, D>0,\\ u(x,0)&=f(x),\\ u(0,t)&=0,\\ u(1,t)&=0,\\ \end{align} Multiply the equation u_t=D u_{xx} by u and integrate in space over the unit interval to obtain \begin{align} &&\int_0^1 uu_t dx&=D\int_0^1 uu_{xx}dx \\\Longrightarrow &&\int_0^1 \frac{1}{2}\partial_t u^2 dx&=Duu_x\Big|_0^1-D\int_0^1(u_x)^2dx \\\Longrightarrow &&\frac{1}{2} \partial_t\|u\|_2^2&=0-D\int_0^1(u_x)^2dx\leq 0 \end{align} This tells us that \|u\|_2 (
p-norm) cannot grow in time. By multiplying by two and integrating in time, from 0 up to t, one finds \|u(\cdot,t)\|_2^2 \leq \|f(\cdot)\|_2^2 This result is the
energy estimate for this problem. To show uniqueness of solutions, assume there are two distinct solutions to the problem, call them u and v, each satisfying the same initial data. Upon defining w=u-v then, via the linearity of the equations, one finds that w satisfies \begin{align} w_t&=D w_{xx}, &&00,\, D>0,\\ w(x,0)&=0,\\ w(0,t)&=0,\\ w(1,t)&=0,\\ \end{align} Applying the energy estimate tells us \|w(\cdot,t)\|_2^2 \leq 0 which implies u=v (
almost everywhere). Similarly, to show continuity with respect to initial conditions, assume that u and v are solutions corresponding to different initial data u(x,0)=f(x) and v(x,0)=g(x). Considering w=u-v once more, one finds that w satisfies the same equations as above but with w(x,0)=f(x)-g(x). This leads to the energy estimate \|w(\cdot,t)\|_2^2 \leq D\|f(\cdot)-g(\cdot)\|_2^2 which establishes continuity (i.e. as f and g become closer, as measured by the L^2 norm of their difference, then \|w(\cdot,t)\|_2 \to 0). The
maximum principle is an alternative approach to establish uniqueness and continuity of solutions with respect to initial conditions for this example. The existence of solutions to this problem can be established using
Fourier series. == Semi-group theory ==