# Domain colouring plots of complex functions

## Basic settings for the plotter

### Hue The hue is selected according to the angle.

### Lightness  The brightness is determined according to the following diagram.

In the interval [0,0.5) applies val = a1 * k + b1

In the interval [0.5,1) applies val = a2 * k + b2

It is: min ≤ val ≤ max

### Saturation  The saturation is determined according to the following diagram.

In the interval [0,0.5) applies sat = a1 * k + b1

In the interval [0.5,1) applies sat = a2 * k + b2

It is: min ≤ sat ≤ max

Selecting a color scheme:

Angle offset: φ0=

Set width and height of the plot:

Width in px=
Height in px=

a1=
b1=
a2=
b2=
min=
max=

a1=
b1=
a2=
b2=
min=
max=

## Representation of complex functions

### Linear complex function

$f\left(z\right)=z=x+iy$

$\text{with}\phantom{\rule{1em}{0ex}}z\phantom{\rule{0.5em}{0ex}}\in \phantom{\rule{0.5em}{0ex}}\mathbb{C}\phantom{\rule{1em}{0ex}}$

Axes ranges

x-min=
x-max=
y-min=
y-max= Real part of f(z):

$\mathfrak{Re}\left(f\left(z\right)\right)=x$

Imaginary part of f(z):

$\mathfrak{Im}\left(f\left(z\right)\right)=y$

Amount of f(z):

$|f\left(z\right)|=\sqrt{{x}^{2}+{y}^{2}}$

Argument φ of f(z):

$\phi \left(f\left(z\right)\right)=\mathrm{atan}\frac{x}{y}$

### Square complex function

$f\left(z\right)={z}^{2}$

$\text{with}\phantom{\rule{1em}{0ex}}z\phantom{\rule{0.5em}{0ex}}\in \phantom{\rule{0.5em}{0ex}}\mathbb{C}\phantom{\rule{1em}{0ex}}$

Axes ranges

x-min=
x-max=
y-min=
y-max= Real part of f(z):

$\mathfrak{Re}\left(f\left(z\right)\right)={x}^{2}-{y}^{2}$

Imaginary part of f(z):

$\mathfrak{Im}\left(f\left(z\right)\right)=2xy$

Amount of f(z):

$|f\left(z\right)|={x}^{2}+{y}^{2}$

Argument φ of f(z):

$\phi \left(f\left(z\right)\right)=\mathrm{atan}\frac{2xy}{{x}^{2}-{y}^{2}}$

### Fractional rational complex function

$f\left(z\right)=\frac{1}{z-a}$

$\text{with}\phantom{\rule{1em}{0ex}}z\phantom{\rule{0.5em}{0ex}}\in \phantom{\rule{0.5em}{0ex}}\mathbb{C}\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}a=\alpha +i\beta$

Axes ranges

x-min=
x-max=
y-min=
y-max=

Parameter

α=
β= Real part of f(z):

$\mathfrak{Re}\left(f\left(z\right)\right)$$=\frac{x-\alpha }{{\left(x-\alpha \right)}^{2}-{\left(y-\beta \right)}^{2}}$

Imaginary part of f(z):

$\mathfrak{Im}\left(f\left(z\right)\right)$$=\frac{-\left(y-\beta \right)}{{\left(x-\alpha \right)}^{2}-{\left(y-\beta \right)}^{2}}$

Amount of f(z):

$|f\left(z\right)|$$=\frac{1}{\sqrt{{\left(x-\alpha \right)}^{2}-{\left(y-\beta \right)}^{2}}}$

Argument φ of f(z):

$\phi \left(f\left(z\right)\right)=\mathrm{atan}\frac{y-\beta }{\alpha -x}$

### Fractional linear function

$f\left(z\right)=\frac{z+a}{z+b}$

$\text{with}\phantom{\rule{1em}{0ex}}z\phantom{\rule{0.5em}{0ex}}\in \phantom{\rule{0.5em}{0ex}}\mathbb{C}\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}a=\alpha +i\beta \text{;}\phantom{\rule{1em}{0ex}}b=\gamma +i\delta$

Axes ranges

x-min=
x-max=
y-min=
y-max=

Parameter

α=
β=
γ=
δ= Real part of f(z):

$\mathfrak{Re}\left(f\left(z\right)\right)$$=\frac{\left(x+\alpha \right)\left(x+\gamma \right)+\left(y+\beta \right)\left(y+\delta \right)}{{\left(x+\gamma \right)}^{2}+{\left(y+\delta \right)}^{2}}$

Imaginary part of f(z):

