Two functions are called inverse functions if they undo each other. This is, the functions f(x) and g(x) are inverses if they satisfy the following condition for all values of x in their corresponding domains.
f(g(x))=xandg(f(x))=x
When a function is denoted f(x), its inverse is often referred to as f-1(x).