42math

Interactive Math & Science Lessons

Not just answers — real insight across math, science, and curiosities.

473 interactive lessons · 60 chapters that run in order · 51 articles

Start here

Short sequences rather than single tools. Each step hands the next one something specific, so they are worth doing in order.

Mathematics

Physics

  • What Ohm’s law leaves outL1 · 6

    Ohm’s law, as its own page says, describes one resistor at a steady temperature, on direct current, with nothing else in the loop. Each page after it puts back one of the things that sentence left out: a second component, the wire, the battery, a circuit that will not reduce, and a voltage that changes.

    1. 01Ohm’s law
    2. 02Series and parallel
    3. 03Resistivity
    4. 04Internal resistance
    5. 05Kirchhoff’s laws
    6. 06AC and RMS
  • Energy instead of forcesL2 · 3

    Two tools and one shortcut: when all you want is speeds and heights, you can skip the forces entirely and let energy keep the books.

    1. 01Free fall
    2. 02Roller coaster
    3. 03Momentum & Collision Lab
  • Bending lightL2 · 3

    A lens is a boundary that somebody curved, and no page on this path introduces physics the first one does not already contain. What changes is how much is asked of it: one surface, then an ideal lens, then a piece of glass.

    1. 01Snell's law
    2. 02Ray-tracing a lens
    3. 03Real lenses
  • Simple machines: trading force for distanceL2 · 6

    Five machines and one bargain. None of them creates energy, and every one of them lets you choose how to spend it: a smaller force over a longer path, or the reverse. Each step hands the next a specific piece of that bargain, and by the end you can read any machine by asking two questions about it.

    1. 01Lever classes
    2. 02Wheel and axle
    3. 03Pulley systems
    4. 04Inclined plane, screw and wedge
    5. 05Gear trains
    6. 06Screw Thread
  • Resistance, then reactanceL2 · 3

    A capacitor has no resistance and limits the current anyway, and what it sets is a time rather than a number of ohms. The second page shows that the time belongs to any system with one store and one drain. The third adds a second store, and the time becomes a frequency.

    1. 01RC circuit
    2. 02Step response
    3. 03RLC resonance
  • Throwing thingsL2 · 3

    Three tools, and the third one breaks the first two. Constant acceleration has a closed-form answer, so the first two steps are algebra. Air resistance is not constant, and from there the only honest method is to integrate it step by step.

    1. 01SUVAT
    2. 02Projectile motion
    3. 03Drag and wind
  • Water out of a tank: one speed, spent two waysL2 · 2

    Two tools built on a single result. Water leaves a hole at exactly the speed a stone reaches falling the same depth, and everything else follows from where that speed is spent: sideways it is a projectile, downwards it is the tank emptying itself.

    1. 01Three holes in a tank
    2. 02The tank emptying
  • From one spring to a standing waveL2 · 4

    One restoring force, followed as far as it will go. A mass on a spring oscillates, a row of them passes the oscillation along, two of those meeting decide whether to add or cancel, and a boundary at each end throws away every frequency that does not fit.

    1. 01Hooke's law
    2. 02Resonance
    3. 03Interference
    4. 04Standing waves
  • Wave opticsL2 · 4

    Ray optics says light goes straight and an edge casts a sharp shadow. Each page here draws that answer as a ghost beside the wave answer, and what stands in the light's way changes from page to page: two surfaces, one slit, a round aperture, and finally an opaque disc whose shadow is bright at its centre.

    1. 01Thin films
    2. 02Single slit
    3. 03The diffraction limit
    4. 04The spot of Arago
  • Least time, least actionL2 · 4

    The path a light ray takes, a sliding bead follows and a thrown ball flies is the one along which a small change makes no first-order change in a total: time for the first two, action for the ball. Every page lets you bend the path and watch the total barely move, and two of them find a path whose total is stationary without being least.

    1. 01Fermat's principle
    2. 02Mirages
    3. 03The brachistochrone
    4. 04Least action
  • Rotation and angular momentumL2 · 4

    A spinning body carries a vector, its angular momentum, and nearly everything surprising about rotation is that vector refusing to change. Pull your arms in on a turntable and you spin faster; a wheel turns sideways instead of falling; a racket flips; a pendulum's plane stays put while the floor turns under it.

    1. 01Angular momentum
    2. 02The gyroscope
    3. 03The tennis racket theorem
    4. 04Coriolis and Foucault
  • What is not a resistorL2 · 5

    Ohm's law describes one kind of part. The five here store energy in a voltage or a current, conduct in one direction, amplify, and amplify precisely, and each is unreliable on its own: a transistor's current gain β varies threefold between samples of the same type. The circuit around a component is what makes it predictable, and every page shows how.

    1. 01Capacitor
    2. 02Inductor
    3. 03Diode
    4. 04Transistor amplifier
    5. 05Op-amp
  • Quantum mechanics: matter as wavesL2 · 5

    Light arrives in packets, and the same constant h then gives every particle a wavelength. The rest follows from taking that wave seriously: made to fit a box, it has a lowest energy that is not zero; it leaks through walls it cannot climb; and squeezed into a small space it spreads over many wavenumbers, which is the uncertainty principle.

    1. 01The photoelectric effect
    2. 02Matter waves
    3. 03Particle in a box
    4. 04Quantum tunnelling
    5. 05Uncertainty and wave packets
  • Where the load goesL3 · 7

    Seven pages on one question: which part of a structure is actually carrying the weight, and in what form. It starts inside a single beam, where the middle does almost nothing, and ends with a truss that has more bars than equations and still says exactly when it will fall.

    1. 01Beam deflection
    2. 02Shaft torsion
    3. 03Mohr’s circle
    4. 04Truss analysis
    5. 05Euler buckling
    6. 06Arches and cables
    7. 07Redundant bars
  • The heat, wave and Laplace equationsL3 · 4

    Three equations built on one operator, the Laplacian, that differ only in what time does. Heat forgets, the sharpest detail first. A wave carries a disturbance away, and on a sheet never quite finishes arriving. Laplace's equation has no time in it at all, and it is where heat forgets its way to: every point the average of its neighbours.

    1. 01The heat equation
    2. 02Seasons underground
    3. 03The wave equation
    4. 04Laplace's equation

