> First, of course, was a smile of recognition. Then came a “wait a minute” as you realized that the Gibbs phenomenon doesn’t get smaller as you add more terms to the Fourier expansion;
Actually, it gets. Gibbs phenomenon is an artifact of a very specific algorithm on very specific inputs. It doesn't say nothing on "approximation of square waves with sine waves" in general, and arguably, it doesn't appear meaningfully in any types of approximation.
You can approximate a square wave with sine waves with arbitrary precision in most approximations (L1, L2, pointwise etc). What you can't do is to have the largest error less than half the jump at discontiunity, but it is because sum of sine waves is continuous. There is no overshoot or Gibbs of any sort.
No it doesn't, since the quote is precisely about Fourier series.
But you make a great point: the original comic doesn't mention Fourier (only the blog post does) so the comic is not wrong in not showing Gibbs oscillations at the end!
If you've ever used an oscilloscope to look at a square wave in electronics, or did any audio synthesis, you look at the ending of the post and raise an eyebrow (in the way Spock does it), and note that yes, this is what square waves are in real life. The corner wobble is normal.
Except that no driver has infinite bandwidth, and no connection has perfect impedance along the entire length from start to finish. The "wobble" will reappear when you a scope with an even higher sample rate. Which means it is real.
I recall a research paper claiming to have measured a finite amount of time for an electron to jump between atomic energy levels. If true, then it is likely everything takes at least some time. Except if you yourself move at light speed.
In order for this to work, you'd need to know the direction of the observer you're targeting, since the relative phases/amplitudes of gravitational waves would only cancel out in some directions and not others.
Sin cos are exponentials. There is a shorter way to create a square wave function: take a tiny base 0<b<1, and any initial function 0<f(x)<1
Iterate b^f(x), and it produce a square wave with smooth corners
TIL that this comic is the origin of the term "nerd sniping". I knew that XKCD was influential (especially among, well, nerds), but I didn't realize it was this influential...
This never made sense to me. When I understand the joke, the explanation is meaningless to me. But it doesn't detract from my experience.
When I don't understand the joke, the explanation does often make me find it funny.
Like sure, it is obnoxious to have a joke I understand have explained specifically to me, the same as having anything I understand have explained to me and only me. But that's not what happens in blog posts and online threads (usually).
Alternatively, you can just mess with the measuring device's precision until the corners are imperceptible.
But if that's still hard, then we can still achieve it with sufficient, or perhpas too much, alchool. Just avoid a particular amount of blood alchool, the scientist will instantly call your black holes out.
Actually, it gets. Gibbs phenomenon is an artifact of a very specific algorithm on very specific inputs. It doesn't say nothing on "approximation of square waves with sine waves" in general, and arguably, it doesn't appear meaningfully in any types of approximation.
You can approximate a square wave with sine waves with arbitrary precision in most approximations (L1, L2, pointwise etc). What you can't do is to have the largest error less than half the jump at discontiunity, but it is because sum of sine waves is continuous. There is no overshoot or Gibbs of any sort.
But you make a great point: the original comic doesn't mention Fourier (only the blog post does) so the comic is not wrong in not showing Gibbs oscillations at the end!
Not a lawyer, not your lawyer etc etc.
When I don't understand the joke, the explanation does often make me find it funny.
Like sure, it is obnoxious to have a joke I understand have explained specifically to me, the same as having anything I understand have explained to me and only me. But that's not what happens in blog posts and online threads (usually).
no but they can
bonus: also related very early xkcd https://xkcd.com/26/
https://www.smbc-comics.com/comic/2013-02-01
But if that's still hard, then we can still achieve it with sufficient, or perhpas too much, alchool. Just avoid a particular amount of blood alchool, the scientist will instantly call your black holes out.