Skip to main content

Linear Transformations

Linear Transformation of Matrices

Prereq knowledge: Basis Vectors

Linear mean it fulfills two conditions: 

  1. All lines must remain lines 
  2. Origin (0,0) must remain fixed 

Transformations (functions f(x) - best described as a movement from input to its output)

The following are Linear Transformation where the grey grid is the original:

LA_matrix-linear-transformation.gif

LA_matrix-linear-transformation-tricky.gif

3Dvla-matrix-linear-transformation-origin-rotation.gif

The following are Non Linear Transformations

LA_matrix-non-linear-transformation-diagonal.gif

LA_matrix-non-linear-transformation-moves-origin.gif

Matrices can encode geometric operations such as rotation, reflection and transformation. Thus if a collection of vectors represents the vertices of a three-dimensional geometric model in Computer Aided Design software then multiplying these vectors individually by a pre-defined rotation matrix will output new vectors that represent the locations of the rotated vertices. This is the basis of modern 3D computer graphics. 

You need to use matrix operations in order to do transformations, like Rotate Shear and Scale for matrix multiplication and translation and reflection for matrix addition. 

Matrix important on manipulating vectors 

An affine transformation is a combination of linear transformations (such as translation, rotation, scaling, and shearing) and a translation (a constant vector addition). Affine transformations preserve straight lines and parallelism, and they map collinear points to collinear points.

Matrix-Matrix Multiplication

Transformations
Rotate

uses sin/cos in trig

Shear 
Scaling

Matrix Addition

Matrix-Scalar Addition 

Matrix-Matrix Addition

Needed for Translation of a vector 

Matrix addition is commutative. This means that it doesn't matter which way around the matrices are added:

�+�=�+�

It is also associative. This means that you get the same result if you add two matrices together first, and then another, as if you add another two together first and then the other:

�+(�+�)=(�+�)+�

Both of these results follow from the fact that normal scalar addition is itself commutative and associative, because we're just adding the elements together.

Matrix Multiplication

Matrix Transpose


Scalar-Matrix Multiplication

Hadamard Product

Linear Systems of Equations

can be converted to martrix math 

image.png