1: Thay x=2 vào M, ta được:
\(M=\dfrac{2-4}{2+2}=\dfrac{-2}{4}=-\dfrac{1}{2}\)
2: \(N=\dfrac{1}{x+4}+\dfrac{x}{x+4}+\dfrac{24-x^2}{x^2-16}\)
\(=\dfrac{x+1}{x+4}+\dfrac{24-x^2}{\left(x-4\right)\left(x+4\right)}\)
\(=\dfrac{\left(x+1\right)\left(x-4\right)+24-x^2}{\left(x-4\right)\left(x+4\right)}=\dfrac{x^2-3x-4+24-x^2}{\left(x-4\right)\left(x+4\right)}\)
\(=\dfrac{-3x+20}{x^2-16}\)