Arccosine in LaTeX (\arccos)

arccos⁡\arccos
LaTeX command
\arccos
Package
No package needed: built into LaTeX
Mode
Math mode only

Where it is used

Arccosine, returning the angle in [0, pi] whose cosine is a given value.

The angle between two vectors, \theta = \arccos\frac{\mathbf{a}\cdot\mathbf{b}}{\lVert\mathbf{a}\rVert\lVert\mathbf{b}\rVert}, is perhaps its most common appearance. Its range is [0, \pi] and its derivative is -\frac{1}{\sqrt{1-x^2}}, which is why \arcsin x + \arccos x = \frac{\pi}{2} for every x in [-1, 1]. \cos^{-1} x means the same thing, but \arccos avoids confusion with the reciprocal. Wrap long arguments in \left( \right) for clarity, since the operator supplies no brackets of its own. In computational geometry it is often clamped to [-1, 1] first to avoid rounding errors.

Minimal compilable example

Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.

arcsin⁡x+arccos⁡x=π2\arcsin x + \arccos x = \frac{\pi}{2}
\documentclass{article}
\begin{document}
Arccosine: $\arccos$

\[ \arcsin x + \arccos x = \frac{\pi}{2} \]
\end{document}

Related symbols

All 삼각함수 →

Frequently asked questions

How do I write Arccosine in LaTeX?
Type \arccos in math mode, for example $\arcsin x + \arccos x = \frac{\pi}{2}$. It works in plain LaTeX without loading any package.
Which package do I need for \arccos?
None. \arccos is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
Can I use \arccos in text mode, or only in math mode?
Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\arccos$ in running text.
Math poweredAI로 LaTeX 작성

최고의 AI LaTeX 편집기, Overleaf 대안

Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움

  • AI로 아름다운 TikZ 다이어그램 생성
  • 이미지를 업로드하고 LaTeX로 원활하게 변환
  • 논문 작성 및 서식에 대한 즉각적인 지원 받기