Linear Algebra Formulas
Determinants, inverses, vector products, projections and eigenvalues. 11 formulas, each with variables and a worked example.
- Determinant of a 2×2 MatrixThe determinant of a matrix is the product of the main diagonal minus the product of the other diagonal.
- Determinant of a 3×3 MatrixThe determinant of a matrix by cofactor expansion along the first row.
- Inverse of a 2×2 MatrixA matrix with nonzero determinant is inverted by swapping the diagonal entries, negating the off-diagonal entries and dividing by the determinant.
- Matrix MultiplicationEach entry of the product is the dot product of a row of with a column of ; must have as many columns as has rows.
- Dot ProductThe dot (scalar) product of two vectors is the sum of products of matching components.
- Cross ProductThe cross product of two 3D vectors is a vector perpendicular to both, with length (the area of the parallelogram they span).
- Magnitude of a VectorThe magnitude (length, norm) of a vector is the square root of the sum of the squares of its components, a direct generalisation of the Pythagorean theorem.
- Angle Between Two VectorsThe angle between two nonzero vectors follows from the dot product.
- Vector ProjectionThe projection of onto is the component of in the direction of .
- Cramer's RuleCramer's rule solves a square linear system with : replace column of by to get .
- Eigenvalues of a 2×2 MatrixThe eigenvalues of a matrix are the roots of its characteristic equation, which depends only on the trace (sum of the diagonal) and the determinant.
Other categories: Algebra · Geometry · Trigonometry · Calculus · Statistics & Probability · Sequences & Series · Logarithms & Exponents · Combinatorics · Analytic Geometry · Number Theory