The polynomial $X^4-10X^2+1$ has roots $\pm\sqrt 2\pm\sqrt 3$. My CAS, however, returns the roots as $\pm\sqrt{5\pm2\sqrt 6}$. Probably because it uses the quadratic formula (after substituting $X^2$). Apparently, there are different algebraic expressions for the same roots and I wonder how I can obtain these on my own. In hindsight, I can convince myself that they are indeed equal, e.g. by squaring both sides of the equation $\sqrt{5+2\sqrt 6}=\sqrt 2+\sqrt 3$.
But is there a way to algebraically manipulate $\sqrt{5+2\sqrt 6}$ to directly transform it into $\sqrt2+\sqrt3$?
Now compare like terms and solve for $a, b$.
– Dstarred Jun 05 '23 at 15:21