\(A=3\left[6-\left|y-1\right|-\left(x-2\right)^2\right]\)
\(=18-3\left|y-1\right|-3\left(x-2\right)^2\)
Ta thấy:\(\begin{cases}\left|y-1\right|\ge0\\\left(x-2\right)^2\ge0\end{cases}\)\(\Rightarrow\begin{cases}-3\left|y-1\right|\le0\\-3\left(x-2\right)^2\le0\end{cases}\)
\(\Rightarrow-3\left|y-1\right|-3\left(x-2\right)^2\le0\)
\(\Rightarrow18-3\left|y-1\right|-3\left(x-2\right)^2\le18\)
\(\Rightarrow A\le18\)
Dấu "=" xảy ra khi \(\Rightarrow\begin{cases}-3\left|y-1\right|=0\\-3\left(x-2\right)^2=0\end{cases}\)\(\Rightarrow\begin{cases}\left|y-1\right|=0\\\left(x-2\right)^2=0\end{cases}\)\(\Rightarrow\begin{cases}y-1=0\\x-2=0\end{cases}\)\(\Rightarrow\begin{cases}y=1\\x=2\end{cases}\)
Vậy \(Max_A=18\) khi \(\begin{cases}y=1\\x=2\end{cases}\)