Sine in LaTeX (\sin)
- LaTeX command
\sin- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Sine function, printed upright as a named operator with correct spacing.
Always type \sin rather than sin; the bare letters set as three italic variables multiplied together. The operator adds a thin space before its argument, so \sin x needs no parentheses for a single symbol, while \sin(2x) or \sin\left(\frac{\pi}{2}\right) group longer ones. Powers go right after the command: \sin^2 x + \cos^2 x = 1. Note \sin^{-1} x is the inverse function, not the reciprocal \csc x. Common formulas include the double-angle identity \sin 2\theta = 2\sin\theta\cos\theta and the Taylor series x - x^3/3! + \cdots.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\begin{document}
Sine: $\sin$
\[ \sin 2\theta = 2 \sin\theta \cos\theta \]
\end{document}Related symbols
All 삼각함수 →Frequently asked questions
- How do I write Sine in LaTeX?
- Type \sin in math mode, for example $\sin 2\theta = 2 \sin\theta \cos\theta$. It works in plain LaTeX without loading any package.
- Which package do I need for \sin?
- None. \sin is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \sin in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\sin$ in running text.
Math poweredAI로 LaTeX 작성
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기