Calculate $\sqrt{34 - 24\sqrt{2}}$
I thought of turning $\sqrt{34 - 24\sqrt{2}}$ into the form $ x + y \sqrt {2} $. So by squaring, we get $ x ^ 2 + 2xy \sqrt {2} + 2y ^ 2 $. Turning it into a system we have: $ xy = -12 $ and $ x ^ 2 + 2y ^ 2 = 34 $. I will get 4 solutions for $ x $ and $ y $,
how can I end the problem using this method?
As $xy=-12<0$ they will have opposite signs
$$x^2(2y^2)=2(-12)^2=288$$
So, $x^2,2y^2$ are roots of $$0=t^2-34t+288=(t^2-16)(t^2-18)$$
If $x^2=t^2=16, x=\pm4, y=-\dfrac{12}x=\mp3$
What if $x^2=t^2=18?$