a) Ta có: \(P=\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{3\sqrt{a}}{\sqrt{a}-1}-\dfrac{\sqrt{a}+2}{\sqrt{a}+1}\right)\)
\(=\dfrac{\left(\sqrt{a}-1\right)\left(a+\sqrt{a}+1\right)}{\sqrt{a}\left(\sqrt{a}-1\right)}-\dfrac{\left(\sqrt{a}+1\right)\left(a-\sqrt{a}+1\right)}{\sqrt{a}\left(\sqrt{a}+1\right)}+\dfrac{a-1}{\sqrt{a}}\cdot\dfrac{3\sqrt{a}\left(\sqrt{a}+1\right)-\left(\sqrt{a}+2\right)\left(\sqrt{a}-1\right)}{\left(\sqrt{a}-1\right)\left(\sqrt{a}+1\right)}\)
\(=\dfrac{a+\sqrt{a}+1-a+\sqrt{a}-1}{\sqrt{a}}+\dfrac{3a+3\sqrt{a}-\left(a-\sqrt{a}+2\sqrt{a}-2\right)}{\sqrt{a}}\)
\(=2+\dfrac{3a+3\sqrt{a}-a+\sqrt{a}-2\sqrt{a}+2}{\sqrt{a}}\)
\(=\dfrac{2\sqrt{a}+2a+2\sqrt{a}+2}{\sqrt{a}}\)
\(=\dfrac{2\left(a+2\sqrt{a}+1\right)}{\sqrt{a}}\)
\(=\dfrac{2\left(\sqrt{a}+1\right)^2}{\sqrt{a}}\)
b) Ta có: \(P-6=\dfrac{2\left(\sqrt{a}+1\right)^2-6\sqrt{a}}{\sqrt{a}}\)
\(=\dfrac{2a+4\sqrt{a}+2-6\sqrt{a}}{\sqrt{a}}\)
\(=\dfrac{2\left(a-\sqrt{a}+1\right)}{\sqrt{a}}>0\forall a\) thỏa mãn ĐKXĐ
hay P>6