We have that a linear transformation is a function $T$ between two vector spaces $V,W$ such that (1) $T(v_1+v_2)= T(v_1)+T(v_2)$ and (2) $T(cv)=cT(v)$.
I'm trying to show why is important both properties in the definition, so I'm looking for an example of functions that fails in one of the property and not in the other.