Source: http://web.math.ucsb.edu/~adeboye/137A_II/Homework 2-Solutions copy.pdf