Most active commenters
  • segfault99(6)
  • arethuza(3)
  • zwnow(3)

←back to thread

What Is the Fourier Transform?

(www.quantamagazine.org)
474 points rbanffy | 43 comments | | HN request time: 0.212s | source | bottom
1. anyfoo ◴[] No.45133536[source]
If you like Fourier, you're going to love Laplace (or its discrete counterpart, the z transform).

This took me down a very fascinating and intricate rabbit hole years ago, and is still one of my favorite hobbies. Application of Fourier, Laplace, and z transforms is (famously) useful in an incredibly wide variety of fields. I mostly use it for signal processing and analog electronics.

replies(7): >>45134309 #>>45134360 #>>45134494 #>>45136059 #>>45136233 #>>45136685 #>>45144576 #
2. artyom ◴[] No.45134309[source]
Essentially that's what electrical/electronics engineering is about.
3. segfault99 ◴[] No.45134360[source]
When I did EE, didn't have access to any kind of computer algebra system. Have 'fond' memories of taking Laplace transform transfer functions and converting to z-transform form. Expand and then re-group and factor. Used a lot of pencil, eraser and line printer fanfold paper for doing the very basic but very tedious algebra. Youngsters today don't know how lucky.. (ties onion to belt, etc., etc.)
replies(4): >>45136650 #>>45136654 #>>45140144 #>>45142196 #
4. armanj ◴[] No.45134494[source]
Years ago, I often struggled to choose between Amazon products with high ratings from a few reviews and those with slightly lower ratings but a large volume of reviews. I used the Laplace Rule of Succession to code a browser extension to calculate Laplacian scores for products, helping to make better decisions by balancing high ratings with low review counts. https://greasyfork.org/en/scripts/443773-amazon-ranking-lapl...
replies(3): >>45135406 #>>45137382 #>>45137527 #
5. kragen ◴[] No.45135406[source]
While this is a good idea, I think it's unrelated to the Laplace transform except that they're named after the same dude?
replies(1): >>45142183 #
6. arethuza ◴[] No.45136059[source]
When I think of Laplace Transforms I always think of control theory - poles, zeros etc.
replies(2): >>45136173 #>>45138083 #
7. kmarc ◴[] No.45136173[source]
Probably that's why we are learning about it in the "Control Theory" classes at university. :-)

Jokes aside, I graduated as "Computer Engineer" (BSc) and then also did a "Master in Computer Science"; I was (young and) angry at the universe why soooo many classical engineering classes and then theory I had to sit through (Control theory, Electrical engineering, Physics), and we never learned about the cool design patterns etc etc.

Today I see that those formative years helped me a lot with how I develop intuition when looking at large (software) systems, and I also understand that those ever changing best design patterns I can (could have) just look up, learn, and practice in my free time.

I wish a today-me would have told my yesterday-me all this.

replies(1): >>45136231 #
8. arethuza ◴[] No.45136231{3}[source]
I learned about it after I graduated with a CS degree - I mean in true university degree fashion we'd been taught about Laplace and Z transforms (and related things) but with no practical applications.

After graduating I joined an academic research team based mainly in a EE department who were mainly Control Engineers - we were mainly doing stuff around qualitative reasoning and using it for fault diagnosis, training etc.

replies(1): >>45139258 #
9. jojobas ◴[] No.45136233[source]
Then there's the whole mindfuck of fractional order Fourier (and other) transforms.
10. taneq ◴[] No.45136650[source]
Did you make sproingies from the tear-off side strips of the printer paper, though? That was the best bit. :P
replies(1): >>45137143 #
11. zwnow ◴[] No.45136654[source]
No worries, as a self proclaimed youngster I didn't manage to understand Fourier in 2 days and never bothered again. Also had no other prior knowledge to algebra so maybe that's why I struggled. Never perceived algebra as useful in anything programming related, will continue to do so as most problems are solvable without it. I'll let the degree havers do all that stuff.
replies(5): >>45137201 #>>45137819 #>>45138081 #>>45139859 #>>45140819 #
12. zozbot234 ◴[] No.45136685[source]
The so-called "Z transform" for discrete sequences is really just a misnomer for the actual method of generating functions (and formal power-series/Laurent-series). You just write a discrete sequence as a power series in z^(-1).
replies(2): >>45137146 #>>45141010 #
13. segfault99 ◴[] No.45137143{3}[source]
Of course!
replies(1): >>45148759 #
14. segfault99 ◴[] No.45137146[source]
True dat. But you see there's this thing called 'Engineering Maths'. Apparently it's really bad for real mathematicians' blood pressure.
replies(1): >>45137792 #
15. perching_aix ◴[] No.45137201{3}[source]
You might find LLMs to be a useful crutch for this to an extent, although it's very easy to take the wrong turn and go off into the deep end. But as long as you keep forcefully connecting it back to practical reality, you can get progress out of it. And of course, never actually make it calculate.
16. Shadowmist ◴[] No.45137382[source]
I always assume that all the ratings are fake when there is a low count of ratings since it is easy for the seller to place a bunch of game orders when they are starting out.
replies(1): >>45141378 #
17. CuriouslyC ◴[] No.45137527[source]
Just for reference, in case you find yourself in an optimization under uncertainty situation again: The decision-theoretic right way to do this is generate a bayesian posterior over true ranking given ranking count and a prior on true rankings, add a loss function (it can just be the difference between the true rating of the selected item and the true rating of the non-selected item for simplicity) then choose your option to minimize the expected loss. This produces exactly the correct answer.
replies(1): >>45148745 #
18. zozbot234 ◴[] No.45137792{3}[source]
Analytic combinatorics (the rubric where mathematicians would want to place all the region-of-convergence, zeros-poles, etc. analysis of generating functions–formal power/Laurent series–Z transforms that engineering often focuses on) is not exactly easy-going either. Other common methods (relating convolution to multiplication, inverting transforms etc.) would traditionally be comprised under the Operational Calculus of Mikusiński.
replies(1): >>45156621 #
19. Sharlin ◴[] No.45137819{3}[source]
> Never perceived algebra as useful in anything programming related

