Bài 7:
a) [tex]P=\frac{x\sqrt{x}-8}{x+2\sqrt{x}+4}+3(1-\sqrt{x})[/tex]
[tex]P=\frac{(\sqrt{x}-2)(x+2\sqrt{x}+4)}{x+2\sqrt{x}+4}+3-3\sqrt{x}[/tex]
[tex]P=\sqrt{x}-2+3-3\sqrt{x}=1-2\sqrt{x}[/tex]
b) [tex]Q=\frac{2-4\sqrt{x}}{1-1+2\sqrt{x}}=\frac{1-2\sqrt{x}}{\sqrt{x}}[/tex]
Để Q nhận giá trị nguyên thì [tex](1-2\sqrt{x}) \vdots (\sqrt{x})[/tex]
[tex]\Leftrightarrow 1 \vdots \sqrt{x} \Leftrightarrow \sqrt{x}=1 \Leftrightarrow x=1[/tex] ( thỏa mãn )