ĐKXĐ: a > 0
Ta có: \(\dfrac{a^2+\sqrt{a}}{a-\sqrt{a}+1}-\dfrac{2a+\sqrt{a}}{\sqrt{a}}+1\)
\(=\dfrac{\sqrt{a}\left(\sqrt{a}+1\right)\left(a-\sqrt{a}+1\right)}{a-\sqrt{a}+1}-\dfrac{\sqrt{a}\left(2\sqrt{a}+1\right)}{\sqrt{a}}+1\)
\(=\sqrt{a}\left(\sqrt{a}+1\right)-\left(2\sqrt{a}+1\right)+1\)
\(=a+\sqrt{a}-2\sqrt{a}-1+1\)
\(=a-\sqrt{a}\)