Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2003/calculus-probability-linear-algebra-discrete-mathematics-logic-and-proof-and-models-of-computation/2/b/solution

Write in the new coordinates. Since
the partial differential equation becomes
For a twice continuously differentiable solution of a differential equation, is independent of , so integration first in and then in gives
This is the decomposition of the one-dimensional wave equation into waves traveling in opposite directions.
The first initial condition gives . The second initial condition gives . Differentiating the first relation and combining the two relations yields . Thus and . The constants cancel, and the cosine addition formula gives
Both initial conditions and the partial differential equation follow directly by differentiation.

New to topics? Read the docs here!