Trigonometric functions (sin, cos, tan) in LaTeX
In this tutorial, I will show you how to write Trigonometric and Inverse trigonometric functions In LaTeX.
All Trigonometric functions commands and outputs:
Name | Command | Output |
---|---|---|
sin | $\sin$ | ![]() |
cos | $\cos$ | ![]() |
tan | $\tan$ | ![]() |
cosec | $\csc$ | ![]() |
sec | $\sec$ | ![]() |
cot | $\cot$ | ![]() |
arcsin | $\arcsin$ | ![]() |
arccos | $\arccos$ | ![]() |
arctan | $\arctan$ | ![]() |
\documentclass{article} \begin{document} $$ \sin x \quad \cos x \quad \tan x$$ $$ \sin \theta \quad \cos \theta \quad \tan \theta$$ \end{document}
Output:
Inverse trigonometric functions In LaTeX
In order to get Inverse trigonometric functions, you have to use superscripts for example if you want sin-1, then you have to write \sin^{-1}
. In this way, you can get all inverse trigonometric functions for all Trigonometric functions.
\documentclass{article} \begin{document} $$ \sin^{-1} x \quad \cos^{-1} x \quad \tan^{-1} x$$ $$ \sin^{-1} \theta \quad \cos^{-1} \theta \quad \tan^{-1} \theta$$ \end{document}
Output:
Leave a Reply