In
algebra, a nested radical is a
radical expression (one containing a square root sign, cube root sign, etc.) that contains (nests) another radical expression. Examples include
:
which arises in discussing the
regular pentagon, and more complicated ones such as
:
Denesting
Some nested radicals can be rewritten in a form that is not nested. For example,
Rewriting a nested radical in this way is called denesting. This is not always possible, and, even when possible, it is often difficult.
Two nested square roots
In the case of two nested square roots, the following theorem completely solves the problem of denesting.
If and are
rational numbers and is not the square of a rational number, there are two rational numbers and such that
:
if and only if
is the square of a rational number .
If the nested radical is real, and are the two numbers
:
and
where
is a rational number.
In particular, if and are integers, then and are integers.
This result includes denestings of the form
:
as may always be written
and at least one of the terms must be positive (because the left-hand side of the equation is positive).
A more general denesting formula could have the form
:
However,
Galois theory implies that either the left-hand side belongs to
or it must be obtained by changing the sign of either
or both. In the first case, this means that one can take and
In the second case,
and another coefficient must be zero. If
one may rename as for getting
Proceeding similarly if
it results that one can suppose
This shows that the apparently more general denesting can always be reduced to the above one.
''Proof'': By squaring, the equation
:
is equivalent with
:
and, in the case of a minus in the right-hand side,
:,
(square roots are nonnegative by definition of the notation). As the inequality may always be satisfied by possibly exchanging and , solving the first equation in and is equivalent with solving
:
This equality implies that
belongs to the
quadratic field In this field every element may be uniquely written
with
and
being rational numbers. This implies that
is not rational (otherwise the right-hand side of the equation would be rational; but the left-hand side is irrational). As and must be rational, the square of
must be rational. This implies that
in the expression of
as
Thus
:
for some rational number
The uniqueness of the decomposition over and
implies thus that the considered equation is equivalent with
:
It follows by
Vieta's formulas that and must be roots of the
quadratic equation
:
its
(≠0, otherwise would be the square of ), hence and must be
:
and
Thus and are rational if and only if
is a rational number.
For explicitly choosing the various signs, one must consider only positive real square roots, and thus assuming . The equation
shows that . Thus, if the nested radical is real, and if denesting is possible, then . Then, the solution writes
:
Some identities of Ramanujan
Srinivasa Ramanujan
Srinivasa Ramanujan (; born Srinivasa Ramanujan Aiyangar, ; 22 December 188726 April 1920) was an Indian mathematician. Though he had almost no formal training in pure mathematics, he made substantial contributions to mathematical analysis ...
demonstrated a number of curious identities involving nested radicals. Among them are the following:
and
Landau's algorithm
In 1989
Susan Landau
Susan Landau is an American mathematician, engineer, cybersecurity policy expert, and Bridge Professor in Cybersecurity and Policy at the Fletcher School of Law and Diplomacy at Tufts University. and She previously worked as a Senior Staff Priv ...
introduced the first
algorithm for deciding which nested radicals can be denested. Earlier algorithms worked in some cases but not others. Landau's algorithm involves complex
roots of unity and runs in
exponential time with respect to the depth of the nested radical.
In trigonometry
In
trigonometry, the
sines and cosines
Sines () is a city and a municipality in Portugal. The municipality, divided into two parishes, has around 14,214 inhabitants (2021) in an area of . Sines holds an important oil refinery and several petrochemical industries. It is also a popular ...
of many angles can be expressed in terms of nested radicals. For example,
: