
Daily tweets about real and complex analysis and related topics. From @JohnDCook.
Joined December 2009
- Tweets13.1K
- Following19
- Followers135K
- Likes127
Pinned Tweet
Applied mathematics consulting
johndcook.com/blog/applied-m…
Adding phase-shifted sine waves johndcook.com/blog/2020/08/1…
Weierstrass approximation theorem: polynomials are dense in the space of functions continuous over a bounded interval.
What exactly is modified about a modified Bessel function?
johndcook.com/blog/2026/08/2…
Integral representations of means johndcook.com/blog/2024/01/0…
Monoliths and Lagrange points
A thread from last night, edited into a blog post, with additions and corrections.
johndcook.com/blog/2026/10/1…
Analytic functions dilate and rotate tiny disks, but can't flip them over. Complex conjugate is not analytic because it flips disks over.
Strange attractors and Imagery uh.edu/engines/epi2599.htm
How to start with a minimal math library and bootstrap it to compute the functions not included johndcook.com/blog/2021/01/0…
Analysis Fact retweeted
The computer that landed Apollo 11 on the Moon computed sine with a polynomial of just three terms.
sin(πx/2) ≈ 2((C₅x² + C₃)x² + C₁)x, used only for |x| ≤ 1.
The constants are not Taylor coefficients. Taylor's C₃ would be −0.3229820, the AGC stored −0.3216147, nudged so the error wiggles across the interval instead of piling up at the end.
Result: max error 1.1×10⁻⁴ versus 4.5×10⁻³ for Taylor, about 40 times better at the same cost.
Good engineering often means choosing better constants.



