LaTeX trigonometry functions have their own commands: \sin, \cos, \tan, \cot, \sec and \csc, plus the inverses \arcsin, \arccos and \arctan and the hyperbolic \sinh, \cosh and \tanh. Always use the command rather than typing sin, because the command sets the name upright with correct spacing, while plain sin prints three italic variables. Powers go straight after the name, \sin^2 \theta, and degrees are a superscript circle, 30^\circ. The table lists the trigonometric symbols people use most, with the package each one needs; the full list follows below.
| Symbol | Command | Use | Package | Copy |
|---|---|---|---|---|
\sin \theta | Sine | built in | ||
\cos \theta | Cosine | built in | ||
\tan \theta | Tangent | built in | ||
\sec \theta | Secant (\csc cosecant, \cot cotangent) | built in | ||
\arcsin x | Inverse sine | built in | ||
\arccos x | Inverse cosine | built in | ||
\arctan x | Inverse tangent | built in | ||
\sin^{-1} x | Inverse sine, power notation | built in | ||
\sin^2 \theta + \cos^2 \theta = 1 | Pythagorean identity | built in | ||
\sinh x | Hyperbolic sine (\cosh, \tanh) | built in | ||
30^\circ | Degrees | built in | ||
\operatorname{arcsec} x | Inverse secant (not built in) | amsmath |
Use \left( and \right) around tall arguments, as in \sin\left(\frac{\pi}{2}\right). Greek angle letters such as \theta and \varphi are on the Greek letters page.
\sin\cos\tan\cot\sec\csc\arcsin\arccos\arctan\text{arccot}\text{arcsec}\text{arccsc}\sin^{-1}\cos^{-1}\tan^{-1}\sinh\cosh\tanh\text{arcsinh}\pi^{\circ}\text{rad}\theta\phi