a) \(N=\left(\dfrac{\left(\sqrt{x}-1\right)^2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}-\dfrac{x\left(x-\sqrt{x}+1\right)}{\left(\sqrt{x}+1\right)\left(x-\sqrt{x}+1\right)}\right).\left(\sqrt{x}+1\right)=\left(\dfrac{\sqrt{x}-1}{\sqrt{x}+1}-\dfrac{x}{\sqrt{x}+1}\right).\left(\sqrt{x}+1\right)=\dfrac{-x+\sqrt{x}-1}{\sqrt{x}+1}\left(\sqrt{x}+1\right)=-x+\sqrt{x}-1\)
b) \(N=-x+\sqrt{x}-1=-\left(x-\sqrt{x}+\dfrac{1}{4}\right)-\dfrac{3}{4}=-\left(\sqrt{x}-\dfrac{1}{2}\right)^2-\dfrac{3}{4}\le-\dfrac{3}{4}\)
\(maxN=-\dfrac{3}{4}\Leftrightarrow\sqrt{x}=\dfrac{1}{2}\Leftrightarrow x=\dfrac{1}{4}\left(tm\right)\)