Surjectivity guarantees existence of the reverse assignment; injectivity guarantees uniqueness.
Example
The function f:[0,∞)→[0,∞), f(x)=x2, is bijective. Its inverse is x. If its domain expands to all real numbers, uniqueness is lost. If its codomain expands to all real numbers, some targets have no preimage.
Avoid this mistake
An inverse is not a reciprocal: f−1(x) usually differs from 1/f(x).