Argument in LaTeX (\arg(z))
- LaTeX command
\arg(z)- Package
- No package needed: built into LaTeX
- Mode
- Math mode only
Where it is used
Argument of z: the angle from the positive real axis to z, defined up to multiples of 2π.
\arg is a built-in operator name, so it prints upright and sets correct spacing; typing arg without the backslash gives italic letters. Because the angle is multivalued, \arg z is often treated as a set \{\theta + 2\pi k\}, and \arg(zw) = \arg z + \arg w holds only modulo 2\pi. For the single-valued principal value people write \operatorname{Arg} z with a capital letter. Do not confuse \arg with argmax-style operators, which return a minimizing input and need their own declaration.
Minimal compilable example
Paste this into an empty .tex file and compile it with pdfLaTeX, XeLaTeX or LuaLaTeX.
\documentclass{article}
\usepackage{amssymb}
\begin{document}
Argument: $\arg(z)$
\[ \arg(1 + i) = \frac{\pi}{4} + 2\pi k, \; k \in \mathbb{Z} \]
\end{document}Related symbols
- Principal Argument
\text{Arg}(z) - Modulus
|z| - Polar Form
r e^{i\theta} - Complex Conjugate (Star)
z^* - Euler's Formula
e^{i\theta} = \cos\theta + i\sin\theta - Complex Conjugate
\bar{z}
Frequently asked questions
- How do I write Argument in LaTeX?
- Type \arg(z) in math mode, for example $\arg(1 + i) = \frac{\pi}{4} + 2\pi k, \; k \in \mathbb{Z}$. It works in plain LaTeX without loading any package.
- Which package do I need for \arg(z)?
- None. \arg(z) is part of standard LaTeX, so it compiles with nothing in the preamble but the document class.
- Can I use \arg(z) in text mode, or only in math mode?
- Only in math mode. Outside $...$ LaTeX stops with "Missing $ inserted", so write $\arg(z)$ in running text.
Math poweredAI로 LaTeX 작성
최고의 AI LaTeX 편집기, Overleaf 대안
Octree는 15개 이상의 대학의 연구자들이 AI를 사용하여 논문을 더 빠르게 작성하도록 도움
- AI로 아름다운 TikZ 다이어그램 생성
- 이미지를 업로드하고 LaTeX로 원활하게 변환
- 논문 작성 및 서식에 대한 즉각적인 지원 받기