a+bi Form Calculator
Convert complex numbers between rectangular (a+bi), polar, exponential, and trigonometric forms with magnitude, phase angle, and conjugate calculations.
Understanding the $a + bi$ Standard Form of Complex Numbers
In algebra and mathematics, any complex number $z$ can be represented in standard rectangular (Cartesian) form as: $$z = a + bi$$ where $a = \text{Re}(z)$ represents the real part, $b = \text{Im}(z)$ represents the imaginary part, and $i$ is the imaginary unit defined by $i^2 = -1$.
On the complex plane (Argand diagram), the real part $a$ corresponds to the horizontal axis (Re), and the imaginary part $b$ corresponds to the vertical axis (Im). Every complex number is a unique 2D coordinate point $(a, b)$ or a vector originating from $(0, 0)$.
How to Convert Polar Form to $a + bi$ Form
When a complex number is given in polar coordinates $(r, \varphi)$ or exponential form $r \cdot e^{i\varphi}$, where $r \ge 0$ is the magnitude (modulus) and $\varphi$ is the argument (phase angle):
- Calculate the Real Part ($a$): $$a = r \cdot \cos(\varphi)$$
- Calculate the Imaginary Part ($b$): $$b = r \cdot \sin(\varphi)$$
- Combine into Rectangular Form: $$z = a + bi = r(\cos\varphi + i\sin\varphi)$$
How to Convert $a + bi$ Form to Polar Coordinates
Given a complex number $z = a + bi$:
- Modulus / Magnitude ($r$ or $|z|$): The Euclidean distance from the origin to the point $(a, b)$: $$r = |z| = \sqrt{a^2 + b^2}$$
- Argument / Phase Angle ($\varphi$): The counterclockwise angle from the positive real axis: $$\varphi = \text{atan2}(b, a) = \begin{cases} \arctan(b/a) & \text{if } a > 0 \\ \arctan(b/a) + \pi & \text{if } a < 0 \text{ and } b \ge 0 \\ \arctan(b/a) - \pi & \text{if } a < 0 \text{ and } b < 0 \\ +\pi/2 & \text{if } a = 0 \text{ and } b > 0 \\ -\pi/2 & \text{if } a = 0 \text{ and } b < 0 \\ \text{undefined} & \text{if } a = 0 \text{ and } b = 0 \end{cases}$$
Additional Complex Number Operations
This calculator also provides key derived complex quantities:
- Complex Conjugate ($\bar{z}$): Reflects the number across the real axis: $\bar{z} = a - bi$.
- Reciprocal ($1/z$): $\frac{1}{z} = \frac{a - bi}{a^2 + b^2} = \frac{\bar{z}}{|z|^2}$ (for $z \neq 0$).
- Square ($z^2$): $z^2 = (a^2 - b^2) + 2abi$.
- Exponential Form: Expressed via Euler's formula as $r \cdot e^{i\varphi}$.
Explore related tools: check out our Expanded Form Calculator, calculate with the ABI Calculator, or use the AGI.
Frequently Asked Questions
What is the a+bi form of a complex number?
The a+bi form (also known as standard or rectangular form) writes a complex number as the sum of a real number 'a' and an imaginary number 'bi', where 'i' represents the square root of -1.
How do you convert exponential form e^(i*theta) into a+bi?
According to Euler's formula, e^(i*theta) = cos(theta) + i*sin(theta). Multiply by the modulus 'r' to obtain a = r*cos(theta) and b = r*sin(theta).
What is the complex conjugate of a+bi?
The complex conjugate of z = a + bi is z̄ = a - bi. It has the same real part and an equal but opposite imaginary part.
Can a real number be written in a+bi form?
Yes. Any real number x can be written in a+bi form with b = 0, such as 5 = 5 + 0i. Similarly, a purely imaginary number like 7i has a = 0 (0 + 7i).