We consider
for
Downward instability
Consider the Semidiscretization:
using the Euler method:
for
But then
Upwind scheme
Consider the Semidiscretization:
using the Euler method:
for
So
Leap-frog method
We Semidiscretization as
But now we solve the ODE using the midpoint rule:
We find the two-step leapfrog method:
The local error is
This is a difference equation
We have stability iff