a) \(A=x^4+4x+7=\left(x^2+4x+4\right)+3=\left(x+2\right)^2+3\ge3\)
\(minA=3\Leftrightarrow x=-2\)
b) \(B=x^2-x+1=\left(x^2-x+\dfrac{1}{4}\right)+\dfrac{3}{4}=\left(x-\dfrac{1}{2}\right)^2+\dfrac{3}{4}\ge\dfrac{3}{4}\)
\(minB=\dfrac{3}{4}\Leftrightarrow x=\dfrac{1}{2}\)
c) \(C=4x-x^2+3=-\left(x^2-4x+4\right)+7=-\left(x-2\right)^2+7\le7\)
\(maxC=7\Leftrightarrow x=2\)
d) \(D=2x-2x^2-5=-2\left(x^2-x+\dfrac{1}{4}\right)-\dfrac{9}{2}=-2\left(x-\dfrac{1}{2}\right)^2-\dfrac{9}{2}\le-\dfrac{9}{2}\)
\(maxD=-\dfrac{9}{2}\Leftrightarrow x=\dfrac{1}{2}\)