\(y'=2x+2\)
\(y'=0\Leftrightarrow2x+2=0\Leftrightarrow x=-1\)
chỗ này bn có thể bảng biến thiên hoặc chỉ cần tính y theo x là đc
\(f\left(-2\right)=\left(-2\right)^2+2.\left(-2\right)-3=-3\)
\(f\left(-1\right)=\left(-1\right)^2+2.\left(-1\right)-3=-4\)
\(f\left(1\right)=1+2-3=0\)
Vậy min y= -4 tại x= -1
max y= 0 tại x= 1