Orthogonal Basis of Periodic Functions: Beyond Sines and Cosines

In summary, "Orthogonal Basis of Periodic Functions: Beyond Sines and Cosines" explores the concept of orthogonal bases in the context of periodic functions, extending beyond the traditional sine and cosine functions. The text discusses alternative functions that can form orthogonal sets, their mathematical properties, and applications in various fields such as signal processing and Fourier analysis. It emphasizes the importance of understanding these bases for effective representation and manipulation of periodic signals.
  • #36
anuttarasammyak said:
I have already shown

which is periodic with period L=2 and is defined in ##(-\infty,+\infty)##.
What is n, and what is x there? Can you explain what that expression shows?
I don't see a way to change its frequency.
 
Physics news on Phys.org
  • #37
QuantumCuriosity42 said:
What is n, and what is x there? Can you explain what that expression shows?
I don't see a way to change its frequency.
n is number attached to Legendre polunomials

Graph of the variable of polynomials
1699146247318.png


So the graph of Legendre Polynomial for n=7 is

1699146425358.png


You see it periodic in all the region.
 
  • Like
Likes QuantumCuriosity42
  • #38
anuttarasammyak said:
n is number attached to Legendre polunomials

Graph of the variable of polynomials
View attachment 334829

So the graph of Legendre Polynomial for n=7 is

View attachment 334830

You see it periodic in all the region.
Ah I see now, thanks. But I still can't see how you could change its frequency with an argument of the function, like cos(kx), being k the frequency.
 
  • #39
QuantumCuriosity42 said:
Ah I see now, thanks. But I still can't see how you could change its frequency
anuttarasammyak said:
I have no idea of "frequency" you say.
 
  • #40
@anuttarasammyak What I mean is that, we can change the frequency of a cosine ( cos(k*x) ) just by changing its parameter k (it is its frequency), cos(m*x) is ortogonal with cos(n*x), for all m not equal to n.
That is why we can use them as a basis formed by infinite cosines each with a different frequency in the Fourier transform.
What I asked was how can we decompose all possible functions with another basis of periodic functions which are not cosines. And you proposed to use a Legendre polynomial, with that extension to (-inf, +inf), but we lack the ability to change its frequency, like we do for cos(k*x). And for them to form a basis it would also be needed to prove the ortogonality between that extendend polynomial and all possible versions of it with different frequencies.
My question is that I think there is no way to change the frequency of a Legendre polynomial (or the extended one you proposed), like we do for cos(k*x), where k is the frequency and we can change it.
 
  • #41
QuantumCuriosity42 said:
My question is that I think there is no way to change the frequency of a Legendre polynomial (or the extended one you proposed), like we do for cos(k*x), where k is the frequency and we can change it.
Fourier series, in words of https://en.wikipedia.org/wiki/Fourier_series , has discrete set of frequencies or more precisely wave number of
[tex]\{2\pi n /P\} [/tex]
Their numbers are countable infinite as well as n of Legendre polynomials. What' the difference you feel ?
 
  • #42
anuttarasammyak said:
Fourier series, in words of https://en.wikipedia.org/wiki/Fourier_series , has discrete set of frequencies or more precisely wave number of
[tex] {2\pi n /P} [/tex]
Their numbers are countable infinite as well as n of Legendre polynomials. What' the difference you feel ?
I am not talking about Fourier series, which are only valid to decompose periodic functions. I am refering to Fourier transform, which lets us decompose any function, wheter periodic or not.

With respect to Legendre polynomials, I am not talking about forming a basis with all Legendre polynomials, I mean to do it just with one of them. But with infinite versions of that one, and each one being the same original chosed polynomial but with different frequency. The same way that in Fourier Transform the basis is formed by infinite versions of the same cosine function, but each one with a different frequency.
 
  • #43
Now I know your interest is beyond OP topic of

Orthogonal Basis of Periodic Functions: Beyond Sines and Cosines​

 
  • #44
anuttarasammyak said:
Now I know your interest is beyond OP topic of

Orthogonal Basis of Periodic Functions: Beyond Sines and Cosines​

