In linear algebra, linear transformations can be represented by matrices. If T {\displaystyle T} is a linear transformation mapping R n {\displaystyle \mathbb {R} ^{n}} to R m {\displaystyle \mathbb {R} ^{m}} and x {\displaystyle \mathbf {x} } is a column vector with n {\displaystyle n} entries, then there exists an m × n {\displaystyle m\times n} matrix A {\displaystyle A} , called the transformation matrix of T {\displaystyle T} , such that:
T ( x ) = A x {\displaystyle T(\mathbf {x} )=A\mathbf {x} }
Note that A {\displaystyle A} has m {\displaystyle m} rows and n {\displaystyle n} columns, whereas the transformation T {\displaystyle T} is from R n {\displaystyle \mathbb {R} ^{n}} to R m {\displaystyle \mathbb {R} ^{m}} . There are alternative expressions of transformation matrices involving row vectors that are preferred by some authors.
Uses Matrices allow arbitrary linear transformations to be displayed in a consistent format, suitable for computation. This also allows transformations to be composed easily (by multiplying their matrices). Linear transformations are not the only ones that can be represented by matrices. Some transformations that are non-linear on an n-dimensional Euclidean space Rn can be represented as linear transformations on the n+1-dimensional space Rn+1. These include both affine transformations (such as translation) and projective transformations. For this reason, 4×4 transformation matrices are widely used in 3D computer graphics, as they allow to perform translation, scaling, and rotation of objects by repeated matrix multiplication. These n+1-dimensional transformation matrices are called, depending on their application, affine transformation matrices, projective transformation matrices, or more generally non-linear transformation matrices. With respect to an n-dimensional matrix, an n+1-dimensional matrix can be described as an augmented matrix. In the physical sciences, an active transformation is one which actually changes the physical position of a system, and makes sense even in the absence of a coordinate system whereas a passive transformation is a change in the coordinate description of the physical system (change of basis). The distinction between active and passive transformations is important. By default, by transformation, mathematicians usually mean active transformations, while physicists could mean either. Put differently, a passive transformation refers to description of the same object as viewed from two different coordinate frames.
Finding the matrix of a transformation If one has a linear transformation T ( x ) {\displaystyle T(x)} in functional form, it is easy to determine the transformation matrix A by transforming each of the vectors of the standard basis by T, then inserting the result into the columns of a matrix. In other words,
A = [ T ( e 1 ) T ( e 2 ) ⋯ T ( e n ) ] {\displaystyle A={\begin{bmatrix}T(\mathbf {e} _{1})&T(\mathbf {e} _{2})&\cdots &T(\mathbf {e} _{n})\end{bmatrix}}}
For example, the function T ( x ) = 5 x {\displaystyle T(x)=5x} is a linear transformation. Applying the above process (suppose that n = 2 in this case) reveals that:
T ( x ) = 5 x = 5 I x = [ 5 0 0 5 ] x {\displaystyle T(\mathbf {x} )=5\mathbf {x} =5I\mathbf {x} ={\begin{bmatrix}5&0\\0&5\end{bmatrix}}\mathbf {x} }
… excerpt ends here. Continue reading the full article.



