answered 4 years ago
It depends on how is f defined. By lack of concrete example, let me provide one:
f
sage: f(x) = x^2 sage: f(x^(-1)) x^(-2)