Computer Science › Foundations of Computer Science

Mathematics for Computing

0 of 20
  1. Linear Combinations and Span

    Scaling and adding a set of vectors together (a linear combination), and the span — every vector reachable that way — which turns out to be exactly the set of solutions a system of equations can produce.

    Read →6 sections13 min
  2. Linear Independence, Basis, and Dimension

    When no vector in a set is redundant (linear independence), the minimal spanning set that results (a basis), and the one number — dimension — that every basis of the same space agrees on.

    Read →6 sections12 min
  3. Systems of Linear Equations as Ax = b

    Rewriting a whole system of linear equations as one matrix-vector equation Ax = b, and the two complementary ways to picture it — a row at a time, or a linear combination of columns.

    Read →6 sections12 min
  4. Gaussian Elimination and Row Echelon Form

    A systematic algorithm for solving Ax = b by eliminating variables row by row — the mechanical procedure underneath every solver, from a hand calculation to a numerical library.

    Read →6 sections13 min
  5. Matrix Operations: Addition, Scaling, Multiplication

    Formalizing what elimination was already doing implicitly — the precise rules for adding, scaling, and multiplying matrices, including why matrix multiplication isn't commutative.

    Read →6 sections14 min
  6. The Transpose and Symmetric Matrices

    Flipping a matrix across its diagonal (the transpose), and the special case — symmetric matrices, equal to their own transpose — that turns out to have unusually well-behaved eigenvalues later on.

    Read →6 sections12 min
  7. The Identity Matrix and Matrix Inverses

    The matrix that does nothing (the identity), and the matrix that undoes another one entirely (its inverse) — and precisely when that inverse fails to exist.

    Read →6 sections12 min
  8. Determinants

    A single number computed from a square matrix that tells you, immediately, whether it has an inverse at all — and geometrically, the volume-scaling factor of the transformation it represents.

    Read →6 sections9 min
  9. Column Space and Null Space

    The set of every vector a matrix can produce (its column space), and the set of inputs it collapses to zero (its null space) — together, these say exactly which systems Ax = b can and cannot be solved.

    Read →6 sections11 min
  10. Rank of a Matrix

    The number of genuinely independent rows (equivalently, columns) a matrix has — a single number that predicts how many solutions Ax = b has, before any elimination is even attempted.

    Read →6 sections11 min
  11. Matrices as Linear Transformations

    A matrix isn't just a grid of numbers — multiplying by it rotates, scales, or reflects space, which is exactly the mechanism behind every 2D and 3D graphics transformation.

    Read →6 sections12 min
  12. Eigenvalues and Eigenvectors

    The special directions a matrix's transformation only stretches or shrinks, never rotates away from (eigenvectors), and the factor by which it stretches them (eigenvalues).

    Read →6 sections13 min
  13. Markov Matrices and Stationary Distributions

    A matrix whose columns are each a probability distribution, whose long-run behavior settles into a stationary distribution that is nothing more than its dominant eigenvector — the exact mechanism behind PageRank.

    Read →6 sections14 min
  14. Diagonalization and Powers of a Matrix

    Rewriting a matrix in terms of its own eigenvectors and eigenvalues — a change of perspective that turns the otherwise painful task of computing a matrix's 100th power into simple arithmetic.

    Read →6 sections12 min
  15. The Dot Product and Vector Norms

    Multiplying two vectors into a single number (the dot product), and measuring a vector's own length (its norm) — the geometric building blocks behind angle, similarity, and distance.

    Read →6 sections12 min
  16. Gradients: Extending Derivatives to Several Variables

    The vector of steepest ascent for a function of several variables — a direct generalization of a single-variable derivative's slope, introduced here purely through vector notation, with no calculus prerequisite assumed.

    Read →6 sections13 min
  17. Least Squares via Linear Algebra

    Finding the best-fit line through data that has no exact solution, by projecting onto a column space and setting a gradient to zero — the capstone that ties projections and gradients into a single, genuinely useful algorithm.

    Read →6 sections13 min
  18. Orthogonality and Orthogonal Matrices

    Vectors at right angles to one another (orthogonality), and matrices built entirely from such vectors — whose inverse turns out to be nothing more than their own transpose.

    Read →6 sections10 min
  19. Eigenvalues of Symmetric Matrices

    Why a symmetric matrix's eigenvalues are always real and its eigenvectors always orthogonal — a special guarantee that underlies PCA and every optimization problem built on a symmetric matrix.

    Read →6 sections13 min

