Say, for example, that a function f acts on 5, producing f(5). Then if g is the inverse of f, then g acting on f(5) will bring back 5.
g(<span>f(</span>5)) = 5.
Actually, g must do that for all values in the domain of f. And f must do that for all values in the domain of g.
In general, if a function f acts on a value of x, producing f(x),
then if g is the inverse, then g acting on f(x) -- g(f(x)) --will return x.
Here is the definition:
Functions <span>f(x)</span> and <span>g(x)</span> are inverses of one another if:
f(<span>g(x</span>)) = x and g(<span>f(</span>x)) = x,
for all values of x in their respective domains.