Let's say we have the following system of equations: \begin{equation} A{\bf x}={\bf b} \qquad (1) \end{equation} where $A$ is $N \times 4$, $\mathbf{x}$ is $4 \times 1$ (unknowns) and ${\bf b}$ is $N \times 1$.
Using linear-least square method the solution of the overdetermined system is:
\begin{equation} (A^TA) {\bf x} = A^T {\bf b} \qquad (2) \end{equation}
\begin{equation} {\bf x} = (A^TA)^{-1} A^T {\bf b} \qquad (3) \end{equation}
Why do we multiply both sides of Eq.$(1)$ by $A^T$?