Zero row
0 0
The second output coordinate is always zero.
Linear algebra · information loss
An inverse must recover one unique input from every output. A singular matrix prevents that recovery because it collapses at least one direction.
For a square n × n matrix, these statements are equivalent. Each describes the same loss of a dimension from a different mathematical viewpoint.
The transformed unit square or cube has zero area or volume.
At least one column can be constructed from the others.
The outputs span fewer dimensions than the inputs.
Some non-zero direction is mapped to the zero vector.
Compare an invertible transformation with matrices that flatten every point onto a line or a single point.
The square collapses to a line. Distinct inputs along the lost direction share an output, so the transformation cannot be reversed uniquely.
In each example, one direction contributes no new information.
The second output coordinate is always zero.
Row one is twice row two, so it adds no independent constraint.
Every possible input maps to the same output: zero.
The familiar normal-equation expression uses an inverse, but singularity is a design-matrix diagnosis—not a dividing line between “statistics” and “machine learning.”
If columns of X are exactly redundant—for example, a duplicated predictor, all category indicators plus an intercept, or more columns than independent observations—then XTX is singular and that inverse form is unavailable.
Remove or recode exact redundancy when it comes from duplicated variables, constants, or dummy-variable coding.
QR, SVD, or a pseudoinverse can identify an estimable solution without explicitly forming (XTX)−1.
Ridge adds a positive diagonal penalty so the penalized system is typically invertible; lasso or elastic net may be chosen for different modeling goals.