Đáp án+Giải thích các bước giải:
Bài `1:`
`P=(\frac{1}{x-\sqrt{x}}+\frac{1}{\sqrt{x}-1}):\frac{\sqrt{x}}{x-2\sqrt{x}+1}(x>0,x\ne1)`
`=(\frac{1}{\sqrt{x}(\sqrt{x}-1)}+\frac{\sqrt{x}}{\sqrt{x}(\sqrt{x}-1)}).\frac{x-2\sqrt{x}+1}{\sqrt{x}}`
`=\frac{1+\sqrt{x}}{\sqrt{x}(\sqrt{x}-1)}.\frac{(\sqrt{x}-1)^2}{\sqrt{x}}`
`=\frac{(\sqrt{x}+1)(\sqrt{x}-1)^2}{\sqrt{x}.\sqrt{x}.(\sqrt{x}-1)}`
`=\frac{(\sqrt{x}+1)(\sqrt{x}-1)}{\sqrt{x].\sqrt{x}}`
`=\frac{x-1}{x}`
Bài `2:`
`x^2-5x+m=0`
Thay `m=6` vào biểu thức, ta có:
`x^2-5x+6=0`
`<=>x^2-2x-3x+6=0`
`<=>x(x-2)-3(x-2)=0`
`<=>(x-2)(x-3)=0`
`<=>x-2=0` hoặc `x-3=0`
`<=>x=2` hoặc `x=3`
Vậy khi `m=6` thì `S\in{2;3}`