In mathematics, a weak solution (also called a generalized solution) to an ordinary or partial differential equation is a function for which the derivatives may not all exist but which is nonetheless deemed to satisfy the equation in some precisely defined sense. There are many different definitions of weak solution, appropriate for different classes of equations. One of the most important is based on the notion of distributions.
Avoiding the language of distributions, one starts with a differential equation and rewrites it in such a way that no derivatives of the solution of the equation show up (the new form is called the weak formulation, and the solutions to it are called weak solutions). Somewhat surprisingly, a differential equation may have solutions which are not differentiable; and the weak formulation allows one to find such solutions.
Weak solutions are important because a great many differential equations encountered in modelling real world phenomena do not admit sufficiently smooth solutions and then the only way of solving such equations is using the weak formulation. Even in situations where an equation does have differentiable solutions, it is often convenient to first prove the existence of weak solutions and only later show that those solutions are in fact smooth enough.
A concrete exampleEdit
As an illustration of the concept, consider the first-order wave equation
(see partial derivative for the notation) where u = u(t, x) is a function of two real variables. Assume that u is continuously differentiable on the Euclidean space R2, multiply this equation (1) by a smooth function of compact support, and integrate. One obtains
(Notice that while the integrals go from −∞ to ∞, the integrals are essentially over a finite box because has compact support, and it is this observation which also allows for integration by parts without the introduction of boundary terms.)
We have shown that equation (1) implies equation (2) as long as u is continuously differentiable. The key to the concept of weak solution is that there exist functions u which satisfy equation (2) for any , and such u may not be differentiable and thus, they do not satisfy equation (1). A simple example of such function is u(t, x) = |t − x| for all t and x. (That u defined in this way satisfies equation (2) is easy enough to check, one needs to integrate separately on the regions above and below the line x = t and use integration by parts.) A solution u of equation (2) is called a weak solution of equation (1).
The general idea which follows from this example is that, when solving a differential equation in u, one can rewrite it using a so-called test function , such that whatever derivatives in u show up in the equation, they are "transferred" via integration by parts to . In this way one obtains solutions to the original equation which are not necessarily differentiable.
where the multi-index (α1, α2, ..., αn) varies over some finite set in Nn and the coefficients are smooth enough functions of x.
The differential equation P(x, ∂)u(x) = 0 can, after being multiplied by a smooth test function with compact support in W and integrated by parts, be written as
where the differential operator Q(x, ∂) is given by the formula
shows up because one needs α1 + α2 + ... + αn integrations by parts to transfer all the partial derivatives from u to in each term of the differential equation, and each integration by parts entails a multiplication by −1.
In summary, if the original (strong) problem was to find a |α|-times differentiable function u defined on the open set W such that
(a so-called strong solution), then an integrable function u would be said to be a weak solution if
for every smooth function with compact support in W.
Other kinds of weak solutionEdit
The notion of weak solution based on distributions is sometimes inadequate. In the case of hyperbolic systems, the notion of weak solution based on distributions does not guarantee uniqueness, and it is necessary to supplement it with entropy conditions or some other selection criterion. In fully nonlinear PDE such as the Hamilton–Jacobi equation, there is a very different definition of weak solution called viscosity solution.