$\mathfrak{Im}\left(f\left(z\right)\right)$$=\frac{\left(y+\beta \right)\left(x+\gamma \right)-\left(y+\delta \right)\left(x+\alpha \right)}{{\left(x+\gamma \right)}^{2}+{\left(y+\delta \right)}^{2}}$

$f\left(z\right)=\frac{1}{z-a}+\frac{1}{z-b}$

$\text{with}\phantom{\rule{1em}{0ex}}z\phantom{\rule{0.5em}{0ex}}\in \phantom{\rule{0.5em}{0ex}}\mathbb{C}\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}a=\alpha +i\beta \text{;}\phantom{\rule{1em}{0ex}}b=\gamma +i\delta$

Axes ranges

x-min=
x-max=
y-min=
y-max=

Parameter

α=
β=
γ=
δ= The function f is a composition of the previous f=f1+f2 and so the real and imaginary parts result from the addition of the individual functions f1 and f2.

Real part of f(z):

$\mathfrak{Re}\left({f}_{1}+{f}_{2}\right)=\mathfrak{Re}\left({f}_{1}\right)+\mathfrak{Re}\left({f}_{2}\right)$

Imaginary part of f(z):

$\mathfrak{Im}\left({f}_{1}+{f}_{2}\right)=\mathfrak{Im}\left({f}_{1}\right)+\mathfrak{Im}\left({f}_{2}\right)$

### Complex e-function

$f\left(z\right)={e}^{z}$

$\text{with}\phantom{\rule{1em}{0ex}}z\phantom{\rule{0.5em}{0ex}}\in \phantom{\rule{0.5em}{0ex}}\mathbb{C}\phantom{\rule{1em}{0ex}}$

Axes ranges

x-min=
x-max=
y-min=
y-max= Real part of f(z):

$\mathfrak{Re}\left(f\left(z\right)\right)={e}^{x}\mathrm{cos}y$

Imaginary part of f(z):

$\mathfrak{Im}\left(f\left(z\right)\right)={e}^{x}\mathrm{sin}y$

Amount of f(z):

$|f\left(z\right)|={e}^{x}$

Argument φ of f(z):

$\phi \left(f\left(z\right)\right)=y+2n\pi$

### exp(z) / (z-a)

$f\left(z\right)=\frac{{e}^{z}}{z-a}$

$\text{with}\phantom{\rule{1em}{0ex}}z\phantom{\rule{0.5em}{0ex}}\in \phantom{\rule{0.5em}{0ex}}\mathbb{C}\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}a=\alpha +i\beta$

Axes ranges

x-min=
x-max=
y-min=
y-max=

Parameter

α=
β= The function f is a product of two functions f=f1 * f2 and then the real and imaginary result follows:

Real part of f(z):

$\mathfrak{Re}\left({f}_{1}*{f}_{2}\right)=\mathfrak{Re}\left({f}_{1}\right)\mathfrak{Re}\left({f}_{2}\right)-\mathfrak{Im}\left({f}_{1}\right)\mathfrak{Im}\left({f}_{2}\right)$

Imaginary part of f(z):

$\mathfrak{Im}\left({f}_{1}*{f}_{2}\right)=\mathfrak{Re}\left({f}_{1}\right)\mathfrak{Im}\left({f}_{2}\right)+\mathfrak{Re}\left({f}_{2}\right)\mathfrak{Im}\left({f}_{1}\right)$

### exp(z)/(z-a) + (z+b)/(z+c)

$f\left(z\right)=\frac{{e}^{z}}{z-a}+\frac{z+b}{z+c}$

$\text{with}\phantom{\rule{1em}{0ex}}z\phantom{\rule{0.5em}{0ex}}\in \phantom{\rule{0.5em}{0ex}}\mathbb{C}\phantom{\rule{1em}{0ex}}\text{and}\phantom{\rule{1em}{0ex}}a=\alpha +i\beta \phantom{\rule{1em}{0ex}}\text{;}\phantom{\rule{1em}{0ex}}b=\gamma +i\delta \phantom{\rule{1em}{0ex}}\text{;}\phantom{\rule{1em}{0ex}}c=\epsilon +i\zeta$

Axes ranges

x-min=
x-max=
y-min=
y-max=

Parameter

α=
β=
γ=
δ=
ε=
ζ= The function f is a product of two functions f=f1 * f2 and then the real and imaginary result follows:

Real part of f(z):

$\mathfrak{Re}\left({f}_{1}*{f}_{2}\right)=\mathfrak{Re}\left({f}_{1}\right)\mathfrak{Re}\left({f}_{2}\right)-\mathfrak{Im}\left({f}_{1}\right)\mathfrak{Im}\left({f}_{2}\right)$

