Lời giải:
ĐK: $x\geq 0$
Ta có: \(x^2-5x-2\sqrt{3x}+12=0\)
\(\Leftrightarrow (x^2-6x+9)+(x-2\sqrt{3x}+3)=0\)
\(\Leftrightarrow (x-3)^2+(\sqrt{x}-\sqrt{3})^2=0\)
\(\Leftrightarrow (\sqrt{x}-\sqrt{3})^2(\sqrt{x}+\sqrt{3})^2+(\sqrt{x}-\sqrt{3})^2=0\)
\(\Leftrightarrow (\sqrt{x}-\sqrt{3})^2[(\sqrt{x}+\sqrt{3})^2+1]=0\)
Vì \((\sqrt{x}+\sqrt{3})^2+1\neq 0\Rightarrow (\sqrt{x}-\sqrt{3})^2=0\Rightarrow x=3\) (thỏa mãn)
Vậy..........