a) ĐKXĐ: \(x\notin\left\{1;-1\right\}\)
b) Ta có: \(B=\left(\dfrac{2x+1}{x-1}+\dfrac{8}{x^2-1}-\dfrac{x-1}{x+1}\right)\cdot\dfrac{x^2-1}{5}\)
\(=\left(\dfrac{\left(2x+1\right)\left(x+1\right)}{\left(x-1\right)\left(x+1\right)}+\dfrac{8}{\left(x-1\right)\left(x+1\right)}-\dfrac{\left(x-1\right)^2}{\left(x+1\right)\left(x-1\right)}\right)\cdot\dfrac{\left(x-1\right)\left(x+1\right)}{5}\)
\(=\dfrac{2x^2+2x+x+1+8-\left(x^2-2x+1\right)}{\left(x-1\right)\left(x+1\right)}\cdot\dfrac{\left(x-1\right)\left(x+1\right)}{5}\)
\(=\dfrac{2x^2+3x+9-x^2+2x-1}{5}\)
\(=\dfrac{x^2+5x+8}{5}\)
Ta có: \(x^2+5x+8\)
\(=x^2+2\cdot x\cdot\dfrac{5}{2}+\dfrac{25}{4}+\dfrac{7}{4}\)
\(=\left(x+\dfrac{5}{2}\right)^2+\dfrac{7}{4}\)
Ta có: \(\left(x+\dfrac{5}{2}\right)^2\ge0\forall x\)
\(\Leftrightarrow\left(x+\dfrac{5}{2}\right)^2+\dfrac{7}{4}\ge\dfrac{7}{4}>0\forall x\)
\(\Leftrightarrow x^2+5x+8>0\forall x\)
\(\Leftrightarrow\dfrac{x^2+5x+8}{5}>0\forall x\) thỏa mãn ĐKXĐ(đpcm)