Math Help - Domain and range

1. Domain and range

For the function f(x) points (0,2) (6,5) find the domain and range of f^-1(x). My answer is Domain=[0,6], Range=[2,5] is this right, thanks for any help.

2. Re: Domain and range

Does f(x) only exist between the points (0,2) and (6,5). Assuming this, then the $f^{-1}(x)$ exits between the points (2,0) and (5,6). And so the domain and range of the inverse would be the [2,5] and [0,6] respectively.