ArticleslgStudy

mathematics

Knuth's up-arrow notation

Knuth's up-arrow notation is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Knuth's up-arrow notation rather than just read about it. In short: In mathematics, Knuth's up-arrow notation is a method of notation for very large integers, introduced by Donald Knuth in 1976. In his 1947 paper, R.

Key takeaways

  • Knuth's up-arrow notation belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Knuth's up-arrow notation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Knuth's up-arrow notation from memory before moving on to harder problems.

Reference excerpt

In mathematics, Knuth's up-arrow notation is a method of notation for very large integers, introduced by Donald Knuth in 1976. In his 1947 paper, R. L. Goodstein introduced the specific sequence of operations that are now called hyperoperations. Goodstein also suggested the Greek names tetration, pentation, etc., for the extended operations beyond exponentiation. The sequence starts with a unary operation (the successor function with n = 0), and continues with the binary operations of addition (n = 1), multiplication (n = 2), exponentiation (n = 3), tetration (n = 4), etc. Various notations have been used to represent hyperoperations. One such notation is Hn(a,b). Knuth's up-arrow notation ↑ is another. For example:

the single arrow ↑ represents exponentiation (iterated multiplication) 2↑4=H3(2,4)=2×(2×(2×2))=24=16 the double arrow ↑↑ represents tetration (iterated exponentiation) 2↑↑4=H4(2,4)=2↑(2↑(2↑2))=2222=216=65,536 the triple arrow ↑↑↑ represents pentation (iterated tetration) 2↑↑↑4=H5(2,4)=2↑↑(2↑↑(2↑↑2))=2↑↑(2↑↑(2↑2))=2↑↑(2↑↑4)=2↑(2↑(2↑⋯))⏟=22⋯2⏟2↑↑4 copies of 265,536 2's The general definition of the up-arrow notation is as follows (for a≥0,n≥1,b≥0): a↑nb=Hn+2(a,b)=a[n+2]b. Here, ↑n stands for n arrows, so for example 2↑↑↑↑3=2↑43, and the square brackets used in the far right hand side expression is another notation for hyperoperations.

Introduction The hyperoperations naturally extend the arithmetic operations of addition and multiplication as follows. Addition by a natural number is defined as iterated incrementation:

H1(a,b)=a+b=a+1+1+⋯+1⏟b copies of 1 Multiplication by a natural number is defined as iterated addition:

H2(a,b)=a×b=a+a+⋯+a⏟b copies of a For example,

4×3=4+4+4⏟=123 copies of 4 Exponentiation for a natural power b is defined as iterated multiplication, which Knuth denoted by a single up-arrow:

a↑b=H3(a,b)=ab=a×a×⋯×a⏟b copies of a For example,

4↑3=43=4×4×4⏟=643 copies of 4 Tetration is defined as iterated exponentiation, which Knuth denoted by a "double arrow":

a↑↑b=H4(a,b)=aa...a⏟=a↑(a↑(⋯↑a))⏟b copies of ab copies of a For example,

4↑↑3=444⏟=4↑(4↑4)⏟=42563 copies of 43 copies of 4 Expressions are evaluated from right to left, as the operators are defined to be right-associative. According to this definition,

3↑↑2=33=27 3↑↑3=333=327=7,625,597,484,987 3↑↑4=3333=3327=37625597484987 3↑↑5=33333=33327=337625597484987 etc. This already leads to some fairly large numbers, but the hyperoperator sequence does not stop here. Pentation, defined as iterated tetration, is represented by the "triple arrow":

a↑↑↑b=H5(a,b)=a↑↑(a↑↑(⋯↑↑a))⏟b copies of a Hexation, defined as iterated pentation, is represented by the "quadruple arrow":

a↑↑↑↑b=H6(a,b)=a↑↑↑(a↑↑↑(⋯↑↑↑a))⏟b copies of a and so on. The general rule is that an n-arrow operator expands into a right-associative series of (n−1)-arrow operators. Symbolically,

a ↑↑⋯↑⏟n b=a ↑⋯↑⏟n−1 (a ↑⋯↑⏟n−1 (⋯ ↑⋯↑⏟n−1 a))⏟b copies of a Examples:

