Source: http://www.iitg.ac.in/rkbc/CE602/CE602/LinearProblem.pdf