\(x\left(\sqrt{2019}+\sqrt{2018}\right)+y\left(\sqrt{2019}-\sqrt{2018}\right)=2019\sqrt{2019}+2018\sqrt{2018}\)
\(\Leftrightarrow x\left(\sqrt{2019}+\sqrt{2018}\right)+y\left(\sqrt{2019}-\sqrt{2018}\right)=2018\left(\sqrt{2019}+\sqrt{2018}\right)+\sqrt{2019}\)
\(\Leftrightarrow x+y.\left(\sqrt{2019}-\sqrt{2018}\right)^2=2018+\sqrt{2019}\left(\sqrt{2019}-\sqrt{2018}\right)\)
\(\Leftrightarrow x+y\left(4037-2\sqrt{2019.2018}\right)=4037-\sqrt{2019.2018}\)
\(\Leftrightarrow x+4037.y-4037=2y\sqrt{2019.2018}-\sqrt{2019.2018}\)
\(\Leftrightarrow x+4037y-4037=\left(2y-1\right).\sqrt{2019.2018}\)(1)
Do \(x;y\) hữu tỉ \(\Rightarrow x+4037y-4037\) và \(2y-1\) đều là số hữu tỉ
Mà \(\sqrt{2019.2018}\) là số vô tỉ
\(\Rightarrow\)đẳng thức (1) xảy ra khi và chỉ khi: \(\left\{{}\begin{matrix}2y-1=0\\x+4037y-4037=0\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}y=\dfrac{1}{2}\\x=\dfrac{4037}{2}\end{matrix}\right.\)