Inverse of a Function
Digital Handwritten Lesson
Consider two airlines flying between Pokhara and Kathmandu:

- Yeti Air carries a person from Pokhara to Kathmandu.
- Buddha Air carries a person from Kathmandu to Pokhara.
- Buddha Air acts opposite to Yeti Air.
- Whatever work is done by Yeti Air is undone by Buddha Air.
Consider two function machines with input $x = 3$

- $f(3) = 4$
- $g(4) = 3$
- Work/action done by $f$ is undone or reversed by $g$.
- Activity 1 Buddha Air acts opposite to Yeti Air, so Buddha Air is the inverse of Yeti Air.
- Activity 2 Function $g$ acts opposite to function $f$, so function $g$ is the inverse of function $f$.
Let $f: A \to B$ be a function from set $A$ to set $B$. Let $g: B \to A$ be a function defined from set $B$ to $A$.
The function $g$ is said to be inverse of $f$ (or vice-versa) if:
It is denoted as: $g^{-1} = f$ or $f^{-1} = g$
Solution: To find the inverse, swap every ordered pair $(x, y) \to (y, x)$:

Step (I) Let $y = f(x)$ Let $f(x) = y$, so $y = 2x + 3$
Step (II) Interchange variables $x$ and $y$
Replace every $x$ with $y$ and every $y$ with $x$:
Step (III) Make $y$ alone (solve for $y$)
Step (IV)
We verify by computing $f \circ f^{-1}(x)$:
Why does this work?
Let $y = f(x)$. When we interchange $x$ and $y$:
Taking composite of $f^{-1}$ on both sides:
[Because the composite of a function and its inverse is the identity function.]
Course material curated by Mr. Nripendraswar Acharya