Should I create a new thread?
 
  • #45
One of the few useful pieces I remember from math classes:
Sturm–Liouville theory is the general study of Sturm–Liouville problems. In particular, for a "regular" Sturm–Liouville problem, it can be shown that there are an infinite number of eigenvalues each with a unique eigenfunction, and that these eigenfunctions form an orthonormal basis of a certain Hilbert space of functions.
Most useful functions are found within this rubric IMHO.
 
  • Like
Likes vanhees71
  • #46
QuantumCuriosity42 said:
LTI systems are more of an engineering rather than physics concept right?
Sorry, I don't really understand the difference; so sure, whatever... But I do see physicists using Fourier Transforms A LOT.

QuantumCuriosity42 said:
Could you provide some references about how LTI systems only behave linearly with sines?
Nope, that can't be done. Linear systems are linear for any input signal, not just sine waves. Consider that an input function can be expressed as a Fourier series (or transform), which is composed of sinusoids. If it's linear for sinusoids, it's also linear for linear combinations of sinusoids, which is nearly everything.
 
  • Like
Likes QuantumCuriosity42
  • #47
QuantumCuriosity42 said:
That is interesting to know, but LTI systems are more of an engineering rather than physics concept right?
It looks like some nature properties like I said in my previous comment also depend on armonic frequencies.
LTI applies in physics as well. The propagation of light through any linear time-invariant medium (air, glass or colored filters) is an example. IWe can demonstrate that sines and cosines are the eigenfunctions (the natural modes or natural ways to characterize) an LTI system:
The output y(t) of an LTI system is given by the convolution of an input x(t) with the system's impulse response h(t) according to$$y(t)=x(t)*h(t)=\int^\infty_{-\infty}{x(t-\tau)h(\tau)d\tau}$$h on the right is independent of the time of day t, hence the characterization that the system is not time varying.
Now let the input be a wave of a single frequency $$x(t)=x(ω,t)=A(\omega)exp(i\omega t)$$where A is a complex number, so that x(t) consists of both a sine and cosine wave of the same frequency ω but of independent amplitudes. Then
$$y(t)=A(\omega)exp(i\omega t)\int^\infty_{-\infty}{exp(-i\omega \tau)h(\tau)d\tau}$$The integral is just the Fourier transform of the impulse response H(ω), which is called the frequency response of the system. Thus $$y(t)=H(ω)x(ω,t)$$We say that the complex exponential (sine/cosine, if you prefer) function x(ω,t) is a characteristic function of the LTI system and H(ω) is the corresponding characteristic value; these are also called eigenfunctions and eigenvalues. The frequency response or eigenvalue spectrum H(ω) completely characterizes the response of the system to any arbitrary input because every input can be decomposed into sines and cosines via Fourier transformation, and the system response to each frequency component is known from the frequency response. With more advanced math, it can be shown that this is the only set of eigenfunctions for an LTI system and that they are all orthogonal to each other.

The connection to light color is that light is a collection of electromagnetic waves, which are sines and cosines by definition. Propagation media such as air, glass or colored filters are LTI so decomposing light into its constituent frequencies (colors) and applying the frequency response function for the medium gives the output.

Another class of physical system is linear and spatially (rather than temporally) non-varying. They are treated mathematically in the same way but using spatially varying waves and spatial frequency responses.
 
Last edited:
  • Like
Likes QuantumCuriosity42
  • #48
QuantumCuriosity42 said:
Well, now that I notice, those functions aren't orthogonal? For example the dot product between 1 and 3 is less than 0.
This is not really a problem, as Gram-Schmidt allows us to orthogonalize a basis, even an infinite one. In an inner-product space, of course.
 
  • Like
Likes vanhees71, QuantumCuriosity42 and DaveE
  • #49
hutchphd said:
One of the few useful pieces I remember from math classes:
Sturm–Liouville theory is the general study of Sturm–Liouville problems. In particular, for a "regular" Sturm–Liouville problem, it can be shown that there are an infinite number of eigenvalues each with a unique eigenfunction, and that these eigenfunctions form an orthonormal basis of a certain Hilbert space of functions.
Most useful functions are found within this rubric IMHO.
I don't see what that has to do with my question about a basis formed by infinite versions of the same periodic function, each one with a different frequencies (like cos(kx)).
 
  • #50
