6a) \(B=\dfrac{2\sqrt{x}-9}{x-5\sqrt{x}+6}-\dfrac{\sqrt{x}+3}{\sqrt{x}-2}-\dfrac{2\sqrt{x}+1}{3-\sqrt{x}}\)
\(=\dfrac{2\sqrt{x}-9}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}-\dfrac{\sqrt{x}+3}{\sqrt{x}-2}+\dfrac{2\sqrt{x}+1}{\sqrt{x}-3}\)
\(=\dfrac{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)}\)
\(=\dfrac{x-\sqrt{x}-2}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}=\dfrac{\left(\sqrt{x}-2\right)\left(\sqrt{x}+1\right)}{\left(\sqrt{x}-2\right)\left(\sqrt{x}-3\right)}=\dfrac{\sqrt{x}+1}{\sqrt{x}-3}\)
b) \(P=\dfrac{A}{B}=\dfrac{x+2\sqrt{x}+5}{\sqrt{x}-3}:\dfrac{\sqrt{x}+1}{\sqrt{x}-3}=\dfrac{x+2\sqrt{x}+5}{\sqrt{x}+1}\)
\(=\dfrac{\left(\sqrt{x}+1\right)^2+4}{\sqrt{x}+1}=\sqrt{x}+1+\dfrac{4}{\sqrt{x}+1}\ge2\sqrt{\left(\sqrt{x}+1\right).\dfrac{4}{\sqrt{x}+1}}=4\)
\(\Rightarrow P_{min}=4\Rightarrow\sqrt{x}+1=\dfrac{4}{\sqrt{x}+1}\Rightarrow\left(\sqrt{x}+1\right)^2=4\)
mà \(\sqrt{x}+1>0\Rightarrow\sqrt{x}+1=2\Rightarrow x=1\)
6Ba) \(P=\dfrac{\sqrt{x}}{\sqrt{x}+3}+\dfrac{2\sqrt{x}}{\sqrt{x}-3}-\dfrac{3x+9}{x-9}\)
\(=\dfrac{\sqrt{x}}{\sqrt{x}+3}+\dfrac{2\sqrt{x}}{\sqrt{x}-3}-\dfrac{3x+9}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)}\)
\(=\dfrac{\sqrt{x}\left(\sqrt{x}-3\right)+2\sqrt{x}\left(\sqrt{x}+3\right)-3x-9}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)}\)
\(=\dfrac{3\sqrt{x}-9}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)}=\dfrac{3\left(\sqrt{x}-3\right)}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+3\right)}=\dfrac{3}{\sqrt{x}+3}\)
b) Ta có: \(\sqrt{x}\ge0\Rightarrow\sqrt{x}+3\ge3\Rightarrow\dfrac{3}{\sqrt{x}+3}\le1\)
\(\Rightarrow P_{max}=1\) khi \(x=0\)