We've updated our
Privacy Policy effective December 15. Please read our updated Privacy Policy and tap

Study Guides > Boundless Algebra

Complex Numbers

Introduction to Complex Numbers

A complex number has the form a+bia+bi, where aa and bb are real numbers and ii is the imaginary unit.

Learning Objectives

Describe the properties of complex numbers and the complex plane

Key Takeaways

Key Points

  • A complex number is a number that can be expressed in the form a+bia+bi, where aa and bb are real numbers and ii is the imaginary unit.
  • The real number aa is called the real part of the complex number z=a+biz=a+bi and is denoted Re{a+bi}=a\text{Re}\{a+bi\}=a. The real number bb is called the imaginary part of z=a+biz=a+bi and is denoted Im{a+bi}=b\text{Im}\{a+bi\}=b.

Key Terms

  • real number: An element of the set of real numbers. The set of real numbers include the rational numbers and the irrational numbers, but not all complex numbers.
  • imaginary number: a number of the form aiai, where aa is a real number and ii the imaginary unit
  • complex: a number, of the form a+bia+bi, where aa and bb are real numbers and ii is the square root of 1-1.

The Complex Number System

A complex number is a number that can be put in the form a+bia+bi where aa and bb are real numbers and ii is called the imaginary unit, where i2=1i^2=-1. In this expression, aa is called the real part and bb the imaginary part of the complex number. We will write Re{a+bi}=a\text{Re}\{a+bi\}=a to indicate the real part of the complex number, and Im{a+bi}=b\text{Im}\{a+bi\}=b to indicate the imaginary part. For example, to indicate that the real part of the number 2+3i2+3i is 22, we would write Re{2+3i}=2\text{Re}\{2+3i\}=2. To indicate that the imaginary part of 45i4-5i is 5-5, we would write Im{45i}=5\text{Im}\{4-5i\} = -5. Complex numbers extend the idea of the one-dimensional number line to the two-dimensional complex plane by using the horizontal axis for the real part and the vertical axis for the imaginary part. The complex number a+bia+bi can be identified with the point (a,b)(a,b). Thus, for example, complex number 2+3i-2+3i would be associated with the point (2,3)(-2,3) and would be plotted in the complex plane as shown below.
image The complex point 2+3i-2+3i: The complex number 2+3i-2+3i is plotted in the complex plane, 22 to the left on the real axis, and 33 up on the imaginary axis.
A complex number whose real part is zero is said to be purely imaginary, whereas a complex number whose imaginary part is zero is a real number. In this way, the set of ordinary real numbers can be thought of as a subset of the set of complex numbers. It is beneficial to think of the set of complex numbers as an extension of the set of real numbers. This extension makes it possible to solve certain problems that can't be solved within the realm of the set of real numbers. Complex numbers are used in many scientific fields, including engineering, electromagnetism, quantum physics, and applied mathematics, such as chaos theory. Complex numbers allow for solutions to certain equations that have no real number solutions. For example, the equation: (x+1)2=9(x + 1)^2 = -9 has no solution if we restrict ourselves to the real numbers, since the square of a real number is never negative. However, we can see that the complex numbers 1+3i1+3i and 13i1-3i are solutions, since (1+3i1)2=(3i)2=9i2=9\begin{align}\left(1+3i-1\right)^2&=(3i)^2\\&=9i^2\\&=-9\end{align} and (13i1)2=(3i)2=9i2=9\begin{align} \left(1-3i-1\right)^2 &=(-3i)^2 \\& =9i^2\\&=-9 \end{align} It turns out that if we allow xx to be a complex number, then any polynomial equation in xx of degree nn will have nn (not necessarily unique) solutions.

Addition and Subtraction of Complex Numbers

Complex numbers can be added and subtracted by adding the real parts and imaginary parts separately.

Learning Objectives

Calculate the sums and differences of complex numbers by adding the real parts and the imaginary parts separately

Key Takeaways

Key Points

  • Complex numbers can be added and subtracted to produce other complex numbers. This is done by adding the corresponding real parts and the corresponding imaginary parts.
  • It is possible for two non-real complex numbers to add to a real number. However, two real numbers can never add to be a non-real complex number.

