# Complex number calculator

Rectangular form:
z = -1

Angle notation (phasor):
z = 1 ∠ 180°

Polar form:
z = cos 180° + i sin 180°

Exponential form:
z = ei 3.1415927 = ei

Polar coordinates:
r = |z| = 1 ... magnitude (modulus, absolute value)
θ = arg z = 3.1415927 rad = 180° = π rad ... angle (argument or phase)

Cartesian coordinates:
Cartesian form of imaginary number: z = -1
Real part: x = Re z = -1
Imaginary part: y = Im z = 0

### Calculation steps

1. Exponentiation: i ^ 6 = 16 i2 = -1
This calculator does basic arithmetic on complex numbers and evaluates expressions in the set of complex numbers. As an imaginary unit, use i or j (in electrical engineering), which satisfies the basic equation i2 = −1 or j2 = −1. The calculator also converts a complex number into angle notation (phasor notation), exponential, or polar coordinates (magnitude and angle). Enter expression with complex numbers like 5*(1+i)(-2-5i)^2

Complex numbers in the angle notation or phasor (polar coordinates r, θ) may you write as rLθ where r is magnitude/amplitude/radius, and θ is the angle (phase) in degrees, for example, 5L65 which is the same as 5*cis(65°).
Example of multiplication of two imaginary numbers in the angle/polar/phasor notation: 10L45 * 3L90.

For use in education (for example, calculations of alternating currents at high school), you need a quick and precise complex number calculator.

## Basic operations with complex numbers

We hope that working with the complex number is quite easy because you can work with imaginary unit i as a variable. And use definition i2 = -1 to simplify complex expressions. Many operations are the same as operations with two-dimensional vectors.

Very simple, add up the real parts (without i) and add up the imaginary parts (with i):
This is equal to use rule: (a+bi)+(c+di) = (a+c) + (b+d)i

(1+i) + (6-5i) = 7-4i
12 + 6-5i = 18-5i
(10-5i) + (-5+5i) = 5

### Subtraction

Again very simple, subtract the real parts and subtract the imaginary parts (with i):
This is equal to use rule: (a+bi)+(c+di) = (a-c) + (b-d)i

(1+i) - (3-5i) = -2+6i
-1/2 - (6-5i) = -6.5+5i
(10-5i) - (-5+5i) = 15-10i

### Multiplication

To multiply two complex numbers, use distributive law, avoid binomials, and apply i2 = -1.
This is equal to use rule: (a+bi)(c+di) = (ac-bd) + (ad+bc)i

(1+i) (3+5i) = 1*3+1*5i+i*3+i*5i = 3+5i+3i-5 = -2+8i
-1/2 * (6-5i) = -3+2.5i
(10-5i) * (-5+5i) = -25+75i

### Division

The division of two complex numbers can be accomplished by multiplying the numerator and denominator by the denominator's complex conjugate. This approach avoids imaginary unit i from the denominator. If the denominator is c+di, to make it without i (or make it real), multiply with conjugate c-di:

(c+di)(c-di) = c2+d2

(10-5i) / (1+i) = 2.5-7.5i
-3 / (2-i) = -1.2-0.6i
6i / (4+3i) = 0.72+0.96i

### Absolute value or modulus

The absolute value or modulus is the distance of the image of a complex number from the origin in the plane. The calculator uses the Pythagorean theorem to find this distance. Very simple, see examples: |3+4i| = 5
|1-i| = 1.4142136
|6i| = 6
abs(2+5i) = 5.3851648

### Square root

Square root of complex number (a+bi) is z, if z2 = (a+bi). Here ends simplicity. Because of the fundamental theorem of algebra, you will always have two different square roots for a given number. If you want to find out the possible values, the easiest way is to go with De Moivre's formula. Our calculator is on edge because the square root is not a well-defined function on a complex number. We calculate all complex roots from any number - even in expressions:

sqrt(9i) = 2.1213203+2.1213203i
sqrt(10-6i) = 3.2910412-0.9115656i
pow(-32,1/5)/5 = -0.4
pow(1+2i,1/3)*sqrt(4) = 2.439233+0.9434225i
pow(-5i,1/8)*pow(8,1/3) = 2.3986959-0.4771303i

### Square, power, complex exponentiation

Our calculator can power any complex number to an integer (positive, negative), real, or even complex number. In other words, we calculate 'complex number to a complex power' or 'complex number raised to a power'...
Famous example:
i^2 = -1
i^61 = i
(6-2i)^6 = -22528-59904i
(6-i)^4.5 = 2486.1377428-2284.5557378i
(6-5i)^(-3+32i) = 2929449.0399425-9022199.5826224i
i^i = 0.2078795764
pow(1+i,3) = -2+2i

### Functions