Imaginary part of f(z):

$\mathfrak{Im}\left({f}_{1}*{f}_{2}\right)=\mathfrak{Re}\left({f}_{1}\right)\mathfrak{Im}\left({f}_{2}\right)+\mathfrak{Re}\left({f}_{2}\right)\mathfrak{Im}\left({f}_{1}\right)$

The function f is also the sum of two functions f=f1+f2 and so the real- and imaginary part results from addition of f1 and f2.

Real part of f(z):

$\mathfrak{Re}\left({f}_{1}+{f}_{2}\right)=\mathfrak{Re}\left({f}_{1}\right)+\mathfrak{Re}\left({f}_{2}\right)$

Imaginary part of f(z):

$\mathfrak{Im}\left({f}_{1}+{f}_{2}\right)=\mathfrak{Im}\left({f}_{1}\right)+\mathfrak{Im}\left({f}_{2}\right)$

### Complex sine function

$f\left(z\right)=\mathrm{sin}z$

$\text{with}\phantom{\rule{1em}{0ex}}z\phantom{\rule{0.5em}{0ex}}\in \phantom{\rule{0.5em}{0ex}}\mathbb{C}\phantom{\rule{1em}{0ex}}$

Axes ranges

x-min=
x-max=
y-min=
y-max= Real part of f(z):

$\mathfrak{Re}\left(f\left(z\right)\right)=\mathrm{sin}x\mathrm{cosh}y$

Imaginary part of f(z):

$\mathfrak{Im}\left(f\left(z\right)\right)=\mathrm{cos}x\mathrm{sinh}y$

Amount of f(z):

$|f\left(z\right)|=\sqrt{{\mathrm{sin}}^{2}x+{\mathrm{sinh}}^{2}y}$

Argument φ of f(z):

$\phi \left(f\left(z\right)\right)=\mathrm{atan}\left(\mathrm{cot}x\mathrm{tanh}y\right)$

### x2 + i y2

$f\left(z\right)={x}^{2}+i{y}^{2}$

Axes ranges

x-min=
x-max=
y-min=
y-max= Real part of f(z):

$\mathfrak{Re}\left(f\left(z\right)\right)={x}^{2}$

Imaginary part of f(z):

$\mathfrak{Im}\left(f\left(z\right)\right)={y}^{2}$

Amount of f(z):

$|f\left(z\right)|=\sqrt{{x}^{2}+{y}^{2}}$

Argument φ of f(z):

$\phi \left(f\left(z\right)\right)=\mathrm{atan}\frac{{y}^{2}}{{x}^{2}}$

## General

The function theory investigates functions of complex variable functions so complex numbers whose values ​​range are also complex numbers. The complex numbers are an extension of the real numbers in the two-dimensional space. Many computational rules of real numbers can be applied to complex numbers. Was justified, the theory of complex functions mainly by Augustin-Louis Cauchy, Bernhard Riemann, and Karl Weierstrass.

## Domain Colouring

The color wheel method is a method to graphically represent complex functions. Complex functions represent the two-dimensional complex plane in turn, the real and imaginary values. The color circle method used amount r = |f(z)| and angle φ the complex function value f(z) aroand the display color of the function value set. According to r and φ the function value is selected the color from the color wheel. The amount defines the saturation and modulo is mapped to intervals . The first interval is 0 .. 1 then follow the intervals ( 1 .. e] , (e. .. e 2 ] , (e 2 ... e 3 ], etc. the color is defined by the angle and in 6 color zones starting with split blue from 0° to 60° and ending with green from 300° to 360°. the method is designed to that the function values ​​are close together are also displayed similar color. mapping the sums on intervals of the power of e corresponds to a logarithmic representation.

## Colour Wheel

A compilation of a color wheel can be put together from different points depending on which state of affairs is to be visualized. The basis for the color circle the perception of similar colors. Leaving subjects with normal color pattern according to the sensation on similarity sort, which hues are usually brought in the same order. Beginning and end of the series are aroand so similar that the series can be closed to form a circle. ## Gauss Plane

The complex numbers are two-dimensional and can be used as vectors in the Gaussian plane of numbers represent. On the horizontal axis (Re) of the real part and on the vertical axis is applied (Im) of the imaginary part of the complex number. Vectors may also be similar to either the complex number in Cartesian coordinates (x, y) or polar coordinates (r, φ) can be expressed. In the color circle method polar coordinates are used and the color wheel is placed on the manner interval Gaussian-number plane. 