\(A^2=\left(x-y\right)^2=\left(1.x-\dfrac{1}{2}.2y\right)^2\le\left(1+\dfrac{1}{4}\right)\left(x^2+4y^2\right)=\dfrac{5}{4}\)
\(\Rightarrow A\le\dfrac{\sqrt{5}}{2}\)
\(A_{max}=\dfrac{\sqrt{5}}{2}\) khi \(\left(x;y\right)=\left(-\dfrac{2\sqrt{5}}{5};\dfrac{\sqrt{5}}{10}\right);\left(\dfrac{2\sqrt{5}}{5};-\dfrac{\sqrt{5}}{10}\right)\)