Compute the inverse of one function and see if it matches the other. I'll pick f.
This also means that so the functions are inverse.
Hope this helps :)
8.1m questions
10.8m answers