Free online Nested Radical Simplifier for denesting radical expressions of the classical form √(A ± 2√B) into exact separate surds √m ± √n. Enter non-negative integers A and B to calculate the discriminant, derive integer parameters m and n, verify real domain conditions, and simplify nested square roots step by step.
What Is a Nested Radical?
A nested radical (or radical within a radical) is an algebraic expression where one radical symbol is enclosed inside another. The most common and useful class of nested square roots encountered in algebra, trigonometry, and calculus has the form:
√(A ± 2√B)
where A and B are non-negative integers. When a nested radical can be simplified into the sum or difference of two simpler radicals, the process is called denesting (or un-nesting):
√(A ± 2√B) = √m ± √n (with m ≥ n ≥ 0)
How to Denest Nested Radicals: The Algebraic Identity
The mathematical key to denesting is squaring the target expression (√m ± √n):
(√m ± √n)² = (√m)² ± 2(√m)(√n) + (√n)² = (m + n) ± 2√(m · n)
Comparing this expansion to the nested expression A ± 2√B reveals two fundamental conditions:
- Sum Condition:
m + n = A - Product Condition:
m · n = B
In elementary algebra, two numbers whose sum is A and whose product is B are the roots of the quadratic equation:
t² - At + B = 0
The Discriminant Condition: D = A² – 4B
Applying the quadratic formula yields the exact values for m and n:
m = (A + √D) / 2, n = (A - √D) / 2
where the discriminant is D = A² - 4B. For m and n to be non-negative rational integers, two conditions must be satisfied:
- D ≥ 0: The discriminant must be non-negative. If
A² - 4B < 0for a minus sign (A - 2√B < 0), the expression inside the outer radical is negative, resulting in no real root in the real number system ℝ. - D Must Be a Perfect Square:
√Dmust be an integer. When D is a perfect square,mandnare guaranteed integers becauseA² - 4B ≡ A² (mod 2), which proves thatAand√Dalways have the same parity (both even or both odd), making(A ± √D)evenly divisible by 2.
Mandatory Mathematical Examples
√(5 + 2√6) = √3 + √2
A = 5, B = 6 ⟹ D = 25 – 24 = 1. Since √1 = 1, m = (5+1)/2 = 3, n = (5-1)/2 = 2. Verify: 3 + 2 = 5, 3 · 2 = 6.√(5 - 2√6) = √3 - √2
Same parameters with a minus sign. Since 3 > 2, √3 – √2 is positive and exact.√(3 + 2√2) = √2 + 1
A = 3, B = 2 ⟹ D = 9 – 8 = 1. m = (3+1)/2 = 2, n = (3-1)/2 = 1. Since √1 = 1, the result simplifies to √2 + 1.√(6 + 2√5) = √5 + 1
A = 6, B = 5 ⟹ D = 36 – 20 = 16. √16 = 4. m = (6+4)/2 = 5, n = (6-4)/2 = 1 ⟹ √5 + 1.√(1 - 2√1) = No real result
A = 1, B = 1 ⟹ 1 – 2(1) = -1 < 0. Because the radicand is negative, this expression has no real value.
Important Limitation: When Expressions Cannot Be Denested
If the discriminant D = A² - 4B is not a perfect square (for instance, in √(5 + 2√3) where D = 25 – 12 = 13), the expression cannot be decomposed into simple integer surds √m ± √n using this identity. Note: This does not falsely imply that such expressions are algebraically irreducible in all possible algebraic field extensions, but rather that no elementary decomposition with rational integer parameters exists.
Frequently Asked Questions
What if my nested radical does not have a 2 in front of the inner root?
Many nested radicals appear as √(A ± √C). If C has a factor of 4, factor it out: √C = √(4B) = 2√B, where B = C/4. For example, √(5 + √24) = √(5 + √(4 · 6)) = √(5 + 2√6) = √3 + √2. Read our complete guide on How to Simplify Nested Radicals for step-by-step factoring techniques.
Why must m be greater than or equal to n when the sign is minus?
Because the principal square root is non-negative by definition (√u ≥ 0). Writing √m - √n requires m ≥ n so that √m - √n ≥ 0. Our calculator automatically assigns the larger root to m.
Explore More Radical Tools & Tutorials
Learn the full algebraic derivation in our tutorial on How to Simplify Nested Radicals, solve radical equations with our Radical Equation Solver, or simplify algebraic variables in our Simplify Radicals with Variables Calculator.