Skip to content
Mathematics
Text size 2 of 4

Reference shelf

Formula sheet

The core formulas of the course, on one page to revisit.

The core formulas of the course on one page. Come back to these cold and try to say what each one means before you read on.

Foundations

A function pairs each input with exactly one output.
Exponential and logarithm cancel; a log counts halvings.
The log laws turn multiplication into addition.

Linear algebra

Add and scale, then combine: the two moves of a vector space.
Independent in 2-D when the determinant is nonzero.
The dot product, two ways, and cosine similarity.
Each cell of a product is a row dotted with a column.

Calculus for learning

The derivative is the limiting secant slope; nearby, f is linear.
The power rule and the chain rule.
The gradient stacks the partials; descent steps against it.

The gradient is perpendicular to the contour, and is maximized when you face along it.

Probability and statistics

Mean, variance, standard deviation, and the Gaussian bell.
Probability axioms; expectation and variance of a random variable.
Conditional probability and Bayes' theorem.
Likelihood, log-likelihood, and why minimizing NLL is cross-entropy.
Information, entropy, cross-entropy, and KL divergence.

Discrete math and proof

Implication, its contrapositive (equivalent) and converse (not), and quantifier negation.
The induction template: base case plus inductive step proves it for all n.
The sums you meet in complexity analysis.
Counting: permutations, combinations, Pascal's rule, and the binomial theorem.

Advanced linear algebra

A linear map is fixed by where it sends the basis vectors; its matrix is those images as columns.
Eigenvectors: the directions a matrix only scales; the characteristic equation finds them.

Numerical foundations

A 32-bit float, and the numerically stable softmax that subtracts the max first.