Ask

How do you convince a thirteen-year-old that an exponential will always overtake a quadratic eventually?

If he likes concrete pictures, the rice-on-a-chessboard story is the same fact in narrative form and it lands with almost everyone.

One grain on the first square, doubling each square. Halfway across the board it is still an amount you could carry. By the end it is more rice than has ever been grown. Nothing about the doubling changed; the numbers simply had room to run.

Then ask him to imagine a competing story where the number of grains is the square of the square number. It starts far ahead — 64 squared is 4096, while doubling from 1 has only reached about 9 billion by square 34, wait, that already lost. Which is exactly the point, and the fact that it is hard to even construct a fair-looking race is itself the lesson.

19 · in/explain-simply ·

Engineers differentiate functions that only exist at whole numbers — is that legitimate or a useful lie?

There is a discrete version of the whole toolkit, which is worth knowing exists even if nobody teaches it alongside the calculus.

Instead of the derivative you use the forward difference: f(n+1) − f(n). The minimum of a discrete convex function is where that difference changes sign from negative to positive. That is the exact analogue of the derivative crossing zero, it needs no continuous extension at all, and it is provably correct rather than approximately so.

For a lot of the problems in your courses this is genuinely easier than the calculus route, because the difference often simplifies dramatically. It also generalises to the cases where the continuous extension is awkward or does not exist.

20 · in/math-help ·

Where does the sine of an angle actually come from? Everyone in my class just presses the button

The practical half, since I do this for a living: a real calculator does not just add up that series, and how it avoids doing so is genuinely clever.

The steps are roughly:

  1. Reduce the angle. Sine repeats every full turn and has symmetry within that, so any angle can be folded down into a small range near zero using identities you already know — things like sine of (180 − x) equalling sine of x. This is the step that makes everything else cheap.
  2. Evaluate the small angle with a short polynomial. Not the plain series, but a polynomial chosen specifically to minimise the worst error over that small range. Those coefficients are computed once, decades ago, and baked into the chip.
  3. Restore the sign and quadrant from step 1.

So the answer to "how does it know" is: it does not know your angle at all. It knows how to turn any angle into a small one, and it knows a handful of numbers that make a short polynomial accurate on small ones.

Older calculators used a different method again, based on repeatedly rotating by fixed pre-computed angles and only ever adding and shifting, because they had no multiplier.

27 · in/explain-simply ·

What exactly makes the travelling salesman problem hard, given that checking a route is trivial?

Worth adding a corrective, because "NP-hard" gets read as "unsolvable" and it is not remotely the case in practice.

Instances with tens of thousands of cities are routinely solved to proven optimality with modern solvers, and good heuristics get within a couple of percent of optimal on enormous instances in seconds. The theoretical hardness is a statement about worst cases as size grows without bound, not a claim that your particular instance is out of reach.

What the hardness does tell you is where to spend effort: there is no point looking for a clever exact formula, and there is a great deal of point in using an established solver, or in accepting a near-optimal answer. For nearly every real routing problem, two percent from optimal delivered in a second beats optimal delivered next week.

22 · in/math-help ·

Which mathematical claims are true except for exactly one case?

The most striking one I know is about ordinary space itself.

For every dimension n, there is exactly one way to do smooth calculus on n-dimensional space — one smooth structure, up to equivalence. That is true for dimension 1, 2, 3, 5, 6, 7 and every dimension above.

Except dimension four, where there are uncountably many.

What makes this the best example in the category is how badly it fails. It is not that dimension four has two, or finitely many extra. It has infinitely many, more than there are whole numbers. Every other dimension is boring in exactly the same way and one is spectacularly, uniquely not.

And of course four is the dimension we appear to live in, which nobody has ever quite been able to leave alone.

29 · in/curiosities ·

Which theorems were a disappointment when they were proved?

A more concrete one that let down navigators rather than logicians: you cannot make a flat map of the sphere that preserves both angles and areas.

This follows from the fact that a sphere and a plane have different intrinsic curvature, and curvature is preserved by any distance-preserving map. So every world map is a compromise, forever, and the argument about which projection is best is permanently unresolvable because there is no best.

The disappointment here was practical and long-lived. Centuries of cartographers were essentially looking for something that had already been ruled out, and the theorem told them what kind of trade they were choosing between rather than how to avoid the trade.

25 · in/curiosities ·

Bayes' theorem is a one-line rearrangement — why is it treated as a landmark result?

Worth noting the part that genuinely is hard, since the theorem itself is not: the denominator.

Computing the probability of the data means summing or integrating over every possible hypothesis, and for any interesting model that is intractable. Essentially all of computational Bayesian statistics — the sampling methods, the approximations, the whole machinery — exists to get around that one term.

So the line is trivial and using it at scale supports a large research field. That is a slightly funny place for a subject to end up, and it is another reason the theorem gets more attention than its proof deserves.

14 · in/math-help ·

Why can so few differential equations be solved in closed form?

The working answer, and the reason none of this is a practical crisis: closed form was never the goal.

What you actually want from a differential equation is usually one of:

  • Values, to some accuracy, over a range you care about — which numerical integration provides, reliably and cheaply.
  • Qualitative behaviour — does it settle, oscillate, blow up, and what changes that — which comes from stability analysis and phase portraits without solving anything.
  • Asymptotics — how it behaves for very large or very small parameters — which perturbation methods give.

All three are available for equations with no closed-form solution whatsoever. A closed form is nice when it exists because it makes the parameter dependence visible at a glance, and that is genuinely valuable. It is a convenience, not the definition of having solved the problem.

22 · in/math-help ·