Argument in LaTeX (\arg(z))

arg⁡(z)\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.

arg⁡(1+i)=π4+2πk,  k∈Z\arg(1 + i) = \frac{\pi}{4} + 2\pi k, \; k \in \mathbb{Z}
\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

All Complex Numbers →

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 poweredSumulat ng LaTeX gamit ang AI

Pinakamahusay na AI LaTeX Editor, Alternatibo sa Overleaf

Tinutulungan ng Octree ang mga researcher mula sa 15+ na unibersidad na sumulat ng research papers nang mas mabilis gamit ang AI

  • Gumawa ng magagandang TikZ diagrams gamit ang AI
  • Mag-upload ng larawan at i-convert ito sa LaTeX nang walang problema
  • Makakuha ng instant na tulong sa pagsulat at pag-format ng research papers