,

The equation x2+1=0x^2+1=0 has no real solution because the square of a real number is non-negative. Complex numbers extend the number system by introducing a number ii satisfying i2=−1i^2=-1.

This does not replace real arithmetic. Every real number remains part of the larger system, while equations that previously had no solution may now have one or more complex solutions.

On this page

Read the standard form

A complex number has the form

z=a+bi,a,b∈ℝ,i2=−1.z=a+bi,\qquad a,b\in\mathbb R,\qquad i^2=-1.

The real part is Re(z)=a\operatorname{Re}(z)=a and the imaginary part is Im(z)=b\operatorname{Im}(z)=b. The imaginary part is a real coefficient; the term bibi is the imaginary term. For z=3−2iz=3-2i, the real part is 3 and the imaginary part is −2-2, not −2i-2i.

If b=0b=0, the number is real: −7=−7+0i-7=-7+0i. If a=0a=0 and b≠0b\ne0, it is non-zero purely imaginary, such as 4i4i. Zero is 0+0i0+0i and lies on both coordinate axes. The component formulas agree with the standard definitions of real and imaginary parts.

Two real coordinates describe one complex number

The real and imaginary components of three minus two iThe complex number three minus two i is plotted at the point three, negative two. Its horizontal component is three and its vertical component is negative two.z = 3 − 2i−4−4−3−3−2−2−1−111223344ReIm0(3, −2)Re(z) = 3; Im(z) = −2, not −2i.
Equal units are used on the real and imaginary axes.
Diagram explanation and exact data

The coefficient of i is the imaginary part. The vertical coordinate is therefore negative two. Complex addition changes these coordinates component by component.

Two real coordinates describe one complex number: exact reference data
Number Real part Imaginary part Point
3 − 2i 3 −2 (3, −2)

Interpret the imaginary unit without changing its rule

The letter ii denotes a fixed number, not an unknown to be solved for. From its defining equation,

i0=1,i1=i,i2=−1,i3=−i,i4=1.i^0=1,\quad i^1=i,\quad i^2=-1,\quad i^3=-i,\quad i^4=1.

The cycle repeats every four integer powers. Both ii and −i-i square to −1-1, but the notation ii chooses one of the two and fixes it consistently.

The term “imaginary” is conventional. It does not mean that algebraic rules are optional or that complex numbers can be replaced by arbitrary symbols. Their arithmetic is defined precisely, using ordinary distribution together with i2=−1i^2=-1.

Compare equality component by component

Two complex numbers are equal exactly when their real parts match and their imaginary parts match:

a+bi=c+di⇔a=c and b=d.a+bi=c+di\quad\Longleftrightarrow\quad a=c\text{ and }b=d.

To solve (2x+1)+(y−3)i=7−2i(2x+1)+(y-3)i=7-2i for real x,yx,y, compare components:

2x+1=7,y−3=−2.2x+1=7,\qquad y-3=-2.

Thus x=3x=3 and y=1y=1. Substitution reproduces 7−2i7-2i.

The requirement that the components be real ensures the representation is unique. Treating aa and bb themselves as unrestricted complex quantities would no longer provide unique “real” and “imaginary” parts.

Solve a quadratic beyond the real line

Consider

x2+4x+13=0.x^2+4x+13=0.

Complete the square to obtain (x+2)2=−9(x+2)^2=-9. The two complex numbers with square −9-9 are 3i3i and −3i-3i, so

x=−2+3iorx=−2−3i.x=-2+3i\quad\text{or}\quad x=-2-3i.

Both solutions are required. Their substitution is easiest in the completed-square form: (±3i)2+9=−9+9=0(\pm3i)^2+9=-9+9=0.

Over the real numbers, x2+1x^2+1 cannot be factored into real linear factors. Over the complex numbers,

x2+1=(x−i)(x+i).x^2+1=(x-i)(x+i).

Factoring therefore depends on the number system in which the factors are allowed. OpenStax’s complex-number lesson connects this extension to quadratic equations.

Separate a principal root from both solutions

For a positive real cc, the principal square root of −c-c is written ici\sqrt c. Thus

−20=2i5.\sqrt{-20}=2i\sqrt5.

The equation z2=−20z^2=-20, however, has two solutions z=±2i5z=\pm2i\sqrt5. The radical notation selects a value; solving the equation asks for every value that works.

Real radical rules do not extend unchanged to arbitrary complex inputs. For example,

−1−1=i2=−1,(−1)(−1)=1=1.\sqrt{-1}\sqrt{-1}=i^2=-1,\qquad\sqrt{(-1)(-1)}=\sqrt1=1.

Thus ab=ab\sqrt a\sqrt b=\sqrt{ab} cannot be used indiscriminately when negative or complex inputs occur. The familiar identity is safe for non-negative real a,ba,b.

Introduce conjugates and magnitude

The conjugate of z=a+biz=a+bi is z¯=a−bi\overline z=a-bi. Its modulus is

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

For z=3+4iz=3+4i, the conjugate is 3−4i3-4i and the modulus is 5. The identity zz¯=a2+b2z\overline z=a^2+b^2 turns a conjugate product into a non-negative real number. It will provide the denominator in complex division.

The modulus measures distance from zero. It does not declare that 3+4i3+4i equals 5, and equal moduli do not imply equal complex numbers. For example, 5, −5-5 and 5i5i all have modulus 5 but are distinct.

Know which real-number properties do not extend

Complex numbers retain addition, multiplication, distribution and non-zero division. There is no order on all complex numbers compatible with the real ordered-field rules. In such an order, a non-zero square would have to be positive; but i2=−1i^2=-1 would force a negative real number to be positive.

A comparison such as |z|<3|z|<3 is meaningful because moduli are real. An inequality such as z<3z<3 has no ordinary complex-number meaning without some separately defined comparison convention.

Practice questions

  1. State the real and imaginary parts of −4+7i-4+7i.
  2. Solve z2=−16z^2=-16 over the complex numbers.
  3. Find the conjugate and modulus of 3−4i3-4i.
Check your answers
  1. The real part is −4-4 and the imaginary part is 7. The imaginary term is 7i7i.
  2. The solutions are z=4iz=4i and z=−4iz=-4i, since both squares equal −16-16.
  3. The conjugate is 3+4i3+4i and the modulus is 32+(−4)2=5\sqrt{3^2+(-4)^2}=5.

Related topics

Operations with Complex Numbers develops calculations and checking methods. The Complex Plane interprets those operations as geometry.

Sources and further reading