Tuesday, February 28, 2017

Weather Forecasting

Well, guess what happened? Gonzaga lost. You might remember my post from a couple weeks ago. The Gonzaga's men basketball team was undefeated with four games to go. We figured out they had a 91% chance of remaining undefeated. They won the first three, then lost the very last game of the season. So much for the 91% chance.

It was a pretty good mathematics application, I thought. If this was presented to a math class, how would the students react. My guess is that they would say the math failed. A 91% chance is not a sure thing, but there have been some studies that suggest people take it to be that. And on the other hand, people assume that a really low percentage is the same as no chance. This might lead to a good class discussion.

This made me think about other forecasts? Specifically, how do weather forecasters decide on the percent chance of rain. I found a post by a weather person at WESH TV, Amy Sweezey. Although we haven't met, and I don't even know what she looks like, she seems delightful. And smart. I learned some interesting things about how they make a percent estimation of rain for the day.

So what does a 40% chance of rain mean? It turns out that it depends.

Let's say that there is a 40% chance of rain over about half of the area in question.

Some weather forecasts will call this a 40% chance of rain. In a way it is. There is a 40% chance of rain somewhere in the area.

Some weather forecasts will call this situation a 20% chance of rain. And again in a way it is. There is a 20% chance that it will rain where you are currently standing.

As Amy says, "When it comes down to it, you cannot base your plans around a rain percentage." It's more important to know where, what time, and how heavy it will be.

It's because of this that many stations won't even do a percentage. Instead they might use descriptive words like "scattered showers", "isolated", "a few showers", and "likely".



Tuesday, February 21, 2017

10 Cool Things about Srinivasa Ramanujan

I new very little about this person until recently. One way math teachers know about him is the fact that he often get a half page bio in math books. He is probably included so the company can show that their book is multicultural and perhaps that will lead to more sales. I hate to be cynical like that, but I noticed that once when on a textbook adoption committee. We had a sheet in which potential adoptions were given points in various categories. One was how multicultural it was. I guess it makes financial sense for the companies to load up multicultural references.

While that is a good idea, students often catch on to some of the overreaching. One story problem example was (yes, an actual example) "One day Running Bear was ..." Its fine, but pretty transparent what they are trying to do.

Back to Ramanujan (accent on the "nu" syllable and pronounced "new"). He didn't really do a lot of applied mathematics. Most of his work was in number theory and analysis.

He is featured quite a bit in the book The Music of the Primes. There is a book and a movie about his life The Man Who Knew Infinity. I recently saw the movie and I thought it was very good. And unlike many "biographical" movies, it didn't take liberties with the person's life.

Here are a few, I think, interesting tidbits of the life of Ramanujan:


  1. Born and died in India, but much of his mathematical work was done at Trinity College in England.
  2. Lived from 1887 to 1920, only 33 years.
  3. In the movie he is played by Dev Patel, who was also the main actor in Slumdog Millionaire. G.H. Hardy was played by Jeremy Irons, who for me will always be the voice of Scar in The Lion King.
  4. He had almost no formal training in mathematics.
  5. He came to the attention of famous mathematician G.H. Hardy at Trinity College after writing to him.
  6. Despite an invitation, he was at first hesitant to go as crossing the seas, according to his religion, could make him an outcast.
  7. Suffered poor health all his life, but it was aggravated by the food at Trinity not matching well with his vegetarianism.
  8. As his heath and depression became worse he attempted suicide by jumping in front of a London train.
  9. A famous quotation is, "An equation for me has no meaning unless it expresses a thought of God."
  10. A major coup was finding one of his lost notebooks in 1976.

Tuesday, February 14, 2017

Gonzaga Probabilities

A lot of games on TV will put up statistics way too fast. They're up for a few seconds and its tough to take it all in. Maybe it is the Detroit Lions' total rushing and passing yardage for each of the past three seasons. You got about five seconds to see it and try to make some sense of it. They obviously have some point they are trying to make with all those numbers, but tough to take in. Sometimes you just have to stare at things for awhile.

