Linear Transformation problem

Let be defined by .
Find bases for N(T) and R(T), compute nullity and rank of T, verify the dimension theorem. Determine if T is one-to-one or onto.

Proof.

T is linear. By a theorem, R(T) = span{T(b)} for a basis b of

Let b = {(1,0),(0,1)}, then span{T(b)} = span {(1,0,2),(1,0,-1)} = R(T), so I know that rank of T is 2, then nullity of T must be 0.

But now, I'm working this backward, the problem stated that I should find the bases for N(T) and R(T) first, well, I found the bases for R(T), and I use the theorem to find that N(T) = {0}. So do I need to use another way to prove that N(T) = 0? I meant, it is pretty straight forward that there is no point in that would make T zero.

Now, N(T) = {0}, so T must be one-to-one. But now, how do I know if T is onto or not?