Ta có: \(\dfrac{a\sqrt{a}-1}{a-\sqrt{a}}-\dfrac{a\sqrt{a}+1}{a+\sqrt{a}}+\left(\sqrt{a}-\dfrac{1}{\sqrt{a}}\right)\left(\dfrac{\sqrt{a}+1}{\sqrt{a}-1}+\dfrac{\sqrt{a}-1}{\sqrt{a}+1}\right)\)
\(=\dfrac{a+\sqrt{a}+1-a+\sqrt{a}-1}{\sqrt{a}}+\dfrac{a-1}{\sqrt{a}}\cdot\dfrac{a+2\sqrt{a}+1+a-2\sqrt{a}+1}{\left(\sqrt{a}+1\right)\left(\sqrt{a}-1\right)}\)
\(=2+\dfrac{2a+2}{\sqrt{a}}\)
\(=\dfrac{2a+2\sqrt{a}+2}{\sqrt{a}}\)