1. Home
  2. Numberphile

Jul 22, 2025

The math function whose graph fills the entire plane

15 min → 1:28

Overview

Numberphile explains the rules of Conway's Base-13 Function, showing how converting numbers to Base 13 creates a graph that takes on every possible real number value within any given interval.

3 things to know

Space-Filling Property

The most remarkable feature of this function is that for any interval on the x-axis, no matter how small, the function's output values cover all real numbers.

More

When plotted, its graph effectively "colors in" the entire 2D plane.

▶ Watch at 12:42

Conway's Base-13 Function

This is a specific function that takes a real number as input.

More

It operates by:

Numberphile says Base 13 uses letters for extra digits

While everyday math uses ten digits from 0 to 9, Numberphile explains that Base 13 uses thirteen digits by adding symbols like A, B, and C to stand for 10, 11, and 12.

More

We normally use Base 10, which has ten digits (0-9).

Also in this episode

Numberphile: Mathematical functions give one fixed output per input

Numberphile explains that a mathematical function is a fixed rule that assigns a single, unique output value to every input value, and is usually shown as a line or curve on a graph.

More

Typically visualized as a line or curve on a graph, functions are deterministic and fixed.

▶ Watch at 2:14

Quotes

“If you zoom out a little bit, you actually just colored the entire plane by the graph of this function.”

▶ Watch at 12:42

“A function is a fixed thing in the mathematical universe. It's predetermined, all the values are just there.”

▶ Watch at 2:14

“I want to show you a mind-blowing function.”

▶ Watch at 0:00

Full summary

Episode Overview

  • The episode introduces a counter-intuitive mathematical concept known as Conway's Base-13 Function.
  • It begins with a foundational explanation of what a function is and how different number bases (like Base 10 and Base 13) work.
  • The core of the video breaks down the specific rules of Conway's function, which involves converting numbers to Base 13 and interpreting their digits in a unique way.
  • The discussion culminates in the "mind-blowing" property of this function: its graph is dense in the entire 2D plane, meaning it takes on every possible real number value within any given interval.

Key Concepts

  • Functions: A mathematical function is a rule that assigns a single, unique output value for every given input value. Typically visualized as a line or curve on a graph, functions are deterministic and fixed.
  • Number Bases: We normally use Base 10, which has ten digits (0-9). The video explains that other bases are possible, such as Base 13, which uses thirteen digits (0-9, and symbols like A, B, C for 10, 11, 12).
  • Conway's Base-13 Function: This is a specific function that takes a real number as input. It operates by:
    1. Expressing the input number in Base 13.
    2. Scanning the Base-13 representation for the last occurrence of one of three special digits: 'A', 'B', or 'C'.
    3. If no special digits are found, the output is 0.
    4. If a special digit is found, the sequence of digits following it is interpreted as a new number in Base 10. The special digit 'A' indicates a positive number, 'C' indicates a negative number, and 'B' acts as the decimal point.
  • Space-Filling Property: The most remarkable feature of this function is that for any interval on the x-axis, no matter how small, the function's output values cover all real numbers. When plotted, its graph effectively "colors in" the entire 2D plane.

Quotes

  • At 00:00 - "I want to show you a mind-blowing function." - The speaker sets an intriguing premise for the episode, promising a surprising mathematical concept.
  • At 02:14 - "A function is a fixed thing in the mathematical universe. It's predetermined, all the values are just there." - This quote provides a clear and intuitive definition of the deterministic nature of a mathematical function.
  • At 12:42 - "If you zoom out a little bit, you actually just colored the entire plane by the graph of this function." - The speaker reveals the mind-blowing conclusion, explaining that the function's graph is so dense that it appears to fill all of 2D space.

Takeaways

  • Mathematical functions can have properties that defy simple geometric intuition, such as a graph that is not a simple line or curve.
  • Conway's Base-13 function demonstrates that it's possible to construct a function that takes on every single real number value within any arbitrarily small interval.
  • The choice of "Base 13" is a clever trick; it provides enough digits (10 for 0-9, plus three more for the sign and decimal point) to encode any Base-10 decimal number within a Base-13 representation.
  • This function serves as a powerful example of how abstract mathematical rules can lead to incredibly complex and unexpected results.

Watch the full episode 15 min

Read along with the audio summary

The speaker opens by promising a mind blowing function that is completely counter intuitive: a single graph that takes on every possible real number value inside any given interval. In this episode that came out on July 22, 2025, the speaker breaks down the math behind Conway's Base 13 Function. By the end, you will see how abstract rules can create a graph that colors in an entire two dimensional plane.

The fixed rules of a mathematical function. You usually picture a function as a simple line or curve on a graph, and the speaker notes it is a fixed, predetermined thing in the mathematical universe. It is a deterministic rule where every single input value is assigned one unique output value.

How counting works beyond the ten digits you know. Everyday math uses Base 10 with the ten digits from zero to nine, yet other number bases are entirely possible. As the video explains, Base 13 uses thirteen digits by taking zero through nine and adding the letters A, B, and C to stand for ten, eleven, and twelve.

Those extra letters make Conway's Base 13 Function possible. This specific function takes a real number, expresses it in Base 13, and scans for the last time the special digits A, B, or C appear. If none of those letters show up, the output is zero. When they do appear, the digits after them are read as a new Base 10 number, where A means positive, C means negative, and B acts as the decimal point.

A single graph that colors in the entire plane. That clever encoding produces a remarkable result. For any interval on the horizontal x axis, no matter how small, the function's output values cover all real numbers, meaning its plotted graph effectively colors in the entire two dimensional plane.

Abstract mathematical rules can defy simple geometric intuition and produce complex, unexpected results. Conway's Base 13 Function uses thirteen digits, ten for numbers and three for signs and a decimal point, to hit every real number inside any tiny interval.

More from Numberphile

Related Episodes