This is a Further Maths topic.
TODO
In the meantime, http://www.mit.edu/~hlb/1802/pdf/MIT18_02SC_notes_6.pdf was pretty helpful.