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