I am exploiting linearity, yes. As mentioned above, to check that a map is injective in general, one needs to show that if f(x) = f(y), then x=y. But in the case of a linear map, f(x) = f(y) implies f(x-y) = 0, so you only need to check the case that something maps to zero.
For onto, you can...