In linear regression, we make the following assumptions
One of the ways we can solve linear regression is through normal equations, which we can write as
$$\theta = (X^TX)^{-1}X^TY$$
From a mathematical standpoint, the above equation only needs $X^TX$ to be invertible. So, why do we need these assumptions? I asked a few colleagues and they mentioned that it is to get good results and normal equations are an algorithm to achieve that. But in that case, how do these assumptions help? How does upholding them help in getting a better model?