Matrices - Matrices are a powerful mathematical tool used to solve systems of linear equations, represent transformations, and model complex systems in various fields such as engineering, physics, computer science, and economics. This cheat sheet provides a comprehensive overview of the essential concepts, properties, and operations related to matrices.
Basics of Matrices
1. Definition
A matrix is a rectangular array of numbers arranged in rows and columns. A matrix of size has rows and columns.
2. Types of Matrices
- Square Matrix: Rows and columns are equal ().
- Identity Matrix (): A diagonal matrix with 1s along the diagonal and 0s elsewhere.
- Zero Matrix (): All elements are 0.
- Diagonal Matrix: Non-zero elements only on the diagonal.
- Symmetric Matrix: , where is the transpose of .
Operations on Matrices
1. Addition and Subtraction
Matrices can be added or subtracted if they have the same dimensions:
- or
2. Scalar Multiplication
Each element of a matrix is multiplied by a scalar:
- , where is a scalar.
3. Matrix Multiplication
The product of two matrices () and () results in a matrix ():
4. Transpose
The transpose of a matrix is obtained by flipping it over its diagonal:
- : Rows become columns.
Determinants and Inverses
1. Determinant
The determinant of a square matrix measures the matrix's invertibility:
- For a matrix :
- For a matrix, expand using minors and cofactors.
2. Inverse
The inverse of a square matrix exists if :
- , where is the adjugate matrix.
3. Rank
The rank of a matrix is the maximum number of linearly independent rows or columns.
Eigenvalues and Eigenvectors
1. Definition
For a square matrix , if , then:
- : Eigenvalue
- : Eigenvector
2. Finding Eigenvalues
Solve the characteristic equation:
3. Finding Eigenvectors
Substitute each eigenvalue into to find .
Solving Linear Systems Using Matrices
1. Linear System Representation
A system of linear equations can be represented as:
- , where is the coefficient matrix, is the variable vector, and is the constant vector.
2. Gaussian Elimination
This method involves row operations to reduce to upper triangular form, simplifying the solution process.
3. Matrix Inversion Method
If is invertible:
Applications of Matrices
- Transformations: Rotations, translations, and scaling in graphics.
- Solving Linear Systems: Used in engineering and physics for solving equations.
- Data Representation: Representing graphs, networks, and datasets.
- Eigenvalue Problems: Modeling vibrations, stability, and quantum mechanics.
Summary Table of Key Equations
Concept | Equation |
---|---|
Determinant (2x2) | |
Inverse | |
Eigenvalue Equation | |
Matrix Multiplication |