Ta có: \(\dfrac{x^2-2x-3}{x^2+2x+1}=\dfrac{x^2+x-3x-3}{\left(x+1\right)^2}=\dfrac{x\left(x+1\right)-3\left(x+1\right)}{\left(x+1\right)^2}\)
\(=\dfrac{\left(x+1\right)\left(x-3\right)}{\left(x+1\right)^2}=\dfrac{x-3}{x+1}\left(dk:x\ne-1\right)\) (1)
Với \(x\ne-1\), ta có:
\(3x-1=0\Rightarrow3x=1\) \(\Rightarrow x=\dfrac{1}{3}\left(tm\right)\)
Thay \(x=\dfrac{1}{3}\) vào (1), ta được:
\(\dfrac{\dfrac{1}{3}-3}{\dfrac{1}{3}+1}=\left(\dfrac{1}{3}-3\right):\left(\dfrac{1}{3}+1\right)\)
\(=-\dfrac{8}{3}:\dfrac{4}{3}=-\dfrac{8}{3}\cdot\dfrac{3}{4}=-2\)
Vậy: ...