Why colliding blocks compute pi
Overview
3Blue1Brown revisits the colliding blocks problem, revealing its connection to pi and quantum computing, specifically Grover's algorithm. The video explains how idealizing collisions and using a state-space representation transforms the physics problem into a geometry puzzle involving circles and lines. This geometric interpretation, combined with a small angle approximation, demonstrates why the number of collisions for mass ratios that are powers of 100 yields digits of pi, though a rigorous proof remains an unsolved problem.
Key takeaways
- The colliding blocks problem, when idealized, can be mapped to a geometric problem on a circle.
- Conservation of energy in a two-body system naturally leads to a circular path in a rescaled state space.
- The number of collisions in the idealized system is determined by how many equal angular segments fit within a full circle.
- For mass ratios that are powers of 100, the angle involved is the arctangent of a small power of 10, which approximates a power of 10.
- This approximation allows the number of collisions to have the same digits as pi, though a rigorous proof of this connection is an unsolved mathematical problem.
- Abstracting complex physical systems into simpler mathematical models (like state spaces and geometric puzzles) can reveal hidden connections and facilitate problem-solving.
Chapters
- The 2019 video on colliding blocks computing pi is 3Blue1Brown's most popular.
- This year's revisit explores a secret connection to Grover's algorithm in quantum computing.
- The full connection to pi is technically an unsolved problem.
- Two blocks on a frictionless plane: one stationary (smaller), one moving (larger).
- A wall exists to the left of the stationary block.
- Mass ratios of 1:1, 100:1, and 10,000:1 yield collision counts of 3, 31, and 314 respectively.
- Mass ratios of 1,000,000:1 yield 3,141 collisions.
- Assumptions include perfectly elastic collisions (no energy loss) and ignoring relativistic effects.
- Conservation of energy and momentum are key physics principles.
- A state space is created where velocities (v1, v2) are coordinates, representing the system's state.
- Conservation of energy forms an ellipse in the (v1, v2) state space.
- Rescaling coordinates to sqrt(m1)*v1 and sqrt(m2)*v2 transforms the ellipse into a circle, simplifying the problem.
- Conservation of momentum becomes a linear equation (a line) in this new coordinate system.
- Collisions are represented by the state point moving along the circle and intersecting the momentum line.
- The problem transforms into counting how many times a line with a specific slope intersects a circle before entering an 'end zone'.
- The slope of the line is related to the negative square root of the mass ratio.
- The inscribed angle theorem shows that arcs between intersection points are equal.
- The number of collisions is related to how many arcs of angle 2*theta fit within 2*pi radians.
- Using a small angle approximation, arctan(sqrt(m2/m1)) is close to sqrt(m2/m1) for small ratios.
- The exact computation of pi via this method is an unsolved problem due to potential 'off-by-one' errors related to the digits of pi.
Transcript excerpt
0:00 In 2019, I put out a video about how two colliding blocks can compute pi. It's very fun, very surprising, and if you include the adaptations into shorts that I've posted since then, it is the most popular thing that I've put on the internet, and by a pretty wide margin. This year, for Pi Day, I want to revisit this topic, because there's actually a lot that I never talked about in the original video, including a fact that I didn't know when I first posted it, and which I suspect no one in the world knew, which is how this is all secretly connected to quantum computing, more specifically, something known as Grover's algorithm for search. Also, the whole crowd pleaser is that this is connected to pi, but very technically speaking, that full connection to pi is an unsolved problem. I'll explain what I mean at the end here. Just to recap, in case you haven't seen it, the setup of that original video was to have two blocks on a frictionless plane.
0:50 At the very beginning, the one on the left is stationary, and we'll think of it as smaller, maybe 1kg, and the block on the right is coming in with some speed. The two blocks bounce off of each other, there's a wall to their left, and the puzzle is to figure out how many total collisions would take place, including the collisions with that wall. So for example, in the smallest case, where both blocks have the same mass, with each collision all of the momentum gets transferred from one block to the other, and including that one clack against the wall, the final count is 3. If that right block is bigger, maybe 100kg, it means it has a lot more momentum when
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, 3Blue1Brown.