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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي
أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf
يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي
- أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
- ارفع صورة وحولها إلى LaTeX بسلاسة
- احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث