Tập nghiệm của phương trình $\displaystyle {{\log }_{2}}\frac{1}{x}={{\log }_{{\frac{1}{2}}}}\left( {{{x}^{2}}-x-1} \right)$ là
A. $\displaystyle \left\{ {1+\sqrt{2}} \right\}$
B. $\displaystyle \left\{ {1+\sqrt{2};1-\sqrt{2}} \right\}$
C. $\displaystyle \left\{ {\frac{{1+\sqrt{5}}}{2};\frac{{1-\sqrt{5}}}{2}} \right\}$
D. $\displaystyle \left\{ {1-\sqrt{2}} \right\}$