Theo hệ thức Viet: \(\left\{{}\begin{matrix}x_1+x_2=5\\x_1x_2=2\end{matrix}\right.\)
\(A=\left|\dfrac{x_1}{x_2}\right|+\left|\dfrac{x_2}{x_1}\right|=\dfrac{\left|x_1^2\right|+\left|x_2^2\right|}{\left|x_1x_2\right|}=\dfrac{x_1^2+x_2^2}{\left|x_1x_2\right|}\)
\(=\dfrac{\left(x_1+x_2\right)^2-2x_1x_2}{\left|x_1x_2\right|}=\dfrac{5^2-2.2}{\left|2\right|}=\dfrac{21}{2}\)