For an affine variety over a perfect field, the tangent-space codimension at a point is the rank of the Jacobian matrix of defining equations. The smooth locus of a pure -dimensional variety in is where this rank is .
New to topics? Read the docs here!