a: \(B=\frac{2\sqrt{x}-9}{x-5\sqrt{x}+6}-\frac{\sqrt{x}+3}{\sqrt{x}-2}-\frac{2\sqrt{x}+1}{3-\sqrt{x}}\)
\(=\frac{2\sqrt{x}-9}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}-\frac{\sqrt{x}+3}{\sqrt{x}-2}+\frac{2\sqrt{x}+1}{\sqrt{x}-3}\)
\(=\frac{2\sqrt{x}-9-\left(\sqrt{x}+3\right)\left(\sqrt{x}-3\right)+\left(2\sqrt{x}+1\right)\left(\sqrt{x}-2\right)}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}\)
\(=\frac{2\sqrt{x}-9-x+9+2x-4\sqrt{x}+\sqrt{x}-2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}=\frac{x-\sqrt{x}-2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}\)
\(=\frac{\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}=\frac{\sqrt{x}+1}{\sqrt{x}-3}\)
b: \(x=\frac{3-\sqrt5}{2}\)
=>\(x=\frac{6-2\sqrt5}{4}=\left(\frac{\sqrt5-1}{2}\right)^2\)
\(B=\frac{\sqrt{x}+1}{\sqrt{x}-3}\)
\(=\left(\sqrt{\left(\frac{\sqrt5-1}{2}\right)^2}+1\right):\left(\sqrt{\left(\frac{\sqrt5-1}{2}\right)^2}-3\right)\)
\(=\left(\frac{\sqrt5-1}{2}+1\right):\left(\frac{\sqrt5-1}{2}-3\right)=\frac{\sqrt5+1}{2}:\frac{\sqrt5-7}{2}=\frac{\sqrt5+1}{\sqrt5-7}\)
\(=\frac{\left(\sqrt5+1\right)\left(\sqrt5+7\right)}{\left(\sqrt5-7\right)\left(\sqrt5+7\right)}=\frac{5+8\sqrt5+7}{5-49}=\frac{12+8\sqrt5}{-44}=\frac{-3-2\sqrt5}{11}\)
c: Để B nguyên thì \(\sqrt{x}+1\) ⋮\(\sqrt{x}-3\)
=>\(\sqrt{x}-3+4\) ⋮\(\sqrt{x}-3\)
=>4⋮\(\sqrt{x}-3\)
=>\(\sqrt{x}-3\in\left\lbrace1;-1;2;-2;4;-4\right\rbrace\)
=>\(\sqrt{x}\in\left\lbrace4;2;5;1;7;-1\right\rbrace\)
=>x∈{16;4;25;1;49}
Kết hợp ĐKXĐ, ta được: x∈{1;16;25;49}