**Definition:** A matrix is **ill-conditioned** if it is nearly singular, meaning its determinant is close to zero (but nonzero). Small perturbations in the input can cause large changes in the solution of $Ax = b$. Ill-conditioning is measured by the condition number.