<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>math &#8211; Empirical Zeal</title>
	<atom:link href="/tag/math/feed/" rel="self" type="application/rss+xml" />
	<link>/</link>
	<description>Taking delight in finding things out.</description>
	<lastBuildDate>Sun, 20 Nov 2022 18:12:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>
<site xmlns="com-wordpress:feed-additions:1">23225967</site>	<item>
		<title>How to Dance with a Tree: Visualizing Fractals With Dance</title>
		<link>/2014/12/04/fractal-tree/</link>
		
		<dc:creator><![CDATA[aatish]]></dc:creator>
		<pubDate>Thu, 04 Dec 2014 05:17:06 +0000</pubDate>
				<category><![CDATA[Science]]></category>
		<category><![CDATA[fractals]]></category>
		<category><![CDATA[kinect]]></category>
		<category><![CDATA[math]]></category>
		<guid isPermaLink="false">/?p=3573</guid>

					<description><![CDATA[Here&#8217;s a fun project that my friend Upasana and I put together some weekends ago. It&#8217;s a visual exploration of fractals through dance, a piece of generative art that&#8217;s part performance and part mathematical exploration. The two ingredients that went into creating this were the Microsoft Kinect sensor, which lets your computer track how your &#8230; <a href="/2014/12/04/fractal-tree/" class="more-link">Continue reading <span class="screen-reader-text">How to Dance with a Tree: Visualizing Fractals With Dance</span></a>]]></description>
										<content:encoded><![CDATA[<p><iframe loading="lazy" src="//www.youtube-nocookie.com/embed/3P92EMeXtbA?rel=0&amp;vq=hd480" width="660" height="371" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p>Here&#8217;s a fun project that my friend Upasana and I put together some weekends ago. It&#8217;s a visual exploration of fractals through dance, a piece of <a href="http://en.wikipedia.org/wiki/Generative_art">generative art</a> that&#8217;s part performance and part mathematical exploration.</p>
<p>The two ingredients that went into creating this were the <a href="http://www.wired.com/2014/03/kinect-dance-video/">Microsoft Kinect sensor</a>, which lets your computer track how your body moves, and <a href="http://hello.processing.org/">Processing</a>, a programming language that lets you create interactive visuals with code. Put the two together, and you can use your body to control virtual shapes and objects.</p>
<p>The idea for this project came about while I was walking home from work late October, idly watching the recently bare tree branches swaying in the wind. And for some reason that made me wonder, what would it be like to be a tree for an evening? Imagine lifting your arms, and a tree waves its branches.</p>
<p>And then I remembered <a href="http://natureofcode.com/book/chapter-8-fractals/">reading about fractals</a> in Daniel Shiffman&#8217;s book <a href="http://natureofcode.com/book/">Nature of Code</a>. Fractals are those wonderfully intricate structures that look the same as you keep zooming in to them. Benoit B. Mandelbrot was one of the earliest explorers of the fractal world. He coined the word fractal to mean a kind of geometric shape whose parts resemble &#8220;a reduced-size copy of the whole.&#8221;  (Some fractal humor: What does the B in Benoit B. Mandelbrot stand for? Benoit B. Mandelbrot.)</p>
<p>At the heart of being a fractal is <em>self-similarity</em>, the idea that each piece appears similar to the whole. Think of how a coastline on a map appears similarly wrinkly across different levels of zoom. The same could be said of the jagged terrain of a mountain.</p>
<p>Or picture the <a href="https://www.youtube.com/watch?v=dukkO7c2eUE">ever branching paths</a> that lightning follows as it travels down to the Earth.</p>
<figure id="attachment_1668463" aria-describedby="caption-attachment-1668463" style="width: 660px" class="wp-caption aligncenter"><a href="http://commons.wikimedia.org/wiki/File:Lichtenberg_figure_in_block_of_Plexiglas.jpg"><img decoding="async" loading="lazy" class="wp-image-1668463 size-full" src="http://www.wired.com/wp-content/uploads/2014/12/Lichtenberg_figure_in_block_of_Plexiglas.jpg" alt="Lichtenberg_figure_in_block_of_Plexiglas" width="660" height="599" /></a><figcaption id="caption-attachment-1668463" class="wp-caption-text">When high voltage electricity passes through an insulator, it branches out in fractal like patterns. <img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> <a href="http://commons.wikimedia.org/wiki/File:Lichtenberg_figure_in_block_of_Plexiglas.jpg">Bert Hickman</a> / Wikimedia</figcaption></figure>
<p>Or the nested arrangement of leaves within a fern.</p>
<figure id="attachment_1668465" aria-describedby="caption-attachment-1668465" style="width: 660px" class="wp-caption aligncenter"><a href="http://commons.wikimedia.org/wiki/File:Sa-fern.jpg"><img decoding="async" loading="lazy" class="wp-image-1668465 size-660-single-full" src="http://www.wired.com/wp-content/uploads/2014/12/Sa-fern-660x440.jpg" alt="Sa-fern" width="660" height="440" /></a><figcaption id="caption-attachment-1668465" class="wp-caption-text"><img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> <a href="http://commons.wikimedia.org/wiki/File:Sa-fern.jpg">Sanjay ach</a> / Wikimedia</figcaption></figure>
<p>Or the buds in a head of Romanesco broccoli. Each bud contains smaller buds upon it, arranged in the same spiraling pattern.</p>
<figure id="attachment_1668467" aria-describedby="caption-attachment-1668467" style="width: 660px" class="wp-caption aligncenter"><a href="http://commons.wikimedia.org/wiki/File:Fractal_Broccoli.jpg"><img decoding="async" loading="lazy" class="wp-image-1668467 size-660-single-full" src="http://www.wired.com/wp-content/uploads/2014/12/Fractal_Broccoli-660x495.jpg" alt="Fractal_Broccoli" width="660" height="495" /></a><figcaption id="caption-attachment-1668467" class="wp-caption-text">Fractal Brocolli <img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> <a href="http://commons.wikimedia.org/wiki/File:Fractal_Broccoli.jpg">Jon Sullivan</a> / Wikimedia</figcaption></figure>
<p>From coastlines to broccoli, and lightning to trees, many of nature&#8217;s patterns are better described by fractals than by the usual cast of shapes like lines, circles, and triangles. (In the real world, objects can only be roughly fractal, at some level of zoom the repetition will end. But in mathematics, the self-similarity of fractals continues forever.)<span id="more-3573"></span></p>
<p>While shapes like circles and triangles are the essence of simplicity, fractals, on the other hand, capture a kind of organic complexity in their infinite fuzziness. There&#8217;s a world of difference between a triangle and a mountain.</p>
<figure id="attachment_1668461" aria-describedby="caption-attachment-1668461" style="width: 542px" class="wp-caption aligncenter"><a href="http://commons.wikimedia.org/wiki/File:Animated_fractal_mountain.gif"><img decoding="async" loading="lazy" class="wp-image-1668461 size-full" src="http://www.wired.com/wp-content/uploads/2014/12/Animated_fractal_mountain.gif" alt="Animated_fractal_mountain" width="542" height="295" /></a><figcaption id="caption-attachment-1668461" class="wp-caption-text">A fractal that generates mountain like terrain. <img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> <a href="http://commons.wikimedia.org/wiki/File:Animated_fractal_mountain.gif">António Miguel de Campos</a> / Wikimedia</figcaption></figure>
<p>Which brings me back to the tree. You can think of a tree as being fractal-like. Here&#8217;s a sketch of a tree.</p>
<figure id="attachment_1667023" aria-describedby="caption-attachment-1667023" style="width: 567px" class="wp-caption aligncenter"><a href="http://natureofcode.com/book/chapter-8-fractals/"><img decoding="async" loading="lazy" class="wp-image-1667023 size-full" src="http://www.wired.com/wp-content/uploads/2014/12/ch08_03.png" alt="tree sketch" width="567" height="395" /></a><figcaption id="caption-attachment-1667023" class="wp-caption-text"><img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> <a href="http://natureofcode.com/book/chapter-8-fractals/">Daniel Shiffman</a> / Nature of Code</figcaption></figure>
<p>But look closely, and each branch is kind of a &#8220;reduced-size copy of the whole&#8221;, to use Mandelbrot&#8217;s words.</p>
<figure id="attachment_1667025" aria-describedby="caption-attachment-1667025" style="width: 660px" class="wp-caption aligncenter"><a href="http://natureofcode.com/book/chapter-8-fractals/"><img decoding="async" loading="lazy" class="wp-image-1667025 size-660-single-full" src="http://www.wired.com/wp-content/uploads/2014/12/ch08_04-660x313.png" alt="fractal tree sketch" width="660" height="313" /></a><figcaption id="caption-attachment-1667025" class="wp-caption-text"><img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> <a href="http://natureofcode.com/book/chapter-8-fractals/">Daniel Shiffman</a> / Nature of Code</figcaption></figure>
<p>For example, take a look at this picture.</p>
<figure id="attachment_1667029" aria-describedby="caption-attachment-1667029" style="width: 660px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/12/tree-branch.jpg"><img decoding="async" loading="lazy" class="wp-image-1667029 size-660-single-full" src="http://www.wired.com/wp-content/uploads/2014/12/tree-branch-660x879.jpg" alt="tree branch" width="660" height="879" /></a><figcaption id="caption-attachment-1667029" class="wp-caption-text"><img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> Aatish Bhatia</figcaption></figure>
<p>You might think you&#8217;re looking at an entire tree, but actually, it&#8217;s a picture of a branch sticking out sideways. (I was lying down and looking up when I took the picture.) The branch looks like a smaller-scale tree, and it&#8217;s this self-similarity that we&#8217;re trying to capture.</p>
<p>In his book, Daniel Shiffman implements a simple algorithm in Processing to draw such fractal trees.</p>
<figure id="attachment_1667027" aria-describedby="caption-attachment-1667027" style="width: 660px" class="wp-caption aligncenter"><a href="http://natureofcode.com/book/chapter-8-fractals/"><img decoding="async" loading="lazy" class="wp-image-1667027 size-660-single-full" src="http://www.wired.com/wp-content/uploads/2014/12/ch08_19-660x295.png" alt="fractal tree algorithm" width="660" height="295" /></a><figcaption id="caption-attachment-1667027" class="wp-caption-text"><img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> <a href="http://natureofcode.com/book/chapter-8-fractals/">Daniel Shiffman</a> / Nature of Code</figcaption></figure>
<p>I slightly tweaked his code so that the angle at which the branches form is controlled by the position of my mouse. So by moving my mouse around, I could animate the tree. You can <a href="http://www.princeton.edu/~aatishb/processing/tree_noleaves/">play with this</a> for yourself.</p>
<p><iframe loading="lazy" class="vine-embed" src="https://vine.co/v/ObA1bJghdpT/embed/simple" width="600" height="600" frameborder="0"></iframe><script src="//platform.vine.co/static/scripts/embed.js" async="" charset="utf-8"></script></p>
<p>I tried adding in some leaves to make the tree a little prettier.</p>
<figure id="attachment_1666985" aria-describedby="caption-attachment-1666985" style="width: 638px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/12/tree-leaf-gif.gif"><img decoding="async" loading="lazy" class="wp-image-1666985 size-full" src="http://www.wired.com/wp-content/uploads/2014/12/tree-leaf-gif.gif" alt="tree leaf gif" width="638" height="636" /></a><figcaption id="caption-attachment-1666985" class="wp-caption-text"><img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> Aatish Bhatia</figcaption></figure>
<p>Here&#8217;s an <a href="http://www.princeton.edu/~aatishb/processing/tree_leaves/">interactive version</a> of that for you to play with.</p>
<p>The next step was to incorporate the Kinect sensor bar, so you can control this tree with your body. To do this, I used the <a href="https://code.google.com/p/simple-openni/">Simple-OpenNI</a> library (you can read more about how this works in my <a href="http://www.wired.com/2014/03/kinect-dance-video/">earlier post</a> on Kinect hacking). My friend <a href="https://twitter.com/roy_upasana">Upasana Roy</a> volunteered to play the role of dancer and puppeteer (video at the top of this post).</p>
<figure id="attachment_1667009" aria-describedby="caption-attachment-1667009" style="width: 660px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/12/frac-tree-1.gif"><img decoding="async" loading="lazy" class="wp-image-1667009 size-full" src="http://www.wired.com/wp-content/uploads/2014/12/frac-tree-1.gif" alt="frac tree 1" width="660" height="319" /></a><figcaption id="caption-attachment-1667009" class="wp-caption-text"><img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> Upasana Roy and Aatish Bhatia</figcaption></figure>
<figure id="attachment_1667011" aria-describedby="caption-attachment-1667011" style="width: 660px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/12/frac-tree-2.gif"><img decoding="async" loading="lazy" class="wp-image-1667011 size-full" src="http://www.wired.com/wp-content/uploads/2014/12/frac-tree-2.gif" alt="frac tree 2" width="660" height="371" /></a><figcaption id="caption-attachment-1667011" class="wp-caption-text"><img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> Upasana Roy and Aatish Bhatia</figcaption></figure>
<p>And <em>voila</em>, by waving her hands about, she animates the tree. The angle of her hands (measured from her hip) controls the branching angles in the fractal. <strong>The physical space that her body inhabits is mapped onto an abstract mathematical space</strong> (in this case, the space of all fractals you get by varying the branching angle of this tree).</p>
<p>We stopped there, but there are endless other virtual shapes, objects, and spaces that you might be interested in exploring.</p>
<p>I asked Upasana how she felt as she started to play with this program.</p>
<p><strong>What did you experience when you first started using it?</strong></p>
<p>&#8220;It was frustrating at first. A lot of times my moves didn’t get any response from the fractal, and the few times it did the changes were jerky and sudden. Even when I moved my arm in one smooth motion, the fractal tree would spasm so I didn’t know what was going on.&#8221;</p>
<p><strong>What changed as you spent more time using it?</strong></p>
<p>&#8220;I realized that when I dance I use all the space around me with my arms. But in this case the fractal responded to motion in some parts of space more than others. For example, moving my arms up and down made the fractals change much more than moving them side-to-side.&#8221;</p>
<p><b>How did you go about choreographing the dance? What was challenging about it and what was fun about it?</b></p>
<p>&#8220;After spending some time I could figure out a relationship between my arm positions and the fractal design. So then I could move it in a predictable way. After that it was about playing around with the fractal patterns and the music &#8211; that was the fun part. The hard part was keeping my arms up the entire time!&#8221;</p>
<p>&#8220;I remember feeling a bit like a hi-tech puppeteer, because I was moving my hands around in the air but you weren’t seeing THAT movement, but a transformed version of it. That felt pretty cool, to control the tree with abstract hand movements in the air.&#8221;</p>
<p>&nbsp;</p>
<p><strong>References</strong></p>
<p>Here&#8217;s my <a href="http://www.openprocessing.org/sketch/174694">Processing code</a> for the visualization, based on modifying code by Max Rheiner (who wrote the OpenNI library that lets you access the Kinect in Processing) and Dan Shiffman (who wrote the code for the recursive tree).</p>
<p><a href="http://natureofcode.com/book/chapter-8-fractals/">Fractals Chapter</a> in Dan Shiffman&#8217;s great book Nature of Code</p>
<p><a href="http://shop.oreilly.com/product/0636920020684.do">Making Things See</a> by Greg Borenstein is a very handy guide to Kinect hacking with Processing</p>
<p>A <a href="http://www.wired.com/2014/03/kinect-dance-video/">previous post</a> by me on using the Kinect to make a dance video</p>
<p>And a big thanks to Upasana Roy for being willing to dance till she couldn&#8217;t keep her arms up any more.</p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3573</post-id>	</item>
		<item>
		<title>How a 19th Century Math Genius Taught Us the Best Way to Hold a Pizza Slice</title>
		<link>/2014/09/05/curvature-and-strength/</link>
		
		<dc:creator><![CDATA[aatish]]></dc:creator>
		<pubDate>Fri, 05 Sep 2014 13:00:13 +0000</pubDate>
				<category><![CDATA[Science]]></category>
		<category><![CDATA[curvature]]></category>
		<category><![CDATA[gauss]]></category>
		<category><![CDATA[gaussian curvature]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[strength]]></category>
		<guid isPermaLink="false">/?p=3567</guid>

					<description><![CDATA[We’ve all been there. You pick up a slice of pizza and you’re about to take a bite, but it flops over and dangles limply from your fingers instead. The crust isn’t stiff enough to support the weight of the slice. Maybe you should have gone for fewer toppings. But there’s no need to despair, &#8230; <a href="/2014/09/05/curvature-and-strength/" class="more-link">Continue reading <span class="screen-reader-text">How a 19th Century Math Genius Taught Us the Best Way to Hold a Pizza Slice</span></a>]]></description>
										<content:encoded><![CDATA[<figure id="attachment_1519591" aria-describedby="caption-attachment-1519591" style="width: 660px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/08/pizza-fold-hold.png"><img decoding="async" loading="lazy" class="size-full wp-image-1519591" src="http://www.wired.com/wp-content/uploads/2014/08/pizza-fold-hold.png" alt="Why does bending a pizza slice help you eat it?  Let Gauss be your guide to the math of the 'fold hold'." width="660" height="352" /></a><figcaption id="caption-attachment-1519591" class="wp-caption-text">Why does bending a pizza slice help you eat it? Dig in to the math of the &#8216;fold hold&#8217;. <img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> Aatish Bhatia</figcaption></figure>
<p>We’ve all been there. You pick up a slice of pizza and you’re about to take a bite, but it flops over and dangles limply from your fingers instead. The crust isn’t stiff enough to support the weight of the slice. Maybe you should have gone for fewer toppings. But there’s no need to despair, for years of pizza eating experience have taught you how to deal with this situation. Just fold the pizza slice into a U shape (aka the <a href="http://slice.seriouseats.com/archives/2010/02/pie-love-ny-how-to-eat-a-slice-aka-the-fold-hold.html">fold hold</a>). This keeps the slice from flopping over, and you can proceed to enjoy your meal. (If you don’t have a slice of pizza handy, you can try this out with a sheet of paper.)</p>
<figure id="attachment_1519671" aria-describedby="caption-attachment-1519671" style="width: 660px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/08/paper-fold-hold.png"><img decoding="async" loading="lazy" class="wp-image-1519671 size-full" src="http://www.wired.com/wp-content/uploads/2014/08/paper-fold-hold.png" alt="" width="660" height="225" /></a><figcaption id="caption-attachment-1519671" class="wp-caption-text">Dangle a sheet of paper and it flops over, but give it a fold and it becomes stiff. Why? <img decoding="async" class="illo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-illo@2x.png" alt="" /> Aatish Bhatia</figcaption></figure>
<p>Behind this pizza trick lies a powerful mathematical result about curved surfaces, one that’s so startling that its discoverer, the mathematical genius <a href="http://en.wikipedia.org/wiki/Carl_Friedrich_Gauss">Carl Friedrich Gauss</a>, named it <a href="http://en.wikipedia.org/wiki/Theorema_Egregium">Theorema Egregium</a>, Latin for excellent or remarkable theorem.</p>
<p>Take a sheet of paper and roll it into a cylinder. It might seem obvious that the paper is flat, while the cylinder is curved. But Gauss thought about this differently. He wanted to define the curvature of a surface in a way that doesn’t change when you bend the surface.</p>
<figure id="attachment_1519681" aria-describedby="caption-attachment-1519681" style="width: 660px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/08/paper-cylinder.png"><img decoding="async" loading="lazy" class="size-full wp-image-1519681" src="http://www.wired.com/wp-content/uploads/2014/08/paper-cylinder.png" alt="paper cylinder" width="660" height="347" /></a><figcaption id="caption-attachment-1519681" class="wp-caption-text"><img decoding="async" class="illo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-illo@2x.png" alt="" /> Aatish Bhatia</figcaption></figure>
<p>If you zoom in on an ant that lives on the cylinder, there are many possible paths the ant could take. It could decide to walk down the curved path, tracing out a circle, or it could walk along the flat path, tracing out a straight line. Or it might do something in between, tracing out a helix.</p>
<p>Gauss’s brilliant insight was to define the curvature of a surface in a way that takes all these choices into account. Here’s how it works. Starting at any point, find the two most extreme paths that an ant can choose (i.e. the most concave path and the most convex path). Then multiply the curvature of those paths together (curvature is positive for concave paths, zero for flat paths, and negative for convex paths). And, voila, the number you get is Gauss’s definition of the curvature at that point.</p>
<figure id="attachment_1519691" aria-describedby="caption-attachment-1519691" style="width: 196px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/08/ant-on-a-cylinder-2.png"><img decoding="async" loading="lazy" class="size-full wp-image-1519691" src="http://www.wired.com/wp-content/uploads/2014/08/ant-on-a-cylinder-2.png" alt="Ants on a (rolled up) plane" width="196" height="500" /></a><figcaption id="caption-attachment-1519691" class="wp-caption-text">Ants on a (rolled up) plane <img decoding="async" class="illo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-illo@2x.png" alt="" /> Aatish Bhatia</figcaption></figure>
<p>Let’s try some examples. For the ant on the cylinder, the two extreme paths available to it are the curved, circle-shaped path, and the flat, straight-line path. But since the flat path has zero curvature, when you multiply the two curvatures together you get zero. As mathematicians would say, a cylinder is flat &#8212; it has zero <em>Gaussian curvature</em>. Which reflects the fact that you can roll one out of a sheet of paper.</p>
<p>If, instead, the ant lived on a ball, there would be no flat paths available to it. Now every path curves by the same amount, and so the Gaussian curvature is some positive number. So spheres are curved while cylinders are flat. You can bend a sheet of paper into a tube, but you can never bend it into a ball.</p>
<figure id="attachment_1519731" aria-describedby="caption-attachment-1519731" style="width: 284px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/08/ant-on-a-ball-2.png"><img decoding="async" loading="lazy" class="size-full wp-image-1519731" src="http://www.wired.com/wp-content/uploads/2014/08/ant-on-a-ball-2.png" alt="ant on a ball" width="284" height="287" /></a><figcaption id="caption-attachment-1519731" class="wp-caption-text"><img decoding="async" class="illo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-illo@2x.png" alt="" /> Aatish Bhatia</figcaption></figure>
<p>Gauss’s remarkable theorem, the one which I like to imagine made him giggle with joy, is that an ant living on a surface can work out its curvature without ever having to step outside the surface, just by measuring distances and doing some math. This, by the way, is what allows us to determine whether our universe is curved without ever having to step outside of the universe (as far as we can tell, <a href="http://en.wikipedia.org/wiki/Shape_of_the_universe">it’s flat</a>).</p>
<p>A surprising consequence of this result is that <strong>you can take a surface and bend it any way you like, so long as you don’t stretch, shrink or tear it, and the Gaussian curvature stays the same.</strong> That&#8217;s because bending doesn&#8217;t change any distances on the surface, and so the ant living on the surface would still calculate the same Gaussian curvature as before.</p>
<p>This might sound a little abstract, but it has real-life consequences. Cut an orange in half, eat the insides (yum), then place the dome-shaped peel on the ground and stomp on it. The peel will never flatten out into a circle. Instead, it’ll tear itself apart. That’s because a sphere and a flat surface have different Gaussian curvatures, so there’s no way to flatten a sphere without distorting or tearing it. Ever tried <a href="http://www.catalogs.com/info/bestof/wp-content/uploads/2012/11/top-10-worst-christmas-gifts-to-wrap-basketball-300x200.jpg">gift wrapping a basketball</a>? Same problem. No matter how you bend a sheet of paper, it&#8217;ll always retain a trace of its original flatness, so you end up with a crinkled mess.</p>
<figure id="attachment_1526591" aria-describedby="caption-attachment-1526591" style="width: 660px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/08/orange-squish.png"><img decoding="async" loading="lazy" class="size-full wp-image-1526591" src="http://www.wired.com/wp-content/uploads/2014/08/orange-squish.png" alt="You can't flatten an orange without tearing it, because a sphere and a flat surface have different Gaussian curvatures." width="660" height="210" /></a><figcaption id="caption-attachment-1526591" class="wp-caption-text">You can&#8217;t flatten half an orange without tearing the peel, because a sphere and a flat surface have different Gaussian curvatures. <img decoding="async" class="illo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-illo@2x.png" alt="" /> Aatish Bhatia</figcaption></figure>
<p>Another consequence of Gauss&#8217;s theorem is that it’s impossible to accurately depict a map on paper. The map of the world that you’re used to seeing depicts angles correctly, but it grossly distorts areas. The Museum of Math <a href="https://twitter.com/MoMath1/status/507281267516506112">points out</a> that clothing designers have a similar challenge &#8212; they design patterns on a flat surface that have to fit our curved bodies.</p>
<figure id="attachment_1519741" aria-describedby="caption-attachment-1519741" style="width: 660px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/08/globe-to-map.png"><img decoding="async" loading="lazy" class="size-full wp-image-1519741" src="http://www.wired.com/wp-content/uploads/2014/08/globe-to-map.png" alt="globe to map" width="660" height="211" /></a><figcaption id="caption-attachment-1519741" class="wp-caption-text">Equal sized circles drawn on a globe become distorted on an atlas. <img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> <a href="http://commons.wikimedia.org/wiki/File:Tissot_world_from_space.png#mediaviewer/File:Tissot_world_from_space.png">Stefan Kühn</a> (left), <a href="http://commons.wikimedia.org/wiki/File:Tissot_indicatrix_world_map_equirectangular_proj.svg">Eric Gaba</a> (right) / Wikimedia</figcaption></figure>
<p>What does any of this have to do with pizza? Well, the pizza slice was flat before you picked it up (in math speak, it has zero Gaussian curvature). Gauss’s remarkable theorem assures us that <strong>one direction of the slice must always remain flat</strong> &#8212; no matter how you bend it, the pizza must retain a trace of its original flatness. When the slice flops over, the flat direction (shown in red below) is pointed sideways, which isn’t helpful for eating it. But by folding the pizza slice sideways, you’re forcing it to become flat in the other direction &#8211; the one that points towards your mouth. Theorema egregium, indeed.</p>
<figure id="attachment_1519771" aria-describedby="caption-attachment-1519771" style="width: 660px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/08/pizza-curve.png"><img decoding="async" loading="lazy" class="size-full wp-image-1519771" src="http://www.wired.com/wp-content/uploads/2014/08/pizza-curve.png" alt="Who knew differential geometry could be so delicious?" width="660" height="338" /></a><figcaption id="caption-attachment-1519771" class="wp-caption-text">Who knew that geometry could be so delicious? <img decoding="async" class="illo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-illo@2x.png" alt="" /> Aatish Bhatia</figcaption></figure>
<p><span id="more-3567"></span>By curving a sheet in one direction, you force it to become stiff in the other direction. Once you recognize this idea, you start seeing it everywhere. Look closely at a blade of grass. It&#8217;s often folded along its central vein, which adds stiffness and prevents it from flopping over. Engineers frequently use curvature to add strength to structures. In the <a href="https://www.flickr.com/photos/ximo_michavila/sets/72157634270369442">Zarzuela race track</a> in Madrid, the Spanish structural engineer <a href="http://en.wikipedia.org/wiki/Eduardo_Torroja">Eduardo Torroja</a> designed an innovative concrete roof that stretches out from the stadium, covering a large area while remaining just a few inches thick. It’s the pizza trick in disguise.</p>
<figure id="attachment_1519781" aria-describedby="caption-attachment-1519781" style="width: 660px" class="wp-caption aligncenter"><a href="https://flic.kr/p/8gUVFG"><img decoding="async" loading="lazy" class="wp-image-1519781 size-full" src="http://www.wired.com/wp-content/uploads/2014/08/curved-grass.png" alt="curved grass" width="660" height="971" /></a><figcaption id="caption-attachment-1519781" class="wp-caption-text">Once you recognize the pizza trick, you start seeing it everywhere. <img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> Dudley Carr / Flickr</figcaption></figure>
<p>Curvature creates strength. Think about this: you can stand on an empty soda can, and it’ll easily carry your weight. Yet the wall of this can is just a few thousandths of an inch thick, or about as thick as a sheet of paper. The secret to a soda can’s incredible stiffness is its curvature. You can demonstrate this dramatically if someone pokes the can with a pencil while you’re standing on it. With even just a tiny dent, it’ll catastrophically buckle under your weight.</p>
<figure id="attachment_1519801" aria-describedby="caption-attachment-1519801" style="width: 660px" class="wp-caption aligncenter"><a href="https://flic.kr/p/dzFXnw"><img decoding="async" loading="lazy" class="wp-image-1519801 size-full" src="http://www.wired.com/wp-content/uploads/2014/08/corrugated-cardboard.png" alt="corrugated cardboard" width="660" height="327" /></a><figcaption id="caption-attachment-1519801" class="wp-caption-text">There&#8217;s more to these wrinkles than meets the eye. <img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> Craig Sunter / Flickr</figcaption></figure>
<p>Perhaps the most mundane example of strength through curvature are the ubiquitous corrugated building materials (corrugate comes from ruga, Latin for wrinkle). You could hardly get more bland than a <a href="http://en.wikipedia.org/wiki/Corrugated_fiberboard">corrugated cardboard</a> box. Tear one of these boxes apart, and you’ll find a familiar, undulating wave of cardboard inside the walls. The wrinkles aren’t there for any aesthetic reasons. They’re an ingenious way to keep a material thin and lightweight, yet stiff enough to resist bending under considerable loads.</p>
<figure id="attachment_1525981" aria-describedby="caption-attachment-1525981" style="width: 660px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/08/corrugation-demo.png"><img decoding="async" loading="lazy" class="size-full wp-image-1525981" src="http://www.wired.com/wp-content/uploads/2014/08/corrugation-demo.png" alt="A sheet of paper perched on two books can't even support the weight of a pencil. But if you corrugate the same paper, it can supports a can of beans!" width="660" height="318" /></a><figcaption id="caption-attachment-1525981" class="wp-caption-text">A sheet of paper placed across two books can&#8217;t even support the weight of a pencil. But if you corrugate the sheet by folding it a few times, it supports a can of beans! <img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> Aatish Bhatia</figcaption></figure>
<p><a href="http://en.wikipedia.org/wiki/Corrugated_galvanised_iron">Corrugated metal sheets</a> use the same idea. These humble, unpretentious materials are a manifestation of pure utility, their form perfectly matched with their function. Their high strength and relatively low cost has blended them into the background of our modern world.</p>
<p>Today, we hardly give these wrinkled sheets of metal a second thought. But when it was first introduced, many saw corrugated iron as a wonder material. It was patented in 1829 by Henry Palmer, an English engineer in charge of the construction of the London Docks. Palmer built the world’s first corrugated iron structure, the Turpentine Shed at the London Docks, and although it might not seem remarkable to modern eyes, just listen to how an an architectural magazine of the time described it.</p>
<blockquote><p>“On passing through the London Docks a short time ago, we were much gratified in meeting with a practical application of Mr Palmer’s newly invented roofing. [&#8230;] <strong>Every observing person, on passing by it, cannot fail being struck (considering it as a shed) with its elegance and simplicity, and a little reflection will, we think, convince them of its effectiveness and economy. It is, we should think, the lightest and strongest roof (for its weight), that has been constructed by man, since the time of Adam.</strong> The total thickness of this said roof, appeared to us from a close inspection (and we climbed over sundry casks of sticky turpentine for that purpose,) to be, certainly not more, than a tenth of an inch!” [1]</p></blockquote>
<p>They just don’t write architectural magazines like they used to.</p>
<p>While corrugated materials and soda cans are pretty strong, there’s a way to make materials even stronger. To discover it for yourself, go to your fridge and take out an egg. Put it in the palm of your hand, wrap your fingers around the egg, and squeeze. (Make sure you aren&#8217;t wearing a ring if you attempt this.) You’ll be amazed at its strength. I wasn’t able to crush the egg, and I gave it everything I had. (Seriously, you need to <a href="http://www.wikihow.com/Squeeze-an-Egg-Without-Breaking-It">try this</a> to believe it.)</p>
<figure id="attachment_1526321" aria-describedby="caption-attachment-1526321" style="width: 660px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/08/egg-squeeze.png"><img decoding="async" loading="lazy" class="size-full wp-image-1526321" src="http://www.wired.com/wp-content/uploads/2014/08/egg-squeeze.png" alt="egg squeeze" width="660" height="660" /></a><figcaption id="caption-attachment-1526321" class="wp-caption-text">DO try this at home. (Maybe over a sink just to be safe.)<img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> Aatish Bhatia</figcaption></figure>
<p>What makes eggs so strong? Well, soda cans and corrugated metal sheets are curved in one direction but flat in the other. This curvature buys them some stiffness, but they can still potentially be flattened out into the flat sheets that they came from.</p>
<p>In contrast, egg shells are curved in both directions. This is the key to an egg&#8217;s strength. Expressed in math terms, these doubly curved surface have non-zero Gaussian curvature. Like the orange peel we encountered earlier, this means that they can never be flattened without tearing or stretching &#8212; Gauss’s theorem assures us of this fact. To crack an egg open, you first need to dent it. When the egg loses its curvature, it loses its strength.</p>
<figure id="attachment_1524241" aria-describedby="caption-attachment-1524241" style="width: 660px" class="wp-caption aligncenter"><a href="http://en.wikipedia.org/wiki/Cooling_tower#mediaviewer/File:Didcot_power_station_cooling_tower_zootalures.jpg"><img decoding="async" loading="lazy" class="wp-image-1524241 size-full" src="http://www.wired.com/wp-content/uploads/2014/08/Didcot_power_station_cooling_tower_zootalures.png" alt="Didcot_power_station_cooling_tower_zootalures" width="660" height="400" /></a><figcaption id="caption-attachment-1524241" class="wp-caption-text"><img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> Owen Cliffe / Wikimedia</figcaption></figure>
<p>The iconic shape for a nuclear power plant cooling tower also incorporates curvature in both directions. This shape, called a <em>hyperboloid</em>, minimizes the amount of material required to build it. Regular chimneys are a lot like giant soda cans &#8211; they&#8217;re strong, but they can also buckle easily. A hyperboloid shaped chimney solves this problem by curving in both directions. This double curvature locks the shape into place, giving it extra rigidity that a regular chimney lacks.</p>
<p>Another shape that gets its strength from double curvature is the Pringles potato chip*, or as mathematicians tend to call it, a <em>hyperbolic paraboloid</em> (say that three times fast).</p>
<figure id="attachment_1527031" aria-describedby="caption-attachment-1527031" style="width: 660px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/08/pringle-hypar.png"><img decoding="async" loading="lazy" class="size-full wp-image-1527031" src="http://www.wired.com/wp-content/uploads/2014/08/pringle-hypar.png" alt="A Pringles chip is an example of a mathematical surface called a hyperbolic paraboloid." width="660" height="252" /></a><figcaption id="caption-attachment-1527031" class="wp-caption-text">A Pringles chip is an example of a mathematical surface called a hyperbolic paraboloid. <img decoding="async" class="illo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-illo@2x.png" alt="" /> Aatish Bhatia</figcaption></figure>
<p>Nature exploits the strength of this shape in a mind-blowingly impressive way. The mantis shrimp is infamous for having one of the fastest punches in the animal kingdom, a punch so strong that it vaporizes water, creating a <a href="http://pateklab.biology.duke.edu/high-speed-video-cavitation-during-mantis-shrimp-strike">shock wave</a> and a <a href="https://www.youtube.com/watch?v=CT-PKuRWtSQ">flash of light</a>. To deliver its impressive death blow, the mantis shrimp uses a hyperbolic paraboloid shaped spring. It compresses this spring to store up this immense energy, which it releases in one lethal blow.</p>
<p>You can watch biologist Sheila Patek <a href="https://www.youtube.com/watch?v=RHTTIg7HY80">describe her discovery</a> of this amazing phenomenon. Or have Destin explain it to you in his brilliant Youtube channel <a href="https://www.youtube.com/watch?v=LXrxCT0NpHo">Smarter Every Day</a>.</p>
<p><iframe loading="lazy" src="//www.youtube.com/embed/LXrxCT0NpHo?rel=0" width="660" height="371" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p>The strength of this Pringles shape was well understood by the Spanish-Mexican architect and engineer Félix Candela. Candela was one of Eduardo Torroja’s students, and he built structures that took the hyperbolic paraboloid to new heights (literally). When you hear the word concrete, you might think of dreary, boxy constructions. Yet Candela was able to use the hyperbolic paraboloid shape to build huge structures that expressed the incredible thinness that concrete can provide. A true master of his medium, he was equal parts an innovative builder and a structural artist. His lightweight, graceful structures might seem delicate, but in fact they’re immensely strong, and built to last.</p>
<figure id="attachment_1524371" aria-describedby="caption-attachment-1524371" style="width: 660px" class="wp-caption aligncenter"><a href="https://flic.kr/p/dgkxpQ"><img decoding="async" loading="lazy" class="wp-image-1524371 size-full" src="http://www.wired.com/wp-content/uploads/2014/08/candela.png" alt="candela" width="660" height="434" /></a><figcaption id="caption-attachment-1524371" class="wp-caption-text"><img decoding="async" class="photo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-cam@2x.png" alt="" /> Ciudad de las Artes y las Ciencias / Flickr</figcaption></figure>
<p>So what makes this Pringles shape so strong? It has to do with how it balances pushes and pulls. All structures have to support weight, and ultimately transfer this weight down to the ground. They can do this in two different ways. There’s compression, where the weight squeezes an object by pushing inwards. An arch is an example of a structure that exists in pure compression. And then there’s tension, where the weight pulls at the ends of an object, stretching it apart. Dangle a chain from its ends, and every part of it will be in pure tension. The hyperbolic paraboloid combines the best of both worlds. The concave U-shaped part is stretched in tension (shown in black) while the convex arch-shaped part is squeezed in compression (shown in red). Through double curvature, this shape strikes a delicate balance between these push and pull forces, allowing it to remain thin yet surprisingly strong.</p>
<figure id="attachment_1524611" aria-describedby="caption-attachment-1524611" style="width: 440px" class="wp-caption aligncenter"><a href="http://www.wired.com/wp-content/uploads/2014/08/hypar-force.png"><img decoding="async" loading="lazy" class="size-full wp-image-1524611" src="http://www.wired.com/wp-content/uploads/2014/08/hypar-force.png" alt="hypar force" width="440" height="201" /></a><figcaption id="caption-attachment-1524611" class="wp-caption-text"><img decoding="async" class="illo" src="https://www.wired.com/wp-content/themes/wired/assets/images/gallery-illo@2x.png" alt="" /> Aatish Bhatia</figcaption></figure>
<p>Strength through curvature is an idea that shapes our world, and it has its roots in geometry. So the next time that you grab a slice, take a moment to look around, and appreciate the vast legacy behind this simple pizza trick.</p>
<p><em>Update: Via twitter, Rose Eveleth shared this really nice <a href="http://ed.ted.com/lessons/pizza-physics-new-york-style-colm-kelleher">TED-Ed animation</a> on the math &amp; physics of pizza bending.</em></p>
<p><strong>References</strong></p>
<p>Reid, Esmond. <i>Understanding buildings: a multidisciplinary approach</i>. MIT Press, 1984.</p>
<p>[1]  Mornement, Adam, and Simon Holloway. <i>Corrugated iron: building on the frontier</i>. WW Norton &amp; Company, 2007.</p>
<p>Garlock, Maria E. Moreyra, David P. Billington, and Noah Burger. <i>Félix Candela: engineer, builder, structural artist.</i> Princeton University Art Museum, 2008.</p>
<p>*According to an FDA ruling, Pringles aren&#8217;t legally potato chips because they&#8217;re made from dried potato flakes.</p>
<p>Huge thanks to Upasana Roy, Yusra Naqvi, Steven Strogatz, and Jordan Ellenberg for their helpful feedback on this piece.</p>
<p>Home Page Photo: <a href="https://www.flickr.com/photos/39908901@N06/13594538014/in/photolist-mHiyws-875swC-4x5TTP-89QXy1-6YMdmB-7AehhZ-ebPdKV-2Cfxn4-6gLPRL-5z6why-7t14DE-fhbXMA-8EHcJ2-98X1z7-8W6hDU-5DezeA-a6G1Ae-8fBwG4-6KFeBX-cHJYpC-aEjESa-4um6mX-4uqaGu-9beSy5-5FvguM-RH2EA-5WUFQb-4uqan7-6hq6jS-6sNpai-9Ci2fg-5U75KY-hG5nwX-9DN3Cx-4iuGqC-5HT7tG-7Hg8MT-asymAK-7dUnXD-immZsf-9tLF9r-bKsVc2-5bydF2-dNinFC-4rhqna-6Fvc83-asVLg6-6qit5x-qLvNB-6qiuW6">m10229 / CC</a></p>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3567</post-id>	</item>
	</channel>
</rss>
