If f is a real function satisfying f(x+1x)=x2+1x2 for all xϵR−{0}, then write the expression for f(x).