(x+1/x)^2=x^2+1+1/x^2=9
∴x^2+1/x^2=8

(x-1/x)^2=x^2-1+1/x^2=8-1=7
∴x-1/x=±√7