The PDE
is called the wave equation. If initial conditions
are specified then the solution is uniquely determined.
Homogeneous solution
The solution is
This is called the d’Alembert solution.
Here is how to find it. Notice that
Inhomogeneous case
Let us see how to solve the inhomogeneous equation
This can be accomplished by solving the following PDEs:
and
If solves the first PDE and the second, then solves the original equation since the sum satisfies the original initial conditions and differentiating it gives us what we want.
The homogeneous equation is easy to solve (see above). We focus on solving the inhomogeneous equation below
Solving with change of coordinates
We can change to new coordinates to solve this. Let change coordinates from to , and define . Then so
In Strauss PDEs they do this
We apply this to the operator mentioned above to see that
Hence
Our new coordinates change the initial condition to be , since at we have . (Here is the desired solution transformed to coordinates). The initial condition is transformed to . So on the diagonal of the plane, we see that the derivatives are 0.
We now proceed to solve this. Let (technically should be ), so we have . Integrate from to to get
Since we have Note that the bounds of integration are deliberately chosen because we know . Now integrate again in to get $$ U(\xi_0, \eta_0) - U(\eta_0, \eta_0) = \int_{\eta_0}^{\xi_0} U_\xi(\xi, \eta_0) \mathrm d \xi.
Again the bounds of integration were chosen because $U(\eta_0, \eta_0) = 0$. We combine everything to see that $$ U(\xi_0, \eta_0) = - \int_{\eta_0}^{\xi_0} \int_{\eta_0}^\xi g(\xi, \eta') \mathrm{d} \eta' \mathrm d \xi.We now analyze the region of integration. First notice that from the outer integral and that from the inner integral. So we have . The bounds give us a triangle where the points lie in (visualize in https://www.desmos.com/calculator/la96trwbe9). Thus
By change of variables
and the Jacobian determinant is so
The region is the characteristic triangle with vertices . (I’ll work this out eventually but it does make sense)
So overall, the integral is just
See claude chat Superposition for inhomogeneous wave equations
Solving with Duhamel’s principle
Duhamel’s principle states that for the PDE
if for every the function satisfies
then
Proof: Define
We will check that satisfies all the conditions of the original PDE; by the uniqueness of the solution . Firstly, trivially by plugging for the bounds of integration. Now,
We use Leibniz’s rule to rewrite this as
(Note: Stefanos never mentioned Leibniz’s rule in the lecture but that’s what he is using). Evaluate , since for all . Finally, we directly check which should directly give us the answer.
Now we need to find these functions . The rough idea is that each is solving a homogeneous wave equation with initial conditions given at . So we just need to change the coordinates back to .
Fix . Let , set . Then satisfies the wave equation PDE
The solution to this is
Undo the change of variables to get
See claude chat Duhamel’s principle for wave equation.