Chia khoảng xét:
\(A=!3x-1!-\left(3x-1\right)^2\Leftrightarrow!y!-y^2\)
\(A=\frac{1}{4}-\left(y^2-!y!+\frac{1}{4}\right)=\frac{1}{4}-\left(!y!-\frac{1}{2}\right)^2\le\frac{1}{4}\)
GTLN A=1/4 khi !y!=1/2
\(\Leftrightarrow\left[\begin{matrix}3x-1=\frac{1}{2}\\3x-1=-\frac{1}{2}\end{matrix}\right.\Leftrightarrow\left\{\begin{matrix}x=\frac{1}{2}\\x=\frac{1}{6}\end{matrix}\right.\)