The point is that this is not unique, and should not therefore be expected a priori to be particularly special. You need to broaden your view.
 
  • #51
hutchphd said:
The point is that this is not unique, and should not therefore be expected a priori to be particularly special. You need to broaden your view.
But it is unique in terms of physics, for example, the energy of a photon E=h*f, depends on the frequency f, of the armonics that form the EM wave. Not on the frequency of other basis that are not armonics.

By the way, since you say it is not unique, could you provide a counterexample?
 
  • #52
The vibration of a drumhead is described best using Bessel functions.
Diffraction of light by a circle by Airy functions. And so on.
 
  • Like
Likes DaveE and QuantumCuriosity42
  • #53
hutchphd said:
The vibration of a drumhead is described best using Bessel functions.
Diffraction of light by a circle by Airy functions. And so on.
And what about the De Broglie relation? https://en.wikipedia.org/wiki/Matter_wave
How is it that it relates the momentum with the frequency of a sinusoid, and not any other wave?
And what is more, how is it that not once in that Wikipedia article is mentioned to what kind of periodic wave (sinusoidal, triangular, square) the wavelength and frequency refer to. It is vital information to understand it, right?

Do you know an example of an infinite basis of periodic waves of different frequencies like the one Fourier transform uses? I really think it is the only one, and it explains why all of this coincidences happen.
 
  • #54
The plane wave basis (sin cos or complex exponential) is most useful for square boxes (or crystals). The eigenvalues for any finite box are discrete because of boundary conditions.
The eigenbasis for a free atom does not use plane waves because they do not vanish with spherical distance as required. You can see that solution in any elementary quantum book, i will not describe it here. The allowed frequencies are not strictly "harmonic" nor distribution in space perfectly periodic but there is a whole lotta shakin' gong on......
 
  • #55
https://en.wikipedia.org/wiki/Black-body_radiation
In this article the same happens, wavelength and frequency are mentioned, while completely disregarding the type of periodic wave they refer to. I don't understand how is it that all people ignore that in all physics articles, it is crucial information, it seriously makes me go mad. I just don't get it.
 
  • #56
QuantumCuriosity42 said:
https://en.wikipedia.org/wiki/Black-body_radiation
In this article the same happens, wavelength and frequency are mentioned, while completely disregarding the type of periodic wave they refer to. I don't understand how is it that all people ignore that in all physics articles, it is crucial information, it seriously makes me go mad. I just don't get it.
Because sinusoids are so useful, common, and mathematically simple, I think most technical people just assume that either you know that's what they are talking about, or that it doesn't matter.

Plus, there is a semantic issue. For example, in my mind a triangle wave has one period but contains many frequencies. I know that doesn't make sense to everyone, but we don't always want to explain every detail.
 
  • #57
DaveE said:
Because sinusoidals are so useful, common, and mathematically simple, I think most technical people just assume that either you know that's what they are talking about, or that it doesn't matter.
But like, why look at the radiation spectra of a black body in that basis of sines (Fourier transform)!?
We could use any other. Even more, I am starting to think that all that was derived after that black body radiation law, like E=hf is simply a suposition that the frequencies are of sinusoids, when they could be of any other periodic wave. What is going on?
 
  • #58
QuantumCuriosity42 said:
But like, why look at the radiation spectra of a black body in that basis of sines (Fourier transform)!?
We could use any other. Even more, I am starting to think that all that was derived after that black body radiation law, like E=hf is simply a suposition that the frequencies are of sinusoids, when they could be of any other periodic wave. What is going on?
You could use square waves, if you want. The rest of us like sine waves, we think they are easier.
 
  • #59
DaveE said:
You could use square waves, if you want. The rest of us like sine waves, we think they are easier.
But if that is true, then all equations derived from that suposition are plainly wrong? We claim E=hf, <<after>> supossing that radiation is formed by sinusoidal waves.
I could suppose they are other kind of wave and derive E=h*sqrt(f), or something like that, what!?
Also how did people originally decompose black body radiation on its armonic spectra? They applied Fourier Transform?.
 
  • #60
