Your knowledge base
Beautiful Math
A personal library for rebuilding math from first principles and returning to it. Each chapter is detailed on purpose: core ideas, stories that spark curiosity, real-world ties, and - when the link is honest - bridges into AI and ML.
Foundations
5 lessonsRebuild numbers, operations, ratios, variables, decimals, powers, and estimation from first principles - the ground under everything that follows.
What numbers are
Numbers begin as a way to remember how much. Place value and zero turn that memory into a language compact enough to build everything else.
02Operations as transformations
Addition, subtraction, multiplication, and division are not rituals. They are transformations - ways of changing a quantity - and some of them can be undone.
03Fractions and ratios
A fraction is a number; a ratio is a comparison. Both speak the language of relative size - the same language probability and many ML metrics will speak later.
04Variables and unknowns
A variable is a name for a quantity that is not fixed yet. Naming the unknown is how relationships become thinkable - in equations, in science, and in machine learning features and parameters.
05Decimals, powers, and estimation
Decimals extend place value past the units place. Powers compress repeated multiplication and reveal how length, area, and volume scale. Estimation keeps both honest when exact digits are not the point.
Geometry
6 lessonsPoints, shapes, transformations, area, and solid measure - how numbers become pictures you can measure, compare, and prove.
Points, lines, and angles
Geometry begins when numbers gain place: a point has position, a line has direction, and an angle measures a turn. That is how quantity becomes something you can see.
02Triangles and congruence
Triangles are the simplest rigid polygon. Congruence says two shapes match by a rigid motion. That is the geometric version of equality.
03Similarity and Pythagoras
Similar figures share shape under scaling. On a right triangle, that scaling intuition becomes the Pythagorean relation: a² + b² = c².
04Circles and area
A circle is constant distance from a center. Area measures how much region a shape occupies. Together they show how continuous magnitude can still be compared and computed.
05Transformations and symmetry
Rigid motions move figures without stretching them. Symmetry is invariance under a chosen motion. Together they turn congruence into verbs: slide, turn, flip.
06Polygons, area, and solid measure
Polygon area comes from decomposing into triangles. Prisms and cylinders extend area into volume by stacking. Surface measure asks how much skin wraps the solid.
Algebra
8 lessonsEquations, systems, functions, graphs, inequalities, quadratics, exponentials, and fitting - naming relationships before every number is known.
Equations as relationships
An equation is not a puzzle with a secret answer key. It is a claim that two expressions name the same amount, and solving means finding when that claim is true.
02Systems: more than one unknown
Two unknowns need two independent relationships. A system is a set of truth claims that must hold together.
03Functions as machines
A function is a reliable machine: each allowed input gets exactly one output. That single rule is how models, formulas, and graphs stay coherent.
04Graphs: seeing relationships
A graph turns a function into a picture: every input-output pair becomes a point. Descartes welded algebra to geometry so eyes could help algebra think.
05Inequalities: claims about regions
An inequality is a claim about an ordered region, not a single number. Multiplying by a negative flips the order; intervals name the solution set.
06Quadratics and polynomials
A quadratic is a parabola in disguise: completing the square, the formula, and factoring are three views of the same structure. Polynomials extend the pattern.
07Exponentials and logarithms
Exponential growth multiplies; a logarithm undoes that multiplication into addition. Napier and Briggs built tables so hard products became easier sums.
08Sequences and fitting
Sequences list terms by a rule; series sum them. Linear and quadratic patterns jump off tables, and least squares fits a simple model to noisy data - algebra meeting measurement.
Trigonometry
5 lessonsAngles, triangle ratios, the unit circle, inverse trig and triangle laws, then waves - from turns to oscillation and similarity previews.
Angles and turning
Trigonometry starts with measuring turns. Degrees and radians are two rulers for the same idea: how far you have rotated.
02Right-triangle ratios
Sine, cosine, and tangent begin as ratios of sides in a right triangle. Same angle, same ratios - even when the triangle scales.
03The unit circle
On a circle of radius 1, cosine and sine become the x and y coordinates of a point. That single picture extends trigonometry to every angle.
04Inverse trig and triangle laws
Arcsin, arccos, and arctan pick principal angles from ratios. The laws of sines and cosines extend triangle solving beyond right angles - astronomy's old craft in modern form.
05Waves, identities, and similarity
Sine and cosine are periodic waves with amplitude, frequency, and phase. Identities are compressed geometry. Cosine similarity is a later preview once vectors arrive.
Calculus intuition
5 lessonsRates, derivatives, accumulation, limits and optimization, then gradients - the change toolkit behind learning curves.
Rates of change
Calculus begins with a simple obsession: how fast is something changing right now? Slope of a curve is the geometric answer.
02The derivative
The derivative is a new function that reports the slope of the old function at each point. Leibniz's notation makes the ratio of tiny changes memorable.
03Accumulation and integrals
If derivatives measure change, integrals accumulate it. Area under a rate curve recovers net change.
04Limits, continuity, and optimization
Limits ask what a function approaches. Continuity asks whether the approach matches the value. Critical points and linear approximations turn those ideas into search and error control.
05Gradients and learning
In many variables, the gradient packs all partial slopes into one vector that points toward steepest increase. Learning often walks the opposite way.
Linear algebra
7 lessonsVectors, matrices, projections, bases, elimination and least squares, eigen-structure, then SVD and PCA - the native tongue of modern machine learning.
Vectors
A vector is magnitude with direction: an arrow in space, or an ordered list of numbers. That dual view is why linear algebra powers both geometry and data.
02Matrices as linear maps
A matrix packages a linear transformation: multiply to stretch, rotate, shear, or project space in a uniform way.
03Dot products and projections
The dot product measures alignment. From it you get lengths, angles, and projections - the geometry behind similarity.
04Bases, dimension, and structure
A basis is a minimal coordinate system for a space. Dimension counts how many independent directions you need. Structure first, coordinates second.
05Row reduction and least squares
Gaussian elimination is organized matrix moves that simplify linear systems. Overdetermined least squares is a projection story: the best fit is the shadow in the column space.
06Eigenvalues and eigenvectors
Ax = λx picks directions that a linear map only stretches or flips. Those eigen-directions are the map's simplest skeleton.
07SVD and PCA
SVD factors any matrix as rotation, scale, rotation. PCA chooses variance-maximizing orthogonal directions - often computed via SVD of centered data.
Probability & information
6 lessonsChance, random variables, conditioning, expectation, correlation and calibration, then information - how models reason under doubt.
Chance and probability
Probability assigns weight to outcomes. In the finite equal-outcome world it is favorable over total. Deeper theories extend that idea to richer spaces.
02Random variables and distributions
A random variable names a numerical outcome of chance. Its distribution (pmf for discrete cases) says how probability mass sits on those numbers - Bernoulli, binomial, and uniform as first citizens.
03Conditional probability and Bayes
New information reshapes probability. Conditional probability and Bayes' rule are the mathematics of updating.
04Expectation and loss
Expectation is the probability-weighted average. Loss functions turn prediction errors into numbers; risk is expected loss.
05Correlation, sampling, and calibration
Covariance and correlation measure linear co-movement. Sampling adds uncertainty about estimates. Calibration asks whether a stated probability matches long-run frequency.
06Information and entropy
Information measures surprise. Entropy is expected surprise under a distribution. Cross-entropy ties probability to the losses classifiers use.
Prefer to jump in? Open the first Foundations lesson.