Ta có: \(M=\dfrac{a\sqrt{a}-b\sqrt{b}}{a-b}-\dfrac{a}{\sqrt{a}+\sqrt{b}}+\dfrac{b}{\sqrt{a}-\sqrt{b}}\)
\(=\dfrac{a\sqrt{a}-b\sqrt{b}-a\sqrt{a}+a\sqrt{b}+b\sqrt{a}+b\sqrt{b}}{\left(\sqrt{a}+b\right)\left(\sqrt{a}-\sqrt{b}\right)}\)
\(=\dfrac{\sqrt{ab}}{\sqrt{a}-\sqrt{b}}\)