a: \(=\dfrac{x\sqrt{x}-3-2x+12\sqrt{x}-18-x-4\sqrt{x}-3}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+1\right)}\)
\(=\dfrac{x\sqrt{x}-3x+8\sqrt{x}-24}{\left(\sqrt{x}-3\right)\left(\sqrt{x}+1\right)}=\dfrac{x+8}{\sqrt{x}+1}\)
b: \(P=\dfrac{x-1+9}{\sqrt{x}+1}=\sqrt{x}-1+\dfrac{9}{\sqrt{x}+1}\)
=>\(P=\sqrt{x}+1+\dfrac{9}{\sqrt{x}+1}-2>=2\sqrt{9}-2=4\)
Dấu = xảy ra khi căn x+1=3
=>x=4