Linear Transformations
DefinitionLinear Transformation of Matrices
Prereq knowledge: Basis Vectors
MatricesLinear mean it fulfills two conditions:
- All lines must remain lines
- Origin (0,0) must remain fixed
Transformations (functions f(x) - best described as a movement from input to its output)
The following are essentiallyLinear transformationTransformation of space.
Lineaer Transformations abide by 2 rules
withwhere the grey grid beingis the input, and purple grid as the output. original:
The following are Non Linear Transformations
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