Imaginary Number Calculator (2024)

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 + ibz=a+ib

Where:

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

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

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

Polar form of complex numbers

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

Imaginary Number Calculator (1)

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

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

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

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

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

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

Where eee 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 + ibz1=a+ib and z2=c+idz_2 = c + idz2=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*}z1+z2z1z2=(a+ib)+(c+id)=(a+c)+i(b+d)=(a+ib)(c+id)=(ac)+i(bd)

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 + ibz1=a+ib and z2=c+idz_2 = c + idz2=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*}z1z2=(acbd)+i(ad+bc)

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*}z2z1=(c2+d2ac+bd)+i(c2+d2bcad)

Power and natural log

Raising one complex number z1=a+ibz_1= a + ibz1=a+ib to the power of another complex number z2=c+idz_2 = c + idz2=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*}z1z2z1z2=(z1eiφ1)(c+id)=z1ceφ1dei(φ1c+dlnz1)

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*}ln(z1)=ln(z1eiφ1)=ln(z1)+iφ1

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)(z1z2).
    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)(z1/z2) 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}z1z2.
    5. Finally, it generates the natural logarithm of the first complex number ln(z1)\ln(z_1)ln(z1).

Check out our tools that deal with similar calculations on complex numbers:

  • Complex number calculator;
  • a+bi form calculator;
  • Divide complex numbers calculator;
  • Multiply complex numbers calculator;
  • Complex number to polar form calculator;
  • Complex number to trigonometric form calculator;
  • Complex number to rectangular form calculator;
  • i calculator; and
  • Polar form calculator.

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.

Imaginary Number Calculator (2024)
Top Articles
Latest Posts
Article information

Author: Horacio Brakus JD

Last Updated:

Views: 6199

Rating: 4 / 5 (51 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Horacio Brakus JD

Birthday: 1999-08-21

Address: Apt. 524 43384 Minnie Prairie, South Edda, MA 62804

Phone: +5931039998219

Job: Sales Strategist

Hobby: Sculling, Kitesurfing, Orienteering, Painting, Computer programming, Creative writing, Scuba diving

Introduction: My name is Horacio Brakus JD, I am a lively, splendid, jolly, vivacious, vast, cheerful, agreeable person who loves writing and wants to share my knowledge and understanding with you.