<rss version="2.0">
   <channel>
     <title>Numb3rs</title>
        <description>This is a blog where NU Math faculty post mathematical comments on the television show &quot;Numb3rs&quot;.</description>
        <link>http://nuweb2.neu.edu/math/cp/blog?showdate=2009-11#1?showdate=2009-10#2?showdate=2009-10#3?showdate=2009-10#4?showdate=2009-10#5</link>
        <docs></docs>
        <lastBuildDate>Sun Nov 1 13:43:12 EST 2009</lastBuildDate>
        <pubDate>Sun Nov 1 13:43:12 EST 2009</pubDate>
        <generator>script</generator>
        <item>
            <title>Feedback?</title>
            <description>No shows for November yet, so no new blogs -- see the October ones.
&lt;p&gt;
In the absence of any new Numb3rs math, I'd like to get feedback from readers of this blog, especially related to the math or non math of the show.
&lt;p&gt;
Send to: bridger@neu.edu,
&lt;p&gt;
Your blogmeister</description>
            <link>http://nuweb2.neu.edu/math/cp/blog?showdate=2009-11#1</link>
            <pubDate>Sun, 01 Nov 2009 00:00:00 -0400</pubDate>
        </item>
        <item>
            <title>Mathless and unfocussed</title>
            <description>Last night's episode, as you may have noticed, had no mathematics in it. I was hoping that it would at least be exciting after a spooky beginning, but no -- it petered out into the usual foot and car chases. The one moment of tension, when Charlie and Floyd (see below) are confronted by the death-ray drone, ends with the plane inexplicably simply flying away. Wow, what a fizzle.
&lt;p&gt;
Which brings me to the new character, a Pentagon &quot;agent&quot; named Floyd Mayborne, who may replace Larry as the show's annoying character. He seems destined, like Larry, to appear out of nowhere to invade Charlie and Amita's privacy, while voicing cryptic and self-promoting speeches. He mumbles references to fraud perpetrated by unnamed government contractors, aided by higher ups in Pentagon administration -- all so hush-hush that even his cellphone is invisible.
&lt;p&gt;
Here is where the show cops out. What the writers should be saying is that this kind fraud has permeated the (unfortunately) very real Strategic Defense Initiative (SDI), also known as Reagan's &quot;Star Wars&quot; program. This has been a multi-billion dollar boondoggle for defense contractors in which scientific opposition has been muzzled and test results have been faked. In fact, Star Wars is all about weapons systems that are pure science fiction: e.g. nuclear-bomb-fueled laser cannons, death rays and anti-missile missiles. These either never existed and most scientists believe never will, or haven't come close to working. While probably no one has been murdered, the diversion of funds to this wasteful program has, I'm sure, been responsible for shortfalls in programs that would actually have saved lives.
&lt;p&gt;
Too bad the show couldn't have actually been a little more explicit.
&lt;p&gt;Let's see what Wolfram will come up with next week.
&lt;p&gt;
Your (disappointed) Blogmeister

</description>
            <link>http://nuweb2.neu.edu/math/cp/blog?showdate=2009-11#1?showdate=2009-10#2</link>
            <pubDate>Sat, 31 Oct 2009 00:00:00 -0400</pubDate>
        </item>
        <item>
            <title>Matching sounds</title>
            <description>Charlie claims that he can create a &quot;sound signature&quot; for a car that identifies that car uniquely -- or nearly uniquely. I'm not entirely convinced, because the sound a car emits varies a lot with conditions: the speed of the engine, the incline of the road, the condition of the muffler etc. It may even depend on the ambient temperature and the kind of gas. However, I am not an automotive expert, so I won't deny the possibility. 
&lt;p&gt;
How would it work?
&lt;p&gt;
Well, we've already discussed ways of identifying people via
&lt;a href = &quot;
http://nuweb2.neu.edu/math/cp/blog/?id=100&amp;month=01&amp;year=2006&amp;date=2006-01-19
&quot;&gt;Face Recognition Algorithms (1/19/06).&lt;/a&gt;
The idea is to find certain quantifiable features of a human face, and create a &quot;face vector&quot;. The face vectors for a known database are then compared with a new face vector to try to find the best possible match, using a technique called &lt;i&gt;Singular Value Decomposition&lt;/i&gt; or &lt;b&gt;SVD&lt;/b&gt; -- a very important and useful technique from &lt;i&gt;linear algebra&lt;/i&gt;. See, also, the blog on 
&lt;a href = &quot;
http://nuweb2.neu.edu/math/cp/blog/?id=190&amp;month=12&amp;year=2006&amp;date=2006-12-16
&quot;&gt;Text Recognition Algorithms (12/16/06). &lt;/a&gt;



&lt;p&gt;
So, for sounds, one needs to find quantifiable features to make into a &quot;sound vector&quot;. One possibility is to use &lt;i&gt;Fourier analysis&lt;/i&gt;: a way of breaking a complex sound into its component frequencies. These are automatically expressed as a vector of numbers (the &quot;weights&quot; or proportions of each frequency in the sample sound) obtained via computer using the &lt;i&gt;Fast Fourier Transform&lt;/i&gt; (&lt;b&gt;FFT&lt;/b&gt;), a very efficient computer algorithm. Now, &lt;b&gt;SVD&lt;/b&gt; can be used to compare the sound vector of interest with those obtained from other cars on the road. I don't know how fast this can be done, and how accurately one can determine which car sound vector matches best the one that comes from the car we're searching for.
&lt;p&gt;
A somewhat more modern version of this idea is to use &lt;i&gt;wavelet analysis&lt;/i&gt; to break down a sound into certain simpler components called wavelets (instead of Fourier analysis which is based on simple sine and cosine waves). Some of the background computer screens in the episode seem to show wavelet decomposition.
&lt;p&gt;
As I said, I don't know exactly how feasible this is in the case of real-time auto-identification. If any reader out there has experience with this kind of application, let me know.
&lt;p&gt;
(If you want more details on Fourier transforms, Singular Value Decomposition, and Wavelet theory, you can find lots of good articles on the Web. Wikipedia is a good place to start: it's usually pretty dependable on technical topics.)

&lt;p&gt;
Your blogmeister

</description>
            <link>http://nuweb2.neu.edu/math/cp/blog?showdate=2009-11#1?showdate=2009-10#2?showdate=2009-10#3</link>
            <pubDate>Sat, 24 Oct 2009 00:00:00 -0400</pubDate>
        </item>
        <item>
            <title>Moisture, desiccants, and differential equations</title>
            <description>The most interesting math on last Friday's show involved Charlie's analysis of the drying agent or &lt;i&gt;desiccant&lt;/i&gt; (silica gel is probably the most common one). Charlie points out that the way the desiccant works is &lt;i&gt;not simply linear&lt;/i&gt;. This means the it is &lt;i&gt;not true&lt;/i&gt;, for example, that it takes three times the time to remove three times the amount of water. &lt;i&gt;At first&lt;/i&gt; the desiccant is very dry and removes water quickly according to some linear formula like: amount of water removed in time &lt;i&gt;t&lt;/i&gt; is approximately, say, &lt;i&gt;-2t&lt;/i&gt;, with time in days and liquid in liters for example. This formula then expresses a &lt;i&gt;rate&lt;/i&gt;, namely:&lt;p&gt;
&lt;center&gt;Water is removed at the rate of -2 liters per day&lt;/center&gt;
&lt;p&gt;
(We use the negative sign to indicate &lt;i&gt;removal&lt;/i&gt;.)
&lt;p&gt;
However, as the desiccant removes more and more water, its ability to absorb liquid decreases, so the rate at which water is being removed gets smaller -- in this case &lt;i&gt;less negative&lt;/i&gt;. Thus, the &lt;i&gt;rate&lt;/i&gt; at which water is being removed by the desiccant starts off at some negative constant, -2 say, then becomes less negative. As the desiccant reaches its maximum capacity, the rate approaches 0. Here is a possible plot for the rate of water removal as time goes by:

&lt;p&gt;
&lt;center&gt;&lt;img src=&quot;http://www.atsweb.neu.edu/math/cp/blog/MoistureDeriv.png
&quot;&gt;&lt;/center&gt;
&lt;p&gt;
&lt;p&gt;

Note this &quot;S&quot;-shaped curve. Certain curves of this type are called &lt;i&gt;logistic&lt;/i&gt; curves. I discussed such curves 
&lt;a href = &quot;
http://www.atsweb.neu.edu/math/cp/blog/regression/regression.htm&quot;&gt;here. &lt;/a&gt;

The curve above doesn't tell &lt;i&gt;how much water&lt;/i&gt; there is, just how fast its being removed at time &lt;i&gt;t&lt;/i&gt;. That is, it's giving the &lt;i&gt;rate of change&lt;/i&gt; of water with time, not the actual water itself. It is the plot of a &lt;i&gt;differential equation&lt;/i&gt;. The rate of change of a quantity &lt;i&gt;W&lt;/i&gt; (water) say, with time &lt;i&gt;t&lt;/i&gt;, is denoted &lt;i&gt;dW/dt&lt;/i&gt; by mathematicians. This rate of change, in real life, depends usually on many quantities. In this case, it depends on time as well as humidity and temperature and the chemical nature of the particular desiccant etc. To simplify matters, we are looking at just the relationship
&lt;p&gt;
&lt;center&gt;
&lt;i&gt;dW/dt = f(t).&lt;/i&gt;
&lt;/center&gt;
&lt;p&gt;
and the plot above is a plot of &lt;i&gt;f(t)&lt;/i&gt;.
&lt;p&gt;
But we want to know how &lt;i&gt;W&lt;/i&gt; depends on &lt;i&gt;t&lt;/i&gt;. In other words, we need &lt;i&gt;W = F(t)&lt;/i&gt; for some function &lt;i&gt;F(t)&lt;/i&gt;. This is what it means to &lt;i&gt;solve&lt;/i&gt; the differential equation.

In general, it is very hard to solve differential equations. Mostly, it is done numerically using computers. Here is the graph of a possible solution to the differential equation pictured above:

&lt;p&gt;
&lt;center&gt;&lt;img src=&quot;http://www.atsweb.neu.edu/math/cp/blog/Moisture.png
&quot;&gt;&lt;/center&gt;
&lt;p&gt;
&lt;p&gt;

(To get these plots, I made up a simple differential equation to get the first plot, which was produced by the powerful mathematical program &lt;b&gt;Maple&lt;/b&gt;. Then I used &lt;b&gt;Maple&lt;/b&gt; to solve and plot the solution.)
&lt;p&gt;
Once you have the graph of the solution, you can work backwards: given a particular amount of water remaining, you can use the plot to see at which time that amount of water was present. For example, according to the plot above, there were about 2 liters of water remaining after about 1 1/3 hours.

&lt;p&gt;
Your blogmeister</description>
            <link>http://nuweb2.neu.edu/math/cp/blog?showdate=2009-11#1?showdate=2009-10#2?showdate=2009-10#3?showdate=2009-10#4</link>
            <pubDate>Thu, 22 Oct 2009 00:00:00 -0400</pubDate>
        </item>
        <item>
            <title>A forgettable episode</title>
            <description>Last night's episode was pretty much a loser.
&lt;p&gt;
There was almost no mathematics, and what there was contained a careless mistake, caught by, among others, blog readers P.J. Campbell and J. Simonoff. In describing the &quot;game&quot; of Russian Roulette, Larry says the following: &quot;The chances of the gun going off are 1 out of 6, or 6-to-1 odds.&quot; The probability is indeed 1 out of 6, since there is exactly 1 bullet in one of the 6 chambers. However, the &lt;i&gt;odds&lt;/i&gt; are 1 to 5: 1 shot to 5 clicks. 
&lt;p&gt;
(There was an even worse error last year; see the blog
&lt;a href = &quot;
http://nuweb2.neu.edu/math/cp/blog/?id=286&amp;month=12&amp;year=2008&amp;date=2008-12-21&quot;&gt;Triple shootout: Charlie goofs (12/21/08) &lt;/a&gt;.)
&lt;p&gt;
I'm afraid that the mathematical quality of the show has been in a slow but definite decline over the past few seasons -- probably dating from the time that the Wolfram people took over all the mathematical content and, I think, editing. (Which was about the time, I might add, that my wife and I stopped vetting scripts for the show.)
&lt;p&gt;

However, there have been other things. There is much more explicit and graphic violence, for example, and a lot of the common junk that makes most TV series undistinguished: car chases, shootings, gratuitous sex. (Did we really need the lap-dancing scenes in last Friday's show?) At one time about 5 years ago I defended the show, in a mathematics newsletter, as good family fare; I don't think I could honestly say the same any more.
&lt;p&gt;
Larry, who was always the Polonius (or Nestor) of the show, spouting dressed up platitudes and tired self-promoting baloney, has now become truly insufferable. Let's hope he is written out summarily.
&lt;p&gt;
I don't think I'm going to be able to take much more of the new Numb3rs, especially with the demands of Friday's crossword and playoff baseball (though I fear the Red Sox will soon be out of it).
&lt;p&gt;
Your blogmeister</description>
            <link>http://nuweb2.neu.edu/math/cp/blog?showdate=2009-11#1?showdate=2009-10#2?showdate=2009-10#3?showdate=2009-10#4?showdate=2009-10#5</link>
            <pubDate>Sat, 10 Oct 2009 00:00:00 -0400</pubDate>
        </item>

   </channel>
</rss>