ta có : \(a=\sqrt{3+\sqrt{5+2\sqrt{3}}}+\sqrt{3-\sqrt{5+2\sqrt{3}}}\)
\(\Rightarrow a^2=6+2\sqrt{4-2\sqrt{3}}=6+2\sqrt{\left(\sqrt{3}-1\right)^2}=4+2\sqrt{3}\)
\(\Rightarrow a=\sqrt{4+2\sqrt{3}}=\sqrt{3}+1\) (do \(a>0\) )
\(\Rightarrow a^2-2a-2=4+2\sqrt{3}-2\left(\sqrt{3}+1\right)-2=0\)