Source: http://www.maths.qmul.ac.uk/~ivan/MAE113/lect1.pdf