Complex Functions
Calculator and plotting tool for functions with complex numbers. You can enter a function term and a regular sequence of input values. The input values can be real or purely imaginary, for example 1 to 10 or i to 10i. The results are displayed in a table and plotted in the complex plane. ↓ Further instructions ↓
The permitted characters in the function term are digits, with a period or comma as the decimal separator, the arithmetic operators + - * / and ^ for exponentiation, and parentheses (). The function variable is x. The * can be omitted, so 2x can be used instead of 2*x. The permitted constants are i for the imaginary unit, as well as e and pi.
The permitted functions are sqrt() for the square root, log() or ln() for the natural logarithm, and log10() for the common logarithm. The general logarithm is written as logn(), with two arguments separated by #. The first argument is the base, for example logn(2#x) for the binary logarithm. The available trigonometric functions are sin(), cos(), tan(), asin(), acos() and atan(), and the hyperbolic functions are sinh(), cosh(), tanh(), asinh(), acosh() and atanh(). Special functions for complex numbers are im() and re() for the imaginary and real parts, abs() for the absolute value, arg() for the argument, and conj() for the complex conjugate.
Animation speed determines how quickly the points are plotted. If it is set to zero, the plot is drawn immediately without delay. Point size determines the radius of the individual calculated points plotted in the complex plane. The first point is a blue square, the last is a red triangle, and the points in between are beige circles. When selected, Function term displays the expression in the upper-left corner of the plot. Show x-values at points displays the x-values at the starting point, the endpoint and every fifth intermediate point. These labeled intermediate points are marked.
If Keep points is unchecked, only the most recent point is displayed. Otherwise, all points are shown. Connect points draws lines between consecutive calculated points. Lines from origin draws straight lines from the origin towards each point. If Labels is unchecked, the axes, gridlines and values are not drawn. Different combinations of these settings can produce various interesting patterns in the plot.
For functions with multiple mathematically possible values, the principal value is always used. This applies in particular to the complex logarithm and the inverse trigonometric and hyperbolic functions. For complex numbers, the principal value is a uniquely specified value among the possible results. For example, arg(z) returns the principal value of the argument between −π and π.
The principal square root is used for sqrt(). The usual principal-value conventions for complex functions apply to the inverse functions asin(), acos(), atan(), asinh(), acosh() and atanh(). Thus, a single value is returned in each case, rather than the set of all mathematically possible solutions.
Example plots the function (sin(x^2)+i*log(x+2))/(1+0.2*x)*e^(i*x) as an animation. This function combines various mathematical expressions and is well suited as an example for this program. The term sin(x^2) produces oscillations with increasing frequency, while the imaginary component i*log(x+2) grows slowly. The denominator 1+0.2*x dampens the function values as x increases. The factor e^(i*x), which can be written as cos(x)+i*sin(x) using Euler's formula, additionally rotates the values in the complex plane. This creates a varied curve in which oscillations, damping and rotation can all be observed at once. It is also interesting to see the effect of using purely imaginary values instead of real values for the range from to.
Zuletzt aktualisiert am 23.10.2026. Autor: Jürgen Kummer
German: Komplexe Funktionen
Rechneronline | Impressum & Datenschutz | © Jumk.de Webprojekte
Alle Angaben ohne Gewähr | ↑ nach oben ↑
Abgerufen am 09.11.2026 von https://rechneronline.de/complex-functions/