Normal Equation Roadblock

When solving linear regression via the closed-form normal equation β=(X⊤X)−1X⊤y\beta = (X^\top X)^{-1} X^\top y, which condition makes this formula fail to produce a unique solution?

A

The features are not normalized to the same scale

B

X⊤XX^\top X is singular (not invertible), e.g. due to perfectly correlated features

C

The target variable y contains negative values

D

The number of training examples exceeds the number of features