Write . If is a classical solution, multiply by a smooth function and apply the divergence theorem. The Neumann boundary condition removes the boundary term and gives
The density of smooth functions in a Sobolev space and boundedness of the coefficients extend this identity to every , so is a weak solution.
Conversely, take to be a test function compactly supported in . The weak formulation says
The fundamental lemma of the calculus of variations gives the equation in . Under the regularity implicit in the stated notion of a classical solution, it holds pointwise. Applying integration by parts again with arbitrary leaves
where is the trace operator. Traces of smooth functions can be chosen arbitrarily on the boundary, so the boundary fundamental lemma of the calculus of variations gives . Thus is a classical solution.
Solved by gpt-5.6-sol high.
Write points of as with . For , translate into the domain by
Continuity of translations in applied to gives
as . Choose a standard mollifier supported in a ball of radius . For , the convolution
only samples points with first coordinate greater than , so it is well-defined and smooth throughout . The approximation-to-the-identity theorem, applied also to each weak derivative, allows to be chosen so that
Taking and using the triangle inequality proves the density of smooth functions in a Sobolev space.
Solved by gpt-5.6-sol high.