An introduction to the stability of distributed systems via a liapunov functional