Functions and operators\sin

\sinCommand

Used for sine in trigonometric formulas, identities, and calculus

\sin
Available in
base, physics
Kind
prefix
Allowed mode
math
Frequency
1.93% of corpus formulasrank 31 of 263
Commonality
high
Renderer support
PackageMathJaxKaTeXXeTeX
baseMathJax: FullKaTeX: FullXeTeX: Full
physicsMathJax: FullKaTeX: FullXeTeX: Full
About the test scope

Syntax#

\sin

Takes no arguments. In base. Reading argspecs

\sino[a]optional math contentd()(b)optional math content

Argspec o d() — two optional arguments. In physics. Reading argspecs

Common tasks#

How to write sine of an angle#

\sin\theta

How to write sine squared#

\sin^2 x

How to write a sine in an integral#

\int_0^\pi \sin x\,dx

Examples#

physics

\sin x

physics

\sin[2](x)

Package variants#

PackageSignatureAllowed modeNotes
basemathUsed for sine in trigonometric formulas, identities, and calculus
physicso d()mathUsed for sine-function notation, including the physics package's bracketed power form like \sin[2](x).

In TeXForm#

TeXForm parses this entry as prefix syntax; the package determines its argument specification.

physics/named-fn-paren-expandfrom Faithfulreading

Expand physics power and auto-sized parenthesis arguments of standard named functions.

\sin(#1) \sin\left(#1\right)

See also#

Test cases#

base
InputCaseMathJaxKaTeXXeTeX
\sinPositive · baselinePassPassPass
physics
InputCaseMathJaxKaTeXXeTeX
\sinPositive · baselinePassPassPass
\sin[a]Positive · vary:o[0]PassPassPass
\sin (a)Positive · vary:d[1]PassPassPass
\sin[a](b)Positive · maximalPassPassPass
All 74 in Functions and operators