det(T) = r