How (and why) to take a logarithm of an image
Overview
3Blue1Brown visually unpacks the mathematical analysis of M.C. Escher's 'Print Gallery' by De Smit and Lenstra, demonstrating how a Droste effect (self-similar image recursion) can be transformed into a continuous loop using conformal maps derived from complex functions. The process involves taking the logarithm of the image to linearize scaling, rotating and scaling this representation in log-space, and then exponentiating to create the warped loop, mirroring Escher's intuitive mesh warp technique with complex analysis.
Key takeaways
- M.C. Escher's 'Print Gallery' can be mathematically deconstructed using complex analysis, specifically by transforming a Droste effect into a continuous loop.
- The process involves taking the natural logarithm of the image to linearize the recursive scaling, performing a rotation and scaling in this log-space, and then applying the exponential function.
- Complex functions are special because they act as conformal maps, preserving shape at infinitesimal scales, which is crucial for Escher's technique of local undistortion within a globally warped image.
- The complex exponential function e^z maps vertical lines to circles, and its inverse, the complex logarithm ln(z), maps circles back to vertical lines, providing the mechanism to 'unwarp' the image.
- The doubly periodic nature of the logarithm of a Droste image connects to elliptic functions, highlighting deep mathematical structures intuitively explored by Escher.
- By understanding the underlying complex functions, one gains a deeper appreciation for Escher's genius in solving visual puzzles that align with advanced mathematical concepts.
Chapters
- M.C. Escher's 1956 lithograph 'The Print Gallery' features a mind-bending self-contained loop.
- Mathematicians De Smit and Lenstra analyzed the artwork, revealing deep mathematical concepts.
- The core concept is the Droste effect: a self-similar image recursively contained within itself, with a scaling factor of 256 in Escher's work.
- Step 1: Visualize a straightened-out version of the Droste effect for easier analysis.
- Step 2: Create a warped grid that distributes the scaling factor (e.g., 16x or 256x) across the image.
- Escher's grid encodes scaling by a factor of 4 between corners for his 256x zoom.
- Step 3: Copy contents from tiny squares of the original image to corresponding squares in the warped grid.
- This mesh warp process allows for a piece-by-piece, undistorted transfer at a local scale.
- The warped grid automatically handles the scaling and distortion required for the loop effect.
- The warped grid's structure is constrained by the requirement that tiny squares remain approximately square.
- This property defines a conformal map, crucial in complex analysis.
- Complex functions (e.g., z^2, z^3) inherently produce conformal maps, preserving shape at infinitesimal scales.
- Complex numbers (z = x + iy) extend the real number line to a plane.
- Functions of complex numbers, like f(z) = cz (scaling/rotation) or f(z) = z^2 (non-linear distortion), are explored.
- Conformal maps, where tiny squares remain approximately square, are a special property of complex differentiable functions.
- The complex exponential e^z transforms vertical lines into circles and scales them exponentially.
- e^z is many-to-one: e.g., e^0 = e^(2πi) = 1.
- The natural logarithm ln(z) is the inverse, straightening circles back into vertical lines, and is multi-valued.
Transcript excerpt
0:00 [Submit subtitle corrections at criblate.com] Whenever I'm making one of these videos, there's sometimes a special moment where the act of animating involves solving a whole bunch of little technical puzzlers, and then the underlying math I'm trying to explain clicks for me in a way that it hadn't before once I see it alive on screen. The best versions of those moments often tell me when a video is going to be one of my favorites, and putting together the end of this piece right here was one such time when I got that feeling. Our story doesn't actually start in the math classroom today. We begin in the art room. Imagine standing in a gallery, looking at a picture of a boat in a harbour, and the whole world warps as your gaze shifts upwards and to the right, where you see a village on this waterfront. Among the tightly clustered buildings, the world warps even more as your gaze shifts downwards to the entrance of one building, leading to a hallway full of artwork.
0:53 And at the end of this hall, here you are again, staring at a picture of a boat. This is M.C. Escher's 1956 lithograph, the Print Gallery, or in Dutch, Prentendentunstelling. In a letter that he wrote to his son, describing his creation of a young man looking with interest at a print that features himself, Escher called this the most peculiar thing I have ever done, which for him is saying a lot. Escher's art is widely loved around the world, frequently featuring paradoxical themes or uniquely satisfying geometric patterns with some kind of character. This love is especially pronounced among mathematicians, since his art often touches on surprisingly deep concepts within math, despite the fact that Escher himself had no formal training in the field.
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.