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 poweredAI로 LaTeX 작성
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기