Free Complex Number Calculator
z₁
z₂
Formulas
Addition: (a+bi) + (c+di) = (a+c) + (b+d)iSubtraction: (a+bi) − (c+di) = (a−c) + (b−d)iMultiplication: (a+bi) × (c+di) = (ac−bd) + (ad+bc)iDivision: (a+bi) ÷ (c+di) = (ac+bd)/(c²+d²) + (bc−ad)/(c²+d²)iMagnitude: |z| = √(a² + b²)Phase: φ = arctan(b/a)(3+4i) + (1+2i) = 4 + 6i
Enter real and imaginary parts, select operation, and click Calculate
This complete tool serves as both a complex number calculator and an imaginary number calculator, enabling users to handle a wide variety of tasks — from adding and multiplying complex numbers to converting them into polar form and performing advanced algebraic operations. Whether you need to evaluate the sum of two imaginary numbers, multiply complex numbers, or explore the polar representation of a complex value, this calculator streamlines the process and promotes a deeper understanding of complex number algebra.
Understanding Complex Numbers
To define a complex number, we first recognize the imaginary unit , the fundamental building block for which . A complex number is then formed by combining a real part and an imaginary part , conventionally written as:
Here both and are real numbers. If the number is purely real; if it is purely imaginary. The tool handles both extremes without extra steps — simply set the missing component to zero.
In notation we often use and to refer to the two parts. The conjugate of a complex number, defined as , leaves the real part unchanged while reversing the sign of the imaginary part. The conjugate plays a critical role in division and in simplifying expressions.
Polar Form and the Complex Plane
A complex number can be visualized as a point (or vector) on a two‑dimensional complex plane, where the horizontal axis represents the real part and the vertical axis the imaginary part. This geometric view leads naturally to the polar (or trigonometric) form.
The distance from the origin to the point is the modulus (absolute value):
The angle measured from the positive real axis, known as the argument or phase (sometimes written ), is determined by:
The quadrant must be considered when computing . With these quantities the polar representation becomes:
Using Euler’s formula we can write it more compactly as:
Because of periodicity, for any integer . The polar form greatly simplifies multiplication, division, and exponentiation of complex numbers.
Basic Operations: Addition and Subtraction
When adding or subtracting complex numbers, treat them as vectors and combine the corresponding components:
This component‑wise approach is identical to vector addition in a plane.
Multiplication and Division
Algebraic Method
For multiplication in the form :
Since , this reduces to:
Thus the real part is and the imaginary part is .
Division requires multiplying numerator and denominator by the conjugate of the denominator:
so the result is:
Division is defined only when .
Polar Method
If we write the numbers in polar form, and , then multiplication becomes:
and division:
The polar approach is often more intuitive: moduli multiply (or divide) and arguments add (or subtract).
Complex Power and Complex Logarithm
Raising a complex number to a complex exponent, with and , can be tackled by rewriting the expression using exponentials and logarithms:
Hence the magnitude is and the argument is .
The logarithm of a complex number is multivalued because the argument is defined only up to multiples of :
Using This Calculator
Input the real and imaginary parts of two complex numbers. If a value is purely real or purely imaginary, set the corresponding missing component to zero. The tool instantly returns the sum, difference, product, quotient, polar form (modulus and argument), the first number raised to the power of the second, and the natural logarithm of the first number. All results are presented in both algebraic and polar forms where applicable.
Key Properties of Complex Numbers
- and
- Triangle inequality:
- and (for )
- If , then both and .
Applications in the Real World
Complex numbers are invaluable in physics, especially in wave mechanics, harmonic oscillators, and alternating‑current electronics. They simplify the analysis of impedance, phase shifts, and resonant circuits. The same algebraic machinery is also widely used in signal processing and control theory, making the ability to quickly compute complex operations essential for students and professionals alike.
FAQ
1. How do I add two complex numbers?
Add the real parts and the imaginary parts separately: (a+bi)+(c+di) = (a+c)+(b+d)i. The calculator does this instantly for any input.
2. What is the polar form of a complex number?
A complex number in polar form is written as z = |z|(cos φ + i sin φ) or equivalently as |z| e^{iφ}, where |z| is the modulus and φ is the argument (angle).
3. How is the complex conjugate used in division?
To divide (a+bi)/(c+di), multiply numerator and denominator by the conjugate c−di. This eliminates the imaginary part in the denominator and yields a real denominator c²+d².
4. Can this calculator handle purely real or purely imaginary numbers?
Yes. Simply set the missing part to zero. For example, a purely real number is entered with b=0; a purely imaginary number has a=0.
5. Where are complex numbers used in everyday applications?
Complex numbers are widely applied in electrical engineering (impedance, AC circuit analysis), physics (wave functions, harmonic motion), and signal processing. They simplify calculations that would otherwise require trigonometric identities.
How to Use
- Enter the real and imaginary parts of both complex numbers in the fields below. The first number is z₁ = a + bi and the second is z₂ = c + di.
- Select the operation (Add, Subtract, Multiply, or Divide) from the dropdown menu and choose the decimal precision.
- Click Calculate to see the result in algebraic form, as well as the magnitude, phase angle in degrees and radians, and the complex conjugate.