lesson

Updated 1 month ago Β· 7 views
Imagine running a secret code machine: typing "HELLO" outputs "KHOOR". To read the original text, you need a reverse machine that takes "KHOOR" and converts it right back to "HELLO".
In mathematics, an inverse function does exactly that β it reverses the assignment of inputs and outputs of the original function.
πInteractive diagram
How do we describe this relationship with formal mathematical notation?
The Inverse Relationship
If a function f takes an input x to an output y, written as f(x)=y, then its inverse fβ1 takes y back to x, meaning fβ1(y)=x.
This means the domain of f becomes the range of fβ1, and the range of f becomes the domain of fβ1.
Can every function be reversed this way, or do some cause a mathematical breakdown?
When Inverses Exist: One-to-One Functions
A function has an inverse function if and only if it is one-to-one (or injective), meaning every unique output comes from exactly one unique input.
Graphically, we test this using the Horizontal Line Test: if any horizontal line crosses the graph of f(x) more than once, f is not one-to-one and cannot have an inverse function over that domain.
πInteractive diagram
How can we algebraically prove that two functions completely undo each other?