Wave equation:
utt = a2 uxx
Characteristics:
General solution:
u(x,t) = f1(x-at) + f2(x+at)
Here f1(x-at) is a function that moves to the right with speed a; a 'right-going wave'. And f2(x-at) is a function that moves to the left with speed a; a 'left-going wave'.D'Alembert solution:
Assume no boundaries, . Then we can solve for
f1 and f2 in terms of the given initial string displacement
f(x)=u(x,0)
and initial velocity g(x)=ut(x,0) to give: