atlas news
John D. Cook
28 april
21h44
Turning a trick into a technique
John
Someone said a technique is a trick that works twice. I wanted to see if I could get anything interesting by turning the trick in the previous post...
13h09
Circular arc approximation
John
Suppose you have an arc a, a portion of a circle of radius r, and you know two things: the length c of the chord of the arc, and the length b of the...
25 april
16h16
Closed-form solution to the nonlinear pendulum equation
John
The previous post looks at the nonlinear pendulum equation and what difference it makes to the solutions if you linearize the equation. If the...
13h12
nth derivative of a quotient
John
There’s a nice formula for the nth derivative of a product. It looks a lot like the binomial theorem. There is also a formula for the nth derivative...
24 april
23h53
How nonlinearity affects a pendulum
John
The equation of motion for a pendulum is the differential equation where g is the acceleration due to gravity and is the length of the pendulum. When...
23 april
15h56
Approximation to solve an oblique triangle
John
The previous post gave a simple and accurate approximation for the smaller angle of a right triangle. Given a right triangle with sides a, b, and c,...
12h13
Simple approximation for solving a right triangle
John
Suppose you have a right triangle with sides a, b, and c, where a is the shortest side and c is the hypotenuse. Then the following approximation from...
21 april
20h14
An AI Odyssey, Part 4: Astounding Coding Agents
Wayne Joubert
AI coding agents improved greatly last summer, and again last December-January. Here are my experiences since my last post on the subject. The models...
20 april
13h50
More on Newton’s diameter theorem
John
A few days ago I wrote a post on Newton’s diameter theorem. The theorem says to plot the curve formed by the solutions to f(x, y) 0 where f is a...
18 april
14h49
Gaussian distributed weights for LLMs
John Cook
The previous post looked at the FP4 4-bit floating point format. This post will look at another 4-bit floating point format, NF4, and higher...
01h08
4-bit floating point FP4
John Cook
In ancient times, floating point numbers were stored in 32 bits. Then somewhere along the way 64 bits became standard. The C programming language...
16 april
12h02
Newton diameters
John Cook
Let f(x, y) be an nth degree polynomial in x and y. In general, a straight line will cross the zero set of f in n locations [1]. Newton defined a...
14 april
14h08
Intersecting spheres and GPS
John
If you know the distance d to a satellite, you can compute a circle of points that passes through your location. That’s because you’re at the...
12h19
Finding a parabola through two points with given slopes
John
The Wikipedia article on modern triangle geometry has an image labeled Artzt parabolas with no explanation. A quick search didn’t turn up anything...
13 april
14h33
Mathematical minimalism
John
Andrzej Odrzywolek recently posted an article on arXiv showing that you can obtain all the elementary functions from just the function and the...
12 april
23h42
Lunar period approximations
John
The date of Easter The church fixed Easter to be the first Sunday after the first full moon after the Spring equinox. They were choosing a date in...
12h09
The gap between Eastern and Western Easter
John
Today is Orthodox Easter. Western churches celebrated Easter last week. Why are the Eastern and Western dates of Easter different? Is Eastern Easter...
10 april
14h29
Distribution of digits in fractions
John
There’s a lot of mathematics just off the beaten path. You can spend a career in math and yet not know all there is to know about even the most basic...
09 april
17h54
The Great Pyramid of Giza and the Speed of Light
John
Saw a post on X saying that the latitude of the Pyramid of Giza is the same as the speed of light. I looked into this, expecting it to be...
17h25
Random hexagon fractal
John
I recently ran across a post on X describing a process for creating a random fractal. First, pick a random point c inside a hexagon. Then at each...
00h18
Root prime gap
John
I recently found out about Andrica’s conjecture: the square roots of consecutive primes are less than 1 apart. In symbols, Andrica’s conjecture says...
08 april
23h30
A Three- and a Four- Body Problem
John
Last week I wrote about the orbit of Artemis II. The orbit of Artemis I was much more interesting. Because Artemis I was unmanned, it could spend a...
07 april
00h33
Toffoli gates are all you need
John
Landauer’s principle gives a lower bound on the amount of energy it takes to erase one bit of information: E log(2) kB T where kB is the Boltzmann...
05 april
23h04
HIPAA compliant AI
John
The best way to run AI and remain HIPAA compliant is to run it locally on your own hardware, instead of transferring protected health information ...
04 april
15h00
Kalman and Bayes average grades
John
This post will look at the problem of updating an average grade as a very simple special case of Bayesian statistics and of Kalman filtering. Suppose...
03 april
16h31
Roman moon, Greek moon
John
I used the term perilune in yesterday’s post about the flight path of Artemis II. When Artemis is closest to the moon it will be furthest from earth...
01h38
Hyperbolic version of Napier’s mnemonic
John
I was looking through an old geometry book [1] and saw a hyperbolic analog of Napier’s mnemonic for spherical trigonometry. In hindsight of course...
02 april
14h14
Artemis II, Apollo 8, and Apollo 13
John
The Artemis II mission launched yesterday. Much like the Apollo 8 mission in 1968, the goal is to go around the moon in preparation for a future...
01 april
13h23
Pentagonal numbers are truncated triangular numbers
John
Pentagonal numbers are truncated triangular numbers. You can take the diagram that illustrates the nth pentagonal number and warp it into the base of...
31 march
14h43
Quantum Y2K
John
I’m skeptical that quantum computing will become practical. However, if it does become practical before we’re prepared, the world’s financial system...