This is a strange explanation, compared to the standard explanation that a Fourier transform converts time-domain to frequency domain (that is, the x-axis goes from time to freq), and it comes from the observation that a (possibly infinite) sum of sin/cosines of different frequencies can make any curve. A discrete Fourier transform would change the integral into a summation.
I guess you could consider the sines as basis functions and use matrices, but I suspect that a series of sines varying only by frequency and amplitude aren’t orthogonal basis functions, although linear algebra isn’t my strong suite.
The problem is that "frequency domain" is a vague conecept - and in some respects a bit deceptive. I'm not an expect, but I think it's worth for instance pointing out that you have a fixed set of orthogonal frequencies, meanwhile phases are smooth and continuous. You could argue it's like time steps are fixed and amplitudes are continuous, but it just creates all sorts of strange knock-on effects. When you start thinking "what happens if I have an input frequency that is not one in the orthogonal set?" the answers are not obvious (something something bessel functions) and it's not obvious how to deal with them. You can think of plenty of other "issues" like amplitude/frequency modulation that don't have intuitive explanation in a "frequency domain"
Iirc you can't use sines as a basis because sin(0)=0. You can use cosines and a basis, see the Discrete Cosine Transform as an example.
You also don't need to vary amplitude for the basis, as linear combinations of the basis handle any changes in amplitude you need. E.g. if your basis is x and y, your basis spans ax + by for all real a,b.
The two views are equivalent. We can see sines and cosines as arising from the eigenvalues of specific matrices, or we can discretize sines and cosines and see how matrices arise. Since there are already dozens of articles on the standard explantion, I thought it would be interesting to take a different perspective. Plus, linear algebra is simpler than calculus, and in my opinion more fundamental. But judging from the comments, I probably should have been clearer about this and made more of an effort to relate it to the standard explanation.
A lot of the explanations I’ve seen on HN of Fourier transforms are strange. The standard explanation is by far the most intuitive and simple with the right examples. Though maybe you would need more math to be able to manipulate things. But certainly not to understand what’s happening.