Some rules can be undone. 

Some rules can be undone. 


A function is a rule. It takes an input and gives an output. 

Think about a rule that multiplies a number by five. To undo this, you must divide by five. Another rule might add seven. To undo that, you subtract seven. An inverse function works like a two-way street. It reverses the steps of the first rule.
If you use a rule and then its inverse, you end up back at the start. This is like retracing your steps on a path. 
Not every rule can be undone. A rule must be special to have an inverse. It must be bijective. This means every input has one unique output. It also means every output comes from exactly one input. For example, squaring a number is not always undoable. This is because two different numbers can have the same square. But if we only look at positive numbers, we can use the square root to undo it.
An inverse function is a mathematical tool used to undo a specific rule. Imagine a rule that multiplies a number by five and then subtracts seven. To undo this, you would first add seven and then divide by five. This process brings you right back to your original number. In math, we call the original rule a function. The rule that reverses it is called the inverse function. 
For a rule to have a true inverse, it must be bijective. This means the rule must be both injective and surjective. Injective means that every input leads to a unique, different output. Surjective means that every possible output is reached by at least one input. If a rule is bijective, there is exactly one way to go backward.
Mathematicians have used special symbols to talk about these rules for a long time. The notation for an inverse function, written as f⁻¹, was introduced by John Frederick William Herschel in 1813. It is important not to confuse this with a multiplicative inverse. A multiplicative inverse is just a way to describe a fraction like 1/f. 
We can see how these rules work by looking at their graphs. If you graph a function and its inverse together, they show a beautiful symmetry. The graph of an inverse function is a reflection of the original graph. This reflection happens across a diagonal line where the x and y values are equal. 
Inverse functions are very helpful in our everyday world. A great example is temperature. A function can turn Celsius degrees into Fahrenheit degrees. The inverse function does the exact opposite by turning Fahrenheit back into Celsius. Scientists also use them to find the concentration of acid from a pH measurement. Even in families, a rule might assign each child a birth year. If every child was born in a different year, the inverse rule would tell you which child was born in a specific year.
An inverse function is a mathematical operation that reverses the effect of a given function. If a function $f$ maps an input $a$ to an output $b$, the inverse function, denoted as $f^{-1}$, maps $b$ back to $a$. This relationship ensures that the process can be undone. To understand this, imagine a rule that multiplies an input by 5 and then subtracts 7. To reverse this rule, you must first add 7 and then divide the result by 5. This sequence returns you to your starting value. 
For a function to have a true inverse, it must be bijective. A bijective function must satisfy two specific conditions: it must be injective and surjective. An injective function, or one-to-one function, ensures that every unique input produces a unique output. This prevents confusion when trying to go backward. A surjective function, or onto function, ensures that every element in the codomain is reached by at least one input. When a function is bijective, it is considered invertible. This means there is exactly one unique function that can serve as its inverse.
Mathematically, the relationship between a function and its inverse is defined through composition. If $f$ is an invertible function, then composing it with its inverse results in the identity function. This means $f(f^{-1}(x)) = x$ and $f^{-1}(f(x)) = x$ for all values in their respective domains. The identity function is a rule that leaves its argument unchanged. This concept is also used in category theory to define an inverse morphism. When you compose multiple functions, the inverse of that composition is the composition of the inverses in reverse order. 
The notation $f^{-1}$ for an inverse function was introduced by John Frederick William Herschel in 1813. It is vital to distinguish this from the multiplicative inverse. A multiplicative inverse of $f$ is written as $1/f$ and represents a reciprocal. Because of this potential for confusion, some authors use different names for specific inverses. For example, the inverse of the sine function is often called the arcsine function, using the prefix "arc" for the Latin word "arcus." Similarly, the inverse of a hyperbolic function uses the prefix "ar." 
We can visualize these relationships using coordinate geometry. The graph of an inverse function is a reflection of the original function across the line $y = x$. This happens because the roles of the $x$ and $y$ axes are swapped. If you were to switch the positions of the axes on a graph, the original function would appear as its inverse. This symmetry is a direct result of the input and output values trading places. 
Sometimes, a function is not bijective over its entire domain, but we can still find an inverse by restricting it. The function $f(x) = x^2$ is not injective because both $2$ and $-2$ result in $4$. However, if we restrict the domain to only nonnegative real numbers, the function becomes bijective. In this case, the inverse is the positive square root function.
Inverse functions have many practical applications in science and daily life. A common example is temperature conversion. A function can convert Celsius to Fahrenheit, while its inverse converts Fahrenheit back to Celsius. In chemistry, scientists use an inverse function to calculate the concentration of acid from a pH measurement. Even in simple logic, an inverse can help identify a person by their birth year, provided that every person in the group was born in a different year.
🖼️ Images & Media (8)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
What is Nepedia?
A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.