Mathematics for Computing

Part of the Computer Science curriculum.

Sort
1

Vectors and Vector Operations

A vector as an ordered list of numbers, and the two operations — addition and scalar multiplication — every other idea in this discipline is built from.

2

Linear Combinations and Span

Scaling and adding a set of vectors together (a linear combination), and the span — every vector reachable that way — which turns out to be exactly the set of solutions a system of equations can produce.

3

Linear Independence, Basis, and Dimension

When no vector in a set is redundant (linear independence), the minimal spanning set that results (a basis), and the one number — dimension — that every basis of the same space agrees on.

4

Systems of Linear Equations as Ax = b

Rewriting a whole system of linear equations as one matrix-vector equation Ax = b, and the two complementary ways to picture it — a row at a time, or a linear combination of columns.

5

Gaussian Elimination and Row Echelon Form

A systematic algorithm for solving Ax = b by eliminating variables row by row — the mechanical procedure underneath every solver, from a hand calculation to a numerical library.

6

Matrix Operations: Addition, Scaling, Multiplication

Formalizing what elimination was already doing implicitly — the precise rules for adding, scaling, and multiplying matrices, including why matrix multiplication isn't commutative.

7

The Transpose and Symmetric Matrices

Flipping a matrix across its diagonal (the transpose), and the special case — symmetric matrices, equal to their own transpose — that turns out to have unusually well-behaved eigenvalues later on.

8

The Identity Matrix and Matrix Inverses

The matrix that does nothing (the identity), and the matrix that undoes another one entirely (its inverse) — and precisely when that inverse fails to exist.

9

Determinants

A single number computed from a square matrix that tells you, immediately, whether it has an inverse at all — and geometrically, the volume-scaling factor of the transformation it represents.

10

Column Space and Null Space

The set of every vector a matrix can produce (its column space), and the set of inputs it collapses to zero (its null space) — together, these say exactly which systems Ax = b can and cannot be solved.

11

Rank of a Matrix

The number of genuinely independent rows (equivalently, columns) a matrix has — a single number that predicts how many solutions Ax = b has, before any elimination is even attempted.

12

Matrices as Linear Transformations

A matrix isn't just a grid of numbers — multiplying by it rotates, scales, or reflects space, which is exactly the mechanism behind every 2D and 3D graphics transformation.

13

Eigenvalues and Eigenvectors

The special directions a matrix's transformation only stretches or shrinks, never rotates away from (eigenvectors), and the factor by which it stretches them (eigenvalues).

14

Markov Matrices and Stationary Distributions

A matrix whose columns are each a probability distribution, whose long-run behavior settles into a stationary distribution that is nothing more than its dominant eigenvector — the exact mechanism behind PageRank.

15

Diagonalization and Powers of a Matrix

Rewriting a matrix in terms of its own eigenvectors and eigenvalues — a change of perspective that turns the otherwise painful task of computing a matrix's 100th power into simple arithmetic.

16

The Dot Product and Vector Norms

Multiplying two vectors into a single number (the dot product), and measuring a vector's own length (its norm) — the geometric building blocks behind angle, similarity, and distance.

17

Gradients: Extending Derivatives to Several Variables

The vector of steepest ascent for a function of several variables — a direct generalization of a single-variable derivative's slope, introduced here purely through vector notation, with no calculus prerequisite assumed.

18

Least Squares via Linear Algebra

Finding the best-fit line through data that has no exact solution, by projecting onto a column space and setting a gradient to zero — the capstone that ties projections and gradients into a single, genuinely useful algorithm.

19

Orthogonality and Orthogonal Matrices

Vectors at right angles to one another (orthogonality), and matrices built entirely from such vectors — whose inverse turns out to be nothing more than their own transpose.

20

Eigenvalues of Symmetric Matrices

Why a symmetric matrix's eigenvalues are always real and its eigenvectors always orthogonal — a special guarantee that underlies PCA and every optimization problem built on a symmetric matrix.