Inverse Function in LaTeX (f^{-1})
- LaTeX command
f^{-1}- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Inverse function of f, the map that undoes f so f^{-1}(f(x)) = x.
Only bijections have inverses on their whole codomain, but f^{-1}(B) is also used for the preimage of a set B under any function, which is a different concept that needs no invertibility. The superscript -1 does not mean reciprocal: f^{-1}(x) differs from 1/f(x), a common student confusion that also affects \sin^{-1}. Braces are needed because -1 is two tokens. The inverse function theorem gives the derivative (f^{-1})'(y) = 1/f'(x) where y = f(x), provided f'(x) \neq 0.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Inverse Function: $f^{-1}$
\[ (f^{-1})'(y) = \frac{1}{f'(f^{-1}(y))} \]
\end{document}Related symbols
- Image
\text{Im}(f) - Composition
f \circ g - Kernel
\ker(f) - Long Right Arrow
\longrightarrow - Domain
\text{dom}(f) - Approaches
\to
Frequently asked questions
- How do I write Inverse Function in LaTeX?
- Type f^{-1} in math mode, for example $(f^{-1})'(y) = \frac{1}{f'(f^{-1}(y))}$. It works in plain LaTeX without loading any package.
- Which package do I need for f^{-1}?
- None. f^{-1} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use f^{-1} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $f^{-1}$ in running text.
Math poweredTulis LaTeX menggunakan AI
Editor LaTeX AI Terbaik, Alternatif Overleaf
Octree membantu penyelidik dari 15+ universiti menulis kertas penyelidikan dengan lebih cepat menggunakan AI
- Jana diagram TikZ yang cantik menggunakan AI
- Muat naik imej dan tukar ke LaTeX dengan lancar
- Dapatkan bantuan segera untuk menulis dan memformat kertas penyelidikan