a: ĐKXĐ: \(\left\{{}\begin{matrix}x>=0\\x< >1\end{matrix}\right.\)
\(A=\dfrac{\sqrt{x}+1}{\sqrt{x}-1}+\dfrac{\sqrt{x}-1}{\sqrt{x}+1}-\dfrac{3\sqrt{x}+1}{x-1}\)
\(=\dfrac{\sqrt{x}+1}{\sqrt{x}-1}+\dfrac{\sqrt{x}-1}{\sqrt{x}+1}-\dfrac{3\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(=\dfrac{\left(\sqrt{x}+1\right)^2+\left(\sqrt{x}-1\right)^2-3\sqrt{x}-1}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(=\dfrac{x+2\sqrt{x}+1+x-2\sqrt{x}-1-3\sqrt{x}-1}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(=\dfrac{2x-3\sqrt{x}+1}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}=\dfrac{\left(2\sqrt{x}-1\right)\left(\sqrt{x}-1\right)}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}\)
\(=\dfrac{2\sqrt{x}-1}{\sqrt{x}+1}\)
b: Thay \(x=4-2\sqrt{3}=\left(\sqrt{3}-1\right)^2\) vào A, ta được:
\(A=\dfrac{2\left(\sqrt{3}-1\right)-1}{\sqrt{3}-1+1}=\dfrac{2\sqrt{3}-2-1}{\sqrt{3}}=\dfrac{2\sqrt{3}-3}{\sqrt{3}}=2-\sqrt{3}\)