92
$\begingroup$

I've always enjoyed solving problems in the complex numbers during my undergrad. However, I've always wondered where are they used and for what? In my domain (computer science) I've rarely seen it be used/applied and hence am curious.

So what practical applications of complex numbers exist and what are the ways in which complex transformation helps address the problem that wasn't immediately addressable?

Way back in undergrad when I asked my professor this he mentioned that "the folks in mechanical and aerospace engineering use it a lot" but for what? (Don't other domains use it too?). I'm well aware of its use in Fourier analysis but that's the farthest I got to a 'real world application'. I'm sure that's not it.

PS: I'm not looking for the ability to make one problem easier to solve, but a bigger picture where the result of the complex analysis is used for something meaningful in the real world. A naive analogy is deciding the height of tower based on trigonometry. That's going from paper to the real world. Similarly, what is it that is analyzed in the complex world and the result is used in the real world without imaginaries clouding the problem?

The question: Interesting results easily achieved using complex numbers is nice but covers a more mathematical perspective on interim results that make solving a problem easier. It covers different ground IMHO.

$\endgroup$
8

10 Answers 10

46
$\begingroup$

Complex numbers are used in electrical engineering all the time, because Fourier transforms are used in understanding oscillations that occur both in alternating current and in signals modulated by electromagnetic waves.

$\endgroup$
6
  • 32
    $\begingroup$ An example would go a long way for those who don't know this :) $\endgroup$
    – PhD
    Jan 24, 2013 at 2:42
  • 2
    $\begingroup$ Complex numbers in a sense embody certain aspects of trigonometry. Therefore it is not unexpected for them to arise in situations involving trigonometric functions, such as waves and oscillations mentioned by Michael Hardy. A concrete example of their use is in phasors for example. $\endgroup$
    – EuYu
    Jan 24, 2013 at 2:46
  • $\begingroup$ "one begin the current" . . . I presume "one being the current" was meant. $\endgroup$ Jan 24, 2013 at 2:52
  • $\begingroup$ The letter $j$ rather than $i$ is used in electrical engineering for the imaginary unit. The expression $t\mapsto e^{j\omega t}$ occurs frequently. The real and imaginary parts of that are $\cos(\omega t)$ and $\sin(\omega t)$. Frequency is $\omega$ and $t$ is time. $\endgroup$ Jan 24, 2013 at 2:55
  • $\begingroup$ Fourier transforms are also used in studying time series in statistics, including the stock market and biorhythms. $\endgroup$ Jan 24, 2013 at 2:56
32
$\begingroup$

I was asked this exact question by my wife last night. She was looking for an everyday example of the use of complex numbers to explain to her 8th grade math class (whose knowledge of complex numbers consists of $i = \sqrt{-1}$ ).

My response was this:

Imagine an electronic piano. Each key produces a different tone. A volume control changes the amplitude (volume) of all the keys by the same amount. That's how real numbers affect signals.

Now, imagine a filter. It makes some keys sound louder and some keys sound softer, depending on their frequencies. That's complex numbers -- they allow an "extra dimension" of calculation.

(Yes, I know about phase shifts and Fourier transforms, but these are 8th graders, and for comprehensive testing, they're required to know a real world application of complex numbers, but not the details of how or why. I don't understand this, but that's the way it is)

$\endgroup$
2
  • 11
    $\begingroup$ 8th grade is young for complex numbers. $\endgroup$
    – user85798
    Apr 16, 2014 at 12:21
  • 2
    $\begingroup$ This seems more like an example of a 2D vector space. The defining feature of complex numbers is their algebra, but I understand that's more difficult to explain is an "everyday example". $\endgroup$ Nov 11, 2019 at 18:38
24
$\begingroup$

Since you mentioned "real world".

The "real world" consists of miniscule particles: protons, electrons, etc. Which are not exactly particles: quantum mechanics says each of them looks like a wave. Normal waves have some "value" or "displacement" or "magnitude" in each point of space.

Magnitude (amplitude) of waves in quantum mechanics are complex! Just imagine, the whole "real world", everything you can see or touch consists of some waves with complex amplitudes!

Complex numbers are used in real world literally EVERYWHERE.

$\endgroup$
7
  • 13
    $\begingroup$ Quantum mechanics is the best answer to this question because unlike the case of "classical" waves, where complex numbers are simply a convenience, in quantum mechanics, they are unavoidable and carry the entire essence of physics. $\endgroup$
    – orion
    Dec 24, 2014 at 17:49
  • 1
    $\begingroup$ Protons and electrons are particles, not waves. Are you familiar with Quantum Electrodynamics? You are referring to the fields maintained by charges particles. $\endgroup$
    – Mark Viola
    Jun 5, 2018 at 23:04
  • $\begingroup$ @MarkViola You got me, I am not familiar with Quantum Electrodynamics. Does it really state that protons, electrons, neutrons are particles, not waves? If they are particles, does each of them have strictly defined coordinates and speed at any moment? $\endgroup$
    – lesnik
    Jun 6, 2018 at 7:16
  • $\begingroup$ @lesnik QED describes electrons,.which are particles. From the uncertainty principle, there is no way to simultaneously observe both a particles location and velocity. $\endgroup$
    – Mark Viola
    Jun 6, 2018 at 14:06
  • $\begingroup$ @MarkViola "Usual" quantum mechanics tells us that a "particle" may be in a very well defined state (like an electron in atom), but still having no strictly defined coordinates. Not only that it's impossible to measure the coordinates - the "particle" just doesn't have them. Particle without coordinates is not actually a particle, it's something else. Is situation the same in Quantum Electrodynamics? Does it really states that particles do have coordinates that's just impossible to measure? $\endgroup$
    – lesnik
    Jun 6, 2018 at 15:06
16
$\begingroup$

The other answers nicely cover specific examples of alternating current and wave equations. Basically, wherever you encounter an oscillatory phenomenon of any type, complex numbers are a natural tool to describe them easily and efficiently.

I'd like to add a related point here. The relationship between the exponential function and trigonometric functions is transparent when you use complex numbers. Damped and oscillatory motion are two sides of the same coin: they are solutions of the same (differential) equations with slightly different parameters. Varying a parameter can switch between oscillation and damping, which is related to when solutions of a quadratic equation turn from real to complex. With this example, students can "feel" the emergence of imaginary component when something starts to resonate instead of just fading out. It makes for a nice demonstration in a classroom. It helps to convince that complex numbers are not some made-up constructs but a part of nature just as reals, and make up a much more coherent theory with nicer rules and less exceptions compared to real arithmetics.

Another more dry and technical use is in equation solving in general. For instance, solving for real roots of a real polynomial can be done through complex arithmetics (with complex intermediate results). This still begs a question, where in real life you need to solve a cubic equation (as an example) but that's another story.

$\endgroup$
2
  • $\begingroup$ I know this is an old post, but an example I came across (solving a cubic equation) the other day involved "cubic spline interpolation", where to display data (like an oscilloscope) with fewer data points than pixels on the screen, for smoothness, one can use cubic spline interpolation to be able to "zoom in" on certain features of an oscilloscope trace. $\endgroup$
    – cowboydan
    Aug 30, 2016 at 16:25
  • 1
    $\begingroup$ I want to endorse orion's post, in that complex numbers show us that the exponential and trigonometric functions are really the same family of functions! This insight, like any mathematical ephiphany, suddenly has applications to lots of areas, such as Fourier analysis, digital signals and many of the other examples mentioned elsewhere. $\endgroup$
    – KenWSmith
    Feb 6, 2018 at 19:28
15
$\begingroup$

PS: I'm not looking for the ability to make one problem easier to solve, but a bigger picture where the result of the complex analysis is used for something meaningful in the real world.

Well that's about what it is. It's just that the applications for complex numbers gets simpler and sometimes more elegant using them. But in fact they are not required, you could do the same thing without them.

You've got answers about electrical engineering, in which the use of complex numbers originates from the same source as in Fourier analysis. Here it's just the relationship between exponential and trigonometrics that's the reason. I'd say that Fourier analysis becomes more elegant using complex numbers and electrical engineering becomes much easier with them, but there's nothing inherent that makes you need them.

Another example is quantum mechanics. Here we have complex valued waves, but the waves themselves is not "observable", that is they will never leave the theory and escape out into reality. They are just used in the calculations, and one could probably formulate the quantum mechanics and still avoid complex numbers, but at the expense of making the theory more complex.

$\endgroup$
4
  • 13
    $\begingroup$ Sum up: use complex numbers to not make things complex. $\endgroup$
    – Hi-Angel
    Jan 25, 2017 at 8:45
  • $\begingroup$ You should mention that linear filter design really doesn't exist without complex numbers in the complex plain. $\endgroup$
    – rrogers
    Aug 7, 2018 at 19:43
  • 1
    $\begingroup$ @rrogers I'm not sure about that, I'm rather confident that's not the case. The whole point with my answer is that complex numbers are only for simplifying the applications - that there's actually no application that absolutely require them. After all since complex numbers are constructed from real numbers (in a relatively simple way too) everything that can be done with them could be done without them as well. Why that shouldn't apply to linear filter design I can't see. $\endgroup$
    – skyking
    Aug 8, 2018 at 5:36
  • $\begingroup$ Well I come from the analog background. At one time I had more analog filter design books than the number of filters I designed :) Have a look at: en.wikipedia.org/wiki/Electronic_filter $\endgroup$
    – rrogers
    Aug 8, 2018 at 14:14
11
$\begingroup$

Two-dimensional problems involving Laplace's equation (e.g. heat flow, fluid flow, electrostatics) are often solved using complex analysis, in particular conformal mapping.

$\endgroup$
3
  • 1
    $\begingroup$ Why wouldn't these be solved using vectors instead? $\endgroup$ Feb 24, 2019 at 17:04
  • 1
    $\begingroup$ @AlexanderSuraphel Complex numbers are vectors but framed differently. $\endgroup$
    – Jam
    Jun 1, 2019 at 17:16
  • $\begingroup$ Yep, complex numbers can be represented as matrices: nagwa.com/en/explainers/152196980513 to be more precise, the field of complex numbers is homomorphic to the field of these 2x2 matrices. $\endgroup$
    – fshabashev
    Sep 19, 2022 at 20:57
11
$\begingroup$

Electrical engineering with signals, for example:

http://scipp.ucsc.edu/~johnson/phys160/ComplexNumbers.pdf

$\endgroup$
3
  • $\begingroup$ +1 Excellent example! What would we do without $i$!? $\endgroup$
    – amWhy
    May 7, 2013 at 0:15
  • $\begingroup$ Link no longer works $\endgroup$
    – Sayse
    Sep 9, 2019 at 21:21
  • $\begingroup$ @Sayse: Try its.caltech.edu/~jpelab/phys1cp/… $\endgroup$
    – Moo
    Sep 10, 2019 at 23:48
4
$\begingroup$

Where are complex number used in the real world: iIn almost anything involving waves. Some examples are in cameras forming images, in x-ray crystallography used to determine the structure of molecules such as proteins, in MRI and CT scanners used in hospitals, in various forms of spectroscopy used to identify molecules and in lasers used to understand and predict their behaviour.

$\endgroup$
2
$\begingroup$

I am afraid your conditions on what real utility of a mathematical object means is so strict as to render all applications of mathematics ridiculous. Indeed, such a restriction soon leads us into philosophising about what is useful and what is not, what is real and what is not.

Why should the compactness with which the complex numbers unify some elementary relationships (and so effect easier methods of mathematical analysis) not be counted as a real world application, since, as others have pointed out (and you yourself probably knew) they are used in the study of such periodic phenomena as the analysis of signals -- which has applications in the systems designed by engineers to convert between such signals? For that matter why should the mechanical engineer who analyses vibrations not count it a real world application when it makes him able to predict in advance the effects of the vibration of his system on a structure?

So, I hope that you can see that the idea of what is useful, real, or applicable is very flexible indeed.

Finally, let me comment on what I think the issue usually is with people finding it hard to see the practical utility (whatever that means elsewhere) of the complex number system: the positive real numbers are a natural model of the concept of quantity or magnitude, and that was the first reason for the invention of numbers (hence the negative reals and complex numbers were seen as not real, fictitious, etc. for a long time, even as recently as the nineteenth century, towards the end of which they generally came to be accepted in most places). But gradually, our idea of number evolved to include things that are not quantities (at least not in the usual sense of the term -- the discovery of antimatter is very, very recent, compared to the timeline of mathematical history) in the original understanding of the term -- eventually with the discovery of other division algebras, which began with the quaternions of Hamilton, the concept of number became nebulous and is today best left as primitive. In summary, the utility of a mathematical object should be judged in light of its nature and what it can model appropriately (which may be far removed from the ordinary experience of the common man); this nevertheless does not detract from its utility. The following is a personal opinion, but I think mathematics, no matter how rarefied and strange, is a kind of reflection of the world. I think the world is bizarre and strange, and that we have barely begun to understand and control it.

$\endgroup$
-1
$\begingroup$

Complex analysis (transformation or mapping) is also used when we launch a satellite and here on earth we have $z$-plane but in space we have $w$-plane as well. So to study various factors we use transformation.

$\endgroup$
1
  • 3
    $\begingroup$ i am curious to know how ? $\endgroup$
    – user312097
    Aug 30, 2016 at 9:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .