The LaTeX command for sin is \sin (sine).
\sinWriting a paper? The table generator and the BibTeX cleaner are one click away, no account.
Write \sin inside math mode, that is between $…$ for inline math or in a \[ … \] or equation block for display math. It is part of core LaTeX math, so no extra package is required.
\sin sets the name upright with operator spacing; typed as plain letters it would print in italics, as a product of variables.
$\sin_{i=1}^{n} x_i$Open this example in the live preview: it renders as you type, with no compiler and no signup.
\operatorname{tr}\operatorname{rank}\operatorname{diag}\operatorname{span}\operatorname*{argmax}\operatorname*{argmin}\operatorname{lcm}\cos\tan\arcsin\arccos\arctan\sinh\coshMath operators in LaTeX: the full table or search all 350+ LaTeX symbols.
Use \sin in math mode; it needs no extra package. For example, $\sin_{i=1}^{n} x_i$.
None: \sin is built into LaTeX, so no extra package is required.