Lesson Explainer: Matrix Representation of Complex Numbers | Nagwa Lesson Explainer: Matrix Representation of Complex Numbers | Nagwa

Lesson Explainer: Matrix Representation of Complex Numbers Mathematics

In this explainer, we will learn how to represent a complex number as a linear transformation matrix and use this to determine the product of two complex numbers.

When we first start learning about matrices, we often make connections to operations in the more familiar real numbers to help grasp the new concepts. We soon discover that there are lots of properties of matrices that do not have analogues in the real numbers. For example, matrix multiplication is, in general, noncommutative. That is, for two matrices 𝐴 and 𝐵, 𝐴𝐵𝐵𝐴 in general. Nevertheless, there are helpful analogues with the real numbers that give us insightful intuition about matrices. One of the most persistent analogues with the real numbers is the correspondence between the identity matrix 𝐼 and the multiplicative identity in the real numbers: 1.

Many of the familiar properties of the multiplicative identity carry over directly to matrix algebra; for example, 𝐼𝐴=𝐴𝐼=𝐴,𝐴𝐴=𝐴𝐴=𝐼, and 𝐼=𝐼. In fact, there is a direct correspondence between the set of all matrices of the form 𝑐𝐼 for a constant 𝑐 and the real numbers, so much so that, mathematically, we can consider them to be equivalent or, to be precise, isomorphic. However, even when it comes to the analogue between the identity matrix and multiplicative identity in the reals, there are differences. In this explainer, we will explore the implications of one such difference in the case of 2-by-2 matrices.

We begin by considering the square of the matrix 𝑀=0110.

Using matrix multiplication, we have 𝑀=01100110=(0)(0)+(1)(1)(0)(1)+(1)(0)(1)(0)+(0)(1)(1)(1)+(0)(0)=1001.

Interestingly, this is equal to the negative identity matrix. Hence, 𝑀=𝐼. What we have shown is that there exists a matrix whose square is negative the identity. This is clearly a place where the correspondence with the real numbers does not hold since there is no real number 𝑎 such that 𝑎=1. However, there is a complex number 𝑖 which has this property. This leads us to a question of whether we can find some correspondence between complex numbers and 2-by-2 matrices. Since we can consider the matrix 𝑀 to correspond to 𝑖, it makes sense that the imaginary numbers would correspond to constant multiples of 𝑀. Furthermore, since there is a direct correspondence between the real numbers and constant multiples of the identity, the natural suggestion for the correspondence between matrices and complex numbers is the set of all matrices of the form 𝑎𝐼+𝑏𝑀, where 𝑎,𝑏.

Rather than using the representation 𝑎𝐼+𝑏𝑀, we can rewrite this as follows: 𝑎𝐼+𝑏𝑀=𝑎1001+𝑏0110=𝑎00𝑎+0𝑏𝑏0=𝑎𝑏𝑏𝑎.

We will refer to this matrix as the matrix representation of the complex number 𝑎+𝑏𝑖.

Matrix Representation of Complex Numbers

We can represent the complex number 𝑎+𝑏𝑖 as the matrix 𝑎𝑏𝑏𝑎.

In our first example, we will explore this correspondence in relation to addition of complex numbers.

Example 1: Addition of Complex Numbers Represented as Matrices

Suppose we take the matrix 𝑀=5775 to represent the complex number 𝑧=5+7𝑖 and the matrix 𝑁=1881 to represent the complex number 𝑧=18𝑖.

  1. What is the sum 𝑀+𝑁?
  2. What does this represent in terms of the complex numbers 𝑧 and 𝑧?

Answer

Part 1

We can use the definition of matrix addition to find that 𝑀+𝑁=5775+1881=5+17+8785+1=6116.

Part 2

Since, 𝑧+𝑧=6𝑖, we can see that 𝑀+𝑁 is the matrix representation of 𝑧+𝑧.

Example 2: Multiplication of Complex Numbers Represented as Matrices

Suppose we take the matrix 𝑁=3443 to represent the complex number 34𝑖 and the matrix 𝑀=2552 to represent the complex number 2+5𝑖.

  1. What is the product 𝑀𝑁?
  2. What does it represent?

Answer

Part 1

We can use the definition of matrix multiplication to find that 𝑀𝑁=25523443=(2)(3)+(5)(4)(2)(4)+(5)(3)(5)(3)+(2)(4)(5)(4)+(2)(3)=267726.

Part 2

We first consider the product of the two complex numbers (34𝑖)(2+5𝑖)=6+15𝑖8𝑖20𝑖=26+7𝑖.

We, therefore, see that 𝑀𝑁 is the matrix representation of the product (34𝑖)(2+5𝑖).

The previous example appears to indicate that the correspondence between complex numbers and these types of matrices includes multiplication. However, since we know in general that matrix multiplication is noncommutative, we should check that multiplication of matrices of this type is commutative.

We let 𝑀 be the matrix representation of the complex number 𝑧=𝑎+𝑏𝑖 and 𝑀 the representation of 𝑧=𝑐+𝑑𝑖.

