Many mathematical objects are defined recursively. A recursive definition specifies:
Definitions by Recursion
Many mathematical objects are defined recursively. A recursive definition specifies:
- one or more initial values,
- a rule for constructing later values from earlier ones.
The natural numbers themselves arise recursively through the successor operation:
where each number is obtained from the preceding one by adding .
Recursive definitions are fundamental in number theory because arithmetic processes often proceed step by step. Sequences, algorithms, and arithmetic functions are naturally described in recursive form.
Recursive Sequences
A sequence is a function
that assigns an integer to each natural number .
A recursive sequence defines in terms of earlier terms.
For example, the Fibonacci sequence is defined by
and
for all .
The first terms are therefore
Each term depends on the two preceding terms.
Recursive sequences appear throughout number theory, combinatorics, and algebra.
Arithmetic Defined Recursively
Arithmetic operations themselves may be defined recursively.
Addition can be defined by:
and
The first equation specifies the initial value. The second explains how to compute addition for larger integers.
Multiplication can similarly be defined recursively:
and
Thus multiplication is repeated addition.
Exponentiation is defined recursively by
and
These recursive definitions show that increasingly complicated arithmetic operations are built from simpler ones.
Factorials
One of the most important recursively defined functions is the factorial function.
For , define
Recursively, factorials are defined by
and
The first few values are
Factorials appear in combinatorics, probability, analysis, and analytic number theory.
Recursive Algorithms
Many arithmetic algorithms are recursive.
The Euclidean algorithm computes the greatest common divisor of two integers and . It relies on the recursive relation
where is the remainder when is divided by .
Since the remainder satisfies
the problem is reduced to smaller integers. Repeated application eventually terminates.
Recursive reduction is one of the central ideas of computational number theory.
Well-Definedness
A recursive definition is meaningful only if it uniquely determines all terms.
For example, the Fibonacci recursion uniquely determines every term because the initial values
are specified.
Without initial values, the recursion
would admit infinitely many different sequences.
Similarly, the recursion
does not determine a unique sequence unless one initial term is given.
Thus recursive definitions require both a starting point and a recursive rule.
Proofs by Recursion and Induction
Recursive definitions are closely connected with induction.
A recursively defined sequence is naturally analyzed by induction because each term depends on earlier terms.
For example, one may prove by induction that the Fibonacci numbers satisfy
for all .
Similarly, properties of factorials are usually established inductively.
Recursion defines objects step by step, while induction proves statements step by step. The two principles therefore complement one another.
Linear Recurrence Relations
A recurrence relation is called linear if later terms are linear combinations of earlier terms.
For example,
is a linear recurrence relation.
Such recursions can often be solved explicitly. Consider
The resulting sequence is
and satisfies
Finding explicit formulas for recursively defined sequences is an important theme in number theory and discrete mathematics.
Recursive Structures in Number Theory
Many central objects in number theory possess recursive structure.
Prime factorization repeatedly breaks integers into smaller integers. Continued fractions are built recursively from quotients and remainders. Euclidean algorithms repeatedly reduce divisibility problems to smaller cases.
Even proofs often proceed recursively through induction or descent arguments.
This recursive viewpoint is fundamental because arithmetic itself is inherently discrete. Large integers are understood by reducing them to simpler integers, and recursive definitions formalize this process mathematically.