As is well known, the linear one-dimensional wave equation
where is the unknown field (which, for simplicity, we assume to be smooth), can be solved explicitly; indeed, the general solution to (1) takes the form
for some arbitrary (smooth) functions . (One can of course determine f and g once one specifies enough initial data or other boundary conditions, but this is not the focus of my post today.)
When one moves from linear wave equations to nonlinear wave equations, then in general one does not expect to have a closed-form solution such as (2). So I was pleasantly surprised recently while playing with the nonlinear wave equation
to discover that this equation can also be explicitly solved in closed form. (I hope to explain why I was interested in (3) in the first place in a later post.)
A posteriori, I now know the reason for this explicit solvability; (3) is the limiting case of the more general equation
which (after applying the simple transformation ) becomes the sinh-Gordon equation
(a close cousin of the more famous sine-Gordon equation ), which is known to be completely integrable, and exactly solvable. However, I only realised this after the fact, and stumbled upon the explicit solution to (3) by much more classical and elementary means. I thought I might share the computations here, as I found them somewhat cute, and seem to serve as an example of how one might go about finding explicit solutions to PDE in general; accordingly, I will take a rather pedestrian approach to describing the hunt for the solution, rather than presenting the shortest or slickest route to the answer.
[The computations do seem to be very classical, though, and thus presumably already in the literature; if anyone knows of a place where the solvability of (3) is discussed, I would be very happy to learn of it.] [Update, Jan 22: Patrick Dorey has pointed out that (3) is, indeed, extremely classical; it is known as Liouville’s equation and was solved by Liouville in J. Math. Pure et Appl. vol 18 (1853), 71-74, with essentially the same solution as presented here.]
– Symmetries of (3) –
To simplify the discussion let us ignore all issues of regularity, division by zero, taking square roots and logarithms of negative numbers, etc., and proceed for now in a purely formal fashion, pretending that all functions are smooth and lie in the domain of whatever algebraic operations are being performed. (It is not too difficult to go back after the fact and justify these formal computations, but I do not wish to focus on that aspect of the problem here.)
Although not strictly necessary for solving the equation (3), I find it convenient to bear in mind the various symmetries that (3) enjoys, as this provides a useful “reality check” to guard against errors (e.g. arriving at a class of solutions which is not invariant under the symmetries of the original equation). These symmetries are also useful to normalise various special families of solutions.
One easily sees that solutions to (3) are invariant under spacetime translations
and also spacetime reflections
Being relativistic, the equation is also invariant under Lorentz transformations
Finally, one has the scaling symmetry
– Solution to (3) –
Henceforth will be a solution to (3). In view of the linear explicit solution (2), it is natural to move to null coordinates
and (3) becomes
The various symmetries (4)-(7) can of course be rephrased in terms of null coordinates in a straightforward manner. The Lorentz symmetry (6) simplifies particularly nicely in null coordinates, to
Motivated by the general theory of stress-energy tensors of relativistic wave equations (of which (3) is a very simple example), we now look at the null energy densities . For the linear wave equation (1) (or equivalently ), these null energy densities are transported in null directions:
(One can also see this from the explicit solution (2).)
The above transport law isn’t quite true for the nonlinear wave equation, of course, but we can hope to get some usable substitute. Let us just look at the first null energy for now. By two applications of (10), this density obeys the transport equation
and thus we have the pointwise conservation law
which implies that
for some function depending only on u. Similarly we have
for some function depending only on v.
For any fixed v, (11) is a nonlinear ODE in u. To solve it, we can first look at the homogeneous ODE
Undergraduate ODE methods (e.g. separation of variables, after substituting ) soon reveal that the general solution to this ODE is given by for arbitrary constants C, D (ignoring the issue of singularities or degeneracies for now). Equivalently, (11′) is obeyed if and only if is linear in u. Motivated by this, we become tempted to rewrite (11) in terms of . One soon realises that
and hence (11) becomes
thus is a null (generalised) eigenfunction of the Schrodinger operator (or Hill operator) . If we let a(u) and b(u) be two linearly independent solutions to the ODE
we thus have
for some functions c, d (which one easily verifies to be smooth, since are smooth and a, b are linearly independent). Meanwhile, by playing around with the second null energy density we have the counterpart to (13),
and hence (by linear independence of a, b) c, d must be solutions to the ODE
This would be a good time to pause and see whether our implications are reversible, i.e. whether any that obeys the relation (14) will solve (3) or (10). It is of course natural to first write (10) in terms of . Since
one soon sees that (10) is equivalent to
If we then insert the ansatz (14), we soon reformulate the above equation as
It is at this time that one should remember the classical fact that if a, u are two solutions to the ODE (11), then the Wronskian is constant; similarly is constant. Putting this all together, we see that
Theorem. A smooth function solves (3) if and only if we have the relation (12) for some functions a, b, c, d obeying the Wronskian conditions , for some constants multiplying to .
Note that one can generate solutions to the Wronskian equation by a variety of means, for instance by first choosing a arbitrarily and then rewriting the equation as to recover b. (This doesn’t quite work at the locations when a vanishes, but there are a variety of ways to resolve that; as I said above, we are ignoring this issue for the purposes of this post.)
This is not the only way to express solutions. Factoring a(u)d(v) (say) from (12), we see that is the product of a solution to the linear wave equation, plus the exponential of a solution to the linear wave equation. Thus we may write , where F and G solve the linear wave equation. Inserting this back ansatz into (1) we obtain
and so we see that
for some solution G to the free wave equation, and conversely every expression of the form (16) can be verified to solve (1) (since does indeed solve the free wave equation, thanks to (2)). Inserting (2) into (16) we thus obtain the explicit solution
to (1), where f and g are arbitrary functions (recall that we are neglecting issues such as whether the quotient and the logarithm are well-defined).
I, for one, would not have expected the solution to take this form. But it is instructive to check that (17) does at least respect all the symmetries (4)-(7).
– Some special solutions –
If we set U=V=0, then a,b,c,d are linear functions, and so is affine-linear in u, v. One also checks that the uv term in cannot vanish. After translating in u and v, we end up with the ansatz for some constants ; applying (15) we see that , and by using the scaling symmetry (7) we may normalise e.g. , and so we arrive at the (singular) solution
To express this solution in the form (17), one can take and ; some other choices of f, g are also possible. (Determining the extent to which f, g are uniquely determined by in general can be established from a closer inspection of the previous arguments, and is left as an exercise.)
We can also look at what happens when is constant in space, i.e. it solves the ODE . It is not hard to see that U and V must be constant in this case, leading to a,b,c,d which are either trigonometric or exponential functions. This soon leads to the ansatz for some (possibly complex) constants , thus . By using the symmetries (4), (7) we can make and specify to be whatever we please, thus leading to the solutions . Applying (1) we see that this is a solution as long as . For instance, we may fix and , leading to the solution
To express this solution in the form (17), one can take for instance and .
One can of course push around (18), (19) by the symmetries (4)-(7) to generate a few more special solutions.