Matrices as Linear Transformations – I
Introduction
A Matrix is a collection of numbers represented as a rectangular array/ list.
2D Matrices are distinguished using the number of rows and columns.
Example:
The elements of A can be denoted using
The order of a matrix is defined as a tuple denoting the number of rows and columns that the matrix has. It can also be seen as the dimensions of a matrix. For instance, the above matrix has order (2, 3).
Linear Transformation
The multiplication of a vector by a matrix “transforms” the input vector into an output vector. After this transformation, the size of the resultant vector may or may not be the same as that of the input vector. Such a matrix multiplication which happens in a linear fashion is termed as a linear transformation.
Linear Transformation can be seen as a transformation of complete space on its own but is a conditional one.
A Linear transformation in any dimension can be expressed in the form of Matrixvector multiplication.
There are a few properties that every transformation must have to be called as a Linear transformation:
1. All lines must remain lines after the transformation (should not curve).
2. The origin should always remain the same.
Examples:
1. Rotation:
2. Shear:
Operations on matrices

 MatrixMatrix addition:
The addition of two matrices is done elementwise. For addition to be done, the order of both the matrices needs to be identical.
The geometrical significance of the addition of two matrices can be considered as computing the sum of two linear transformations.
Example: + =  MatrixMatrix Multiplication:
Similar to a composition of two functions on a variable, the composition of two matrices can be considered as performing two linear transformations on a vector or space.
We can only multiply two matrices if their dimensions are compatible, which means the number of columns in the first matrix is the same as the number of rows in the second matrix.
If is an matrix and is an matrix, the product is an matrix.
, where .
Example: * =  Transpose of a Matrix:
Transpose of a matrix is obtained by changing the rows and columns of a matrix.
The transpose of a given matrix is represented as .
Example: =  Dot Product of Matrices:
The dot product between two matrices is columnwise multiplication of corresponding elements.
Geometrically, is the length of vector multiplied length of and of angle between them.
Example: Let
 MatrixMatrix addition:
Properties of matrices
 Commutativity:
If are matrices, of such order that these operations can be applied,
 Associativity:
If are matrices, of such order that these operations can be applied,
 Distributive:
If are matrices, of such order that these operations can be applied,