sqrt
Square Root of a value or expression.
sin
the sine of a value or expression. Autodetect radians/degrees.
cos
the cosine of a value or expression. Autodetect radians/degrees.
tan
tangent of a value or expression. Autodetect radians/degrees.
exp
e (the Euler Constant) raised to the power of a value or expression
pow
Power one complex number to another integer/real/complex number
ln
The natural logarithm of a value or expression
log
The base-10 logarithm of a value or expression
abs or |1+i|
The absolute value of a value or expression
phase
Phase (angle) of a complex number
cis
is less known notation: cis(x) = cos(x)+ i sin(x); example: cis (pi/2) + 3 = 3+i
conj
conjugate of complex number - example: conj(4i+5) = 5-4i

## Complex numbers in word problems:

 "SELECT tblExamples.example_id, thumb , title_en AS title, preview_en AS preview , LENGTH(tblExampleSearch.tags) AS cnt_tags FROM tblExamples INNER JOIN tblExampleSearch ON tblExamples.example_id=tblExampleSearch.example_id AND tblExampleSearch.ok_en=1 WHERE visible=1 AND approved=1 AND title_en<>'' AND MATCH (fulltext_en) AGAINST ('+complex +numbers' IN BOOLEAN MODE) ORDER BY cnt_tags,(tblExamples.example_id MOD '12') LIMIT 0, 11 fetchAll QUERY Time: 2 milisec"

array[11]
0=>
array[5]
"example_id"=>
 "53701"
"thumb"=>
 "thumb/71/t_38871.jpg;40;40"
"title"=>
 "ReIm notation"
"preview"=>
 "Let z = 6 + 5i and w = 3 - i. Compute the following and express your answer in a + bi form. w + 3z"
"cnt_tags"=>
 "4"
1=>
array[5]
"example_id"=>
 "5660"
"thumb"=>
 "thumb/60/t_5660.jpg;40;41"
"title"=>
 "Complex number coordinates"
"preview"=>
 "Which coordinates show the location of -2+3i"
"cnt_tags"=>
 "4"
2=>
array[5]
"example_id"=>
 "54201"
"thumb"=>
 "thumb/71/t_38871.jpg;40;40"
"title"=>
 "Evaluate 18"
"preview"=>
 "Evaluate the expression (-4-7i)-(-6-9i) and write the result in the form a+bi (Real + i* Imaginary)."
"cnt_tags"=>
 "4"
3=>
array[5]
"example_id"=>
 "2347"
"thumb"=>
 "thumb/83/t_4083.jpg;40;41"
"title"=>
 "Is complex"
"preview"=>
 "Are these numbers 2i, 4i, 2i + 1, 8i, 2i + 3, 4 + 7i, 8i, 8i + 4, 5i, 6i, 3i complex?"
"cnt_tags"=>
 "5"
4=>
array[5]
"example_id"=>
 "721"
"thumb"=>
 "thumb/60/t_5660.jpg;40;41"
"title"=>
 "Reciprocal"
"preview"=>
 "Calculate reciprocal of z=0.8-1.8i:"
"cnt_tags"=>
 "6"
5=>
array[5]
"example_id"=>
 "56921"
"thumb"=>
 "thumb/21/t_56921.jpg;40;27"
"title"=>
 "Complex plane mapping"
"preview"=>
 "Show that the mapping w = z +c/z, where z = x+iy, w = u+iv and c is a real number, maps the circle |z| = 1 in the z-plane into an ellipse in the (u, v) plane."
"cnt_tags"=>
 "6"
6=>
array[5]
"example_id"=>
 "2213"
"thumb"=>
 "thumb/13/t_2213.jpg;40;56"
"title"=>
 "Imaginary numbers"
"preview"=>
 "Find two imaginary numbers whose sum is a real number. How are the two imaginary numbers related? What is its sum?"
"cnt_tags"=>
 "6"
7=>
array[5]
"example_id"=>
 "51511"
"thumb"=>
 "thumb/11/t_51511.jpg;40;26"
"title"=>
 "Subtracting complex in polar"
"preview"=>
 "Given w =√2(cosine (p/4) + i sine (pi/4) ) and z = 2 (cosine (pi/2) + i sine (pi/2) ), what is w - z expressed in polar form?"
"cnt_tags"=>
 "6"
8=>
array[5]
"example_id"=>
 "3703"
"thumb"=>
 "thumb/2/t_4102.jpg;40;40"
"title"=>
 "Linear imaginary equation"
"preview"=>
 "Given that 2(z+i)=i(z+i) "this is z star" Find the value of the complex number z."
"cnt_tags"=>
 "6"
9=>
array[5]
"example_id"=>
 "53251"
"thumb"=>
 "thumb/1/t_42201.jpg;40;16"
"title"=>
 "Eq2 equations"
"preview"=>
 "For each of the following problems, determine the roots of the equation. Given the roots, sketch the graph and explain how your sketch matches the roots given and the form of the equation: g(x)=36x2-12x+5 h(x)=x2-4x+20 f(x)=4x2<"
"cnt_tags"=>
 "6"
10=>
array[5]
"example_id"=>
 "727"
"thumb"=>
 "thumb/27/t_727.jpg;40;38"
"title"=>
 "Im>0?"
"preview"=>
 "Is -10i a positive number?"
"cnt_tags"=>
 "6"