The noun has one meaning:
Meaning #1:
(mathematics) a definition of a function from which values of the function can be calculated in a finite number of steps
| WordNet: recursive definition |
The noun has one meaning:
Meaning #1:
(mathematics) a definition of a function from which values of the function can be calculated in a finite number of steps
| 5min Related Video: Recursive definition |
| Wikipedia: Recursive definition |
In mathematical logic and computer science, a recursive definition (or inductive definition) is used to define an object in terms of itself (Aczel 1978:740ff).
A recursive definition of a function defines values of the functions for some inputs in terms of the values of the same function for other inputs. For example, the factorial function n! is defined by the rules
This definition is valid because, for all n, the recursion eventually reaches the base case of 0. Thus the definition is well-founded.
An inductive definition of a set describes the elements in a set in terms of other elements in the set. For example, one definition of the set N of natural numbers is:
There are many sets that satisfy (1) and (2); clause (3) makes the definition precise by choosing the smallest such set as N.
Properties of recursively defined functions and sets can often be proved by an induction principle the follows the recursive definition. For example, the definition of the natural numbers presented here directly implies the principle of mathematical induction for natural numbers: if a property holds of the natural number 0, and the property holds of n+1 whenever it holds of n, then the property holds of all natural numbers (Aczel 1978:742).
Contents |
Most recursive definition have three foundations: a base case (basis), an inductive clause, and an extremal clause.
The difference between a circular definition and a recursive definition is that a recursive definition must always have base cases, cases that satisfy the definition without being defined in terms of the definition itself, and all other cases comprising the definition must be "smaller" (closer to those base cases that terminate the recursion) in some sense. In contrast, a circular definition may have no base case, and define the value of a function in terms of that value itself, rather than on other values of the function. Such a situation would lead to an infinite regress.
The prime numbers can be defined as consisting of:
The integer 2 is our base case; checking the primality of any larger integer X requires us to know the primality of every integer between X and 2, but each such integer is closer to our base case of 2 than X is.
The even numbers can be defined as consisting of
It is chiefly in logic or computer programming that recursive definitions are found. For example, a well formed formula (wff) can be defined as:
The value of such a recursive definition is that it can be used to determine whether any particular string of symbols is "well formed".
In common parlance and philosophical terminology, definitions often contain recursive elements.
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
| recursion | |
| truth definition (philosophy) | |
| matrix |
| What is a recursive pattern? Read answer... | |
| What are recursive locks? Read answer... | |
| What is recursive epistemology? Read answer... |
| Does a recursive definition of a sequence always need to give the first term? | |
| Give a recursive definition for the language L of positive integers divisible by 2 or 7? | |
| What is meant by recursion? |
Copyrights:
![]() | WordNet. WordNet 1.7.1 Copyright © 2001 by Princeton University. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Recursive definition". Read more |