\(A=\dfrac{3x^2+3x+4}{x^2+x+1}=\dfrac{3\left(x^2+x+1\right)}{x^2+x+1}+\dfrac{1}{x^2+x+1}=3+\dfrac{1}{x^2+x+1}\)
Do \(x^2+x+1=\left(x+\dfrac{1}{2}\right)^2+\dfrac{3}{4}\ge\dfrac{3}{4}\Rightarrow\dfrac{1}{x^2+x+1}\le\dfrac{4}{3}\)
\(\Rightarrow A\le3+\dfrac{4}{3}=\dfrac{13}{3}\)
\(maxA=\dfrac{13}{3}\Leftrightarrow x=-\dfrac{1}{2}\)
Ta có:\(\dfrac{3x^2+3x+4}{x^2+x+1}=\dfrac{3\left(x^2+x+1\right)+1}{x^2+x+1}=3+\dfrac{1}{\left(x+\dfrac{1}{2}\right)^2+\dfrac{3}{4}}\)
Vì \(\left(x+\dfrac{1}{2}\right)^2\ge0\Leftrightarrow\left(x+\dfrac{1}{2}\right)^2+\dfrac{3}{4}\ge0\Leftrightarrow\dfrac{1}{\left(x+\dfrac{1}{2}\right)^2+\dfrac{3}{4}}\le\dfrac{4}{3}\)
\(\Rightarrow A\le3+\dfrac{4}{3}=\dfrac{13}{3}\)
Dấu "=" xảy ra \(\Leftrightarrow x=-\dfrac{1}{2}\)