[last updated: 2024-03-08]
Matrix Determinants
Matrices to Solve Linear Equations
Vectors
-----
- A Matrix (pl. Matrices):
is a rectangular grid or array of numbers or symbols, in rows and columns.
M, N, Q, V, C, and A are examples of different matrices.
- Matrices have some number of rows and columns of numbers or symbols.
In the image above, matrices M and A have 2 rows and 2 columns.
Matrix N has 2 rows and 3 colums,
matrices V and C have 2 rows and 1 column,
and matrix Q has 1 row and 3 columns.
- The numbers or symbols in a matrix are elements, and can represent numbers, or coefficients of variables in a mathematical expression, or they can even represent whole matrices.
- The Dimension of a matrix gives the number of rows and columns in the matrix, represented as m x n (row x column)
In the image above, matrices M and A have dimension "2 x 2".
The dimension of V and C is "2 x 1",
the dimension of N is "2 x 3",
and the dimension of Q is "1 x 3".
- Special Matrices:
- Square matrix: m = n
- A Determinant can be calculated from a square matrix.
The determinant is a scalar, and is used to calculate an Inverse Matrix (if one exists).
It is also used in solving a system of linear equations, ...
- A square matrix May have an Inverse Matrix.
- If A is a non-square m x n matrix, you have two cases:
- 1) If m is less than n, then the inverse image of y\in R^m usually exists but it is not unique. Therefore, the inverse mapping of x \mapsto Ax does not exist (except as a set function).
- 2) If m is greater than n, then the image set of R^n in the mapping x \mapsto Ax is a proper subspace of R^m, and if you pick a point from the orthogonal complement of this subspace, you can't find the inverse image.
- Column matrix: n = 1, ie. dimension is m x 1
Used to represent vectors
- Row matrix: m = 1, ie. dimension is 1 x n
- Identity matrix
- Null matrix
- Matrices can be used to solve a set/system of linear equations:
- Matrices can be used to do graphical manipulations:
- Graphical plots/images are composed of points on a plane or in space.
Each point is defined and represeneted as a vector, which is a line beginning at the origin and ending at the point being defined.
Vectors therefore are directional, and represented as arrows, with their base at the origin and the arrow tip at the point being defined.
- Basic manipulations are: Translation, Scaling, and Rotation..
- Operations on and between matrices:
- Addition and Subtraction of two matrices - only between matrices of equal dimensions
- Scalar multiplication - multiply a matrix by a number (scalar)
- Matrix Multiplication of two matrices - the number of rows in the first matrix must be equal to the number of columns in the second matrix
Note: Matrix multiplication is not commutative. That is, A x B ≠ B x A
- Inverse matrix - used to effectively "divide" matrices
- Transpose a matrix - takes each row of a matrix and converts it to a column
- Cross product of two matrices - used for vectors
A vector is a line with direction. Two lines define a plane.
The cross-product of two vectors results in a vector perpendicular to the plane created by the two starting vectors.
(can only be done with 3-dimensional vectors ?)
- Dot product of two matrices - used for vectors
The dot product results in a scalar that is the angle between the two vectors
- Normalization:
Given a vector of some length and angle, the process of Normalization creates a vector of length 1 (a Unit Vector) in the same direction.
- Elementary Row Operations:
These are operations performed on a matrix that preserve its equality:
- Row switching (swap): Swap two rows of a matrix.
- Row multiplication (scale): Multiply a row of a matrix by a nonzero constant.
- Row addition (pivot): Add to one row of a matrix some multiple of another row.
-----
- Links:
.
.
.
eof