Ta có: \(B=\frac{x^4+1}{x^4+2x^2+1}=\frac{x^4+2x^2+1-2x^2-2+2}{x^4+2x^2+1}\)
\(=\frac{\left(x^2+1\right)^2-2\left(x^2+1\right)+2}{\left(x^2+1\right)^2}=1-\frac{2\left(x^2+1\right)}{\left(x^2+1\right)^2}+\frac{2}{\left(x^2+1\right)^2}\)
\(=1+2\left[\frac{1}{\left(x^2+1\right)^2}-2\cdot\frac{1}{x^2+1}\cdot\frac{1}{2}+\frac{1}{4}-\frac{1}{4}\right]\)
\(=1+2\left(\frac{1}{x^2+1}-\frac{1}{2}\right)^2-\frac{1}{2}=\frac{1}{2}+2\left(\frac{1}{x^2+1}-\frac{1}{2}\right)^2\)
Vì \(2\left(\frac{1}{x^2+1}-\frac{1}{2}\right)^2\ge0\Rightarrow B=\frac{1}{2}+2\left(\frac{1}{x^2+1}-\frac{1}{2}\right)^2\ge\frac{1}{2}\)
Dấu "=" xảy ra \(\Leftrightarrow\frac{1}{x^2+1}-\frac{1}{2}=0\Leftrightarrow\frac{1}{x^2+1}=\frac{1}{2}\Leftrightarrow x^2+1=2\Leftrightarrow x^2=1\Leftrightarrow x=\pm1\)
Vậy \(Bmin=\frac{1}{2}\Leftrightarrow x=\pm1\)