hutchphd said:
The vibration of a drumhead is described best using Bessel functions.
Diffraction of light by a circle by Airy functions. And so on.
These are orthogonal basis functions but they are not periodic.
 
  • #61
QuantumCuriosity42 said:
But like, why look at the radiation spectra of a black body in that basis of sines (Fourier transform)!?
Because the simplest model was solving Maxwell's eqations for a closed -wall box at temperature T. This naturally leads to standing-wave solutions. The multiplicity of such solutions was thereby most easily counted (facilitating the calculation of the energy distribution using thermodynamics).
If you are curious about quantum , this is in many books.
QuantumCuriosity42 said:
Also how did people originally decompose black body radiation on its armonic spectra? They applied Fourier Transform?.
No they used the physics of light: Maxwell's equations. Fourier transform is a mathematical formalism. Planck made the physical Ansatz that energy could be exchanged with atoms only in discrete amounts There is a wonderfull learning tool called Wikipediia: see Planck spectrum . Doh.
It turns out that quantum electrodynamics demands this rule.
 
  • #62
hutchphd said:
Because the simplest model was solving Maxwell's eqations for a closed -wall box at temperature T. This naturally leads to standing-wave solutions. The multiplicity of such solutions was thereby most easily counted (facilitating the calculation of the energy distribution using thermodynamics).
If you are curious about quantum , this is in many books.

No they used the physics of light: Maxwell's equations. Fourier transform is a mathematical formalism. Planck made the physical Ansatz that energy could be exchanged with atoms only in discrete amounts There is a wonderfull learning tool called Wikipediia: see Planck spectrum . Doh.
But only sine and cosines are standing-wave solutions? There can be more right?
I read Wikipedia and much more but there my questions don't have answer sadly.
 
  • #63
QuantumCuriosity42 said:
I read Wikipedia and much more but there my questions don't have answer sadly.
We are glad to help.
There are many ways to solve for the standing waves. The easiest to solve is a cubic box ( largely because of the simplicity of the Fourier decomposition) but the detailed shape of the box does not really affect the result. You could solve for a spherical bax if you had smart slaves (i.e. grad students) to do the calculations but the resulting physics is the same.
 
  • Like
Likes QuantumCuriosity42
  • #64
Mathieu functions Hard to discern what exactly is being sought here, but have a look at Mathieu functions. A kind of generalization of sine and cosine.
 
  • #65
The extension from sines and cosines is a stretch; Mathieu functions are the radial wave functions in elliptic cylinder coordinates.
 
  • #66
marcusl said:
The extension from sines and cosines is a stretch; Mathieu functions are the radial wave functions in elliptic cylinder coordinates.
They can be recovered by taking the limit of one of their parameters. I don’t see that your objection amounts to more than saying they aren’t sine and cosine, which seems to be what OP wants.
 
  • #67
anuttarasammyak said:
How about this set as an exasmple ?
View attachment 334783
These are called Walsh functions. They are another example of an orthogonal basis function set.
 
  • Like
Likes anuttarasammyak
  • #68
Svein said:
These are called Walsh functions. They are another example of an orthogonal basis function set.
Those are not orthogonal, for example the dot product between the first and third is < 0.
 
  • #70
Haborix said:
They can be recovered by taking the limit of one of their parameters.
I didn't realize that. Which parameter do you set to reduce to sines and cosines?
Svein said:
These are called Walsh functions. They are another example of an orthogonal basis function set.
They should be, but they aren't quite right; see below.
QuantumCuriosity42 said:
Those are not orthogonal, for example the dot product between the first and third is < 0.
Actually, waveform 3 in the diagram in post #11 is incorrect. The center lobe should be longer (as long as one side of waveform 2) and the two side lobes half as long. Then they are orthogonal Walsh codes.
 
  • Like
Likes anuttarasammyak and QuantumCuriosity42
Back
Top