Source: https://homepages.math.uic.edu/~saunders/MATH313/INRA/INRA_Chapter2.pdf