Computing

  • How a computer runs a programL1 · 6

    From a gate to a running program. A NAND gate is enough to build every circuit, an adder made of gates does subtraction too, and the Little Man Computer puts that adder beside a hundred mailboxes: the program sits in the same memory as its numbers, and the machine runs whatever its program counter lands on.

    1. 01Logic gates
    2. 02Binary arithmetic
    3. 03The Little Man Computer
    4. 04Memory and bytes
    5. 05The call stack
    6. 06Cache locality
  • How codes are brokenL1 · 5

    Each cipher here hides the letters and leaves something else showing. A substitution leaves the letter counts, a keyword cipher leaves them in columns, and a one-time pad used twice leaves the spaces. Only a random key as long as the message shows nothing at all, and then the hard part becomes getting that key to the other side, which the last two pages do in public.

    1. 01Substitution cipher
    2. 02Vigenère cipher
    3. 03One-time pad
    4. 04Diffie–Hellman
    5. 05RSA
  • What a data structure makes cheapL2 · 4

    Every structure here answers one question fast and pays for it somewhere else. A Bloom filter keeps no keys at all and can still say definitely not; a trie answers the prefix questions a hash table cannot; a heap always knows its smallest key and little else. The last page asks which page to throw out of memory, where the best answer needs the future.

    1. 01Bloom filter
    2. 02Trie
    3. 03Binary heap
    4. 04Page replacement
  • How a video gets encodedL2 · 8

    A video encoder is not one algorithm but eight stages in a fixed order, and the order is not arbitrary: each stage exists because the one before it made its job possible. This tool models one of them. The chain below links to the other seven.

    1. 01Sampling
    2. 02Chroma subsampling
    3. 03GOP structure
    4. 04Motion estimation
    5. 05Quantization
    6. 06Entropy coding
    7. 07Rate control
    8. 08Size budget
  • Protecting a stream: revoke a device, then find out which oneL3 · 2

    Two halves of the same problem, in the order a studio meets them. First, a key has leaked and the licence must keep working for everyone else — which turns out to cost a header that does not grow with the size of the system at all. Then the harder half: knowing whose key it was, from a copy that several subscribers built together specifically so that it names nobody.

    1. 01Device revocation
    2. 02Forensic watermarking
  • How an LLM picks the next wordL3 · 3

    Two tools that open up a large language model at the moment it chooses a word. The second literally runs on the first: the candidates it ranks are entries from the vocabulary the first one builds.

    1. 01Tokenizer
    2. 02Token Vectors and Similarity
    3. 03Temperature & sampling
  • Counting work, not secondsL3 · 4

    A stopwatch measures your laptop. Counting operations measures the algorithm. Two tools built on that one habit.

    1. 01Big-O growth
    2. 02Sorting Algorithm Race
    3. 03Recursion Tree Explorer
    4. 04Pathfinding
  • The Fourier transform in practiceL3 · 4

    A signal is a sum of spinning arrows, and every practical way of reading them off costs something the textbook formula leaves out. A finite window smears a tone that does not fit it across every bin; a shorter window buys time and pays in pitch; an average is a filter with a shape of its own; and the last page is the reason any of it is affordable.

    1. 01Discrete Fourier transform
    2. 02Spectrogram
    3. 03Moving average as a filter
    4. 04Fast Fourier transform
  • Why an algorithm is correctL3 · 4

    An algorithm is right for a reason that can be stated, and wrong for one a small test can find. Each page sets a correct version beside a plausible wrong one: fourteen of the sixteen ways to write binary search fail, greedy change-giving loses on old British coins and never on US cents, Kruskal and Prim agree for a reason, and a code that corrects one flipped bit makes two flips worse.

    1. 01Binary search
    2. 02Coin change
    3. 03Minimum spanning tree
    4. 04Hamming code
  • Compression by handL3 · 4

    Four encoders you could run on paper, ordered by what each one can see that the last one could not. The fourth compresses nothing whatsoever, and it is the reason the first one works on text.

    1. 01Run-length
    2. 02Huffman
    3. 03LZ77
    4. 04Burrows-Wheeler

