Work with real functions and . To give the variational problem a definite domain, choose the homogeneous Dirichlet boundary conditions used in the next part. The natural form space is the zero-trace Sobolev space , with norm . The Sobolev trace operator is well defined because one-dimensional functions have absolutely continuous representatives. For example , so its endpoint trace is bounded in the norm; the other endpoint has the analogous estimate. The zero-trace space is closed in the Hilbert space , and the Poincaré inequality makes the chosen derivative norm equivalent to its full norm. Thus is a Hilbert space.
Differentiability of implies continuity on the compact interval. Hence there are finite constants and a positive with and . Define the symmetric bilinear form
The Cauchy-Schwarz inequality and Poincaré inequality give all the estimates required by the Lax-Milgram theorem:
That theorem states that a continuous coercive bilinear form on a Hilbert space and a bounded linear functional determine a unique weak solution. Completeness, continuity, coercivity and boundedness have now all been verified. Therefore there is a unique with for every .
The energy version of the given variational problem is . Its exact variation is
Boundedness of makes the last term quadratic in , so the Fréchet derivative is . Its vanishing for every test function is precisely
Taking compactly supported smooth tests and integrating in the distributional sense shows that this is the Euler-Lagrange equation . Conversely that weak equation gives the displayed stationary condition. The stationary point is actually the unique global minimizer, because
Equality occurs only when . This proves the variational equivalence, including existence and uniqueness rather than only a formal derivative calculation.
For precision about the literal L2 inner product , use the flux-domain realization of a one-dimensional elliptic operator
For such , weak integration by parts and its zero endpoint values give . On the larger form space , the same energy is interpreted by the weak operator pairing. The minimizer belongs to automatically: its weak equation gives , while . Thus its equation also holds as an equality of functions. This domain does not assume bounded , which mere differentiability would not supply. If one may equivalently use , but that stronger coefficient assumption is not needed for the proof here.