$$E(m, b) = \sum{(y_i - mx_i - b)^2}$$