Image, video, and audio processing and synthesis, compression algorithms, 2D and 3D graphics and geometry, physics simulation, not to mention the entire current AI boom that's nothing but linear algebra… yeah, definitely algebra isn't useful in anything programming related.

replies(1): >>45139264 #
20. dsego ◴[] No.45138081{3}[source]
Have I got a video for you.

gingerBill – Tools of the Trade – BSC 2025 https://youtu.be/YNtoDGS4uak

21. analog31 ◴[] No.45138083[source]
My control theory professor (who was also my physics advisor -- it was a small college) explained it like this: Physicists like Fourier transforms because they go from minus to plus infinity, like the universe. Control engineers like Laplace transforms because they start at zero, and a control system also has a starting point.
replies(1): >>45147907 #
22. arethuza ◴[] No.45139258{4}[source]
To be fair (and because I've just remembered - it was ~40 years ago) we did get some practical stuff covered in the maths part of my CS degree in the application of group theory (groups, rings & fields) to coding theory.
23. zwnow ◴[] No.45139264{4}[source]
Yea that's not what I work with my guy
replies(1): >>45139273 #
24. Sharlin ◴[] No.45139273{5}[source]
You said "anything programming related", not "anything related to my work", "my guy".
25. hnuser123456 ◴[] No.45139859{3}[source]
So you're a programmer but you've never assigned a number to a variable or written any math operations? Do you just do string translations or something?
replies(2): >>45140544 #>>45145443 #
26. schlauerfox ◴[] No.45140144[source]
I just recently got my Computer Engineering degree which is the modern Electronics Engineering and we had a whole class on transforms. We had to do it on paper, but that professor at Cal State LA knew what the heck she was doing. We learned it good.
27. zwnow ◴[] No.45140544{4}[source]
I'm talking algebra you need a degree for. Well algebra u learn while getting one that is.
28. IAmBroom ◴[] No.45140819{3}[source]
"Book learnin' didn't do me no good no how!"
29. srean ◴[] No.45141010[source]
> really just a misnomer

No. Things acquire different names if they are independently discovered by different communities.

Native Americans called Indians. Lol! what was that.

30. anentropic ◴[] No.45141378{3}[source]
A bigger problem I find is many Amazon listings having a large number of genuine positive reviews, but for a completely different product than the one currently for sale.

Recently I was buying a chromecast dongle thing and one of the listings had some kind of "Amazon recommends" badge on it, from the platform. It had hundreds of 5 start reviews, but if you read them they were all for a jar of guava jam from Mexico.

I'm baffled why Amazon permits and even seemingly endorses this kind of rating farming

replies(1): >>45142024 #
31. ◴[] No.45142024{4}[source]
32. armanj ◴[] No.45142183{3}[source]
I referenced 3B1B for the name: youtube.com/watch?v=8idr1WZ1A7Q
33. mkipper ◴[] No.45142196[source]
Was this professionally or in school? I still did this in an EE program 15 years ago and I can't imagine things have changed since then. I think kids still have to do lots of ugly math in EE classes.
replies(1): >>45145429 #
34. another_twist ◴[] No.45144576[source]
When I first learned Laplace transform in university, it was my goto for differential equations of any kind. I was even naive enough to believe well this is a solved problem now. Eventually found out this wasnt the case after studying PDEs. Its still my favourite transform. Immensely useful not to mention the whole method of moments in random variables is basically laplace transform.

I don't like Fourier transform but for petty reasons. In the engineering exams, I messed up a Fourier Transform calculation and ended up just a few points short of a perfect score. Hate it ever since :)

replies(1): >>45147901 #
35. segfault99 ◴[] No.45145429{3}[source]
Undergrad. Mid-late 1980s.

I wasn't making point about mathematics qua mathematics. Was thinking that if I were doing EE undergrad today, I'd use SageMath or Mathematica to crunch the mechanical algebraic manipulations involved in doing a z-transform.

36. segfault99 ◴[] No.45145443{4}[source]
Plot twist: He's a Haskell guru juggling hylomorphisms blindfolded.
37. Sesse__ ◴[] No.45147901[source]
You know that if you have the Laplace transform, you can just insert s = iω and then you have the Fourier transform, right? :-P

(Or jω, if you prefer that notation)

replies(1): >>45174795 #
38. Sesse__ ◴[] No.45147907{3}[source]
The two-sided Laplace transform would probably have made his head explode.
39. yossarian22 ◴[] No.45148745{3}[source]
Can you please provide an example or link to read more? Seems very interesting.
replies(1): >>45161050 #
40. echelon ◴[] No.45148759{4}[source]
This continued with kids into the 90's. I miss that bit.

https://www.reddit.com/r/nostalgia/comments/b6dptv/folding_t...

41. segfault99 ◴[] No.45156621{4}[source]
I forgot to mention the converse also applies. Mathematicians talking about stuff we engineers learned the paint by numbers way makes our heads hurt!
42. kragen ◴[] No.45161050{4}[source]
https://en.m.wikipedia.org/wiki/Decision_theory
43. another_twist ◴[] No.45174795{3}[source]
Tell me about it. But I like my numbers real not imaginary !