A primer on linear algebra
Fundamentals in Matrix Algebra
Matrix algebra is a branch of algebra that deals with matrices, which are rectangular arrays of numbers or symbols. Matrices are used in various areas of mathematics, science, and engineering, especially in linear algebra.
- Basics of Matrices
- Definition and Elements of a Matrix
- Matrix Operations
- Matrix Transpose
- Zero Matrix and Identity Matrix
- Multiplication of Matrices
- Determinant of a Matrix
- Inverse of a Matrix
- Rank of a Matrix
- Systems of Linear Equations
- Solution of Systems of Linear Equations
- Use of Inverse in Systems of Linear Equations
- Eigenvalues and Eigenvectors of a Matrix
- Orthogonal and Unitary Matrices
- Matrix Decomposition
- Matrix Diagonalization
- Applications of Matrices
- Applications in Computer Graphics
- Applications in Network Theory
- Vector Spaces
Matrix Notation
A matrix is typically denoted by an uppercase letter, such as
Where
Matrix Operations
Addition and Subtraction
Matrices of the same dimensions can be added or subtracted element-wise. For example,
Scalar Multiplication
A matrix can be multiplied by a scalar, which multiplies each element of the matrix by the scalar value. For example,
Where
Matrix Multiplication
Matrix multiplication is more complex than addition or scalar multiplication. To multiply two matrices together, the number of columns in the first matrix must equal the number of rows in the second matrix.
Given two matrices
The element at position
Properties of Matrix Algebra
Matrix algebra obeys several properties, similar to real number algebra. These properties include:
Rule | Example |
---|---|
Associativity | |
Distributivity | |
Scalar Multiplication | |
Identity Matrix | |
Zero Matrix |
These properties play an important role in solving equations, performing transformations, and solving systems of linear equations using matrix algebra.
Matrix Transposition
Matrix transposition is a special operation in linear algebra that flips the rows and columns of a matrix over its main diagonal, which runs down from the top-left to bottom-right. A transposition is represented with a superscript “top” symbol or “’”.
If we have a matrix
Simply put, what was in the j-th row and i-th column of the original matrix, will be in the i-th row and j-th column of the transposed matrix. Let’s see how this works: Consider the matrix
Transpose Properties
Here are some important properties of matrix transposition:
Property | Equation |
---|---|
Transpose of a Transpose | |
Transpose of a Sum | |
Transpose of a Difference | |
Transpose of a Scalar Multiplication | |
Transpose of a Product |
The first four properties are straightforward. The last property, transpose of a product, is a bit more complex because when taking the transpose of a product of matrices, the order of the matrices is reversed in the product. This property is not intuitive and needs to proven with matrix algebra.
Also, remember that matrix multiplication is not commutative (