# Complex numbers

A number with two components.
Written as a+bi where a is the real part and b is the imaginary part.

Recall that real numbers are those that lie on a number line. Complex numbers extend this idea to numbers that lie on a two dimensional flat plane. Complex numbers have two components called the real and imaginary parts written like this: where i is the square root of -1.

## They can be plotted on a 2-dimensional plane

If we plot the real part along the horizontal x axis, and the imaginary part along the vertical y axis, each complex number occupies one unique spot on the plane. In the figure below, as you drag the orange point around, you can see what complex number corresponds to that location.

## What are they used for?

They are used in many engineering disciplines, for example for solving equations that describe complex electrical circuits. Because the letter i is used to mean current in electrical engineering, it is often replaced with the letter j instead.
While you are here..

... I have a small favor to ask. Over the years we have used advertising to support the site so it can remain free for everyone. However, advertising revenue is falling and I have always hated the ads. So, would you go to Patreon and become a patron of the site? When we reach the goal I will remove all advertising from the site.

It only takes a minute and any amount would be greatly appreciated. Thank you for considering it!   – John Page

Become a patron of the site at   patreon.com/mathopenref