# Imaginary Number Calculator

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:

Where:

- $z$ - Complex number;
- $a,b$ -Real numbers;
- $i$ - Imaginary unit, such that $i^2 = \sqrt{-1}$.

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

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

## Polar form of complex numbers

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

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

The phase angle $\varphi$ of a complex number $z$ is given by:

The polar form of the complex number $z$ is written as:

Where $e$ 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 $z_1 = a + ib$ and $z_2 = c + id$:

### Multiplication and division

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

On the other hand, their division is given by:

### Power and natural log

Raising one complex number $z_1= a + ib$ to the power of another complex number $z_2 = c + id$ requires you to use the polar form:

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

## Using this imaginary number calculator

Our imaginary number calculator is simple to use:

- Enter the
**real**and**imaginary**parts of the a complex number. The imaginary number calculator will immediately tell you this:**Magnitude**; and**Phase angle**.

- Enter a second complex number in a similar manner, and the calculator will do the following
- The calculator
**adds**the imaginary numbers to give you their**sum**. Similarly, it'll also generate the**difference**between the two complex numbers $(z_1-z_2)$. - The calculator
**multiplies**the imaginary numbers to give you their**product**. - The calculator
**divides**the complex number $(z_1/z_2)$ to give you their**quotient**. - It will
**raise**the first complex number to the power of the second complex number $z_1^{z_2}$. - Finally, it generates the
**natural logarithm**of the first complex number $\ln(z_1)$.

- The calculator

## Other tools similar to this imaginary calculator

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

## FAQ

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

The natural log of the complex number **z = 5 + 7 i** is

**2.152 + 0.951**. To arrive at this answer, follow these steps:

*i*- Find the magnitude of
**z = 5 + 7**, to get*i***|z| = √(5**.^{2}+ 7^{2}) = 8.602 - Compute the phase angle of
**z = 5 + 7**, to get*i***ϕ = tan**.^{-1}(7/5) = 0.951 rad - Use the complex natural log formula
**ln(z) = ln|z| +**to get*i*ϕ**ln(5+7***i*) = ln|8.602| +*i*0.951 = 2.152 + 0.951*i*. - 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 + 0 i**. Technically, we can express any real number

**a**in the complex form,

**a = a + 0**.

*i*