a, ĐKXĐ: \(\sqrt{a}\) ≠ 1
P = \(\frac{1}{\sqrt{a}-1}-\frac{1}{\sqrt{a}}-\frac{1-a}{a-\sqrt{a}}\) = \(\frac{1}{\sqrt{a}-1}-\frac{1}{\sqrt{a}}-\frac{1-a}{\sqrt{a}\left(\sqrt{a}-1\right)}=\frac{\sqrt{a}-\sqrt{a}+1-1+a}{\sqrt{a}\left(\sqrt{a}-1\right)}=\frac{a}{\sqrt{a}\left(\sqrt{a}-1\right)}=\frac{\sqrt{a}}{\sqrt{a}-1}\)