\(M=\sqrt{x+4\sqrt{x-4}}+\sqrt{x-4\sqrt{x-4}}=4\)
\(\Leftrightarrow\sqrt{\left(x-4\right)+4\sqrt{x-4}+4}+\sqrt{\left(x-4\right)-4\sqrt{x-4}+4}=4\)
\(\Leftrightarrow\sqrt{\left(\sqrt{x-4}+2\right)^2}+\sqrt{\left(\sqrt{x-4}-2\right)}^2=4\)
\(\Leftrightarrow\left|\sqrt{x-4}+2\right|+\left|\sqrt{x-4}-2\right|=4\)
Ta có : \(\left|\sqrt{x-4}-2\right|= \left|2-\sqrt{x-4}\right|\)
Áp dụng BĐT \(\left|A\right|+\left|B\right|\ge\left|A+B\right|\) ta có :
\(\left|\sqrt{x-4}+2\right|+\left|2-\sqrt{x-4}\right|\ge\left|\sqrt{x-4}+2+2-\sqrt{x-4}\right|=4\)
Dấu \("="\) xảy ra khi \(\left\{{}\begin{matrix}\sqrt{x-4}+2\ge0\\2-\sqrt{x-4}\ge0\end{matrix}\right.\Rightarrow x\le8\)
Kết hợp với điều kiện ban đầu \(\Rightarrow4\le x\le8\)