Lời giải:
a) ĐK: $a\neq -b\neq 0$
\(A=\left(\frac{a^2+b^2}{a^2b^2}+\frac{2}{a+b}.\frac{a+b}{ab}\right).\frac{ab}{(a+b)^2}\)
\(=\left(\frac{a^2+b^2}{a^2b^2}+\frac{2ab}{a^2b^2}\right).\frac{ab}{(a+b)^2}=\frac{(a+b)^2}{a^2b^2}.\frac{ab}{(a+b)^2}=\frac{1}{ab}\)
b)
\(B=\left[\frac{(2x+y)^2}{(2x-y)^2(2x+y)^2}+\frac{(2x-y)^2}{(2x-y)^2(2x+y)^2}+\frac{2}{(2x-y)(2x+y)}\right].\frac{(2x+y)^2}{16x}\)
\(=\left[\frac{8x^2+2y^2}{(2x-y)^2(2x+y)^2}+\frac{2(2x-y)(2x+y)}{(2x-y)^2(2x+y)^2}\right].\frac{(2x+y)^2}{16x}\)
\(=\frac{8x^2+2y^2+2(4x^2-y^2)}{(2x-y)^2(2x+y)^2}.\frac{(2x+y)^2}{16x}\)
\(=\frac{16x^2}{(2x-y)^2(2x+y)^2}.\frac{(2x+y)^2}{16x}=\frac{x}{(2x-y)^2}\)