\(M=a+\frac{\left(2a+b\right)\left(2+b\right)-\left(2a-b\right)\left(2-b\right)}{4-b^2}-\frac{4a}{4-b^2}.\)
\(=a+\frac{4b\left(a+1\right)-4a}{4-b^2}\)
Ta có \(4ab+4b-4a=4\left[\frac{a^2}{a+1}+\frac{a}{a+1}-4a\right]=-12a\)
\(4-b^2=4-\frac{a^2}{\left(a+1\right)^2}=\frac{4\left(a^2+2a+1\right)-a^2}{\left(a+1\right)^2}=\frac{3a^2+8a+4}{\left(a+1\right)^2}\)
\(\Rightarrow M=a+\frac{-12a\left(a+1\right)^2}{3a^2+8a+4}\)
\(=-\frac{9a^3+16a^2+8a}{3a^2+8a+4}\)
\(M=a+\frac{2a+b}{2-b}-\frac{2a-b}{2+b}+\frac{4a}{b^2-4}\)
\(=a-\frac{2a+b}{b-2}-\frac{2a-b}{2+b}+\frac{4a}{b^2-4}\)
\(=a-\frac{\left(2a+b\right)\left(2+b\right)+\left(2a-b\right)\left(b-2\right)}{\left(b-2\right)\left(b+2\right)}+\frac{4a}{b^2-4}\)
\(=a-\frac{4b\left(a+1\right)}{b^2-4}+\frac{4a}{b^2-4}\)
\(=a-\frac{4\frac{a}{a+1}\left(a+1\right)}{b^2-4}+\frac{4a}{b^2-4}\)
\(=a-\frac{4a}{b^2-4}+\frac{4a}{b^2-4}\)
\(=a\)