\(...\Rightarrow A=-x^2+x+1\)
\(\Rightarrow A=-\left(x^2-x+\dfrac{1}{4}\right)+\dfrac{1}{4}+1\)
\(\Rightarrow A=-\left(x-\dfrac{1}{2}\right)^2+\dfrac{5}{4}\le\dfrac{5}{4},\forall x\in R\)
\(\Rightarrow GTLN\left(A\right)=\dfrac{5}{4}\left(tại.x=\dfrac{1}{2}\right)\)