2012-01-20

PEMDAS Poetry, Pt. 1


Like a drunk uncle

Stumbling towards the bathroom door
Mistakes will happen


More anti-PEMDAS proselytizing here.

2012-01-15

Comments on Decimal Places

Previously observed -- Operations on powers with the same base effectively shift one place down in the order of operations. Examples:
  • Exponentiation will multiply powers; e.g., (x^3)^4 = x^12
  • Multiplication will add powers; e.g., x^2 * x^3 = x^5
  • Addition does a no-op on powers: e.g., 3x^2 + 5x^2 = 8x^2
Note that the same rule generally applies regarding number of places after a decimal point. Examples (working in the other direction):
  • Addition does not alter number of places; e.g., 1.2 + 3.4 = 4.6 (1 place)
  • Multiplication adds the number of places; e.g., 1.2 * 3.46 = 4.152 (3 places)
  • Exponentiation multiplies the number of places; e.g., 1.234^2 = 1.577756 (6 places)
And the reason, of course, is that the decimal places themselves represent exponents to the common base 10. Example:
  • 1.2 + 3.4
    = (1*10^0 + 2*10^-1) + (3*10^0 + 4*10^-1)
    = (1*10^0 + 3*10^0) + (2*10^-1 + 4*10^-1)
    = 4*10^0 + 6*10^-1
    = 4.6
Since the number of decimal places is dictated by the lowest power, if the addition operation 2*10^-1 + 4*10^-1 doesn't change the power (as above), then neither will it change the number of decimal places. And so on and so forth.

2012-01-08

Calculator Equals

On the subject of students not understanding equals signs -- probably not the first time someone pointed this out, but -- How much of this is caused by usage of the equals sign button on a calculator?

It's really a bit malformed, if you think about it. Mathematically what's really happening when you hit that button is a request to "simplify" the numerical expression that you've typed in so far. So perhaps it would be better if the button were labelled "simplify" or "evaluate" -- or maybe a "total" button like on cash registers, or some abbreviation along those lines.

Possibly the malformed understanding of the equals symbol (thinking that a simplified number always goes on the right side) is due to the hundreds and thousands of times that students have used a calculator "=" button by the time the issue matters in algebra?

Related posts:


2012-01-01

Concrete P-Value Demonstration

I find that students in my statistics class are almost totally bewildered by the logic of hypothesis testing and P-values (for hypotheses based on a population mean), no matter how carefully I try to explain the concepts. Here's an idea for a super-short and simple, concrete demonstration of hypothesis testing. Tell me if you think this would be worth the class time:
  1. Start with a hand of four cards: {A, 2, 3, 4}
  2. I'll turn my back and secretly do one of two things:
    H0: Leave the Ace in, or
    HA: Take the Ace out
  3. Now shuffle the hand and deal out 3 cards.
Question: Say I get a draw of {2, 3, 4}. What's the chance of this happening if I did not take out the Ace (H0)? Note that all possible draws would be {{A,2,3}, {A,2,4}, {A,3,4}, {2,3,4}} so the probability of seeing that would be P = f/N = 1/4 = 0.25.

Conclusion: If I draw {2,3,4} then we have some evidence that I did change the deck (HA) -- because it's unlikely to see that result if I didn't (P = 0.25).

