A) \(A=-3x^2+x+1\)
\(A=-3\left(x^2-\dfrac{1}{3}x-\dfrac{1}{3}\right)\)
\(A=-3\left(x^2-2\cdot\dfrac{1}{6}\cdot x+\dfrac{1}{36}-\dfrac{13}{36}\right)\)
\(A=-3\left(x-\dfrac{1}{6}\right)^2+\dfrac{13}{12}\)
Mà: \(-3\left(x-\dfrac{1}{6}\right)^2\le0\forall x\)
\(\Rightarrow A=-3\left(x-\dfrac{1}{6}\right)^2+\dfrac{13}{12}\le\dfrac{13}{12}\forall x\)
Dấu "=" xảy ra khi:
\(x-\dfrac{1}{6}=0\Rightarrow x=\dfrac{1}{6}\)
Vậy: \(A_{max}=\dfrac{13}{12}.khi.x=\dfrac{1}{6}\)
B) \(B=2x^2-8x+1\)
\(B=2\left(x^2-4x+\dfrac{1}{2}\right)\)
\(B=2\left(x^2-4x+4-\dfrac{7}{2}\right)\)
\(B=2\left(x-2\right)^2-7\)
Mà: \(2\left(x-2\right)^2\ge0\forall x\)
\(\Rightarrow B=2\left(x-2\right)^2-7\ge-7\forall x\)
Dấu "=" xảy ra khi:
\(x-2=0\Rightarrow x=2\)
Vậy: \(B_{min}=2.khi.x=2\)