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