Sums of Complex Numbers

Complex numbers can be added and subtracted to produce other complex numbers. This is done by adding the corresponding real parts and the corresponding imaginary parts. For example, the sum of 2+3i2+3i and 5+6i5+6i can be calculated by adding the two real parts (2+5)(2+5) and the two imaginary parts (3+6)(3+6) to produce the complex number 7+9i7+9i. Note that this is always possible since the real and imaginary parts are real numbers, and real number addition is defined and understood. As another example, consider the sum of 13i1-3i and 4+2i4+2i. In this case, we would add 11 and 44 to produce 55 and also would add 3-3 and 22 to produce 1-1. Thus we would write: (13i)+(4+2i)=5i(1-3i)+(4+2i)=5-i

Differences (Subtraction) of Complex Numbers

In a similar fashion, complex numbers can be subtracted. The key again is to combine the real parts together and the imaginary parts together, this time by subtracting them. Thus to compute: (43i)(2+4i)(4-3i)-(2+4i) we would compute 424-2 obtaining 22 for the real part, and calculate 34=7-3-4=-7 for the imaginary part. We would thus write (43i)(2+4i)=27i(4-3i)-(2+4i) = 2-7i. Note that the same thing can be accomplished by imagining that you are distributing the subtraction sign over the sum 2+4i2+4i and then adding as defined above. Thus you could write: (43i)(2+4i)=(43i)+(24i)=27i.(4-3i)-(2+4i) = (4-3i)+(-2-4i) = 2-7i. Note that it is possible for two non-real complex numbers to add to a real number. For example, (13i)+(1+3i)=2+0i=2(1-3i)+(1+3i)=2+0i=2. However, two real numbers can never add to be a non-real complex number.

Multiplication of Complex Numbers

Complex numbers can be multiplied using the FOIL algorithm.

Learning Objectives

Calculate the product of complex numbers using FOIL and the properties of ii

Key Takeaways

Key Points

  • The imaginary unit ii has the property that i2=1i^2=-1
  • Complex numbers can be multiplied using the FOIL algorithm

The Square of the Imaginary Unit ii

In the following calculations, it is important to remember that i2=1i^2=-1. It is best to not let this fact confuse you, but to just remember it as a fact. Any time an i2i^2 appears in a calculation, it can be replaced by the real number  1.-1.

Multiplying Complex Numbers

Two complex numbers can be multiplied to become another complex number. The key to performing the multiplication is to remember the acronym FOIL, which stands for First, Outer, Inner, Last. Thus, we multiply a+bia+bi and c+dic+di by writing (a+bi)(c+di)(a+bi)(c+di) and multiplying the First terms aa and cc, and then the Outer terms aa and didi and then the Inner terms bibi and cc and then the Last terms bibi and didi. Note that this last multiplication yields a real number, since: bidi=bdi2=bd(1)=bdbi\cdot di = bd \cdot i^2=bd\cdot (-1) =-bd Note that the FOIL algorithm produces two real terms (from the First and Last multiplications) and two imaginary terms (from the Outer and Inner multiplications). We then combine these to write our complex number in standard form. Thus we have: (a+bi)(c+di)=ac+adi+bcibd=(acbd)+(ad+bc)i(a+bi)(c+di)=ac+adi+bci-bd=(ac-bd)+(ad+bc)i. For example, consider the product (2+3i)(4+5i)(2+3i)(4+5i). We would compute: \begin {align}(2+3i)(4+5i)&=8+10i+12i-15 \\&=(8-15)+(10+12)i \\&=-7+22i \end {align} As another example, consider the product: \begin {align}(1-i)(2+4i)&=1\cdot 2 +1\cdot 4i -2 i -(4i^2) \\&= 2+2i-(-4) \\&=6+2i \end {align} Note that if a number has a real part of 00, then the FOIL method is not necessary. For example: \begin {align}(0+5i)(2+5i)&=5i(2+5i) \\&= 10i+25i^2 \\&=-25+10i \end {align} Similarly, a number with an imaginary part of 00 is easily multiplied as this example shows: (2+0i)(43i)=2(43i)=86i.(2+0i)(4-3i)=2(4-3i)=8-6i. Note that it is possible for two nonreal complex numbers to multiply together to be a real number. For example: \begin {align} (2-3i)(2+3i)&=4+6i-6i-9i^2 \\&=4+9 \\&=13 \end {align}

