Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Complex Number Matrix Representation

Published on
10,269 Points
2 Endorsements
Last Modified:
Complex Numbers are funny things.  Many people have a basic understanding of them, some a more advanced.  The confusion usually arises when that pesky i (or j for Electrical Engineers) appears and understanding the meaning of a square root of a negative number.  Without having to understand all this, there is a way to do complex algebra (to an extent) without worrying about the i part of the equation.

Complex Matrix Representation
Many people have never used complex numbers in a matrix representation before.  This method allows for a different set of algebra possibilities.  For instance, if you want to divide a complex number by another complex number without going through the rigors of setting up the equation, simply multiply the inverse of the denominator complex times the numerator.  This is much simpler (for large sets of equations) than doing it by hand.

But where does this really help?  Software.  

It's much easier for a computer to deal with matrices than complex numbers.  Complex numbers require a separate class and defining all operators.  If you make complex numbers a matrix of real numbers, this process becomes ten times simpler to implement.

Granted there are some advantages to using complex numbers as a separate class.  Admittedly, performing certain operations on a matrix is difficult, like raising e to the matrix M power (in our case, a complex matrix).  Although, this is possible by the Taylor series, it's not as straightforward when doing it numerically.  

The four basic operators that are used most often are multiplication, division, subtraction, and addition.  All these can be done with matrix algebra.  The most difficult, of course, is the inverse.  For the sake of those that don't know how, I have also included a matrix showing the inverse of a complex number matrix.

Inverse of Complex Matrix
After knowing how to calculate the inverse, you can add, subtract, divide, and multiple any complex number in software without having to write a separate class.  Handy right?!

I hope this short article can help in future complex calculatory needs!

Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Join & Write a Comment

Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month