<?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/" ><channel><title>DadsWorksheets.com &#187; Math Riffs</title> <atom:link href="http://www.dadsworksheets.com/category/math-riffs/feed/" rel="self" type="application/rss+xml" /><link>http://www.dadsworksheets.com</link> <description>Free Math Worksheets, Strategies and Parenting</description> <lastBuildDate>Tue, 26 Jan 2010 00:52:42 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.1</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Probability and the Evil Tweep of No Sleep</title><link>http://www.dadsworksheets.com/2009/05/22/probability-and-the-evil-tweep-of-no-sleep/</link> <comments>http://www.dadsworksheets.com/2009/05/22/probability-and-the-evil-tweep-of-no-sleep/#comments</comments> <pubDate>Fri, 22 May 2009 13:48:33 +0000</pubDate> <dc:creator>Dad</dc:creator> <category><![CDATA[Math Riffs]]></category> <category><![CDATA[Off Topic!]]></category> <category><![CDATA[Ladders]]></category> <category><![CDATA[Math Riff]]></category> <category><![CDATA[Probability]]></category> <category><![CDATA[Smoke Detector]]></category><guid isPermaLink="false">http://www.dadsworksheets.com/?p=503</guid> <description><![CDATA[ As I type this, the calm clicks of the keys are punctuated once a minute by a sound I can most accurately ascribe to an evil, mutant cricket. It is the smoke detector at the top of the stairs, warning me that its battery is low. It has, in fact, been warning me quite urgently [...]]]></description> <content:encoded><![CDATA[<div style="float:right;margin:-5px 5px 5px 25px;"><img class="size-full wp-image-473" title="Ladder to the Evil Smoke Detector" src="http://www.dadsworksheets.com/blog/wp-content/uploads/2009/05/ladder2-225x300.jpg" alt="Ladder to the Evil Smoke Detector" width="225" height="300" /></div><p>As I type this, the calm clicks of the keys are punctuated once a minute by a sound I can most accurately ascribe to an evil, mutant cricket. It is the smoke detector at the top of the stairs, warning me that its battery is low. It has, in fact, been warning me quite urgently and persistently since 3:22AM this morning. I do not believe the timing is random, and I suspect it is actually, motive unknown, part of a sinister plan to do me in.</p><p>Having invested our full share to inflate the housing bubble, our home meets all of the recent building codes pertaining to fire safety. This includes a full complement of hard-wired smoke detectors &#8212; one in each bedroom, at the top and bottom of any stair way and in locations within hallways whose precise specification eludes me. The net result of this is that we have no fewer than nine smoke detectors in the house. I discern at a minimum that the authors of the current building code possess significant stock holdings in smoke detector companies, even if they are not fully complicit in the threats against my life.<span id="more-503"></span></p><p>While superficially this surfeit of protection may seem well intended, I cannot explain the low battery warnings. These devices are wired into the wall current; could not someone have designed these things with rechargeable backup batteries? Our home is three years old now and the alkalines are all predictably failing. Of the four detectors who have so far called out for assistance, each has chosen the deep, dark of night to start their cry. And this is where the inescapable logic of probability gives credence to the plot against me.</p><p>With 24 hours in a day, the probability that any given smoke detector is going to reach its low battery state on a particular hour is 1/24 or roughly 0.042. We might optimistically assume my critical need for sleep occurs between 11:00PM and 5:00AM, a span of six hours. The probability of a smoke detector demanding its battery be replaced during my core sleep cycle is thus 6/24 or 0.25. A 25% chance here makes me sound like a conspiracy theorist, but I assure you this cover of reasonableness masks something much darker.</p><p>If the probability that one smoke detector is going to wake me is 0.25, the odds that two consecutive detectors will both do so is 0.25 x 0.25 or 0.0625, or 1 in 16. That scenario is going to happen to a lot of people, maybe even you.</p><p>The odds that three detectors will wake me are 0.25 x 0.25 x 0.25 or 0.015625, or 1 in 64. That there is just bad luck. But four detectors, 0.25 x 0.25 x 0.25 x 0.25, is 0. 0.00390625 or 1 in 256. In other words, not impossible but somewhat improbable.</p><p>Even still, why do I perceive this as a threat upon my person? The clincher is that this fourth detector, the one that has so thoroughly robbed me of sleep and sanity, is located at the top of the stairway in such a position as to require an extension ladder and nerves of steel to reach. With the stairs involved, the elevation is well over 20 feet and is the highest part of the interior of the house. Any error on my part spells certain death on the unmerciful tile floor below, assuming I’m lucky enough to miss the railing.  I cannot quantify this dimension of the problem, but my sleep deprived brain tells me a scenario that both demands and deprives a person of physical dexterity must be at least million-to-one odds. One in 256 odds I can stand, but the likelihood of the detector at this particular location starting its tirade at 3:22AM is simply too much to write off as chance.</p><p>I am prepared to say the smoke detectors are out to get me. I’m waiting for the caffeine to fully kick in, then I will do battle with ladder and nine-volt battery in hand. If these are my last words here, you will know who struck me down.<br /><HR/></p><p>UPDATE: I survived. Here&#8217;s the battery to prove it.</p><div style="align:center;"><img class="alignright size-thumbnail wp-image-519" title="everready" src="http://www.dadsworksheets.com/blog/wp-content/uploads/2009/05/everready-150x150.jpg" alt="everready" width="150" height="150" /></div> ]]></content:encoded> <wfw:commentRss>http://www.dadsworksheets.com/2009/05/22/probability-and-the-evil-tweep-of-no-sleep/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Math Riff: The Supercomputer Brain Part 1</title><link>http://www.dadsworksheets.com/2009/02/24/math-riff-the-supercomputer-brain-part-1/</link> <comments>http://www.dadsworksheets.com/2009/02/24/math-riff-the-supercomputer-brain-part-1/#comments</comments> <pubDate>Wed, 25 Feb 2009 04:12:04 +0000</pubDate> <dc:creator>Dad</dc:creator> <category><![CDATA[Math Riffs]]></category> <category><![CDATA[Axon]]></category> <category><![CDATA[Brain]]></category> <category><![CDATA[disk performance]]></category> <category><![CDATA[Math Riff]]></category> <category><![CDATA[Neuron]]></category> <category><![CDATA[Ray Kurzweil]]></category> <category><![CDATA[Singularity]]></category><guid isPermaLink="false">http://www.dadsworksheets.com/?p=409</guid> <description><![CDATA[There’s all sorts of interesting supercomputer news out there recently. Los Alamos National Laboratory’s Roadrunner supercomputer narrowly edged out Oak Ridge National Laboratory’s Jaguar to take the title of the world’s most powerful with a score of 1.1 petaflops of computational power. Not to be outdone, Lawrence Livermore National Laboratory announced they were contracting with [...]]]></description> <content:encoded><![CDATA[<div style="float:right;margin:0px 0px 2px 5px;"><div id="attachment_415" class="wp-caption alignright" style="width: 160px"><img class="size-thumbnail wp-image-415" title="Homer's Brain" src="http://www.dadsworksheets.com/blog/wp-content/uploads/2009/02/homer-simpson-wallpaper-brain-1024-150x150.jpg" alt="Not All Brains Have Equal Processing Capacity" width="150" height="150" /><p class="wp-caption-text">Not All Brains Have Equal Processing Capacity</p></div></div><p>There’s all sorts of interesting supercomputer news out there recently. <a href="http://www.top500.org/lists/2008/11/press-release">Los Alamos National Laboratory’s Roadrunner supercomputer</a> narrowly edged out <a href="http://www.ornl.gov/info/press_releases/get_press_release.cfm?ReleaseNumber=mr20081110-00">Oak Ridge National Laboratory’s Jaguar</a> to take the title of the world’s most powerful with a score of 1.1 petaflops of computational power. Not to be outdone, Lawrence Livermore National Laboratory announced they were contracting with IBM to deliver a <a href="http://www-03.ibm.com/press/us/en/pressrelease/26599.wss">20 petaflop machine</a> in 2009. That would actually create a machine more powerful than the <a href="http://www.top500.org">500 fastest supercomputers</a> on the planet and represents a significant leap forward.</p><p>Naturally, all of us are looking for faster computers these days. <a href="http://www.kurzweilai.net/">Ray Kurzweil</a>’s hope is for computers fast enough to deliver full blown supra-human artificial intelligence. As in brain-in-a-jar, download your head and live forever stuff. You can read all about it in his book <a href="http://www.amazon.com/gp/product/0143037889?ie=UTF8&amp;tag=dadswork-20&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=0143037889">The Singularity Is Near</a><img style="border:none !important; margin:0px !important;" src="http://www.assoc-amazon.com/e/ir?t=dadswork-20&amp;l=as2&amp;o=1&amp;a=0143037889" border="0" alt="" width="1" height="1" />. Be forewarned… If you’re the least bit apprehensive about computers inside your skull, Ray’s train of thought may have you pricing cabins in Montana. Ray pegs the <a href="http://www.singularitysummit.com/">arrival of the Singularity </a>as circa 2040.<span id="more-409"></span></p><p>To hit that goal, Ray suggests we need computers that can perform on the order of 10 quadrillion floating point calculations per second. In supercomputer-speak, that’s 10 petaflops.  That’s actually right in the realm of where supercomputers are running today, and IBM’s 20 petaflop supercomputer-beast is scheduled to be turned on later this year. So did the Singularity already deplane and we just missed it?</p><p>Probably not.</p><p>With post-graduate work in AI, and a day job involving some fairly large distributed transaction processing systems, the computational aspects of the problem here is interesting to me personally. Certainly, the power and capability of computers will continue to rise over the years and more “intelligent” software systems are coming. We’ll leave the ethical dimensions of whether you want to replace your brain with something running Microsoft Windows 9.0 to another blog, but for now the comparison between computers and brains make for an interesting math riff.</p><p>In this two-part riff, we’ll look at a brain by-the-numbers to see how big it is, discuss how that relates to computer hardware and then reflect on what that means for near-term computer-based intelligence comparable to human capability.</p><p><strong>A Brain by the Numbers</strong></p><p>Nominally, we can reduce a human brain down to a very large collection of cells called <a href="http://en.wikipedia.org/wiki/Neuron">neurons </a>that are all interconnected. A human brain has roughly 100 billion (10<sup>11</sup>) neurons. That sounds like a lot, but in the computer world we’re used to dealing with large numbers and 100 billion bytes would be 100GB. Your hard disk is probably bigger than that, and you’d find the equivalent amount of data on roughly two Blu-Ray disks. A neuron modeled in a computer program is going to be bigger than a byte obviously, but even still we’re starting out with something that superficially seems to be of similar scale.</p><p>So, why isn’t my computer doing all my work for me? Well, there’s a lot more complexity between your ears.</p><p>Neurons need to “talk” to each other to solve problems, store memories or perform all the other tasks your brain ultimately does for you. In the brain these connections are created using biological wires called <a href="http://en.wikipedia.org/wiki/Axon">axons</a>, and where an axon touches another neuron you get a connection called a synapse. To put it another way for modeling purposes, imagine your brain is a map and all of the neurons are cities on the map. The axons are the roads between individual cities. From any given city you can drive directly to some number of cities, but in most cases you may have to go through multiple towns and cities to get from any spot on the map to another.</p><p>In the case of neurons and axons, it turns out there are on the order of 10,000 or so connections between any given neuron. In our map analogy, that’s like 10,000 roads leading in or out of a given city. It becomes clear that the complexity of our computer brain model isn’t so much dictated by the number of neurons as it is dictated by the number of axons. If we’re looking at 100 billion neurons, our model suddenly needs to account for 100 billion x 10,000 axons, or one quadrillion (10<sup>16</sup>) connections. If we could model an axon as a byte, that’s roughly 1,000 TB of data. That’s 500 of the latest and greatest 2TB hard disks on the market, or a number called a petabyte in the disk storage industry.</p><p>Of course, like neurons, we can’t model an axon connection using a single byte. Realistically, we’re probably looking at structures with multiple pointers, threshold potential values or other similar bits of data. A good lower bound on the size of a computer data structure to model an axon and its connection between two neurons is probably around 32 bytes, so our total brain model storage is around 32 petabytes, or about 16,000 of those shiny new 2TB hard disks. I’m starting to feel a little prouder of my brain’s storage capacity.</p><p>So how long before we can fit our brain design on a single disk drive? In terms of raw disk storage, 2TB drives are the current state-of-the-art. We need a 16,000x increase, and we know disk storage density is doubling right now roughly ever year. 16,000 is close to a power of two… 2<sup>14</sup> is 16,384.  So, if we don’t run into any significant technical obstacles, we should have some storage device capable of holding 32PB of data in around 14 years. Not bad if the rate of progress holds out.</p><p>Except storage devices are terribly slow. In fact, disk drives are thousands of times slower than the actual microprocessor that would need to look at our brain model. In fact, given a modern 320MB/s SATA disk interface, just reading the data off a 32PB disk drive would take three years. Disk interfaces will improve over time as well, but clearly we can’t use our brain model efficiently when it’s on a storage device. The key is getting the brain model into faster silicon memory so that we can work on it quickly. And that, unfortunately, starts to tell us where Ray’s dream machine breaks down.</p><p><a href="http://www.dadsworksheets.com/2009/02/24/math-riff-the-…r-brain-part-2math-riff-the-supercomputer-brain-part-2/">Read the rest of the article in Part 2</a></p> ]]></content:encoded> <wfw:commentRss>http://www.dadsworksheets.com/2009/02/24/math-riff-the-supercomputer-brain-part-1/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Math Riff: The Supercomputer Brain Part 2</title><link>http://www.dadsworksheets.com/2009/02/24/math-riff-the-supercomputer-brain-part-2/</link> <comments>http://www.dadsworksheets.com/2009/02/24/math-riff-the-supercomputer-brain-part-2/#comments</comments> <pubDate>Wed, 25 Feb 2009 04:11:50 +0000</pubDate> <dc:creator>Dad</dc:creator> <category><![CDATA[Math Riffs]]></category> <category><![CDATA[Artificial Intelligence]]></category> <category><![CDATA[CPU performance]]></category> <category><![CDATA[feature size]]></category> <category><![CDATA[interconnect size]]></category> <category><![CDATA[Math Riff]]></category> <category><![CDATA[memory performace]]></category> <category><![CDATA[Moore's Law]]></category> <category><![CDATA[Ray Kurzweil]]></category> <category><![CDATA[Supercomputing]]></category><guid isPermaLink="false">http://www.dadsworksheets.com/?p=406</guid> <description><![CDATA[In the previous post we set out to talk about the comparison between brains and computers, looking specifically at whether Ray Kurzweil’s prediction for human-level artificial intelligence is likely in the next few decades. Our main conclusion based on looking at the structure of a brain is that we’d need roughly 32 petabytes of space [...]]]></description> <content:encoded><![CDATA[<p>In <a href="http://www.dadsworksheets.com/2009/02/24/math-riff-the-…r-brain-part-1">the previous post</a> we set out to talk about the comparison between brains and computers, looking specifically at whether <a href="http://www.kurzweilai.net/">Ray Kurzweil’s prediction</a> for human-level artificial intelligence is likely in the next few decades. Our main conclusion based on looking at the structure of a brain is that we’d need roughly 32 petabytes of space to accurately model what the brain looks like. This post delves into what kind of silicon-based infrastructure you would need to process a data structure that size.<span id="more-406"></span></p><p>As a first step, we might try to figure out how to get 32PB of information into the computer’s main Random Access Memory (RAM). This is different from the disk storage space, which is always a much larger number. The amount of RAM in your computer is significantly less than what the hard disk can store, but it can be manipulated much, much faster. In fact, a computer really can’t do anything with any information unless it’s loaded at least partially into RAM.</p><p>RAM is typically installed using a little card called a DIMM that is plugged into the computer’s motherboard. The most cost-effective DIMMs today hold 2GB of memory (you can get bigger ones, but they cost significantly more per unit of storage). It would take 16 million of today’s DIMMs to store our 32PB brain model. If we figured our brain model might run on a high-end computer with space for 16 DIMMs on the motherboard, we would still need a 1,000,000x improvement in memory density.</p><p>Unfortunately, Moore’s Law says we only double our density every two years. To get a 1,000,000x increase, that equates roughly to 2<sup>20</sup>, which means we’re going to need 20 generations of improvement over 40 years before we get out 2PB DIMMs. That’s already got us out to the year 2049, so we’re pushing Ray’s calculations a bit, but we’re still in the park. That is, if RAM is actually fast enough.</p><p><strong>Is RAM Fast Enough for Brain Modelling?</strong></p><p>Once we’ve got our model in RAM, we can get the CPU to do something with it. The neurons in your head signal each other fairly slowly, but they do it all in parallel. So, even though a neuron might “fire” only 5 or 6 times per second, you’re talking about 100 billion of them working in parallel, so you’ve got quite a bit of processing going on.</p><p>Normally the way someone might look at this problem is to start with the number of axons and figure we need to run short bit of computer code across each one a few times a second. If we start with our figure of about 10<sup>16</sup> axons and figure each scan across an neuron or axon might take roughly 10 microprocessor instructions on each pass, and that gets us in the ballpark of 2<sup>17</sup> floating point operations, or about 10 petaflops. No surprise, this is spot-on with Ray’s calculations. But we’re already anticipating super-computers with more than this range of processing power… At that scale, we should be seeing HAL 9000’s pop up around us soon.</p><p>We’ve already realized we need to look at axons, which led us to our 32PB data structure. Let’s imagine to mimic a human brain, we need to run our model through the microprocessor five times each second, which means we need to move a little piece of our model out of RAM and into the processor, update it, then move it back to main RAM five times each second. Each pass requires moving 32PB of data back and forth, or 64PB of transfer. To do that five times requires 320PB of memory bandwidth per second.</p><p>A modern memory bus moves 128 bits (16 bytes) of data at a rate of 1.3 gigahertz. Multiply those two values and you get a rate of about 20GB/s of bandwidth. How do we figure the needed technological advance here? No problem. We’ll just figure out the relationship between 320PB/s and 20GB/s and Moore’s Law should help us again…</p><p>320PB/s = 320,000 TB/s = 320,000,000 GB/s</p><p>320,000,000 / 20 = 16,000,000x</p><p>So we need a 16 million times increase in performance, or 2<sup>24</sup>, which gives us 24 generations or (at two years per doubling) 48 more years of Moore’s Law moving forward. Right around the corner, right?</p><p>Unfortunately, physics has something to say here. Current technology is building circuits on process technology with a feature size of 45 nanometers. A silicon atom in the silicon crystal structure is actually around 250 picometers (0.25nm wide), which might make you think features on a current silicon die are about 180 atoms across. However, the legs feeding into the transistor are around half the feature size, or about 22nm. That means our current process technology is producing connections that are only 90 atoms wide. Using the same math, the<a href="http://www.theinquirer.net/inquirer/news/924/1050924/otellini-unveils-usd7-billion-intel-plan-32nm"> 32nm process</a> that Intel is ramping up for 2010 production will have on-chip connections only 64 atoms wide.</p><p><img class="size-large wp-image-425" title="Semiconductor Interconnect Sizes" src="http://www.dadsworksheets.com/blog/wp-content/uploads/2009/02/semiconductorprocess-1024x631.png" alt="The End of Moore's Law?" width="400" /></p><p>Even starting from current process technology, you can’t cut a number like 90 in half too many times. In fact, after five or six cuts  (or about eight new generations of semiconductor processes on Intel&#8217;s road map above) you’re down to a feature size that’s less than an atom across. Halving the feature size yields four times the density, so we’re talking about an potential increase of 4<sup>6</sup>, or 4,000x. That’s exactly 2<sup>12</sup>, or half-way up the exponential curve to 16,000,000x on our doubling scale, but in absolute terms only 1/4000th of the way to the memory performance we need. If we project out to 2nm features, or 1nm interconnects, we&#8217;re envisioning structures that are only 4 atoms wide.  That represents something closer to 2^8 improvement (256x). Realistically, we’re going to be lucky to get 200x-300x more performance out of semiconductor technology before we hit the atomic wall, and we’ll probably see the curve flattening out on the time axis long before we get there.</p><p><strong>What About the Super Computer?</strong></p><p>But the astute reader says, “Hey! Don’t we already have a 20 petaflop computer coming using today’s technology? Why won’t that work?” The problem with the performance numbers for modern supercomputers is that they’re related to highly distributed problem solving that, so far, doesn’t look well suited to modeling the complex connections between neurons in a brain. In fact, the Roadrunner computer uses 129,000 separate smaller processing cores to reach its peak number.</p><p>Modern supercomputers are really collections of very large numbers of independent processors, memory and subsystems that are designed to perform lots of independent calculations. If a single CPU today can perform a billion calculations a second, chaining 1,000 machines together and sending a 1,000 independent problems to each one has the effect of running a billion calculations per second. But, if one of those machines needs to communicate with another for part of its work, it requires sending a message over a similar sort of memory bus or a network, which literally requires thousands of times the overhead of just doing a step locally at the CPU. Once you’re “off the chip” the performance advantage of a large number of processors is quickly eaten up.</p><p>Modern CPUs avoid moving off a single chunk of silicon by storing as much information as possible right by the CPU in very, very fast memory called cache. In fact, most of the extra transistors that all the advances enabled by semiconductor process technology go to larger and larger caches because the CPU cores can run much faster if the go less frequently out to RAM. When the CPU needs something that’s in the cache, it gets it darn fast and can keep running full steam ahead. Imagine your CPU is a sports car tearing up the striped line on the highway. As long as the CPU can find what it needs in the cache, it’s like that car is doing 100MPH. When something isn’t in the cache, and if it has to go all the way to main memory, you get something called a “pipeline stall” which is the equivalent of your Ferrari CPU stopping dead at a red light. And if has to go all the way to the hard disk for anything, that’s basically like stopping at a resort for a weekend vacation.</p><p>As long as a single problem can be broken down in such a way that there’s very little communication between each part of the problem and you can fit most of this information neatly into the processor’s cache, this works very nicely. Things like 3D rendering, weather modeling or simulating nuclear tests work very nicely on super computers because you know data elements are located in a physical geometry (X/Y/Z coordinates in physical space) that won’t change and their values are a function of their neighbor’s. Some value 1,000 points away isn’t relevant to this point right here. Modeling problems this way eliminates most communication between nodes, and makes quickly running lots of parallel independent calculations possible.</p><p>Modeling large scale synaptic networks with 10,000 connections (axons) between nodes (neurons), where the connections aren’t necessarily spatially dependent and where they change frequently, simply doesn’t fit the architecture of current supercomputers. The problem isn’t easily split apart into thousands of independent chunks of work. There’s too much required coordination over too many changing channels of communication.</p><p>Even if you think of a neuron only connecting to 100 other potential neurons, you don’t need a large number of “hops” between neurons before you’re basically traversing the whole architecture. One neuron may connect to say 100 others, but those 100 may themselves connect to another 100 each, and so on. If you make eight hops, you’re at 100^8 or 10^16 connections. That means checking our brain model and seeing how a series of eight neurons might connect up could wind up anywhere in the model’s space… You basically need the whole model in a single fast memory (like the CPU cache) to do any realistic work at the CPU’s top speed.</p><p>What this implies is that even if you have an extraordinarily powerful microprocessor, or lots of them, or lots of cores, or whatever the current paradigm is for CPU architecture 40 years from now, a reasonable model of the brain is still going to have to access a fairly holistic problem model. Running lots of computers (or independent processors in a super computing cluster) won’t help because those independent processors can’t see enough of an unpredictably changing model without a gigantic cache. Without some radically new architecture or memory model, you really need one “silicon brain” looking at the electronic simulation of our human brain repeatedly (and quickly) to make the magic happen. And the bottom line is we don’t have enough atoms left at the bottom end of Moore’s Law to get enough memory bandwidth there using the current semiconductor technology we employ today.</p><p>Ray remains optimistic that we’ll escape the atomic limits of Moore’s Law and move on to sub-atomic scale computing, quantum dot based calculation or some other ground shaking paradigm. Obviously, our brains work well using a different type of technology, so ultimately we’ll find some new approach that reaches and exceeds human capacity. Until then, my advice is to keep your brain in tip-top shape (lots of worksheets!) because computers are a long way from taking over thinking for you.</p> ]]></content:encoded> <wfw:commentRss>http://www.dadsworksheets.com/2009/02/24/math-riff-the-supercomputer-brain-part-2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>2008 Electoral College Ball&#8230; Go Team!</title><link>http://www.dadsworksheets.com/2008/10/21/2008-electoral-college-ball-go-team/</link> <comments>http://www.dadsworksheets.com/2008/10/21/2008-electoral-college-ball-go-team/#comments</comments> <pubDate>Tue, 21 Oct 2008 20:23:47 +0000</pubDate> <dc:creator>Dad</dc:creator> <category><![CDATA[Math Riffs]]></category> <category><![CDATA[Election 2008]]></category> <category><![CDATA[Electoral College]]></category> <category><![CDATA[Home State Advantage]]></category> <category><![CDATA[States to Win]]></category><guid isPermaLink="false">http://www.dadsworksheets.com/?p=270</guid> <description><![CDATA[ What Do You Need to Win?267 Votes versus 271 Votes 39 States Plus D.C. versus 11 StatesIt&#8217;s officially two weeks until Election Day, and we&#8217;re already gearing up here for an evening of popcorn in front of the TV. With Dad not being a big sports fan, election night is something like the Super Bowl around [...]]]></description> <content:encoded><![CDATA[<div style="float:right;margin-left:15px;margin-bottom:15px;"><h2 style="font-size:14px;line-height:18px;margin:0;margin-bottom:15px;text-align:center;">What Do You Need to Win?</h2><p><a href="http://www.dadsworksheets.com/blog/wp-content/uploads/2008/10/electoral_college_min_states_to_win.jpg"><img class="size-thumbnail wp-image-271" style="border:none;" title="electoral_college_min_states_to_win" src="http://www.dadsworksheets.com/blog/wp-content/uploads/2008/10/electoral_college_min_states_to_win1-300x127.jpg" alt="You Only Need the Top Eleven States to Win the Election!" width="300" height="127" /></a><br /><h2 style="font-size:11px;line-height:18px;margin:0;text-align:center;">267 Votes versus 271 Votes</h2><h2 style="font-size:11px;line-height:18px;margin:1px;text-align:center;">39 States Plus D.C. versus 11 States</h2></div><p>It&#8217;s officially two weeks until Election Day, and we&#8217;re already gearing up here for an evening of popcorn in front of the TV. With Dad not being a big sports fan, election night is something like the Super Bowl around here, and this is the first election where the kids realize there&#8217;s something like &#8220;teams&#8221; we root for throughout the night.</p><p>That said, if we learned anything in the last two elections, it&#8217;s that score keeping is hard. Seriously, if football had scoring rules like the Electoral College I think we&#8217;d be looking at a lot more hockey fans out there. Let&#8217;s take a closer look!<span id="more-270"></span></p><p>There are 50 states plus the District of Columbia who are granted electoral votes for purposes of the presidential election.  Each state is given a number of votes equal to the number of representatives it has in Congress. Each state has two Senators, plus some number of members in the House of Representative. The number of House of Representatives members from each state is based generally on population. The District of Columbia is granted three votes even though it has no representation in Congress. For the 2008 election, all of this totals up to 538 Electoral College votes.</p><p>Most of the states award their Electoral College votes in all-or-nothing contests. If a candidate wins, the candidate gets all of the votes for that state. The exceptions to this are Maine and Nebraska, who divide their votes in all-or-nothing contests at the congressional district level, and with the two votes corresponding to the Senate seats awarded based on the state-wide popular vote. In theory, this could cause Maine or Nevada to split their votes between the candidates, but because these states have a small number of congressional districts (and a correspondingly small number of Electoral College votes), the math generally works out where the state-wide votes and the votes within individual congressional districts always agree. In fact, a college vote split has never occurred, but polls are close in Nevada this year, so keep a watch there for this potential bit of election trivia to expire.</p><div style="float:left;margin:0;margin-right:20px;margin-bottom:10px;"><h2 style="font-size:12px;line-height:18px;">States Sorted Descending<br /> by Electoral College Votes</h2><table border="0"><tbody><tr><th style="text-align:left;"><em>State</em></th><th style="text-align:center;"><em>Votes</em></th></tr><tr><td>California</td><td style="text-align:center;">55</td></tr><tr><td>Texas</td><td style="text-align:center;">34</td></tr><tr><td>New York</td><td style="text-align:center;">31</td></tr><tr><td>Florida</td><td style="text-align:center;">27</td></tr><tr><td>Illinois</td><td style="text-align:center;">21</td></tr><tr><td>Pennsylvania</td><td style="text-align:center;">21</td></tr><tr><td>Ohio</td><td style="text-align:center;">20</td></tr><tr><td>Michigan</td><td style="text-align:center;">17</td></tr><tr><td>Georgia</td><td style="text-align:center;">15</td></tr><tr><td>New Jersey</td><td style="text-align:center;">15</td></tr><tr><td>North Carolina</td><td style="text-align:center;">15</td></tr><tr><td>Virginia</td><td style="text-align:center;">13</td></tr><tr><td>Massachusetts</td><td style="text-align:center;">12</td></tr><tr><td>Indiana</td><td style="text-align:center;">11</td></tr><tr><td>Missouri</td><td style="text-align:center;">11</td></tr><tr><td>Tennessee</td><td style="text-align:center;">11</td></tr><tr><td>Washington</td><td style="text-align:center;">11</td></tr><tr><td>Arizona</td><td style="text-align:center;">10</td></tr><tr><td>Maryland</td><td style="text-align:center;">10</td></tr><tr><td>Minnesota</td><td style="text-align:center;">10</td></tr><tr><td>Wisconsin</td><td style="text-align:center;">10</td></tr><tr><td>Alabama</td><td style="text-align:center;">9</td></tr><tr><td>Colorado</td><td style="text-align:center;">9</td></tr><tr><td>Louisiana</td><td style="text-align:center;">9</td></tr><tr><td>Kentucky</td><td style="text-align:center;">8</td></tr><tr><td>South Carolina</td><td style="text-align:center;">8</td></tr><tr><td>Connecticut</td><td style="text-align:center;">7</td></tr><tr><td>Iowa</td><td style="text-align:center;">7</td></tr><tr><td>Oklahoma</td><td style="text-align:center;">7</td></tr><tr><td>Oregon</td><td style="text-align:center;">7</td></tr><tr><td>Arkansas</td><td style="text-align:center;">6</td></tr><tr><td>Kansas</td><td style="text-align:center;">6</td></tr><tr><td>Mississippi</td><td style="text-align:center;">6</td></tr><tr><td>Nebraska</td><td style="text-align:center;">5</td></tr><tr><td>Nevada</td><td style="text-align:center;">5</td></tr><tr><td>New Mexico</td><td style="text-align:center;">5</td></tr><tr><td>Utah</td><td style="text-align:center;">5</td></tr><tr><td>West Virginia</td><td style="text-align:center;">5</td></tr><tr><td>Hawaii</td><td style="text-align:center;">4</td></tr><tr><td>Idaho</td><td style="text-align:center;">4</td></tr><tr><td>Maine</td><td style="text-align:center;">4</td></tr><tr><td>New Hampshire</td><td style="text-align:center;">4</td></tr><tr><td>Rhode Island</td><td style="text-align:center;">4</td></tr><tr><td>Alaska</td><td style="text-align:center;">3</td></tr><tr><td>Delaware</td><td style="text-align:center;">3</td></tr><tr><td>D.C.</td><td style="text-align:center;">3</td></tr><tr><td>Montana</td><td style="text-align:center;">3</td></tr><tr><td>North Dakota</td><td style="text-align:center;">3</td></tr><tr><td>South Dakota</td><td style="text-align:center;">3</td></tr><tr><td>Vermont</td><td style="text-align:center;">3</td></tr><tr><td>Wyoming</td><td style="text-align:center;">3</td></tr></tbody></table></div><p>Half of the 538 vote total is 269, so a candidate must win 270 votes to get a majority and win the game. It doesn&#8217;t matter how they get there, but obvious the bigger the haul in one of those all-or-nothing states, the closer to victory. Nearby is a list of the states sorted in descending order by their electoral votes. If you look at this chart, the top 11 states account for 271 votes, or just enough to win the election. In other words, the bottom 39 states and the District of Columbia count as much as those top 11 states.  In fact, you have to add up 15 of the lowest ranking contributors just to get close to the 55 Electoral College votes that California racks up.</p><p>So why do we persist with this system of all-or-nothing contests? Doesn&#8217;t that just perpetuate that whole 2000 election/Florida fiasco? Actually, the Electoral College vote helps encourage candidates to spend time in individual estates, even if it&#8217;s only the ones where the contests are close in the polls. If the race was purely decided by the national populate votes, candidates would probably spend virtually all of their time in those top few states since that&#8217;s where they&#8217;re likely to shift the largest absolute number of votes. The Electoral College encourages candidates to take into account the interests of a wider range of the states, which was really the intent of the system&#8217;s designers. Second guessing the Founding Fathers would be a bit like making touch-downs and field goals both count for two points… It might sound reasonable, especially if you&#8217;re the kicker, but it&#8217;s not football anymore.</p><p>When you consider that one of the original proposals was to have Congress elect the President, you&#8217;ll probably be just as glad we got the Electoral College system in the bargain.</p><p>But back to the numbers. The top 11 states are overwhelming concentrated in the Eastern half of the United States, and the only two big Western states, California and Texas, are respectively and heavily tilted toward the opposing teams. With the outcome of those two states pretty well known, there will be a lot of riding on those remaining top 9 states. For all intents and purposes, our game kicks off 8:00PM EST when polls for the majority of those states will be closed and the national networks will start calling the points.</p><p>Several of the big states are tilted one way or the other, but the big open plays in the game are really Florida and Ohio. With the team wearing the blue uniforms solidly polling double digit leads in both California and New York, the red team really needs to tip these wobblers in if they want to stay in the game. If McCain loses these two states, Obama  will likely have eight of the top 11 locked up and the game is basically over before half-time. If McCain picks up both of these states, we could be looking at election-overtime. Either way, we&#8217;ll have lots of pop corn ready. Go team!</p><p>Here&#8217;s a few quick math trivia facts to keep your Electoral College-unaware friends (or your kids) amused during the night of CNN and FoxNews channel surfing…</p><p>What is the number of Electoral College votes being decided in the 2008 election? 538</p><p>How many votes are needed to win? A clear majority or 270 votes will be necessary to win the 2008 Presidential Election.</p><p>Can there be a tie? Absolutely. If both parties end the night with exactly half the total, or 269 votes, the sitting House of Representatives decides the election. If the House vote is a tie, the Senate (which has 101 votes including the Vice President, so it can never have a tie), decides.</p><p>How many different ways could the Electoral College votes be cast? In theory, with 51 different contests (ignoring the Nevada/Maine complexity), there are 2^51 or 2,251,799,813,685,248  potential ways the combination of individual elections could be decided. No matter how you slice it, that&#8217;s millions of times more than the actual number of voters. How&#8217;s that for counter-intuitive?</p><p>How many of the largest states are needed to win the Electoral College? Alternatively, what&#8217;s the fewest number of states a candidate needs to win the election? The top eleven states total 271 votes, or one more than what is necessary to win.</p><p>What&#8217;s the range of votes assigned to individual states? California has the most Electoral College votes at 55. Seven states and the District of Columbia have the fewest at 3 votes each. The average state has 10.5 Electoral College votes.<div style="float:right;margin-left:15px;margin-bottom:15px;"><h2 style="font-size:12px;line-height:18px;margin-bottom:15px;text-align:center;">Election 2008 Home State Advantage</h2><p><a href="http://www.dadsworksheets.com/blog/wp-content/uploads/2008/10/electoral_college_home_state_advantage.jpg"><img class="size-thumbnail wp-image-271" style="border:none;" title="electoral_college_min_states_to_win" src="http://www.dadsworksheets.com/blog/wp-content/uploads/2008/10/electoral_college_home_state_advantage-300x93.jpg" alt="Election 2008 Home State Advantage" width="300" height="93" /></a><br /><h2 style="font-size:11px;line-height:18px;margin-bottom:10px;text-align:center;">13 Votes versus 24 Votes</h2></div><p>Who has the &#8220;home state advantage&#8221;? Obama and Biden share 24 votes (21 from Illionois and 3 from Delaware) compared to 13 for McCain and Palin (10 from Arizona and 3 from Alaska). The Vice Presidential picks did little to tilt either candidate&#8217;s chances in the Electoral College math.</p><p>Some sources:</p><p><a title="List of Electoral Votes by State" href="http://www.fec.gov/pages/elecvote.htm">Breakdown of Electoral Votes by State</a></p><p><a title="Current Poll Numbers" href="http://www.realclearpolitics.com/epolls/maps/obama_vs_mccain/?map=1" target="_blank">State-by-State Poll Numbers Leading Up to Election Day</a></p><p><a title="Poll Closing Times" href="http://www.thegreenpapers.com/G08/closing.phtml?format=gc" target="_blank">Check out the Green Papers for Poll Closing Times</a></p> ]]></content:encoded> <wfw:commentRss>http://www.dadsworksheets.com/2008/10/21/2008-electoral-college-ball-go-team/feed/</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Math Riff: Flipping Coins for Lucky Numbers $7 Billion and $700 Billion</title><link>http://www.dadsworksheets.com/2008/10/04/math-riff-flipping-coins-for-lucky-numbers-7-billion-and-700-billion/</link> <comments>http://www.dadsworksheets.com/2008/10/04/math-riff-flipping-coins-for-lucky-numbers-7-billion-and-700-billion/#comments</comments> <pubDate>Sun, 05 Oct 2008 04:47:33 +0000</pubDate> <dc:creator>Dad</dc:creator> <category><![CDATA[Math Riffs]]></category> <category><![CDATA[$700 billion]]></category> <category><![CDATA[California]]></category> <category><![CDATA[Math Riff]]></category> <category><![CDATA[MBS Bailout]]></category> <category><![CDATA[Pennies]]></category><guid isPermaLink="false">http://www.dadsworksheets.com/?p=244</guid> <description><![CDATA[Big numbers starting with seven are in the news this week, and it’s worth a Math Riff to try to get a handle on just how much tax payer contribution our elected leaders are asking us to sign up for. It’s those billion dollar figures again that boggle the mind. Did you know a billion [...]]]></description> <content:encoded><![CDATA[<div style="float:right;padding-left:20px;"><div id="attachment_246" class="wp-caption alignright" style="width: 160px"><a href="http://www.dadsworksheets.com/blog/wp-content/uploads/2008/10/penny.jpg"><img style="border:none;" src="http://www.dadsworksheets.com/blog/wp-content/uploads/2008/10/penny-150x150.jpg" alt="A Hundred Billion Pennies Saved, is $1 Billion Earned..." title="penny" width="150" height="150" class="size-thumbnail wp-image-246" /></a><p class="wp-caption-text">A Hundred Billion Pennies Saved, is $1 Billion Earned...</p></div></div><p>Big numbers starting with seven are in the news this week, and it’s worth a Math Riff to try to get a handle on just how much tax payer contribution our elected leaders are asking us to sign up for. It’s those billion dollar figures again that boggle the mind. Did you know a billion dollars worth of pennies weighs <a href="http://www.kokogiak.com/megapenny/eleven.asp">312,000 tons</a>, and would make <a href="http://www.kokogiak.com/megapenny/eleven.asp">a cube 126 feet on a side</a>? Or that there are over 2 billion pennies in circulation today?</p><p>The $7 billion dollar amount is the current revenue short fall in California. Governor Schwarzenegger is getting ready to hit up Uncle Sam to cover the gap until the credit markets loosen up and the state can go back to conventional lending sources to cover its cash needs. That should get California through this fiscal year, but what the state will do next time around is anybody’s guess&#8230; Unless the California tax payers can find two million pounds of pennies in between their couch cushions or car seats, there could be an even bigger crunch come next year.</p><p><span id="more-244"></span></p><p>For even bigger fun the $700 billion dollar figure represents the potential total amount authorized this week by congress and the president to purchase mortgage backed securities. The hope is this action by the federal government will stabilize some of the organizations holding on to these instruments and put them back in good enough shape that other companies will feel comfortable doing business with them. It’s possible just knowing the government is a potential buyer of last resort may build confidence, and if we’re lucky maybe the full $700 billion won’t be tapped… Only the first $250 billion is approved initially. Initially, that’s 78 million pounds of pennies stacked in a cube almost 800 feet on a side. Maybe it’s time to buy stock in copper mines. Oh wait, <a href="http://en.wikipedia.org/wiki/Cent_(United_States_coin)#History_of_composition">pennies aren’t made of copper any more.</a></p><p>Anyway, the government hopes to sell these securities back into the market somehow, or otherwise collect some of the money these securities would generate. In that respect, it’s like the federal government making an enormous bet on the housing market recovering… If we’re actually at the bottom and these securities have some intrinsic value that’s just being buried due to mark-to-market accounting rules, some people think the government could make a profit here… As a taxpayer, I’m not sure anyone should be expecting that.</p><p>Other than starting with a lucky digit, is there a comparison to be made between a federal loan for the California budget deficit and the MBS bailout? In theory, the $700 billion MBS bailout is buying something tangible and a good chunk of that should wind up returned to the Treasury as the markets stabilize and markets for those securities re-emerge. The California budget shortfall, however, is pure spending… It’s gone once it’s received and California tax payers will be on the hook for repaying that loan, plus closing the gap with next year’s budget. In my mind, that could be a bit scarier because it’s an ongoing gap. Fortunately, that gap is somewhat tangible.</p><p>Per person how much is $7 billion for California residents? According to estimates from the census bureau, California has about 36.5 million people living there. That means California is short this year just a bit under $200 for every person living in the state. That sounds a bit more manageable. You can probably find $200 in loose change in some cars around Beverly Hills.</p><p>The MBS bailout may be somewhat secured, but the numbers there aren’t nearly as friendly… The population in the United States is right at 300 million people, so the MBS bailout package at $700 billion amounts to roughly $2,300 per person if the entire amount is spent. In terms of tax payers, the most recent available statistics from the IRS show that in 2006 just under 93 million tax returns were filed, which means that $700 billion amounts to $7,500 per tax payer. If you factor out returns where the net tax was under $100, that reduces the total to 65 million returns or just over $10,000 per actual tax payer. Ouch.</p><p>Another interesting statistic is to look at this $700 billion as a fraction of the total real estate assets in the United States. The Federal Reserve reported residential real estate assets in 2006 (the market peak) at a value of $19.8 trillion, and estimates based on the drop in median housing prices are that this value is now about $13 trillion dollars. At $700 billion, the government is taking a roughly 5% stake in the current asset value of all U.S. residential real estate… And probably the riskiest 5% at that.</p><p>Here’s to hoping that luck is on the side of the $10,000 investment the government just made on my behalf.</p><p><strong>Links:</strong></p><p><a href="http://www.irs.gov/taxstats/index.html">Tax Payer Statistics, Straight From the Horse&#8217;s Mouth</a><br /> <a href="http://www.irs.gov/pub/irs-soi/06in11si.xls">And the Specific Ones from 2006 Cited Above</a><br /> <a href="http://quickfacts.census.gov/qfd/states/06000.html">U.S. Census Data on California</a><br /> <a href="http://www.kokogiak.com/megapenny/">Some Really Fun Penny Facts</a><br /> <a href="http://en.wikipedia.org/wiki/Cent_(United_States_coin)"><br /> Everything You Wanted to Know About Pennies</a></p> ]]></content:encoded> <wfw:commentRss>http://www.dadsworksheets.com/2008/10/04/math-riff-flipping-coins-for-lucky-numbers-7-billion-and-700-billion/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- This site's performance optimized by W3 Total Cache. Dramatically improve the speed and reliability of your blog!

Learn more about our WordPress Plugins: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)
Database Caching using memcached

Served from: box455.bluehost.com @ 2010-03-21 07:45:09 -->