Britannica
Sources used in this answer
When does a function have an inverse function?
Created from Britannica articles
using AI.
AI can make mistakes, so verify using Britannica articles.
function
Plot of the cubic equation f(x) = x3 − 3x + 2. The plotted points are where changes in curvature occur.
A mathematical function has an inverse function if and only if it is a bijection.1
A bijection is a mapping that is both one-to-one (injective) and onto (surjective). This means that every element in the function's codomain is mapped to by exactly one element in its domain. When these conditions are met, the function is considered invertible because it is possible to uniquely "undo" its effect, mapping each output back to its original input.12
If a function fails to be one-to-one—meaning multiple inputs produce the same output—or fails to be onto, it cannot have a well-defined inverse function across its entire domain.