a.
\(B=\dfrac{\sqrt{x}+1+\sqrt{x}\left(\sqrt{x}-1\right)+2\sqrt{x}}{1-x}=\dfrac{\sqrt{x}+1+x-\sqrt{x}+2\sqrt{x}}{1-x}\)
\(=\dfrac{\left(\sqrt{x}-1\right)^2}{\left(\sqrt{x}-1\right)\left(\sqrt{x}+1\right)}=\dfrac{\sqrt{x}-1}{\sqrt{x}+1}\)
b.
\(P=\dfrac{B}{A}=\dfrac{x+3}{\sqrt{x}+1}:\dfrac{\sqrt{x}-1}{\sqrt{x}+1}=\dfrac{\left(x+3\right)\left(\sqrt{x}+1\right)}{\left(\sqrt{x}+1\right)\left(\sqrt{x}-1\right)}=\dfrac{x+3}{\sqrt{x}-1}=\dfrac{x-1+4}{\sqrt{x}-1}\)
\(=\sqrt{x}+1+\dfrac{4}{\sqrt{x}-1}\)\(=\sqrt{x}-1+\dfrac{4}{\sqrt{x}-1}+2\)
Theo BĐT AM - GM ta có: \(\sqrt{x}-1+\dfrac{4}{\sqrt{x}-1}\ge2\sqrt{\left(\sqrt{x}-1\right)\dfrac{4}{\sqrt{x}-1}}=4\)
\(\Rightarrow\dfrac{1}{P}\ge6\Rightarrow Min_{\dfrac{1}{P}}=6\)
Dấu "=" xảy ra \(\Leftrightarrow\left(\sqrt{x}-1\right)^2=4\Rightarrow x=9\) (loại trường hợp \(\sqrt{x}-1=-2\))
Vậy GTNN của biểu thức \(\dfrac{1}{P}=6\) khi x = 9.