What is an eigenvalue?
nhigham.com
nhigham.com
Basicaly you put in a wave made from multiple sine and/or cosine waves through some function f(x) and the output is STILL a wave, though its frequency, amplitude and phase might change.
Technicaly if I remember correctly this applies to all complex exponentials, since those can be rewritten in the form of e^(ix) = cosx + i*sinx.
This formula also beatifuly shows how rotations and the complex exponentials are connected.
So basicaly you don't just have eigen values, eigen vectors: you also have eigen FUNCTIONS (sine and cosine above are the eigen functions of f(x)).
DSP basicaly revolves arounds functions that don't "corrupt" wave-like inputs (wave in -> wave out).
A large part of functional analysis is dealing with that fact and its implication for PDEs.
The result for measurable functions (not almost functions) shouldn't be true (I think). I am not even sure it is true for L^1 almost functions.
Basicaly there exist some functions into which you can feed in sound waves and the output is guaranteed to still be a sound wave.
If you'd feed in a sound wave and if the function would corrupt it you would not be able to do any digital signal processing, since the output must be a wave.
Sound(wave) in -> Sound(wave) out, guaranteed to always be true.
That in and of itself does not seem like a particularly insightful observation. It's just obvious that such functions exist. I can think of three of them off the top of my head: time delay, wave addition, and multiplication by a scalar. There must be something more to it than that.
Trivially, the identity f(x) = x satisfies the guarantee as well. What amounts to insightful observation is the definition and classification of these functions. In exploring their existence in various forms, we can begin to understand what properties these functions share.
So the interesting part is not that this class of function _exists_, because of course it does! Your intuition has led you to three possible candidates. But if we limit ourselves to only the functions that satisfy the condition _wave-in implies wave-out_ what do they look like as a whole? What do these guarantees buy us if we _know_ the result will be a wave? For example, f(g(x)) is also guaranteed to be _wave-in-wave-out_. Again, maybe obvious, but it's a building block we can use once we've proved it true.
This comment was downvoted into oblivion (I vouched it back from the dead), but I have no idea why. You hit the nail on the head.
If g(x) is an eigenfunction of F, then h(x) = F(g(x)) is actually just a rescaled of g(x): h(x) = ag(x), for some constant a. No matter how complicated and hard-to-compute F is, it boils down to just one number a, when acting on some special function g(x).
So what? This only applies to special g(x), and not any choice for g. Let’s say that I have some special function y(x) that isn’t necessarily g(x). But I have a whole bunch of eigenfunctions of F called g_k(x). If I knew that F was linear (kind of a prerequisite for computing eigenfunctions anyway), then I can decompose some output function y(x) into a weighted sum of g_k: y(x) = sum([w_k g_k(x) for k in range(infinity)]).
Some abuse of Python list comprehension there.
So instead of evaluating F, which might be very hard computationally or numerically, we can instead do a for-loop over potentially easier functions g_k. And store some weights w_k that essentially describe how F transformed an input function into y. Easy-peasy.
And maybe I don’t want to evaluate the entire sum. So I could choose to evaluate only the “important” terms in the sum to approximate y(x).
The entirety of signal processing, much of quantum mechanics, much of electromagnetism, and many other partial differential equations can fit into this framework. And we use PDEs to describe F when we really have no idea how to even to write it down. But we can still compute eigenfunctions and therefore make progress in evaluating F since we know the effect of F on certain special functions.
Does that help?
Thanks for tickling the old neurons.
f needs to be linear, but the function in your example is not linear.
However, there are quite interesting linear functions. Example: f(x(t)) = x(t-2) + 4dx/dt - \int_0^t 2x(s) ds
5(2z) + 2 != 2(5z + 2)
For example, linear functions over finite dimensional vector spaces can be represented with matrices which means that everything you can compute about matrices you can also compute about linear functions.
In the land of analog signal processing: any combination of capacitors, inductors, and resistors [https://soundcertified.com/wp-content/uploads/2020/04/speake...] is linear.
In the land of math abstractions of signal processing: differentiation, integration, finite-impulse-response (FIR) filters, IIR filters, frequency-domain equalization, etc. All linear. Remember, linearity is with respect to the full time history, so f(z) = z(t) - z(t-1) + z(t-2) is still linear.
So we already know the eigenvectors of that whole arbitrary pile of componentry! Given any box of the above components, we can exactly characterize its response to any input -- for all time -- by knowing a list of that system's eigenvalues -- one for each of the already-known eigenvectors.
That's the "frequency response" -- the eigenvectors are sinusoids, and the frequency response is the eigenvalue corresponding to each eigenvector (sinusoid). And of course the Fourier transform takes you back and forth from the time domain to the eigen-domain.
We liked this analytical framework so much that when we could fabricate nonlinear devices (transistors) easily, we purposefully arranged things so these devices were only used in a linear part of their response curve. Hence, amplifiers: f(z) = 11 z.
And then the musicians introduced distortion and f*cked it all up -- our system isn't in a linear regime, our old eigenvectors are meaningless, and we can't predict what will come out. Pure chaos.
That’s interesting but not particularly remarkable because eigenvalues are defined for linear transformations of any vector space over a field.
For example - the eigenfunction of a derivative is e^x since when you run the derivative function on e^x you get.... e^x
For any vector space V over a field F, the set of functions V -> V is a vector space over F. This is essentially because the vector space properties are carried over "point-wise".
When you consider only certain classes of functions (such as L^2), the question of whether they form a vector space boils down to the question whether those classes are closed under addition and scalar multiplication. All other vector space properties are satisfied because they are in the larger vector space of all functions.
Unfortunately, the history of the eigen*s is rooted in the opaque and cryptic (but rigorous) linear algebra definition, and the non-rigorous but meaningful geometry came later.
Fixed directions. The operator operating on an eigenvector doesn't change the vector's direction, but can change its magnitude (i.e. length). (Except, if you change the length from positive to negative, then you kind of change, or flip, the direction to 180 degrees opposite.)
I was really struggling to grok what Eigenvectors and Eigenvalues were and found this video to be the best intuition primer. I wish I had 3b1b when I was in high school and college
Seriously, the course on the essence of linear algebra did more for me than my entire college linear algebra course. It's only a pity I discovered the videos at the end of my mechanical engineering degree and not sooner.
My doctor once told me “if you learn enough Latin, a lot of names in medicine will hint at what they are, so you have less to memorize.”
I find that these names often lend a sense of complexity to concepts that turn out to be rather simple. In high school this really contributed to my struggles.
Edit: apparently Eigen isn’t a person’s name so I sure picked an embarrassing moment to bring this up.
https://en.wikipedia.org/wiki/List_of_things_named_after_Leo...
"Eigen" in German has same English root as "own": "Eigenvalue" is Germanglish for "Own/inherent value", so meets your spec of naming a thing after its characteristics, as long as "naming" is allowed to be in multiple languages.
In IT, that language is English. In diplomacy, before interpreters were plentiful, that language was French. And in many classical, medieval-era sciences, that language was Latin (as a commonly-understood language that came from it's ease of being learned by romance-language speakers and being rather relevant in the (then church-run) universities).
So, there's no indirection intended. It's just an artefact of the past - an artefact that helps Chinese, Spanish and American doctors communicate (in broad strokes) even today.
If such a word doesn't exist, you might as well name it after a person instead of trying to invent a new word.
It's awful.
You know how many same-xs there are?! Eigenvalue, eigenvector, homomorphism, isomorphism, homeomorphism, homotopic. Which one gets to actually be "same shape"? Worse are when well meaning mathematicians use descriptive names anyway. Open and closed are not mutually exclusive, giving rise to the awful clopen (and don't pretend like ajar helps. an ajar door is an open door!). Groups, rings, and fields all sort of bring to mind the objects they describe, but only after you know the archetypal examples. Math is the study of giving the same name to different things, and that gives rise to more names than there are short descriptions.
So do you know what I did? Whenever I could, I used a real person's name. It freed up a limited vocabulary, and gave enough wiggle room to translate most undergrad math without too much loss. I suspect a similar thing is in play with math. Maybe the category theory people have abstractions to usefully describe "same-functions" without confusion. But in general, things are named poorly because it's genuinely a hard task.
This gets worse the "deeper" the math goes, but for me it never was a real problem, as you usually learn the definition together with the name.
For really simple compounds, names are more or less settled and consistent (with some exceptions).
But as soon as your compound starts to get more complex (think organic chemistry) all the sudden, it becomes nigh impossible to consistently name things. There are tons of compounds with the same chemical formula that are regionally named differently. Even worse, there are tons of compounds with the same chemical formula that are actually different things due to how the compound is arranged. (Good ole carbon chains).
You can look up a vibrating drum head (circular membrane) for a simple example.
Say you have two cars linked, with some spring constant;
| --^^-- [c1] --^^-- [c2] --^^--|
where '^^' is a spring and '|' is a wall.
The motion of these cars can be written using the spring forces in the system or, alternately, as the harmonic motion of the undamped system with some natural frequency.
Setting this up as two simultaneous equations (one for each car) and solving for the roots give you the eigenvalues. The natural frequency is the square root of the eigenvalue. In other words, the eigenvalues help you define the natural frequencies which can be used to characterize the motion of the cars in the more complicated spring-mass system.
I like this example because it gives a physical meaning to both eigenvalues and imaginary numbers. It also shows the connection between the sine and cosine and the complex powers of e comes from (since you can show that all three solve the differential equation).
https://web.archive.org/web/20130728183938/williamcotton.com...
What lines (through the origin) are mapped back to themselves? Those are the eigenvectors, and the amount by which they're elongated or shortened are the eigenvalues.
So, if we talk about 3d space, and we rotate things - the rotation axis is unchanged. That's an eigenvector (with eigenvalue 1).
If we mirror things - any vector in the mirror plane remains unchanged, that's an eigenvector (with eigenvalue 1), the vector perpendicular to the mirror is unchanged, but flipped, so that's an eigenvector (with eigenvalue -1).
If we dilate everything along the x axis by a factor of 2, say, then the x axis is an eigenvector (with eigenvalue 2), while the y and z axis and any vector in that plane is an eigenvector (with eigenvalue 1). Any other vector is "tilted", so not mapped to itself, so not an eigenvector.
... which means it's probably an imaginary physical system.
Maybe a good physical example is a piece of cloth that warps in 2D, and shrinks, when washed? Eigenvectors would describe the warping (skew, say) and eigenvalues the shrinkage relative to the original warp and weft.
Steve Brunton on YouTube has really good videos on eigenvectors & eigenvalues in context of matrix algebra (and then applied to simultaneous differential equations); https://youtube.com/watch?v=ZSGrJBS_qtc .
Does 'through the origin' imply motion through 'the origin'?
Before describing any system, it's up to you (your "convention") to assert where is the zero-point of your world and in which directions the axes (x,y,z) are pointing.
For instance, in the real world you can choose your 3D coordinate system such that your mirror, as a physical system, keeps the origin untouched (0,0,0) -> (0,0,0). If you decide the origin is a point on the mirror, the equations will be linear: mirror(X) = AX. However if you setup the origin some point far from the mirror, like the center of your eyes, the equations are no longer linear, but affine: mirror(X) = AX+B. Looking at the values of the "AX" part of the system would reveal you the mirroring plane, but now shifted by an offset of "+B" -- the distance between the mirror and your eyes -- because your choice of coordinates was not leaving the origin intact.
I can't remember the next part exactly, you can look it up in a textbook, but you multiply the matrices KMK, or similar, and the eigenvalues of this are the natural frequencies of the string. The eigenvectors represent the mode shapes, ie the displacement of each mass element.
The same technique is used in Finite Element Analysis to find the modes and modeshapes of complex structures (a car frame, a bridge, etc)
https://en.m.wikipedia.org/wiki/Eigenfunction#Vibrating_stri...
Principle axes are the axes where a weightless body can rotate around without "wobbling". These axes are orthogonal to each other. If a rigid body has I_1 < I_2 < I_3 moments of inertia, then rotation around the first and third axes is stable and rotation around the second axes is unstable.
[1] https://en.wikipedia.org/wiki/Moment_of_inertia#Inertia_tens...
[2] https://en.wikipedia.org/wiki/Moment_of_inertia#Principal_ax...
The the eigenvectors will be the long term stable state probabilities.
Oscillation modes in mass-spring systems. Here is a simple one with 2 masses and 3 springs, so the matrix is only 2-by-2.
https://math24.net/mass-spring-system.html
With more than 2 masses, you don't need to arrange the masses on a line, but you can have a 2d or 3d arrangement, with interconnecting springs. I am sorry I failed to find an example image.
The theory is explained, for example, around page 479 in this Thornton and Marion Classical Dynamics textbook. But you need to read about Lagrangian mechanics (chapter 7) before it makes sense.
https://eacpe.org/app/wp-content/uploads/2016/11/Classical-D...
However, if you write down the matrix of spring constants for the system and solve for the eigenvalues and eigenvectors of this system you can do something special. If you compress or stretch the molecule along the direction of the one of the eigenvectors then let go, the molecule will continue to vibrate along that same direction. The motion will not spread out to all other degrees of freedom. It will also vibrate with a frequency given by the eigenvalue of that eigenvector.
Additionally, any complex vibration of the system can be broken down into a combination of these independent vibrational modes. This is a simple fact because the eigenvectors form an orthogonal basis for the space.
https://drive.google.com/file/d/12SM0SAOvMq166gc8B1b81Y_S7HP...
The third page in particular shows a plot of "amplitude" versus "frequency" to show the "harmonic spectrum of a sawtooth wave". The "frequencies" correspond to the modes of vibration (i.e., sine waves of different frequency), which are the "eigenvectors" in this case. The "amplitudes" are the relative contribution of those vibrations to the overall sound, and these correspond to "eigenvalues".
The article is talking purely about constructing sounds via synthesis, so there's not necessarily a linear system associated with it, but there is a connection. Wave equations represented by linear partial differential equations can often be analyzed as a linear system that has these "modes of vibration" (i.e., series of orthogonal sinusoids at different frequencies). If you were to, for example, model a plucked string (like a guitar), you can model the solution as a weighted sum of eigenvectors (in this case, "modes of vibration" or sinusoids of different frequencies). The "weights" would be the eigenvalues, which determine the spectrum and ultimately the timbre of the sound produced.
That might seem more involved, because it's an infinite-dimensional linear system (i.e., the vectors are functions on a interval, rather than finite lists of numbers). It turns out, though, that the finite-dimensional discretization of an infinite-dimensional linear system (i.e., a partial-differential equation approximated by a finite-dimensional linear system) will sometimes have eigenvectors / eigenvalues that have similar features as the infinite-dimensional case. For example, there are certain finite-difference operators that can be written in matrix form whose eigenvectors will work out to be sampled sinusoids.
I'm not totally sure of the history, but I think a lot of the interest in eigenvectors / eigenvalues as a topic in matrix theory originated from this are (i.e., numerical solutions for partial-differential equations that were used to model physical systems).
Yep, vibration modes. Vibration frequencies represent their eigenvalues while the shape that the structural system exhibits when subjected to said vibration corresponds to it's eigenvector.
If a structural system is modelled as a linear elastic system it's possible to apply an eigendecomposition of that system and represent it in terms of linear combinations of it's vibration modes/eigenvector, and consequently we can get very accurate representations by using only a hand-full of these eigenvectors.
You know swing sets? We would start to swing back and forth just by moving our legs in a particular frwquencey, and without much effort we could move more and more? It turns out the frequency we moved our legs was the system's vibration frequency/eigenvalue for the vibration modes/eigenvector representing the we swinging back and forth.
Actually, trying to understand how eigenmodes and eigenfrequencies — which I understand well — relate to eigenvalues and eigenvectors.
Yes. The eigenvalues and eigenvectors of an undamped harmonic oscillator are respectively the vibration frequency and vibration mode.
One major class of structural analysis techniques is modal analysis, which determines the vibration modes and corresponding frequencies of specific structural systems subjected to particular boundary conditions.
The essence of special relativity is that acceleration is a bit weirder than you think. In particular when you accelerate by amount a in some direction x, even after accounting for the usual Doppler shifts you will find that clocks separated from you by that coordinate, appear to tick at the rate 1 + a x/c² seconds per second, where c² is a fundamental constant. Clocks ahead of you tick faster, clocks behind you tick slower (and indeed appear to slow down and approach a ‘wall of death,’ more technically called an ‘event horizon,’ at a distance c²/a. (This effect is called the ‘relativity of simultaneity,’ and it is in some sense the only real prediction of special relativity, as the rest of this comment will show—the other effects of ‘time dilation’ and ‘length contraction’ are second-order and can be derived from this first-order effect.)
This means that the transformation equations for moving into a neighboring reference frame are not the ones that Galileo and Newton proposed,
t' = t
x' = x – v t
but slightly modified to (to first order in v, so only considering small velocity changes) t' = t – (v/c²) x
x' = x – v t
where w = c t is a measure of time in units of distance using this fundamental constant. How do we generalize and get the full solution? We can do it by looking in the eigenvector basis. Consider new coordinates p = x – c t and q = x + c t, given any (x, t) you can find a unique (p, q) which describes it and if you want to get back those values you would say x = (p + q)/2, t = (q – p)/(2 c). But feed these magical coordinates that come from eigenvectors into the above transform and it "diagonalizes", p' = (1 + v/c) p
q' = (1 – v/c) q
and therefore if you want to make a big change in "velocity" c φ (here instead φ turns out to be "rapidity") out of N smaller changes, you can repeat this transform N times with little boosts by v/c = φ/N, and you will stitch together the full Lorentz transform out of little first-order Lorentz transforms: p' = (1 + φ/N)^N p = e^φ p
q' = (1 – φ/N)^N q = e^{-φ} q
Transforming back and using the hyperbolic sine and cosine, sinh(x) = (e^x – e^{-x})/2, cosh(x) = (e^x + e^{-x})/2, the full formula is w' = w cosh(φ) – x sinh(φ)
x' = x cosh(φ) – w sinh(φ)
where w = c t is a simple time-in-units-of-meters coordinate. Usually we denote cosh(φ) = γ, sinh(φ) = γ β, which gives this the more familiar form you'll find in textbooks, and the identity cosh²x = 1 + sin²x gives a formula γ = 1/√(1 – β²) for the latter... but this ‘rapidity form’ is in some ways more elegant. Anyway, point stands, from the "first-order" transform you can derive the "full" transform just by building any large velocity change out of an infinite number of infinitesimal velocity changes, and this is the source of the factor γ which describes time dilation and length contraction.Okay, now for physical interpretation. You asked what physical meaning these eigenvalues and eigenvectors of the Lorentz transformation have, and the answer is this: the eigenvalues (1, 1) and (1, -1) of the Lorentz matrix represent light rays, the p/q description we came up with above was a description of spacetime in terms of light-ray coordinates where we identify an event at a particular place and time with the light rays that it casts, announcing that the event has happened, in the +x and -x directions. On the negative side, these are also the last light rays that were able to touch the event before it happened, so represent "everything it could have possibly known about" -- there is a space between these two "light cones" which is its "relativistic present," the things that anything which was there at the event cannot know about until the future.
The eigenvalues, exp(φ) = sinh(φ) + cosh(φ) = γ + γ β = √[(1 + β)/(1 – β)] and exp(-φ) = √[(1 – β)/(1 + β)], are the Relativistic Doppler shifts of those light rays. Indeed one can read them as e.g. exp(-φ) = 1/γ * 1/(1 + β) , here 1/(1 + β) is the standard Doppler shift formula from nonrelativistic physics and 1/γ is the decrease in frequency due to time dilation.
Eigenvectors are the fundamental frequencies of a spring system
source: PW Atkins & RS Friedman, "Molecular Quantum Mechanics 3rd Ed"
> An observable is any dynamical variable that can be measured... in classical mechanics... observables are represented by functions* (such as position as a function of time), in quantum mechanics they are represented by mathematical operators... We shall not in general distinguish between the observable and the operator that represents that observable (such as the position of a particle along the x-axis)"
> "An operator is a symbol for an instruction to carry out some action, an opeeation, on a function...in certain cases, the outcome of an operation is the same function, multiplied by a constant" [that constant being the eigenvalue]
Form: (operator) (eigenfunction) = (eigenvalue) (eigenfunction)
> "An important point is that a general function can be expanded in terms of all the eigenfunctions of an operator, a so-called complete set of functions... then a general function can be expressed as the linear combination [a sum over a complete set of functions, each function having its own coefficient]"
Finally, we get to a practical real-world example (non-QM):
> "...for instance, the straight line g = ax can be recreated over a certain range by superimposing an infinite number of sine functions, each of which is an eigenfunction of the [differentiation] operator, d2/dx2. Alternatively, the same function may be constructed from an infinite number of exponential functions, which are eigenfunctions of d/dx."
Extending this general concept, we can go into the famous Fourier Transform, used widely for all kinds of classical problems in converting waveforms into frequency peaks, such as in musical analysis, electrical engineering, etc. The wiki page on Fourier transforms has a very brief mention of this view, i.e. The Fourier transform decomposes a function into eigenfunctions for the group of translations.
Here's what looks like a deep dive into this approach to the Fourier Transform (2008):
http://www.systems.caltech.edu/dsp/ppv/papers/journal08post/...
"By finding eigenvectors we’ll find axes of new subspace where our life gets simpler: classes are more separated and data within classes has lower variance."
https://medium.com/nerd-for-tech/linear-discriminant-analysi...
https://www.reddit.com/r/explainlikeimfive/comments/1avwm7/c...
Lawvere's fixed point theorem is I think the best formulation of the idea https://ncatlab.org/nlab/show/Lawvere%27s+fixed+point+theore...
I've been putting together a brain dump on the topic
https://github.com/adamnemecek/adjoint/
Join the discord
Now I know that eigen*s (at risk of egregious oversimplification) can characterize systems and transformations, they are fundamentally widely applicable. Think of stretching narrow an arbitrary 2D image on a non-cardinal axis; an eigenvector can be a key factor that describes that transformation.
Perhaps, we should compromise and name it after Leonhard Euler? That should clear up the confusion.
Scale of aspect?
Aspect factor?
Scale along Axis?
Axial scaling factor?
Natural scaling?
Propensity?
Leaning factor?
In geography for example(quoting from Wikipedia):
"In physical geography and physical geology, aspect (also known as exposure) is the compass direction or azimuth that a terrain surface faces."
See https://nhigham.com/index-of-what-is-articles/ for a useful listing. Or, in an alternative form, https://github.com/higham/what-is . Notice that if you go all the way back up the rabbit hole you'll find user-friendly articles like "What is a matrix?" that clearly define the terms used farther down.
I really dig Higham's pedagogic style, in case it's not obvious.