Complex Numbers and the Binomial Theorem

Powers of complex numbers can be computed with the the help of the binomial theorem.

Learning Objectives

Connect complex numbers raised to a power to the binomial theorem

Key Takeaways

Key Points

  • The binomial theorem can be used to compute powers of complex numbers. To compute (a+bi)n(a+bi)^n we consider the expression (x+y)n(x+y)^n  where x=ax=a and y=biy=bi.
  • The powers of ii are i2=1i^2=-1, i3=ii^3=-i, i4=1i^4=1, and i5=ii^5=i, etc.

The Powers of ii

In what follows, it is useful to keep in mind the powers of the imaginary unit ii: \begin {align}i^1&=i \\i^2&=-1 \\i^3&=-i \\i^4&=1 \end {align} After that, they repeat, since i5=i4i=ii^5=i^4\cdot i = i.

Computing Powers of Complex Numbers

Powers of complex numbers can be computed with the the help of the binomial theorem. Recall the binomial theorem, which tells how to compute powers of a binomial like x+yx+y. It says: (x+y)n=k=0n(nk)xnkyk=k=0n(nk)xkynk{ (x+y) }^{ n }=\sum _{ k=0 }^{ n }{ \begin{pmatrix} n \\ k \end{pmatrix} } { x }^{ n-k }{ y }^{ k }=\sum _{ k=0 }^{ n }{ \begin{pmatrix} n \\ k \end{pmatrix} } { x }^{ k }{ y }^{ n-k } For example, consider the case n=4.n=4. We have: (x+y)4=x4+4x3y+6x2y2+4xy3+y4(x+y)^4 = x^4 +4x^3y+6x^2y^2 + 4xy^3+y^4 We can use this to compute the fourth power of a complex number a+bia+bi by letting x=ax=a and y=biy=bi. Then we have: (a+bi)4=a4+4a3bi+6a2b2i2+4ab3i3+b4i4(a+bi)^4=a^4+4a^3bi+6a^2b^2i^2+4ab^3i^3+b^4i^4 Now recalling the powers of ii, we have: (a+bi)4=a4+4a3bi6a2b2+4ab3i+b4(a+bi)^4 = a^4+4a^3bi-6a^2b^2+-4ab^3i+b^4 If we gather the real terms and the imaginary terms, we have the complex number: (a46a2b2+b4)+(4a3b4ab3)i(a^4-6a^2b^2+b^4)+(4a^3b-4ab^3)i

Example 1

Suppose you wanted to compute (2+3i)4(2+3i)^4. Using the previous example as a guide, we have: (2+3i)4=24+4233i622324233i+34(2+3i)^4=2^4+4\cdot 2^3\cdot 3i -6\cdot 2^2\cdot 3^2 -4\cdot 2 \cdot 3^3 i +3^4 which can be written as: 16+96i216216i+81=119120i16 + 96i-216-216i+81 = -119-120i

Example 2

Suppose you wanted to compute (1+i)3(1+i)^3. Using the binomial theorem directly, this can be written as: 13+312i+31i2+i31^3+3\cdot 1^2 \cdot i + 3\cdot 1 \cdot i^2+i^3 which can be simplified to: 1+3i3i=2+2i1+3i-3-i=-2+2i

Example 3