Now -- You can actually demonstrate this and ask the class if they think I left the Ace in or took it out each time. I'd recommend 3 run-throughs: leave it, leave it, then take it out. (In the latter case, also ask: Is it possible that I left the Ace in?) In reality, you should probably hold the cards against the otherwise full box, so it isn't obvious if your hand becomes empty in the take-it-out case. (And otherwise practice the prestidigitation in advance so your handwork doesn't give it away.)

Open Question: Should I actually reveal to the class which one I did each time (for confirmation), or leave that as a mystery (modeling real-world usage)?

2011-12-25

The G*d*mn Particle

Another fabulous anecdote from the RJLipton Blog, regarding the Higgs Boson (what's popularly called "The God Particle"):

Higgs himself believes neither the particle nor the mechanism should carry his sole name, and was happy that he, Brout, Englert, and the three authors of another 1964 paper (Gerald Guranik, Carl Hagen, and Tom Kibble) were all awarded the 2010 J.J. Sakurai Prize for this work. He may have gotten his wish, as the popular name “The God Particle” has stuck to the boson. This is the title of a 1993 book by Nobel prize-winning physicist Leon Lederman and science writer Dick Teresi.

According to Higgs, Lederman had wanted to title the book The G*d*mm Particle to emphasize how elusive the boson was. His publisher declined to have a swear word in the title, but thought it fine to use just “God.” However, they could have settled on the Orthodox Jewish practice of writing “G-d” to avoid situations where the fully-written name might be erased or discarded. The title The G-d Particle could then be read with Lederman’s original meaning or not. Higgs is said to join many scientists regretting the “God Particle” name, more from concern over hype than irreverence.

I love this story so much. First, it finally makes sense of that stupid name in a way that eluded me until now. Secondly, it again shows that the "real" existential experience of scientific problem-solving is more generally one of a desperate, teeth-grinding, curse-filled battle (and not so much a dainty and refined observation of museum-like beauty).

Divine grace is a marketing pitch you use to sell something to the public. It's not something seen in the real world, or actual live math work, very much.

On that note, happy holidays from MadMath! :-)

2011-12-18

Dyson Quote

An excellent MadMath-approved quote from Freeman Dyson:

If science ceases to be a rebellion against authority, then it does not deserve the talents of our brightest children.

2011-11-14

The Peanut Butter Protocol

Here's something that pops up in math/computer science that I honestly just HATE so much (I got sufficiently riled up while describing it to my girlfriend tonight that I thought it would make a perfect blog post). On the question of "How do you introduce programming concepts to students for the very first time (possibly children)?", a very common answer is "Ask them to give the steps for making a peanut-butter and jelly sandwich!" (or something very similar). For example, whenever this comes up on Slashdot, the responses are predominantly along the lines of "love this... lovely... hilarious" (link). But I'm completely contrarian about it.

Of course, the point is basically a "gotcha" exercise: the students say "scoop out the peanut butter" and you go "what!? look, now I'm batting the jar-top with my hand, because you didn't tell me to pick up the knife, and you didn't tell me to screw off the jar-top," etc., etc. etc. If I was a student, and this my first encounter with computer programming, then it would instantaneously sour me on the whole subject, maybe permanently: the task is inherently ambiguous, impossible, unfair, and a trick to apparently set up the respondents for ridicule and embarrassment.

The primary problem (in my opinion) is that's very much not how mathematics or computer programming work. What we must do in practice is to start with an agreed-upon set of atomic operations, which we may call "definitions" or "axioms" or a "function library", depending on the context. Of course, the power of your elementary pieces is variable, depending on the abstraction level at which you're operating. But the real work of programming or proof-building is in how we connect these well-known (and well-defined) basic building blocks in a way that constructs something new, useful, and interesting.

So the "peanut butter sandwich" task is thoroughly and painfully unfair without presenting the allowed operations up front: Am I supposed to say "pick up the knife" or "wrap your fingers around the knife, apply opposing force with thumb, lift forearm" or "bend index finger 5 degrees, now 10 degrees, now 15 degrees..." (it's sort of irrelevant, because without well-defined operations, the presenter can always pick some lower-granularity abstraction and create a "gotcha!" moment). The demonstration does manage to get across the idea that you will be "working with small operations", and also that "unexpected bugs will happen" -- but in my mind, neither of those are essential or even very important. The essence of any creative work is in taking well-known basic tools and building something greater from them than previously existed, and that's something that I think almost anyone can understand and justifiably take satisfaction from.

(P.S. a counter-offer: Rudimentary programming like LOGO. Write on the board 3 allowed operations: (1) turn left, (2) turn right, and (3) step forward. Now direct me how to get from one corner of the room, around some desks, and out the door -- possibly listing the whole instruction set in advance of testing it. Something like that.)