Inverse Tangent in LaTeX (\tan^{-1})
- LaTeX command
\tan^{-1}- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Inverse tangent written as tan to the power -1, equivalent to arctan.
Engineering and physics use \tan^{-1} for phase angles, as in \phi = \tan^{-1}(\omega L / R) for an RL circuit, and for converting slopes to angles. As with the other inverse forms, it is not \cot x, the reciprocal. Its range is (-\pi/2, \pi/2), so it cannot tell opposite quadrants apart; papers needing the full angle should say they use the two-argument version. Many style guides prefer \arctan in mathematics but accept \tan^{-1} in applied work, as long as the meaning is consistent.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Inverse Tangent: $\tan^{-1}$
\[ \phi = \tan^{-1}\left(\frac{\omega L}{R}\right) \]
\end{document}Related symbols
- Hyperbolic Sine
\sinh - Inverse Cosine
\cos^{-1} - Hyperbolic Cosine
\cosh - Inverse Sine
\sin^{-1} - Hyperbolic Tangent
\tanh - Arccosecant
\text{arccsc}
Frequently asked questions
- How do I write Inverse Tangent in LaTeX?
- Type \tan^{-1} in math mode, for example $\phi = \tan^{-1}\left(\frac{\omega L}{R}\right)$. It works in plain LaTeX without loading any package.
- Which package do I need for \tan^{-1}?
- None. \tan^{-1} is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \tan^{-1} in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\tan^{-1}$ in running text.
Math poweredSchrijf LaTeX met AI
Beste AI LaTeX Editor, Overleaf Alternatief
Octree helpt onderzoekers van 15+ universiteiten sneller onderzoeksartikelen schrijven met AI
- Genereer mooie TikZ-diagrammen met AI
- Upload afbeelding en converteer naadloos naar LaTeX
- Krijg directe hulp bij het schrijven en opmaken van onderzoeksartikelen