Opening idea
Many linear systems in applications do not have exact solutions. A data set may contain noise. Measurements may be inconsistent. A model may be too simple to fit every observation exactly. In these situations, solving $$ Ax=b $$ exactly may be impossible. But we can still ask for the best approximate solution. The least-squares problem asks: