\(B=\frac{3\left(x+1\right)}{x^3+x^2+x+1}=\frac{3\left(x+1\right)}{\left(x^3+x^2\right)+\left(x+1\right)}=\frac{3\left(x+1\right)}{x^2\left(x+1\right)+\left(x+1\right)}\)
\(=\frac{3\left(x+1\right)}{\left(x^2+1\right)\left(x+1\right)}=\frac{3}{x^2+1}\)
Vì \(x^2\ge0\forall x\)\(\Rightarrow x^2+1\ge1\forall x\)
\(\Rightarrow\frac{1}{x^2+1}\le1\forall x\)\(\Rightarrow\frac{3}{x^2+1}\le3\forall x\)
hay \(B\le3\)
Dấu " = " xảy ra \(\Leftrightarrow x^2=0\)\(\Leftrightarrow x=0\)
Vậy \(maxB=3\)\(\Leftrightarrow x=0\)