Xkcd 与 傅里叶
XKCD and Fourier

原始链接: https://leancrew.com/all-this/2026/10/xkcd-and-fourier/

下一篇文章 上一篇文章 2026年10月29日晚8:45 Dr. Drang 撰写 如果你做过函数的傅里叶级数逼近,你对今天的XKCD漫画会有三种反应:首先,当然是会心一笑。然后会是"等一下",因为你意识到吉布斯现象不会随着你向傅里叶展开中添加更多项而变小;它只是集中在角点:那种振铃永远消失不了。例如,这里是对∑k=1,3,5,…994kπsin⁡(kπx)的绘图。最后,你意识到像这样思考会毁掉这个笑话。下一篇文章 上一篇文章

``` Hacker News 新 | 过去 | 评论 | 提问 | 展示 | 工作 | 提交 登录 Xkcd 与傅里叶 ( leancrew.com ) 9 分 由 surprisetalk 1 小时前 | 隐藏 | 过去 | 收藏 | 讨论 帮助 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 申请加入 YC | 联系 搜索: ```
相关文章

原文

If you’ve done Fourier series approximations of functions, you had three reactions to today’s XKCD comic:

https://imgs.xkcd.com/comics/gravitational_square_wave.png

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; it just concentrates itself at the corners:

Gibbs phenomenon examples for square wave

That ringing never goes away. Here, for example, is the plot for

∑k=1,3,5,…994kπsin⁡(kπx)

Square wave approximation

Finally, you realized that thinking like this ruins the joke.

联系我们 contact @ memedata.com