We can now consider the product 𝑀𝑀 of the matrix representations as follows: 𝑀𝑀=𝑎𝑏𝑏𝑎𝑐𝑑𝑑𝑐=𝑎𝑐𝑏𝑑𝑎𝑑𝑏𝑐𝑎𝑑+𝑏𝑐𝑎𝑐𝑏𝑑.

Similarly, we consider the product 𝑀𝑀: 𝑐𝑑𝑑𝑐𝑎𝑏𝑏𝑎=𝑎𝑐𝑏𝑑𝑎𝑑𝑏𝑐𝑎𝑑+𝑏𝑐𝑎𝑐𝑏𝑑.

Hence, we can see that multiplication of matrices of this form is commutative. Furthermore, we can see that multiplying matrix representations of complex numbers directly corresponds to multiplying the complex numbers themselves.

At this point, we might wonder how other operations on complex numbers such as conjugation can be understood in terms of their matrix representation. Alternatively, we might ask the question the other way round: what does the determinant of a matrix represent in terms of complex numbers? In the next example, we will explore this question.

Example 3: Interpreting the Complex Conjugation in terms of Matrices

Let 𝑀 be the matrix representation of the complex number 𝑧=𝑎+𝑏𝑖.

  1. Express the matrix representation of 𝑧 in terms of 𝑀.
  2. What does det𝑀 correspond to in relation to 𝑧?
  3. What does 𝑀 correspond to in terms of 𝑧?

Answer

Part 1

The matrix representation of 𝑧=𝑎+𝑏𝑖 is given by 𝑀=𝑎𝑏𝑏𝑎. The complex conjugate of 𝑧 is given by 𝑧=𝑎𝑏𝑖. We can represent this as a matrix: 𝑎𝑏𝑏𝑎.

This represents the transpose of matrix 𝑀. Hence, the matrix representation of 𝑧 is 𝑀T.

Part 2

Recall that the determinant of a 2-by-2 matrix 𝐴=𝑎𝑏𝑐𝑑 is defined as det𝐴=𝑎𝑑𝑏𝑐. Therefore, det𝑀=𝑎𝑏=𝑎+𝑏.

This corresponds to the sum of the squares of the real and imaginary parts of 𝑧. Recall that the modulus of 𝑧=𝑎+𝑏𝑖 is defined as |𝑧|=𝑎+𝑏.

Hence, det𝑀 corresponds to |𝑧|.

Part 3

We begin by calculating the inverse of 𝑀. Recall that the inverse of a two-by-two matrix 𝐴=𝑎𝑏𝑐𝑑 is given by 𝐴=1𝑎𝑑𝑏𝑐𝑑𝑏𝑐𝑎.

Therefore, 𝑀=1𝑎+𝑏𝑎𝑏𝑏𝑎.

This corresponds to the complex number 𝑎𝑎+𝑏𝑏𝑎+𝑏𝑖 which is 1𝑧. Hence, 𝑀 corresponds to the complex number 1𝑧.

Example 4: Interpreting the Matrix Inverse in terms of Complex Numbers

Let 𝑀 be the matrix representation of the complex number 𝑧=𝑎+𝑏𝑖. What is the corresponding complex number identity for the matrix identity 𝑀=1𝑀𝐶,detT where 𝐶 is the cofactor matrix of 𝑀?

Answer

We begin by recalling some of the correspondences between complex numbers and their matrix representation:

  • The determinant of the matrix representation of a complex number corresponds to the square of its modulus.
  • The transpose of the matrix representation of a complex number corresponds to complex conjugation.
  • The inverse of the matrix representation of a complex number corresponds to the reciprocal of the complex number.

These facts, however, are not sufficient to rewrite the expression as a complex number identity. We need to consider what the cofactor matrix corresponds to. Recall that the cofactor matrix of the two-by-two matrix 𝐴=𝑎𝑏𝑐𝑑 is given by 𝐶=𝑑𝑐𝑏𝑎.

Since 𝑀 represents 𝑧=𝑎+𝑏𝑖, we have that 𝑀=𝑎𝑏𝑏𝑎. Therefore, its cofactor matrix is given by 𝐶=𝑎𝑏𝑏𝑎.

Hence, the cofactor matrix of 𝑀 is the same as 𝑀; that is, 𝐶=𝑀. We can now use all these results to give the corresponding complex number expression for 𝑀=1𝑀𝐶.detT

Since matrix inversion corresponds to reciprocation of the complex number, the left-hand side corresponds to 1𝑧. As for the right-hand side, the determinant corresponds to the square of the modulus of 𝑧, |𝑧|, and since the cofactor matrix is the same as 𝑀, this corresponds to 𝑧 and its transpose corresponds to conjugation. Therefore, the corresponding complex number identity for 𝑀=1𝑀𝐶detT is 1𝑧=𝑧|𝑧|.

Now we know that the reciprocal of a complex number corresponds to the inverse of its matrix representation, we can see that complex division can be represented as multiplying the matrix representation of the numerator by the inverse matrix of the denominator.

