I am a first year college student studying linear algebra.
I understand that all linear transformations can be represented by a matrix mapping, and more specifically, the matrix mapping can be constructed by taking the column vectors of the images of the standard basis vectors. However, if the transformation is not linear, you would not be able to construct a matrix mapping for it.
But then, my textbook proves that a rotation is a linear transformation by assuming that the transformation is linear, then constructing the corresponding matrix mapping. Then it argues that since the transformation can be represented by a matrix, it is linear.
To me, this seems like a invalid proof, because the condition for representing a transformation with a matrix is that the transformation should be linear (also it starts off by assuming what you are trying to prove). Can someone tell me what is wrong with my reasoning?