(1) If the graph of function y = f(x) and y = log_{3}x (x>0) are symmetrical of line y=x, then f(x) = ________.

(2)

If f(x) is an odd function, then a = ________.

Solution:

(1) If f(x) and y = log_{3}x are symmetrical of line y=x, then f(x) is the inverse of log_{3}x.

We find the inverse of log_{3}x:

x = log_{3}y

y = 3^{x}

The correct answer is f(x) = 3^{x}

(2) If f(x) is an odd function, f(x) = -f(-x).

a = -1