Suppose V and W are finite-dimensional and T1,T2∈L(V,W). Prove that there exist invertible operators R∈L(V) and S∈L(W) such that T1=ST2R if and only if dimnull T1=dimnull T2.
Suppose dimnull T1=dimnull T2. Let R:null T1→null T2 be an isomorphism then extend R to all of V in such a way that it remains invertible (see 3d/3). This gives
null T1=null T2R
Now let v1,…,vr be independent vectors in V such that wk=T1vk is a basis for range T1.
Define wk′=T2Rvk, w1′,…,wr′ are independent since
a1w1′+⋯+arwr′=0⟺T2R(a1v1+⋯+arvr)=0
Define Swk′=wk
T1=ST2R
as desired, R is an isomorphism between nullspaces and S is an isomorphism between ranges.
Now suppose T1=ST2R. let u1,…,un be a basis for null T1 and notice how Ru1,…,Run is a basis for null T2 (S can be ignored as it's injective so ST2Rv=0 iff T2Rv=0.)