

7 Raven Room
Seven ravens remember
487 lessons · 69 chapters · 51 articles · 968 problems solved
Mathematics130
Numbers and algebra
-
One number for many: summary statistics
Four tools that build one lesson: a summary number is a lossy compression, and how you compress determines what the summary is honest about. Each step hands the next one a specific limitation of single-number summaries.
-
Writing a number down
Three tools and one argument: some numbers cannot be written out in full, the best short version of one can be searched for rather than guessed, and cutting a number short has a cost you can measure.
-
Solving for x, from the minus sign upward
Six tools that build equation-solving in the order the ideas actually depend on each other, starting from what a minus sign does and ending with a machine method for three unknowns at once. Every step hands the next one a specific thing: a move, a restriction on a move, or a test for whether a move was legal.
-
Orders of magnitude
Three tools, one habit: when quantities differ by factors rather than amounts, stop counting and start counting exponents. The first builds the ruler, the second walks it, and the third puts a number on it with no data at all.
-
Beyond the quadratic
Four tools, and each one exists because the tool before it runs out. Factorising works when the roots are tidy, the formula works when they are not, division works past degree two, and a rational function is what two polynomials do when one sits over the other.
-
Functions: one after another, and back again
Three pages about applying one function after another. Shifting and stretching a graph is already that, with the order fixed by the brackets. Composition in general shows that the order changes the answer. An inverse is the function that, composed with f, gives back x, and its graph is the reflection of f's in the line y = x.
Geometry and trigonometry
-
The triangle rules, and where they come from
Six tools that build the standard triangle and circle results in the order they actually depend on each other. Nothing here is asserted: every rule arrives as a consequence of the one before it, and the route ends by putting the first one back on a grid, where it turns into the distance formula.
-
Trigonometric identities and equations
An identity holds at every angle where both sides are defined, which is what lets you trade the function a question gives you for the one it asks about. The chapter starts with the reciprocal functions and the three Pythagorean identities, then the inverse functions a calculator answers with, the equations they start, the compound-angle and double-angle formulae and the harmonic form, and ends with proving identities, one line at a time.
-
Circles and waves are the same motion
Three tools, and the point of the sequence is that they are not three subjects. A sine wave is what uniform circular motion looks like from the side, and a swinging pendulum is what it looks like when gravity supplies the turning.
Calculus
-
Why everything looks straight up close
Five tools on one idea: a smooth curve, magnified far enough, is indistinguishable from a straight line. That single fact is what a derivative measures, what a Taylor series extends, and what a gradient does in more than one direction. The path starts with the angle measure that makes the arithmetic come out clean and ends on a hillside where the steepest slope beats every direction you actually measured.
-
Differentiation: how rates combine
A derivative is a rate, and each rule of differentiation says how rates combine: through a product, through a function inside another, through an equation nobody solved for y. The last two pages put the rules to work on the questions a course actually asks, how fast something changes at one instant and which choice is best.
-
What f′ and f″ say about a graph
The sign of f′ says where a graph rises and falls, and the sign of f″ which way it bends. The chapter starts with the theorem that makes those readings safe, the mean value theorem, and is building towards the first and second derivative tests and reading f from a graph of f′.
-
Infinite series and convergence
An infinite sum is a limit of finite ones, and the limit depends on things no finite sum cares about: the order of the terms, and where the nearest singularity sits, even when it is off the real line.
-
Three numerical methods, and where each one gives out
Newton's method, Simpson's rule and Euler's method all run on the same engine: inside a small enough interval, treat the curve as straight. Each one therefore has a failure that is not a bug, and the useful knowledge is which failure belongs to which method. Every step here hands the next a named error and the rate at which it shrinks.
-
Techniques of integration
Differentiation is a procedure and integration is a search, so the trainers in this chapter grade an answer one way: differentiate it and compare it with the integrand. Substitution and parts are the chain and product rules read backwards, partial fractions covers the one large family where an elementary answer always exists, and the last page proves that for e⁻ˣ² none does.
-
Applications of integration
An integral is an amount piled up: area, distance, volume. This chapter starts with the theorem that ties piling up to rates of change, and builds from there to areas between curves, motion, and volumes found by slicing.
-
Differential equations: from slopes to poles
A differential equation says how fast something is changing, never what it is. The slope field draws that statement and shows a whole family of solutions, one through each starting point. The exponential is the family you can solve in a line, and the Laplace transform turns its rate into a point in the s-plane, where the ending can be read without solving anything.
Linear algebra and data
-
Fitting a line to data
Seven tools that turn a picture of scattered points into a number you can defend, then ask how the number is found, how much of it to believe, what happens when nobody tells you the answer — and finally how to grade a prediction that was only ever a probability. The route runs through geometry rather than statistics, because the geometry is what makes the statistics honest.
-
Matrices that move things
One question, asked four times with less and less to go on: what does this matrix actually do to space? The columns answer it outright. The eigenvectors answer it for the directions that survive. The SVD answers it when there are none, and PCA points the same machinery at a cloud of measurements.
Proof, counting and games
-
When two things land on the same value
The birthday problem looks like a party trick and is actually the standard tool for reasoning about collisions. The second step is where computer scientists meet it again, under a different name.
-
Methods of proof
A proof is a reason that covers every case, including the ones nobody will ever check. These pages build that reason four ways: by induction, by counting things into boxes, by a quantity no move can change, and by pairing things off. The first begins with a formula that gives a prime forty times running and then gives 41 × 41.
-
The best reply, and what happens when nobody computes one
Four games and one operation: find the move that answers whatever the other player does. It settles the first game on its own, takes a whole square to locate in the second, and carries a price tag in the third. In the fourth nobody computes it at all and the population arrives at the answer anyway.
-
Not yet in a chapter
- Angle Chase
- Arc Length & Solid of Revolution
- Bezier Curve Explorer
- Break-Even Point Calculator
- Check Digits: Luhn, Barcodes, ISBN & the Mistakes They Miss
- Compass and Straightedge Constructions
- Conic Parameters Explorer
- Conic Sections Explorer
- Gimbal Lock & Quaternions
- Goalkeeper Reaction Window
- Golden Ratio & Fibonacci Spiral
- Gram–Schmidt Orthogonalisation
- Hyperbolic Functions Explorer
- Index Laws, and Why a⁰ Is 1
- Logical Contradiction Lab
- Lottery Math
- Markov Chain Stationary Explorer
- Musical Math Lab
- Order of Operations, and Where It Is Not Agreed
- Parametric Curves
- Pendulum Phase Portrait
- Pick's Theorem: Area by Counting Points
- Piecewise Modeling Lab
- Polar Curves
- Prime Sieve & Ulam Spiral
- Pyramid Geometry
- Radical Equations Checker
- Reflections and the Rigid Motions of the Plane
- Regular Tilings Lab
- Secrets of Circle & Pi
- Sigma Summation Tool
- Solids Lab: Sphere, Cone & Cylinder
- The Collatz Conjecture
- Triangle Centres & the Euler Line
- Word Problems: from Story to Equations
Statistics & Finance66
Data and inference
-
Statistics: from data to proportions
AP Statistics opens with pictures of a single variable and gives its longest unit to inference for proportions. This chapter climbs in that order: how a data set is drawn, then how it is described, then how a sample proportion becomes a confidence interval and a significance test. The normal model and the sampling distributions it rests on have their own chapter, From counts to curves.
-
From counts to curves
Six tools and one distribution. Everything here is the binomial in a different limit, or the binomial read backwards: count the successes, let the count get large, and watch a bell curve arrive that nobody put there.
-
When is a difference real?
Four tools asking one question with progressively less to work with: two groups, then any number of them, then counts with no average in them at all. The last tool asks it before the data exist.
-
Priors, and where they come from
Nobody objects to the arithmetic in Bayes' theorem. They object to the prior — where the first number came from, and who chose it. These three tools take that question in the order it gets harder: a prior you can look up, a prior the apparatus hands you, and a prior nobody has.
-
What p < 0.05 does not promise
A p-value answers one question about one planned test. Real studies run twenty tests, look at the data as it comes in, and publish the results that came out significant, and each of those changes what p < 0.05 is worth. Every page here takes a procedure that sounds harmless and works out exactly what it costs.
Decisions and risk
-
Choosing on what you have seen
Two choices where the obvious strategy loses. At the doors you get one piece of news and must decide what it is worth, which depends on the rule the host follows rather than on what you see. With the candidates the news arrives one at a time, every refusal is final, and the question becomes when to stop looking.
-
Fair games that ruin you
An expected value is a promise about the average over a great many players, and a gambler is one player with one bankroll. A game can be fair, or even in your favour, and still ruin almost everyone who plays it. Each page draws the average as a dashed ghost and lets you watch what happens to the players who make it up.
Money and investing
-
Money over time
Four tools that build one idea: money is worth different amounts at different times, and a repeated payment can be collapsed into a single formula. Each step here hands the next one something specific.
-
Risk, measured
Six tools on the same 98 years of returns, each handing the next a specific quantity. The sequence answers one question in six steps: what is actually risky about an investment, and how much of what you are told about it can be checked?
-
Not yet in a chapter
- Benford's Law Explorer
- Bills, Notes and Bonds: What a Yield Does to a Price
- Buy vs Rent: Net Worth Compared
- Causality Sandbox
- Coincidence Cluster (Streak Paradox)
- Combinatorics Workbench
- Compound Interest Explorer
- Deja-Vu Detector
- Demography + Economics Lab
- Kanji Frequency & Probability Explorer
- Linear Programming (2D)
- Markup vs Margin
- Monte Carlo Pi Explorer
- National Debt Explorer
- Queueing Theory Simulator (M/M/1)
- Real Return After Tax
- Regression to the Mean
- Slope and Aspect
- Supply-Demand Shock Simulator
- Tax bands: marginal and effective rates
- Unit Pricing
Physics104
Mechanics
-
Energy instead of forces
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.
-
Newton's laws: the grip a motion asks for
Every mechanics problem with a surface in it has to settle one question before any arithmetic: how much friction does this motion need, and can the contact give it? A block on a plank answers with tan θ against μ. A car on a banked bend adds a turn, and the friction it needs changes direction with the speed. A ball rolling down a ramp adds a spin, and the hoop, which asks for the most grip, is the first to slip.
-
Simple machines: trading force for distance
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.
-
Throwing things
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.
-
Least time, least action
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.
-
Rotation and angular momentum
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.
-
Where the load goes
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.
Fluids
-
Water out of a tank: one speed, spent two ways
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.
-
Fluids at rest: from a pressure gauge to a mountain's root
Pressure in a still liquid depends on the depth and on nothing else: not the area, not the amount of liquid, not the shape of the vessel. Apply that to the top and the bottom of a body and you have the upthrust. Floating then has a single rule, that a floating body pushes aside its own mass of liquid, and the rule does not care whether the body is a rowing boat on a pond or a continent on the mantle.
-
Fluids in motion: what viscosity takes back
Bernoulli's pipe has no friction in it, and each page after it puts back something that one left out. Viscosity costs pressure along a pipe. The Reynolds number decides whether that cost is the orderly one Poiseuille computed. A sinking grain shows the same number choosing between two drag laws, and in the band between them, where no formula holds, the last page solves the equations themselves.
Waves, light and quanta
-
Bending light
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.
-
From one spring to a standing wave
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.
-
Wave optics
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.
-
Quantum mechanics: matter as waves
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.
-
The heat, wave and Laplace equations
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.
Electricity and magnetism
-
What Ohm’s law leaves out
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.
-
Resistance, then reactance
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.
-
What is not a resistor
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.
-
Where fields come from
Charges make electric fields and currents make magnetic ones, and the exam question is always which field comes from which arrangement. The chapter adds up pieces first, with an integral and the symmetry that cancels most of it, then takes the shortcuts symmetry allows: Gauss's law for charge, and the Biot–Savart law and Ampère's law for current, ending where Ampère's law needs Maxwell's correction.
-
Not yet in a chapter
- Bode/Nyquist Control Lab
- Bragg's Law & X-ray Diffraction
- Carnot Engine Simulator
- Chaos Bouncing Balls Lab
- Darcy's Law & Groundwater Flow
- Diffraction Grating
- Doppler Effect Simulator
- Double Pendulum Explorer
- Faraday's Law: a Simple Generator
- Heat Exchangers: Parallel Flow and Counterflow
- Heat Loss Through a Wall: U-values
- Ideal Gas Law Calculator
- Inverse Square Law Explorer
- Latent Heat: Ice in a Drink
- Malus's Law & Crossed Polarisers
- Missile Interception & Proportional Navigation
- Nuclear Binding Energy and the Mass Defect
- PID Control Tuner
- Radar Physics Simulator
- Signal Sampling & Nyquist Theorem
- Smith Chart & RF Black Magic Lab
- Special Relativity Explorer
- Thermal Touch: Why Metal Feels Colder Than Wood
- Van der Waals Equation & the Critical Point
Astronomy & Space44
-
How far away is it?
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.
-
Orbits from two numbers
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.
-
Not yet in a chapter
- 3-Body Problem Simulator
- Absorption & Emission Lines
- Angular Size Converter
- Astro Doppler Shift Calculator
- Astronomy Unit Converter
- Black Hole Calculator
- Blackbody Radiation Explorer
- Cosmological Redshift Calculator
- Day Length & the Equation of Time
- Drake Equation Explorer
- Earth-like Planet Probability
- Escape Velocity Comparator
- Exoplanet Transit Simulator
- Gravitational Lensing
- Gravitational Wave Calculator
- Habitable Zone + Climate Toy
- Hill Sphere Calculator
- Hydrogen Spectral Lines & the Rydberg Formula
- Lagrange Point Stability Explorer
- Light Travel Time Calculator
- Moon Phase Calculator
- Newtonian Gravity Explorer
- Orbital Resonance Checker
- Photon Energy Calculator
- Planetary Density Calculator
- Radial Velocity Semi-Amplitude
- Roche Limit Calculator
- Spectral Line Broadening
- Sphere of Influence Calculator
- Stefan-Boltzmann Sun Power Calculator
- Stellar Evolution Explorer
- Supernova Expansion Estimator
- Synodic Period Calculator
- Tisserand Parameter Calculator
- Wien's Law Peak Wavelength Tool
Computing69
Machines and algorithms
-
How a computer runs a program
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.
-
What a data structure makes cheap
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.
-
Counting work, not seconds
A stopwatch measures your laptop. Counting operations measures the algorithm. Two tools built on that one habit.
-
Why an algorithm is correct
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.
Security
-
How codes are broken
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.
-
Protecting a stream: revoke a device, then find out which one
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.
Signals and information
-
How a video gets encoded
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.
-
How an LLM picks the next word
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.
-
The Fourier transform in practice
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.
-
Compression by hand
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.
-
Not yet in a chapter
- BFS vs DFS Visualizer
- Bloch Sphere Explorer
- Boolean Expression Solver
- BST / AVL Tree Visualizer
- Color Contrast Checker (WCAG Luminance)
- Convolution and Feature Maps Playground
- Conway's Game of Life
- Dijkstra's Shortest Path
- Encoding/Base Detector & Converter
- Encrypting One Block in Ten (CENC cbcs)
- Finite State Machine Animator
- Floating point
- Fractal Explorer
- Graph Coloring Explorer
- Grover's Search Algorithm
- HTML Asset, Image & Markdown Extractor
- Levenshtein Distance Visualizer
- Lorem Ipsum Generator Lab
- NLP Entropy Lab
- Quantum Random Walk
- Rotating the Keys of a Live Stream
- Screen Resolution and Viewing Distance
- Sobel vs Canny Edge Detector
- Turing Machine Simulator
- Video Encoding Lab
Bio, Geo, Chem57
-
Clocks in the rock
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.
-
Geometry on a curved surface
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 π.
-
Why a reaction goes
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.
-
Mixtures and solutions
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.
-
Growth with a limit
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.
-
How a weather forecast is made
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.
-
Computing with molecules
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.
-
Not yet in a chapter
- Acid-Base Titration
- Allometric Scaling Explorer
- Biodiversity Index Calculator
- Blood Alcohol: How the Body Burns It Off
- Body Mass Index (BMI) Calculator
- Country Shape & Flag Challenge
- Crystal Packing: How Full Is a Metal?
- Dilution Calculator
- DNA Codon Translator
- Earthquake Magnitude to Energy
- Faraday's Laws of Electrolysis
- Föhn Winds & the Rain Shadow
- Forest Fire Simulator
- Hardy-Weinberg Equilibrium
- Hazard Return Period & Lifetime Risk
- Heat of Combustion, per Fuel and per Oxygen
- Interactive Periodic Table Explorer
- Isotope Patterns in Mass Spectrometry
- Lewis Structure & VSEPR Molecular Lab
- Limiting Reagent & Stoichiometry Lab
- Map Projection Distortion Lab
- Michaelis-Menten Kinetics
- Oxygen–Haemoglobin Dissociation Curve
- PCR Amplification Simulator
- pH / Acid-Base Calculator
- Plate Motion Rate Converter
- Punnett Square Calculator
- Reaction Kinetics Calculator
- The Beer–Lambert Law
- The Park Census
Tidal Zone17
-
Not yet in a chapter
- Astrology Birth Chart
- Biorhythm Calculator
- Bitcoin Mining Probability
- Death Star Energy Calculator
- Dune Sandworm Intercept Calculator
- I Ching Divination Mechanics
- Life in Weeks
- Life Number Calculator
- Lucky Number Generator
- Name Compatibility Calculator
- Neon Lightcycle Duel
- Numerology Name Calculator
- Pattern Sequence Test
- Star Trek Stardate + Warp Visualizer
- Stargate Address Math Dialer
- Wasteland Signal Mixer