For each , let
A weak energy solution of a variable-coefficient wave equation is a function with zero lateral trace, equivalently , whose time trace satisfies in and for which
for every with zero lateral trace and . Here has a continuous representative, so the displacement trace is well defined.
The velocity condition is encoded by the boundary term in time; an arbitrary space-time function need not have an trace of . The equation implies , hence has a continuous representative and in that sense. This is the weak formulation obtained by integration by parts once in time and once in space.
For the weak energy solution of a variable-coefficient wave equation, uniqueness can be proved without using as a spatial test function. For a difference with zero data, fix and test by for , extended by zero afterwards. Put , so . Integration by parts in time for the symmetric principal form, and in space for the first-order terms, give
For short enough intervals the last term is absorbed. The Gronwall inequality forces , and repetition proves uniqueness on the full interval. This antiderivative test is valid at the stated space-time regularity, unlike an unqualified direct energy test by .