Omni Calculator logo

Our imaginary number calculator is here to help you perform various arithmetic operations on two complex numbers. Are you looking for a simple calculator to add imaginary numbers? Or maybe you're for something more advanced, say, finding the natural logarithm of a complex number. Well, you've come to the perfect imaginary calculator!

Here's a list of operations with complex numbers this calculator can handle:

  • Adding and subtracting two imaginary numbers;
  • Multiply or divide two complex numbers;
  • Raise the first complex number to the power of the second complex number;
  • Find the natural log of the first complex number; and
  • Find the magnitude and phase of complex numbers.

Before you head off to have fun with our imaginary number calculator, go through the article below to understand what complex numbers are and how to calculate these operations with complex numbers.

What are complex numbers?

Complex numbers are numbers with a real part and an imaginary part. They're of the form:

z=a+ibz = a + ib

Where:

  • zz - Complex number;
  • a,ba,b -Real numbers;
  • ii - Imaginary unit, such that i2=1i^2 = \sqrt{-1}.

🔎 The real part of zz can be written as Re(z)\text{Re}(z), while the imaginary part can be referred to as Im(z)\text{Im}(z).

An imaginary number is a complex number whose real part is zero (Re(z)=0)(\text{Re}(z)=0) and whose imaginary part is non-zero (Im(z)0)(\text{Im}(z)\neq 0).

Polar form of complex numbers

Apart from the Cartesian form z=a+ibz = a + ib, we can express a complex number in the polar form, using its magnitude and phase angle.

A complex number on the Cartesian complex plane.
A complex number on the Cartesian complex plane.

The magnitude z|z| (or the absolute value) of a complex number zz is given by:

z=a2+b2|z| = \sqrt{a^2 + b^2}

The phase angle φ\varphi of a complex number zz is given by:

φ=tan1(ba)\varphi = \tan^{-1}\left( \frac{b}{a}\right)

The polar form of the complex number zz is written as:

z=zeiφz = |z| e^{i \varphi}

Where ee is the Euler's number.

Calculating some operations with complex numbers

Let's briefly discuss how various arithmetic operations are performed on complex numbers. Bear in mind that these operations are valid for purely imaginary numbers too!

Addition and Subtraction

The addition and subtraction of two complex numbers are pretty straightforward. Say we have two complex numbers z1=a+ibz_1 = a + ib and z2=c+idz_2 = c + id:

z1+z2=(a+ib)+(c+id)=(a+c)+i(b+d)z1z2=(a+ib)(c+id)=(ac)+i(bd)\small \begin{align*} z_1 + z_2 &= (a + ib) + (c + id)\\ &= (a+c) + i(b+d)\\ z_1 - z_2 &= (a + ib) - (c + id)\\ &= (a-c) + i(b-d) \end{align*}

Multiplication and division

The multiplication and division of complex numbers may seem slightly more complex (pun unintended!). Consider two complex numbers z1=a+ibz_1 = a + ib and z2=c+idz_2 = c + id. Their multiplication is given by:

z1z2=(acbd)+i(ad+bc)\begin{align*} z_1 \cdot z_2 &= (a \cdot c - b \cdot d)\\ &+ i (a \cdot d + b \cdot c) \end{align*}

On the other hand, their division is given by:

z1z2=(ac+bdc2+d2)+i(bcadc2+d2)\begin{align*} \frac{z_1}{z_2} &= \left(\frac{a \cdot c + b \cdot d}{c^2 + d^2}\right)\\ &+ i \left(\frac{b \cdot c - a \cdot d}{c^2 + d^2}\right) \end{align*}

Power and natural log

Raising one complex number z1=a+ibz_1= a + ib to the power of another complex number z2=c+idz_2 = c + id requires you to use the polar form:

z1z2=(z1eiφ1)(c+id)z1z2=z1ceφ1dei(φ1c+dlnz1)\small \begin{align*} z_1^{z_2} &= (|z_1| \cdot e^{i \varphi_1})^{(c+id)}\\[0.5em] z_1^{z_2} &=|z_1|^c \cdot e^{-\varphi_1 \cdot d} \cdot e^{i(\varphi_1 \cdot c + d \cdot \ln|z_1|)} \end{align*}

You can compute the natural logarithm of a complex number (also known as a complex natural log) using the formula:

ln(z1)=ln(z1eiφ1)=ln(z1)+iφ1\begin{align*} \ln(z_1) &= \ln(|z_1| \cdot e^{i \varphi_1})\\ &= \ln(|z_1|) + i\varphi_1 \end{align*}

Using this imaginary number calculator

Our imaginary number calculator is simple to use:

  1. Enter the real and imaginary parts of the a complex number. The imaginary number calculator will immediately tell you this:
    1. Magnitude; and
    2. Phase angle.
  2. Enter a second complex number in a similar manner, and the calculator will do the following
    1. The calculator adds the imaginary numbers to give you their sum. Similarly, it'll also generate the difference between the two complex numbers (z1z2)(z_1-z_2).
    2. The calculator multiplies the imaginary numbers to give you their product.
    3. The calculator divides the complex number (z1/z2)(z_1/z_2) to give you their quotient.
    4. It will raise the first complex number to the power of the second complex number z1z2z_1^{z_2}.
    5. Finally, it generates the natural logarithm of the first complex number ln(z1)\ln(z_1).

FAQ

What is the natural log of z = 5 + 7i?

The natural log of the complex number z = 5 + 7i is 2.152 + 0.951i. To arrive at this answer, follow these steps:

  1. Find the magnitude of z = 5 + 7i, to get |z| = √(52+ 72) = 8.602.
  2. Compute the phase angle of z = 5 + 7i, to get ϕ = tan-1(7/5) = 0.951 rad.
  3. Use the complex natural log formula ln(z) = ln|z| + iϕ to get ln(5+7i) = ln|8.602| + i0.951 = 2.152 + 0.951i.
  4. You can verify your result with our imaginary number calculator.

Is zero a real number or a complex number?

Zero is considered both a real and a complex number. This is because we can express it as 0 = 0 + 0i. Technically, we can express any real number a in the complex form, a = a + 0i.

Krishna Nelaturu
First number: z₁ = a + bi
Real part (a)
Imaginary part (b)
Magnitude |z₁|
Phase (φ₁)
deg
Second number: z₂ = c + di
Real part (c)
Imaginary part (d)
Magnitude |z₂|
Phase (φ₂)
deg
Check out 40 similar algebra calculators 🔡
Absolute value equationAbsolute value inequalitiesAdding and subtracting polynomials… 37 more
People also viewed…

Least common factor

Our least common factor calculator will help you find the smallest multiple common to a set of numbers.

Podcasts

Do you feel like you could be doing something more productive or educational while on a bus? Or while cleaning the house? Well, why don't you dive into the rich world of podcasts! With this podcast calculator, we'll work out just how many great interviews or fascinating stories you can go through by reclaiming your 'dead time'!

Test grade

With this test grade calculator, you'll quickly determine the test percentage score and grade.

Union and intersection

The union and intersection calculator is here to find the union and intersection of up to three sets: either in interval notation or by inputting individual elements.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service