ĐKXĐ: \(x\ne y\)
\(log_xy=\frac{1}{log_xy}\Leftrightarrow log_x^2y=1\Leftrightarrow\left[{}\begin{matrix}log_xy=1\\log_xy=-1\end{matrix}\right.\) \(\Rightarrow\left[{}\begin{matrix}x=y\left(l\right)\\x=\frac{1}{y}\end{matrix}\right.\)
\(log_x\left(x-\frac{1}{x}\right)=log_{x^{-1}}\left(x+\frac{1}{x}\right)\Leftrightarrow log_x\left(x-\frac{1}{x}\right)=-log_x\left(x+\frac{1}{x}\right)\)
\(\Leftrightarrow log_x\left(x-\frac{1}{x}\right)\left(x+\frac{1}{x}\right)=0\Leftrightarrow\left(x-\frac{1}{x}\right)\left(x+\frac{1}{x}\right)=1\)
\(\Leftrightarrow x^2-\frac{1}{x^2}=1\Leftrightarrow x^4-x^2-1=0\Rightarrow x^2=\frac{1+\sqrt{5}}{2}\Rightarrow y^2=\frac{1}{x^2}=\frac{-1+\sqrt{5}}{2}\)
\(\Rightarrow x^2+xy+y^2=\frac{1+\sqrt{5}}{2}+1+\frac{-1+\sqrt{5}}{2}=\sqrt{5}+1\)