I did see one a few days ago that didn't have too many numbers in it. Gonzaga is currently the number one college basketball team. In fact they're undefeated. What are the chances they stay undefeated? It's 91%, they claim. They also showed the chance of winning each of their remaining games. Those chances are:

  • 98%
  • 99%
  • 98%
  • 96%
How did they come up with those numbers? I'm not sure. They didn't explain that. I tried looking on the internet to find out. That didn't work so well. Different associations (Vegas, ESPN, etc.) have their own different methods. Most of them let you in only partially on how they figure things. Turns out they take a lot of things into account. Your win-loss record, opponents win-loss record, playing home or away, point differentials, injuries, recent win-loss records, etc.

Then how they take all that data and come up with a percent is a mystery. What isn't a mystery is the 91% chance of winning all four of those games to remain undefeated. It is an "and" probability problem, which mean we can just multiply those individual probabilities together.

       (0.98)(0.99)(0.98)(0.96) = 0.9128 or just over 91%

On a related note, the University of Connecticut women's team won their hundredth game in a row last night. Pretty impressive. Impressive especially considering the following:
  • A team that usually wins 80% of its games has a (0.8)100 = 0.00000002% chance of winning 100 in a row.
  • The best NBA record ever is Golden State last year. They won 89% of their games. Thus, a 0.00087% chance of winning 100.
  • How about a team that wins 99% of its games? They have a 36.6% chance of winning a hundred in a row.
Here is a little higher mathematical problem. What kind of team would it take to have a 50% chance of going on a 100 game winning streak?

  • x100 = 0.5 
  • 100(log(x)) = log(0.5)
  • x = 0.9931
So you need to usually have a 99.31% chance of winning any single game you would play to have a 50-50 shot at winning 100 in a row.

In your mind this is maybe not the most important math application ever, but many students are into this kind of thing. And it does beat flipping coins and pulling various colored socks from drawers.


Monday, February 6, 2017

The Importance of Proofs

This blog is devoted to showing applications of high school mathematics. At first I thought the following topic wouldn't fit here, but then I decided it does. That is, the idea of proof. It really is tough for students to see the necessity of proofs. Usually encountered mainly in a geometry, they can be a real chore both for students and teachers.

Proofs are hard. So combine that with the fact that what is being proved seems pretty obvious, you get the double whammy of why students hate proofs - they are both hard and pointless.

Do we really need to prove that the sum of the first n odd positive integers is n squared. It wouldn't take to much time to get students to accept that fact without doing a proof. 

The square root of two is irrational. "I found the square root of two on my calculator. The decimals don't repeat. Yes. I'll buy it."

It seems that statements that are true for the first ten or so examples are probably going to end up being true. In fact, it's a little difficult to find situations where that doesn't hold true. If I make a statement that a coin I have will always come up heads, you might have your doubts. If I flip it ten time and I get heads each time you probably think that statement is, in fact, true, because it probably is a two headed coin.

I had heard quite a while ago that there was some statement having to do with prime numbers what was true way down the line, but then turned out not to be false at some point. I never knew exactly what that was, though.  

Well here it is. 

Suppose we want to find out if P is a prime number. Find 2P and then divide it by P. If the remainder is 2, then P is a prime number. If it is something other than 2, P isn't prime.

I was a doubter at first. I did the first several and they all worked out, though. I'll take one example. Let's try the number 17.

217 = 131,072
131,072 divided by 2 is 7,710 remainder 2
Thus 17 is a prime number.

This really works - all the way to 340. Then it doesn't.

2341 is so big I can't tell you what it is. I could get my calculator to go as high as to the 331 power, then it refused to do any more.

Anyway, pretty amazing. It works for 1, 2, 3, 4, 5, ..., 340, correctly determining if the number is prime. Then this method claims 341 is prime. But it isn't, because 11 x 31 is 341.

There you go. Proofs aren't pointless after all. Still hard, but not pointless.

            *****************************************************************

Now, about last week's post. We worked out a score for the yet to be played Super Bowl of New England 30, Atlanta 27.

And how did that turn out? Pretty darn close I must say. New England 34, Atlanta 28.