\(a-b=1\Rightarrow a=b+1\)
\(A=\left(b+1\right)^2-b^2-\left(b+1\right)b\)
\(A=-b^2+b+1=-\left(b-\frac{1}{2}\right)^2+\frac{5}{4}\le\frac{5}{4}\)
\(\Rightarrow A_{max}=\frac{5}{4}\) khi \(\left\{{}\begin{matrix}b=\frac{1}{2}\\a=\frac{3}{2}\end{matrix}\right.\)
\(A_{min}\) không có để tìm