3↑↑↑2=3↑↑3=333=327=7,625,597,484,987 3↑↑↑3=3↑↑(3↑↑3)=3↑↑(3↑3↑3)=3↑3↑⋯↑3⏟3↑3↑3 copies of 3=3↑3↑⋯↑3⏟7,625,597,484,987 copies of 3=3333⋅⋅⋅⋅3⏟7,625,597,484,987 copies of 3

Notation In expressions such as ab, the notation for exponentiation is usually to write the exponent b as a superscript to the base number a. But many environments — such as programming languages and plain-text e-mail — do not support superscript typesetting. People have adopted the linear notation a↑b for such environments; the up-arrow suggests 'raising to the power of'. If the character set does not contain an up arrow, the caret (^) is used instead. The superscript notation ab doesn't lend itself well to generalization, which explains why Knuth chose to work from the inline notation a↑b instead. a↑nb is a shorter alternative notation for n up arrows. Thus a↑4b=a↑↑↑↑b.

Writing out up-arrow notation in terms of powers Attempting to write a↑↑b using the familiar superscript notation gives a power tower.

For example: a↑↑4=a↑(a↑(a↑a))=aaaa If b is a variable (or is too large), the power tower might be written using dots and a note indicating the height of the tower.

a↑↑b=aa...a⏟b Continuing with this notation, a↑↑↑b could be written with a stack of such power towers, each describing the size of the one above it.

a↑↑↑4=a↑↑(a↑↑(a↑↑a))=aa...a⏟aa...a⏟aa...a⏟a Again, if b is a variable or is too large, the stack might be written using dots and a note indicating its height.

a↑↑↑b=aa...a⏟aa...a⏟⋮⏟a}b Furthermore, a↑↑↑↑b might be written using several columns of such stacks of power towers, each column describing the number of power towers in the stack to its left:

a↑↑↑↑4=a↑↑↑(a↑↑↑(a↑↑↑a))=aa...a⏟aa...a⏟⋮⏟a}aa...a⏟aa...a⏟⋮⏟a}aa...a⏟aa...a⏟⋮⏟a}a And more generally:

a↑↑↑↑b=aa...a⏟aa...a⏟⋮⏟a}aa...a⏟aa...a⏟⋮⏟a}⋯}a⏟b This might be carried out indefinitely to represent a↑nb as iterated exponentiation of iterated exponentiation for any a, n, and b (although it clearly becomes rather cumbersome).

Using tetration The Rudy Rucker notation ba for tetration allows us to make these diagrams slightly simpler while still employing a geometric representation (we could call these tetration towers).

a↑↑b=ba a↑↑↑b=a...aa⏟b a↑↑↑↑b=a...aa⏟a...aa⏟⋮⏟a}b Finally, as an example, the fourth Ackermann number 4↑44 could be represented as:

4...44⏟4...44⏟4...44⏟4=4...44⏟4...44⏟4444

Generalizations Some numbers are so large that multiple arrows of Knuth's up-arrow notation become too cumbersome; then an n-arrow operator ↑n is useful (and also for descriptions with a variable number of arrows), or equivalently, hyperoperators. Some numbers are so large that even that notation is not sufficient. The Conway chained arrow notation can then be used: a chain of three elements is equivalent with the other notations, but a chain of four or more is even more powerful.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Knuth's up-arrow notation

Start with the simplest possible case. Write down what Knuth's up-arrow notation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Knuth's up-arrow notation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Knuth's up-arrow notation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Knuth's up-arrow notation

In research
Knuth's up-arrow notation appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Knuth's up-arrow notation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Knuth's up-arrow notation is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1976 introductions, Donald Knuth, Large numbers, so understanding it makes those chapters shorter.
In everyday life
Look for Knuth's up-arrow notation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Knuth's up-arrow notation” →

How to study Knuth's up-arrow notation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Knuth's up-arrow notation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Knuth's up-arrow notation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Knuth's up-arrow notation in simple terms?

In mathematics, Knuth's up-arrow notation is a method of notation for very large integers, introduced by Donald Knuth in 1976. In his 1947 paper, R.

Why does Knuth's up-arrow notation matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Knuth's up-arrow notation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Knuth's up-arrow notation.

Tags

  • 1976 introductions
  • Donald Knuth
  • Large numbers
  • Mathematical notation

Keep exploring