Linear Regression, Linear Algebra, Mathematics, Statistics, Data Science.
sides and solve the second equation for the best possible values of the solutions vector x. AᵀA is a square matrix and invertible as long as A has independent columns; this is true for our matrix A, so we can now multiply both sides of the second equation by the inverse of AᵀA to solve for the