a) Ta có: \(P=\left(\dfrac{x^2-2x}{2x^2+8}-\dfrac{2x^2}{8-4x+2x^2-x^3}\right)\cdot\left(1-\dfrac{1}{x}-\dfrac{2}{x^2}\right)\)
\(=\left(\dfrac{x\left(x-2\right)}{2\left(x^2+4\right)}+\dfrac{2x^2}{\left(x-2\right)\left(x^2+4\right)}\right)\cdot\left(\dfrac{x^2-x-2}{x^2}\right)\)
\(=\dfrac{x\left(x-2\right)^2+4x^2}{2\left(x-2\right)\left(x^2+4\right)}\cdot\dfrac{\left(x^2-x-2\right)}{x^2}\)
\(=\dfrac{x\left[x^2-4x+4+4x\right]}{2\left(x-2\right)\left(x^2+4\right)}\cdot\dfrac{x^2-x-2}{x^2}\)
\(=\dfrac{x\left(x^2+4\right)}{2\left(x-2\right)\left(x^2+4\right)}\cdot\dfrac{\left(x-2\right)\left(x+1\right)}{x^2}\)
\(=\dfrac{x+1}{2x}\)
b) Thay \(x=\dfrac{1}{2}\) vào P, ta được:
\(P=\dfrac{1}{2}+1=\dfrac{3}{2}\)