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+ib
Where:
- z - Complex number;
- a,b -Real numbers;
- i - Imaginary unit, such that i2=β1β.
π The real part of z can be written as Re(z), while the imaginary part can be referred to as Im(z).
An imaginary number is a complex number whose real part is zero (Re(z)=0) and whose imaginary part is non-zero (Im(z)ξ =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:
β£zβ£=a2+b2β
The phase angle Ο of a complex number z is given by:
Ο=tanβ1(abβ)
The polar form of the complex number z is written as:
z=β£zβ£eiΟ
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 z1β=a+ib and z2β=c+id:
z1β+z2βz1ββz2ββ=(a+ib)+(c+id)=(a+c)+i(b+d)=(a+ib)β(c+id)=(aβc)+i(bβd)β
Multiplication and division
The multiplication and division of complex numbers may seem slightly more complex (pun unintended!). Consider two complex numbers z1β=a+ib and z2β=c+id. Their multiplication is given by:
z1ββ z2ββ=(aβ cβbβ d)+i(aβ d+bβ c)β
On the other hand, their division is given by:
z2βz1βββ=(c2+d2aβ c+bβ dβ)+i(c2+d2bβ cβaβ dβ)β
Power and natural log
Raising one complex number z1β=a+ib to the power of another complex number z2β=c+id requires you to use the polar form:
z1z2ββz1z2βββ=(β£z1ββ£β eiΟ1β)(c+id)=β£z1ββ£cβ eβΟ1ββ dβ ei(Ο1ββ c+dβ lnβ£z1ββ£)β
You can compute the natural logarithm of a complex number (also known as a complex natural log) using the formula:
ln(z1β)β=ln(β£z1ββ£β eiΟ1β)=ln(β£z1ββ£)+iΟ1ββ
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 (z1ββz2β).
- The calculator multiplies the imaginary numbers to give you their product.
- The calculator divides the complex number (z1β/z2β) to give you their quotient.
- It will raise the first complex number to the power of the second complex number z1z2ββ.
- Finally, it generates the natural logarithm of the first complex number 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:
- Find the magnitude of z = 5 + 7i, to get |z| = β(52+ 72) = 8.602.
- Compute the phase angle of z = 5 + 7i, to get Ο = tan-1(7/5) = 0.951 rad.
- 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.
- 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.