Bio, Geo, Chem

  • Clocks in the rockL2 · 3

    One exponential, read three ways. Forwards it tells you how much is left; backwards it tells you how old something is; and applied to DNA rather than to nuclei it needs a rock to set it by.

    1. 01Radioactive decay
    2. 02Radiometric dating
    3. 03Molecular clock
  • Geometry on a curved surfaceL2 · 4

    On a curved surface the rules proved on paper stop holding, and the amount by which each one fails measures the curvature from inside. A straight route changes its compass heading, an arrow carried without turning comes home turned, a ring comes out the wrong length, and in the hyperbolic plane no triangle can hold more than π.

    1. 01Great circle routes
    2. 02Parallel transport
    3. 03Theorema egregium
    4. 04The hyperbolic plane
  • Why a reaction goesL2 · 4

    The heat a reaction gives out does not decide whether it runs; ice melts by taking heat in. These four pages build the bookkeeping that does decide: enthalpy, which adds like equations; standard free energy, which is an equilibrium constant in other units; the difference between moving K and moving Q; and a battery that reads that difference as a voltage.

    1. 01Hess's law
    2. 02Gibbs free energy
    3. 03Le Chatelier's principle
    4. 04The Nernst equation
  • Mixtures and solutionsL2 · 5

    A gas in a mixture acts at its own partial pressure, which sets a diver's depth limit. A liquid boils where its vapour pressure meets the pressure above it. Two liquids that mix badly stop a still at about 95.6% ethanol by mass, dissolved particles make one kelvin of frost worth thirteen bar of osmotic pressure, and a salt dissolves only until its ions reach a fixed product.

    1. 01Partial pressure
    2. 02Vapour pressure and boiling
    3. 03Fractional distillation
    4. 04Colligative properties
    5. 05Solubility product
  • Growth with a limitL2 · 4

    Every population here is held back by something, and the something gets less obliging at each step: first the crowding it causes itself, then a fixed catch taken off the top, then a predator that is a population in its own right, and finally running out of people left to infect.

    1. 01Logistic growth
    2. 02Harvesting
    3. 03Predator and prey
    4. 04Epidemics
  • How a weather forecast is madeL3 · 3

    A forecast is a model run forward from a starting state nobody knows exactly, so forecasters run it many times and let the disagreement say how far to trust it. The second page opens the model and finds a way to fail that has nothing to do with chaos. The third goes back to Lorenz's equations of 1963, where the run's position is soon lost and the shape it draws never is.

    1. 01Ensemble forecasting
    2. 02Weather on a grid
    3. 03The Lorenz attractor
  • Computing with moleculesL4 · 5

    Five tools that build one argument: DNA is a real storage medium and a real computer, and both run into limits you can calculate rather than guess at. Each step hands the next a specific number.

    1. 01DNA data storage
    2. 02DNA computing scale
    3. 03Levinthal’s paradox
    4. 04Strand displacement gate
    5. 05Energy per operation

