If $T$ is linear, $T(\sum_i c_iv_i)=\sum_i c_iT(v_i)$. Prove this by repeated additivity and homogeneity. This identity is why knowing a map on a spanning set determines it everywhere; a basis ensures the coefficients can be chosen uniquely.