Math 2.0

Mathematical logic and foundations Concept

Definition by recursion

Summary

A definition by recursion defines a function on the natural numbers in two parts. It gives the value at 00, and a rule that gives the value at n+1n + 1 from the value at nn. The recursion theorem says that such a definition always gives exactly one function. Precisely, let XX be a set, let aa be an element of XX and let g ⁣:ℕ×X→Xg \colon \mathbb{N} \times X \to X be a function. Then there is exactly one function f ⁣:ℕ→Xf \colon \mathbb{N} \to X with f(0)=af(0) = a and f(n+1)=g(n,f(n))f(n + 1) = g(n, f(n)) for each nn in ℕ\mathbb{N}.

Remarks

The factorial is an example: 0!=10! = 1 and (n+1)!=(n+1)⋅n!(n + 1)! = (n + 1) \cdot n!. The addition and the multiplication of natural numbers have definitions by recursion. The proof of the recursion theorem uses the principle of mathematical induction.

Where this leads

9 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Recursive_definition, lead section
  2. Web https://en.wikipedia.org/wiki/Recursive_definition, Principle of recursive definition
About this page
Tag0DSHAVH45F
URIm2://0DSHAVH45F
Aliasesrecursive-definition, inductive-definition
Kindconcept
WritingW0 stub
MSC03E20
Same as

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

Used by