Statistics & Finance

Astronomy & Space

  • How far away is it?L2 · 4

    Nothing about a star can be worked out from how bright it looks until you know how far away it is. That is the order these four go in, and it is the order astronomy went in — each rung measured against the one below it, all the way from a surveyor’s triangle to the edge of the observable universe.

    1. 01Parallax distance
    2. 02Solar luminosity
    3. 03Stellar magnitude
    4. 04The distance ladder
  • Orbits from two numbersL3 · 5

    An orbit is fixed by its size and its shape, and almost everything else follows. These five tools go from the ellipse to the fuel: where a spacecraft is, how fast it is going there, how long the trip takes, which trip is cheapest, and what that costs in propellant.

    1. 01Kepler orbits
    2. 02Vis-viva
    3. 03Orbital period
    4. 04Hohmann transfer
    5. 05The rocket equation

Latest read An antiderivative with no formula, and an area of exactly ln 2 All 51 articles →

The full catalogue

📐 Mathematics 125

Interactive algebra, trigonometry, and calculus tools. Visualise equations, explore roots, and build intuition through sliders.

Mathematics →

📊 Statistics & Finance 62

Statistics and finance tools - distributions, probability, inference, compound growth, and investment models.

Statistics & Finance →

⚡ Physics 100

Physics simulators for mechanics, circuits, waves, and oscillation. See the equations come to life.

Physics →

🚀 Astronomy & Space 44

Orbital mechanics, rocket equations, and planetary physics. Explore the solar system and beyond.

Astronomy & Space →

💻 Computing 69

Computing tools spanning logic gates, quantum algorithms, and video encoding - from classical to quantum.

Computing →

🧬 Bio, Geo, Chem 57

Biology, geology, and chemistry tools - life sciences, Earth processes, reactions, and molecular properties.

Bio, Geo, Chem →

🍍 Tidal Zone (Pun intended) 16

The Tidal Zone - fun and pseudo-scientific tools. Biorhythms, moon phases, and more. Take results with a pinch of salt.

Tidal Zone →

From the writing

All articles →
  • An antiderivative with no formula, and an area of exactly ln 2

    The rules of the integration chapter get nowhere with (x − 1)/ln x. The area under it from 0 to 1 is still exactly ln 2, and the route there is three lines long once you give the integral a dial to turn.

  • A fire is measured by the oxygen it takes

    Per kilogram of fuel, the things we burn differ more than threefold. Per kilogram of oxygen, most of them land within 5% of one number, because the heat is set by what the oxygen becomes, and in a clean flame it becomes one of two things.

  • Switching off a thousand devices can cost less than switching off one

    A disc cannot ask who is playing it, so a revocation has to be broadcast to everybody at once. The scheme every Blu-ray uses prices that broadcast by how the broken devices are arranged in the key tree, and the size of the audience does not appear in the bound at all.