Example 5: Division of Complex Numbers Represented as Matrices

Let 𝑀=711117 be the matrix representation of the complex number 𝑧 and 𝑀=4114 be the matrix representation of 𝑧. Determine the matrix representation of 𝑧𝑧.

Answer

There are two ways we could calculate this. We can either use the matrix representations stating that the equivalent matrix expression for 𝑧𝑧 is 𝑀𝑀, or we can convert the matrices to their equivalent complex numbers and then undertake the complex division and convert our answer back into its matrix representation at the end. We will demonstrate the first of these methods and then use the second to check our answer.

We begin by calculating the inverse of matrix 𝑀. Recall that the inverse of a two-by-two matrix 𝐴=𝑎𝑏𝑐𝑑 is given by 𝐴=1𝑎𝑑𝑏𝑐𝑑𝑏𝑐𝑎.

Therefore, 𝑀=14+14114=1174114.

We now multiply this by 𝑀. Recall that, we do not need to worry about whether we are doing left or right multiplication since the matrices we are dealing with commute. Therefore, 𝑀𝑀=1177111174114=1177×4+11×(1)7×1+11×4(11)×4+7×(1)(11)×1+4×7=11717515117=1331.

We will check our answer using complex division. The complex number 𝑧 which the matrix 𝑀=711117 represents is 𝑧=711𝑖; similarly, 𝑀=4114 is representing 𝑧=4+𝑖. We can now calculate the quotient 𝑧𝑧=711𝑖4+𝑖.

Multiplying the numerator and denominator by the complex conjugate of the denominator gives 𝑧𝑧=(711𝑖)(4𝑖)(4+𝑖)(4𝑖)=287𝑖44𝑖+11𝑖4+1=1751𝑖17=13𝑖.

This is represented by the matrix 1331 as expected.

An alternative way to derive the correspondence between complex numbers and matrices is by considering transformations.

There is a direct correspondence between linear maps and matrices: all linear maps can be represented as matrices and all matrices can be interpreted as representing some linear map. In a similar way, we can view multiplication of complex numbers as a linear transformation of the complex plane. To demonstrate the correspondence, we will consider the set of matrices representing rotations about the origin. Let us consider an anticlockwise rotation about the origin through an angle of 𝜃.

We consider the effect of the transformation on the two basis vectors (1,0) and (0,1). As we can see in the diagram, (1,0) is mapped to (𝜃,𝜃)cossin, whereas (0,1) is mapped to (𝜃,𝜃)sincos. We can therefore express the matrix of this transformation as 𝑅=𝜃𝜃𝜃𝜃.cossinsincos

We can rewrite this as 𝑅=𝜃1001+𝜃0110.cossin

This has striking similarities with Euler’s formula: 𝑒=𝜃+𝑖𝜃.cossin

In particular, we know that multiplication by 𝑒 represents a rotation through an angle of 𝜃 about the origin as does the matrix 𝑅. Hence, we can consider 𝑅 to be the matrix representing this transformation. We can further generalize this to include multiplication by a general complex number in the form 𝑟𝑒 to find a matrix representation which we can write as 𝑟𝜃𝑟𝜃𝑟𝜃𝑟𝜃cossinsincos which is equivalent to the matrix representation we have already considered: 𝑎𝑏𝑏𝑎.

We can, therefore, see that all matrices of the form 𝑎𝑏𝑏𝑎 represent transformations which consist of a rotation by some angle 𝜃 and a dilation by a factor of 𝑟.

Example 6: Translating Complex Number Expressions to Matrix Expressions

Let the complex numbers 𝑧, 𝑧, and 𝑧 be represented by the matrices 𝑀, 𝑀, and 𝑀. Rewrite the following complex calculation as a matrix calculation: (𝑧+𝑧)𝑧.

Answer

Taking complex conjugates corresponds to transposing the matrix representation. Addition of complex numbers corresponds to addition of their matrix representations. Since multiplication of complex numbers corresponds to multiplication of their matrix representations, raising to a power will correspond to raising to an equivalent power. Finally, division corresponds to multiplication by the inverse matrix. Therefore, the complex calculation (𝑧+𝑧)𝑧 can be represented as a matrix calculation as follows: 𝑀+𝑀𝑀.T

Key Points

  • We can represent the complex number 𝑎+𝑏𝑖 as the matrix 𝑎𝑏𝑏𝑎.
  • Adding and multiplying complex numbers corresponds to adding or multiplying their matrix representations.
  • The determinant of the matrix representation of a complex number corresponds to the square of its modulus.
  • The transpose of the matrix representation of a complex number corresponds to complex conjugation.
  • The inverse of the matrix representation of a complex number corresponds to the reciprocal of the complex number.
  • Dividing by a complex number corresponds to multiplying by the inverse of its matrix representation.

Download the Nagwa Classes App

Attend sessions, chat with your teacher and class, and access class-specific questions. Download the Nagwa Classes app today!

Nagwa uses cookies to ensure you get the best experience on our website. Learn more about our Privacy Policy.