Suppose you wanted to compute (2+i)5(2+i)^5. Recall that the binomial coefficients (from the 5th row of Pascal's triangle) are 1,5,10,10,5,and1.1, 5, 10, 10, 5, \text{and}\, 1. Using the binomial theorem directly, we have: (2+i)5=25+524i+1023i2+1022i3+52i4+i5(2+i)^5 =2^5 + 5\cdot 2^4 i + 10\cdot 2^3 i^2 + 10\cdot 2^2 i^3 + 5\cdot 2 \cdot i^4 + i^5 This can in turn be written as: 32+80i8040i+10+i=38+41i32+80i-80-40i+10+i = -38+41i

Complex Conjugates

The complex conjugate of the number a+bia+bi is abia-bi. Two complex conjugates of each other multiply to be a real number with geometric significance.

Learning Objectives

Explain how to find a complex number's conjugate and what it is used for

Key Takeaways

Key Points

  • The complex conjugate of a+bia+bi is abia-bi, and vice versa.
  • Two complex conjugates multiply together to be the square of the length of the complex number.
  • If a complex number is a root of a polynomial equation, then its complex conjugate is a root as well.

Key Terms

  • modulus: The length of a complex number, a2+b2\sqrt{a^2+b^2}
  • complex conjugate: For the number a+bia + bi, this is abia-bi.

Complex Conjugates

The complex conjugate (sometimes just called the conjugate) of a complex number a+bia+bi is the complex number abia-bi. Thus, for example, the conjugate of 2+3i2+3i is 23i2-3i and the conjugate of 15i1-5i is 1+5i1+5i. Since the conjugate of a conjugate is the original complex number, we say that the two numbers are conjugates of each other. The symbol for the complex conjugate of zz is z\overline{z}. So, we might write: 36i=3+6i.\overline{3-6i} = 3+6i.

The Product of Two Conjugates

The product of two conjugates is always a real number. Note that: (a+bi)(abi)=a2abi+abib2i2=a2+b2(a+bi)(a-bi)=a^2-abi+abi-b^2i^2=a^2+b^2 This number has a geometric significance.
The x-axis is the real axis and the imaginary axis is the y-axis. The point a + bi is in the first quadrant in this image, with x (real) coordinate a and y (imaginary) coordinate b. The length of a complex number: The length of the line segment from the origin to the point a+bia+bi is a2+b2\sqrt{a^2+b^2}.  This comes from the Pythagorean Theorem.
The number a2+b2a^2+b^2 is the square of the length of the line segment from the origin to the number a+bia+bi. The number a2+b2\sqrt{a^2+b^2} is called the length or the modulus of the complex number z=a+biz=a+bi. The symbol for the modulus of zz is z|z|. Thus we can write zz=(a+bi)(abi)=a2+b2=z2\begin{align} z\overline{z} &= (a+bi)(a-bi)\\&=a^2+b^2\\&=|z|^2 \end{align} Or in other words: z=zz|z|=\sqrt{z\overline{z}} The modulus symbol looks just like the absolute value symbol, which is okay because whenever b=0b=0 so that z=a+bi=az=a+bi=a is a real number, we have that the conjugate is abi=aa-bi=a. In this case we have zz=a2=a=z\begin{align} \sqrt{z\overline{z}} &= \sqrt{a^2}\\&=|a|\\&=|z| \end{align} So the symbol is consistent with the use of the absolute value symbol.

Complex Roots Come in Conjugate Pairs

One important fact about conjugates is that whenever a complex number is a root of polynomial, its complex conjugate is a root as well. This can be seen in the quadratic formula whenever the discriminant b24acb^2-4ac is negative. For example, consider the equation: x2+x+1=0x^2+x+1=0 By the quadratic formula, the roots are x=1±14112x=\dfrac{-1 \pm \sqrt{1-4\cdot 1 \cdot 1}} {2} Simplifying gives the two complex numbers 1/2+(3/2)i-1/2+(\sqrt{3}/2)i and 1/2(3/2)i-1/2-(\sqrt{3}/2)i, which are complex conjugates of each other.

Division of Complex Numbers

Division of complex numbers is accomplished by multiplying by the multiplicative inverse of the denominator. The multiplicative inverse of zz is zz2.\frac{\overline{z}}{|z|^2}.

Learning Objectives

Use the complex conjugate to divide complex numbers

Key Takeaways

Key Points

  • Division of complex numbers is accomplished by multiplying by the multiplicative inverse of the denominator.
  • The multiplicative inverse of the complex number zz is zz2\frac{\overline{z}}{|z|^2}
  • If ww and zz are complex numbers, we have wz=wzz2\frac{w}{z} = w \cdot \frac{\overline{z}}{|z|^2}

Multiplicative Inverses of Complex Numbers

We have seen how to add, subtract, and multiply complex numbers, but it remains to learn how to divide them. The key is to think of division by a number zz as multiplying by the multiplicative inverse of zz. You are probably already familiar with this concept for ordinary real numbers: dividing by 22 is the same as multiplying by 12\frac12, dividing by 3 is the same as multiplying by 13\frac13, and so on. Algebraically, we write xk=x1k\frac{x}{k} = x \cdot \frac1k. For complex numbers, the multiplicative inverse can be deduced using the complex conjugate. We have already seen that multiplying a complex number z=a+biz=a+bi with its complex conjugate z=abi\overline{z}=a-bi gives the real number a2+b2a^2+b^2. Thus, we have zz=a2+b2z\overline{z}=a^2+b^2, and dividing through by a2+b2a^2+b^2 gives: zza2+b2=1z \cdot \frac{\overline{z}}{a^2+b^2}=1 So the multiplicative inverse of zz must be the complex conjugate of zz divided by its modulus squared. We can write 1z=zz2\frac{1}{z}= \frac{\overline{z}}{|z|^2}

Example 1

The multiplicative inverse of 1+2i1+2i is: 12i1+4=(1/5)(2/5)i\frac{1-2i}{1+4}=(1/5)-(2/5)i To see that this is correct, we can multiply these numbers to see if we get the multiplicative identity number 11. Using FOIL, we have: \begin {align}(1+2i)((1/5)-(2/5)i) &= 1/5 -(2/5)i+(2/5)i+4/5 \\&=1/5+4/5 \\&=1 \end {align}

Example 2

The multiplicative inverse of 34i3-4i is: 3+4i9+16=(3/25)+(4/25)i\frac{3+4i}{9+16} = (3/25)+(4/25)i Again, checking through multiplication, we have: \begin {align}(3-4i)((3/25)+(4/25)i&=9/25 -(12/25)i+(12/25)i+16/25 \\&=\frac{25}{25} \\&=1 \end {align}

Division of Complex Numbers

Suppose you wanted to divide the complex number z=2+3iz=2+3i by the number 1+2i1+2i. Since dividing by 1+2i1+2i is the same as multiplying by the multiplicative inverse (which we have seen above is (1/5)(2/5)i(1/5)-(2/5)i), we have: 2+3i1+2i=(2+3i)((1/5)(2/5)i)\frac{2+3i}{1+2i}=(2+3i)((1/5)-(2/5)i) If we multiply out (FOIL) this last expression we obtain: 2/5(4/5)i+(3/5)i+(6/5)=(8/5)(1/5)i2/5 -(4/5)i+(3/5)i+(6/5)=(8/5)-(1/5)i In general, for complex numbers ww and zz, we have wz=w1z=wzz2\frac{w}{z} =w \cdot \frac{1}{z} = w\cdot \frac{\overline{z}}{|z|^2} As an example, let's use this formula directly to compute 1i34i\frac{1-i}{3-4i} \begin {align}\frac{1-i}{3-4i} &= (1-i)\cdot\frac{3+4i}{9+16} \\&=(1-i)((3/25)+(4/25)i) \end {align} This multiplies out to be \begin {align}(1-i)((3/25)+(4/25)i) &= 3/25 +(4/25)i-(3/25)i+4/25 \\&= 7/25 + (1/25)i \end {align}

Complex Numbers in Polar Coordinates

Complex numbers can be represented in polar coordinates using the formula a+bi=reiθa+bi=re^{i\theta}. This leads to a way to visualize multiplying and dividing complex numbers geometrically.

Learning Objectives

Explain how to represent complex numbers in polar coordinates and why it is useful to do so

Key Takeaways

Key Points

  • The complex number z=a+biz=a+bi can be written z=reiϕz=re^{i\phi} where r=a2+b2r=\sqrt{a^2+b^2} is the modulus of zz, and ϕ\phi is the angle that the line segment from the origin to zz makes with the horizontal.
  • Using polar coordinates, it becomes easier to multiply and divide complex numbers, using the geometric interpretation as a guide.
Sometimes it is helpful to think of complex numbers in a different geometric way. The previous geometric idea where the number z=a+biz=a+bi is associated with the point (a,b)(a,b) on the usual xyxy-coordinate system is called rectangular coordinates. The alternative way to picture things is called polar coordinates. In polar coordinates, the parameters are rr and ϕ\phi. rr is how far the point is from the origin, which is usually denoted r=a2+b2=zr=\sqrt{a^2+b^2}=|z| The other parameter is the angle ϕ\phi, which the line from the origin to the point makes with the horizontal, measured in radians.
image The parameters for polar coordinates: A point in the first quadrant with Cartesian coordinates (x,y)(x, y) and polar coordinates (r,ϕ)(r, \phi).
The angle ϕ\phi can be deduced using trigonometry from the numbers aa and bb, but we will just consider the following alternative way to write z=a+biz=a+bi. It turns out, due to a theorem of the great mathematician Euler, that we can write zz as the complex expression z=reiϕz=re^{i\phi}. When written this way, it now becomes easier to multiply and divide complex numbers.

Multiplying Complex Numbers in Polar Coordinates

If z=reiϕz=re^{i\phi} and w=seiθw=se^{i\theta} are complex numbers, then the product of zz and ww is zw=rsei(ϕ+θ)zw=rse^{i(\phi+\theta)}, which comes from simply multiplying as usual for exponential functions. We can then see that the product of zz and ww is the complex numbers whose distance from the origin is the product of the distances from the origin of zz and ww, and whose angle with the horizontal is the sum of the angles of zz and ww with the origin. For example, consider the complex numbers z=2eiπ/4=1+iz=\sqrt2e^{i\pi/4}=1+i and w=2e3iπ/4=1+iw=\sqrt2e^{3i\pi/4} = -1+i. So zz is the complex number which is 2\sqrt2 units from the origin and whose angle with the horizontal is π/4\pi/4 radians, which is 4545  degrees. Then ww is the number whose distance from the origin is 2\sqrt2 and whose angle with the origin is 3π/43\pi/4 radians which is 135135 degrees. When we multiply (1+i)(1+i)(1+i)(-1+i) by FOILing, we obtain 1+ii1=2-1+i-i-1=-2. Perhaps more easily we could multiply zw=2eiπ/42e3iπ/4=2eiπ=2\begin{align} zw&=\sqrt2 e^{i\pi/4}\cdot\sqrt2 e^{3i\pi/4} \\&= 2e^{i\pi} \\&= -2 \end{align} Realizing that we are getting the number whose distance from the origin is 22 and whose angle with the horizontal is π4+3π4=π,\frac{\pi}{4}+\frac{3\pi}{4}=\pi, or 180180 degrees.

Dividing Complex Numbers in Polar Coordinates

Similarly, if z=reiϕz=re^{i\phi} and w=seiθw=se^{i\theta} then zw\frac{z}{w} is the result of dividing reiϕseiθ=rsei(ϕθ)\frac{re^{i\phi}}{se^{i\theta}} = \frac{r}{s} e^{i(\phi-\theta)} In other words, when dividing by a complex number, the result is a number whose distance from the origin is the quotient of the distances of the two numbers from the origin, and whose angle with the horizontal is the difference of the angles with the horizontal of the two numbers. For example, If you were to divide z=2eiπ/4=1+iz=\sqrt2e^{i\pi/4} = 1+i by w=2e3iπ/4=1+iw=\sqrt{2}e^{3i\pi/4}=-1+i, the result would be: 22ei(π/43π/4)=eiπ/2=i\frac{\sqrt2}{\sqrt2} e^{i(\pi/4 -3\pi/4)} = e^{-i\pi/2} = -i The result is one unit from the origin and at an angle of π/2-\pi/2 (or 90-90 degrees) with the horizontal. This way of thinking about multiplying and dividing complex numbers gives a geometric way of thinking about those operations.

Licenses & Attributions