a: Sửa đề: \(P=\left(\dfrac{2a+1}{a\sqrt{a}+1}-\dfrac{\sqrt{a}}{a-\sqrt{a}+1}\right)\cdot\left(\dfrac{1+\sqrt{a^3}}{1+\sqrt{a}}-\sqrt{a}\right)\)
\(=\dfrac{2a+1-a-\sqrt{a}}{\left(\sqrt{a}+1\right)\left(a-\sqrt{a}+1\right)}\cdot\left(1-2\sqrt{a}+a\right)\)
\(=\dfrac{\left(\sqrt{a}-1\right)^2}{\sqrt{a}+1}\)
b: \(P\cdot\sqrt{1-a}=\dfrac{\left(\sqrt{a}-1\right)^2}{\sqrt{a}+1}\cdot\sqrt{1-a}>0\)