Bài 1:
a) \(A=-\left(2x-5\right)^2+6\left|2x-5\right|+4=-\left[\left(2x-5\right)^2-6\left|2x-5\right|+9\right]+13=-\left(\left|2x-5\right|-3\right)^2+13\le13\)
\(maxA=13\Leftrightarrow\) \(\left[{}\begin{matrix}2x-5=3\\2x-5=-3\end{matrix}\right.\) \(\Leftrightarrow\left[{}\begin{matrix}x=4\\x=1\end{matrix}\right.\)
b) \(B=-x^2-y^2+2x-6y+9=-\left(x^2-2x+1\right)-\left(y^2+6y+9\right)+19=-\left(x-1\right)^2-\left(y+3\right)^2+19\le19\)
\(maxC=19\Leftrightarrow\) \(\left\{{}\begin{matrix}x=1\\y=-3\end{matrix}\right.\)
Bài 2:
\(A=2\left(x^3-y^3\right)-3\left(x+y\right)^2=2\left(x-y\right)\left(x^2+xy+y^2\right)-3\left(x^2+2xy+y^2\right)=4\left(x^2+xy+y^2\right)-3\left(x^2+2xy+y^2\right)=x^2-2xy+y^2=\left(x-y\right)^2=2^2=4\)
bài 2
\(A=2\left(x-y\right)\left(x^2+xy+y^2\right)-3\left(x^2+2xy+y^2\right)\)
\(A=2.2\left(x^2+xy+y^2\right)-3\left(x^2+2xy+y^2\right)\)
\(A=\left(4x^2+4xy+4y^2\right)+\left(-3x^2-6xy-3y^2\right)\)
\(A=x^2-2xy+y^2=\left(x-y\right)^2=2^2=4\)