Linear algebra flashcards: 50 definitions and theorems
Vectors, matrices, determinants, eigenvalues, orthogonality and the SVD: the linear algebra behind machine learning and engineering, in 50 LaTeX flashcards.
Practice now
Study without an account
Scheduled with the default Askesis timings. Progress is saved in this browser.
All 50 cards
- 1Dot product
- 2Dot product and the angle between vectors
- 3Euclidean norm of a vector
- 4When are two vectors orthogonal?When their dot product is zero:
- 5Cross product inIt is perpendicular to both vectors, oriented by the right-hand rule.
- 6Magnitude of the cross productIt equals the area of the parallelogram the two vectors span.
- 7Cauchy–Schwarz inequality
- 8Triangle inequality
- 9Projection of onto
- 10When is the product defined?When is and is ; the result is
- 11Entry of
- 12Is matrix multiplication commutative?No: in generalIt is associative and distributive, though.
- 13Identity matrixA square matrix with ones on the diagonal and zeros elsewhere:
- 14Transpose of a product
- 15Inverse of a product
- 16Inverse of a matrixIt exists only when .
- 17Trace of a matrixThe sum of the diagonal entries:
- 18Cyclic property of the trace
- 19Determinant of a matrix
- 20Determinant ofCofactor expansion along the first row.
- 21
- 22
- 23for an matrix
- 24Effect of swapping two rows on the determinantThe sign flipsAdding a multiple of one row to another leaves it unchanged; scaling a row by c scales it by c.
- 25When is a square matrix invertible?Exactly whenEquivalently: full rank, only the trivial solution to Ax = 0, and 0 is not an eigenvalue.
- 26Span of a set of vectorsThe set of all their linear combinations
- 27Linear independenceonly when every
- 28BasisA linearly independent set of vectors that spans the space
- 29Dimension of a vector spaceThe number of vectors in any basis
- 30Null space of AAll vectors with
- 31Column space of AThe span of the columns of : all for which has a solution
- 32Rank of a matrixThe dimension of its column space, which equals the dimension of its row space and the number of pivots
- 33Rank–nullity theorem ( is )n is the number of columns.
- 34Elementary row operationsSwap two rows, multiply a row by a nonzero scalar, add a multiple of one row to another
- 35Gaussian eliminationRow-reduce the augmented matrix to row echelon form, then solve by back-substitution
- 36How many solutions can have?None, exactly one, or infinitely manyNone if inconsistent; one if consistent with no free variables; infinitely many if there are free variables.
- 37Least-squares normal equations
- 38Projection matrix onto the column space of (full column rank)
- 39Eigenvalue and eigenvectorwith
- 40Characteristic equationIts roots are the eigenvalues.
- 41Sum and product of the eigenvaluesSum , productCounted with multiplicity, over the complex numbers.
- 42Diagonalization, with eigenvectors as the columns of and eigenvalues on the diagonal ofPossible exactly when has linearly independent eigenvectors.
- 43An matrix with distinct eigenvalues is…Diagonalizable
- 44Matrix powers via diagonalization
- 45Orthogonal matrix, soIts columns are orthonormal; it preserves lengths and angles, and det Q = ±1.
- 46Gram–Schmidt processTurns a basis into an orthonormal basis: subtract from each vector its projections onto the previous ones, then normalize
- 47Spectral theorem (real symmetric matrices)A real symmetric matrix has real eigenvalues and orthogonal eigenvectors:
- 48Positive definite matrixA symmetric matrix with for everyEquivalently, all its eigenvalues are positive.
- 49Singular value decomposition (SVD), with and orthogonal and diagonal with nonnegative entriesEvery real matrix has one.
- 50Singular values ofThe square roots of the eigenvalues of
Frequently asked questions
What course does this deck match?
A first university course in linear algebra, plus the orthogonality and SVD results used in data science.
Is it useful for machine learning?
Yes. Projections, least squares, eigenvalues, positive definite matrices and the SVD show up throughout ML.
Do I need calculus first?
No. Linear algebra stands on its own; basic algebra is enough to start.
More in Math
Calculus
Memorize the derivatives, integrals, limits and theorems every calculus course relies on, written out in clean LaTeX.
50 cardsStatistics
Learn the statistics every course and data job relies on: variance, the normal distribution, hypothesis tests, regression and probability rules, with formulas in clean LaTeX.
50 cardsNumber theory
Number theory flashcards in LaTeX: primes, gcd and the Euclidean algorithm, congruences, Fermat and Euler, the Chinese remainder theorem and quadratic residues.
50 cards