Nested Functions
Nested functions are expressions such as nested radicals and continued fractions involving infinitely recursive expressions. Examples include
A sufficiently general and natural definition of nested function, such as the one given below, includes more familiar expressions such as infinite series and infinite products as well.
Determining the value of nested functions when they converge leads to many striking identities. Some of the most beautiful of these are due to the famous Indian mathematician Srinivasa Ramanujan (1887-1920).
Nested Radicals
Nested radicals involve recursive expressions with repeated square roots. A common problem-solving strategy for evaluating nested radicals is to find a copy of the expression inside itself.
Find the value of
assuming it converges.
Call this ; then . So . By the quadratic formula, , and clearly the sign is indicated since should be positive, so we get .
This approach can be directly applied to the following problem:
Some nested functions require more elaborate manipulations.
Let and be positive real numbers. Show that
if it converges. This identity is due to Ramanujan.
Since , taking square roots gives
The idea is to apply this expression repeatedly, with .
Write
and so on.
Use the identity to evaluate
Take the square root of both sides of the identity to get
This identity works for any integer ; replacing with gives
Note that was inside the first square root, so applying the identity repeatedly (increasing the exponent by 1 each time) leads to an infinite nested radical:
The identity is applied to the quantities in red, replacing with , then , and so on. This gives an expression of the form
When we get
Other Nested Functions
The strategy of looking for copies of a nested function inside itself works in other contexts as well.
Given the above, find
We have
and is clearly positive. Therefore, .
Find
Call the expression . Then or . The graphs of and intersect in exactly one place, and by inspection it happens when .
General Definition and Convergence Properties
Nested radicals and continued fractions can be considered as two special cases of the general definition, which includes quite a few familiar expressions as other special cases as well.
A nested function is an expression of the form
for some real numbers . We say it converges if the sequence of partial expressions
converges.
Notice the following:
- If and , the nested function is an infinite sum of the .
- If and , the nested function is an infinite product of the .
- If , the nested function is a continued fraction
- If , the nested function is of the form
It is generally not hard to show that nested radicals of the kind considered above converge, as the sequence of partial expressions is often monotonically increasing and bounded above by the proposed limit. (The sequence of partial expressions is what is obtained by replacing the red terms in the above examples by 1.) Showing that the sequence converges to the expected limit is usually harder but straightforward.
A theorem of Herschfeld (1935) states that for a nested function with and , the nested power converges if and only if is a bounded infinite sequence of real numbers.