Proposition
Let V be a finite dimensional vector space with basis B={v1,⋯,vn}. For a linear map T∈L(V), the following statements are equivalent: 1. The matrix of T with respect to B is upper-triangular 2. T(vk)∈\mboxspan(v1,⋯,vk) for 1≤k≤n 3. \mboxspan(v1,⋯,vk) is T-invariant for 1≤k≤n