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 الأعداد المركبة →

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 poweredاكتب LaTeX باستخدام الذكاء الاصطناعي

أفضل محرر LaTeX بالذكاء الاصطناعي، بديل Overleaf

يساعد Octree الباحثين من أكثر من 15 جامعة على كتابة أوراق البحث بشكل أسرع باستخدام الذكاء الاصطناعي

  • أنشئ رسوم TikZ جميلة باستخدام الذكاء الاصطناعي
  • ارفع صورة وحولها إلى LaTeX بسلاسة
  • احصل على مساعدة فورية في كتابة وتنسيق أوراق البحث