Definition by recursion
Summary
A definition by recursion defines a function on the natural numbers in two parts. It gives the value at , and a rule that gives the value at from the value at . The recursion theorem says that such a definition always gives exactly one function. Precisely, let be a set, let be an element of and let be a function. Then there is exactly one function with and for each in .
Remarks
The factorial is an example: and . The addition and the multiplication of natural numbers have definitions by recursion. The proof of the recursion theorem uses the principle of mathematical induction.
Explanations
L1 human
A recursive definition tells you where to start and how to take one step. For the factorial, you start with , and each step multiplies by the next number. Step by step, this gives , , and .
What this node 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 node is. They do not measure its truth.
What depends on this
9 nodes use this node, directly or through other nodes.
- Well-ordering principle 01BX15HSRR
- Associativity of addition 0C32J27WQC
- Commutativity of addition 0DFZNHJ0S2
- Induction from an arbitrary base case 0GF6AJEBZ0
- Multiplication of natural numbers 0JRC32D6K2
- Distributive law 0KBEMAJAYA
- Strong induction 0KMVFSHFGZ
- Addition of natural numbers 0W5DSDFQ4G
- Order on the natural numbers 0Y9H52BT03
Sources
- Web https://en.wikipedia.org/wiki/Recursive_definition, lead section
- Web https://en.wikipedia.org/wiki/Recursive_definition, Principle of recursive definition
What links here
Used by
- Multiplication of natural numbers 0JRC32D6K2
- Addition of natural numbers 0W5DSDFQ4G