Fungrim home page

Complex parts

Table of contents: Basic formulas - Specific values - Connection formulas - Functional equations - Bounds and inequalities

5e639e
Symbol: Sign sgn(z)\operatorname{sgn}(z) Sign function
920cc8
Symbol: Abs z\left|z\right| Absolute value
b7d740
Symbol: Arg arg(z)\arg(z) Complex argument
f5e62c
Symbol: Re Re(z)\operatorname{Re}(z) Real part
9086c6
Symbol: Im Im(z)\operatorname{Im}(z) Imaginary part
da5d5e
Symbol: Conjugate z\overline{z} Complex conjugate
ce8ee4
Symbol: Csgn csgn(z)\operatorname{csgn}(z) Real-valued sign function for complex numbers

Basic formulas

26565c
sgn(z)=zz\operatorname{sgn}(z) = \frac{z}{\left|z\right|}
4f0049
x+yi=x2+y2\left|x + y i\right| = \sqrt{{x}^{2} + {y}^{2}}
b2a880
arg ⁣(x+yi)=atan2 ⁣(y,x)\arg\!\left(x + y i\right) = \operatorname{atan2}\!\left(y, x\right)
8e6867
Re ⁣(x+yi)=x\operatorname{Re}\!\left(x + y i\right) = x
ba6d81
Im ⁣(x+yi)=y\operatorname{Im}\!\left(x + y i\right) = y
acda23
x+yi=xyi\overline{x + y i} = x - y i
18d335
sgn(x)={1,x>01,x<00,x=0\operatorname{sgn}(x) = \begin{cases} 1, & x > 0\\-1, & x < 0\\0, & x = 0\\ \end{cases}
59a5d6
csgn(z)={sgn ⁣(Im(z)),Re(z)=0sgn ⁣(Re(z)),otherwise\operatorname{csgn}(z) = \begin{cases} \operatorname{sgn}\!\left(\operatorname{Im}(z)\right), & \operatorname{Re}(z) = 0\\\operatorname{sgn}\!\left(\operatorname{Re}(z)\right), & \text{otherwise}\\ \end{cases}
e9465d
csgn(z)=z2z\operatorname{csgn}(z) = \frac{\sqrt{{z}^{2}}}{z}

Specific values

c423d2
arg(1)=0\arg(1) = 0
735409
arg(i)=π2\arg(i) = \frac{\pi}{2}
089f85
arg ⁣(i)=π2\arg\!\left(-i\right) = -\frac{\pi}{2}
a8b41c
arg(1)=π\arg(-1) = \pi

Connection formulas

3866dc
Re(z)=z+z2\operatorname{Re}(z) = \frac{z + \overline{z}}{2}
f1a29b
Im(z)=zz2i\operatorname{Im}(z) = \frac{z - \overline{z}}{2 i}
54340e
sgn(z)=exp ⁣(iarg(z))\operatorname{sgn}(z) = \exp\!\left(i \arg(z)\right)
60772e
arg(z)=ilog ⁣(sgn(z))\arg(z) = -i \log\!\left(\operatorname{sgn}(z)\right)

Functional equations

bcd22f
zz=z2z \overline{z} = {\left|z\right|}^{2}
8cac46
arg ⁣(cz)=arg(z)\arg\!\left(c z\right) = \arg(z)

Bounds and inequalities

98efc1
ab=ab\left|a b\right| = \left|a\right| \left|b\right|
a6e081
a+ba+b\left|a + b\right| \le \left|a\right| + \left|b\right|
48fe10
abab\left|\left|a\right| - \left|b\right|\right| \le \left|a - b\right|
6a894d
z=z\left|\overline{z}\right| = \left|z\right|
ebf8cc
Re(z)z\left|\operatorname{Re}(z)\right| \le \left|z\right|
fc427b
Im(z)z\left|\operatorname{Im}(z)\right| \le \left|z\right|
12664e
zRe(z)+Im(z)\left|z\right| \le \left|\operatorname{Re}(z)\right| + \left|\operatorname{Im}(z)\right|
432926
sgn(z)1\left|\operatorname{sgn}(z)\right| \le 1
08268d
arg(z)π\left|\arg(z)\right| \le \pi

Copyright (C) Fredrik Johansson and contributors. Fungrim is provided under the MIT license. The source code is on GitHub.

2021-03-15 19:12:00.328586 UTC