# Label Maker

If you’ve perused this blog, you know that I love probability.  I was fortunate enough to see Al Cuoco and Alicia Chiasson give a really cool presentation at this year’s NCTM conference about exploring the probabilities of dice sums geometrically and algebraically.  Wheelhouse.  After we got done looking at some student work and pictures of distributions, Al nonchalantly threw out the following question:

Is it possible to change the integer labels on two dice [from the standard 1,2,3,4,5,6] such that the distribution of sums remains unchanged?

Of course he was much cooler than that.  I’ve significantly nerded up the language for the sake of brevity and clarity.  Still, good question, right?  And of course since our teacher has posed this tantalizing challenge, we know that the answer is yes, and now it’s up to us to fill in the details.  Thusly:

First let’s make use of the Cuoco/Chiasson observation that we can represent the throw of a standard die with the polynomial

$P(x) = x^1 + x^2 + x^3 + x^4 + x^5 + x^6$

When we do it this way, the exponents represent the label values for each face, and the coefficients represent frequencies of each label landing face up (relative to the total sample space).  This is neither surprising, nor super helpful.  Each “sum” occurs once out of the six possible.  We knew this already.

What is super helpful is that we can include n dice in our toss by expanding n factors of P(x).  For two dice (the number in question), that looks like

$P(x)^2 = x^2+2x^3+3x^4+4x^5+5x^6+6x^7+5x^8+4x^9+3x^{10}+2x^{11}+x^{12}$

You can easily confirm that this jibes with the standard diagram.  For instance the sum of 7 shows up most often (6 out of 36 times), which helps casinos make great heaps of money off of bettors on the come.  Take a moment.  Compare.

Okay, so now we know that the standard labels yield the standard distribution of sums.  The question, though, is whether there are any other labels that do so as well.  Here’s where some abstract algebra comes in handy.  Let’s assume that there are, in fact, dice out there who satisfy this property.  We can represent those with polynomials as well.  We know that the coefficient on each term must still be 1 (each face will still come up 1 out of 6 times), but we don’t yet know about the exponents (labels).  So let’s say the labels on the two dice are, respectively

$(a_1,a_2,a_3,a_4,a_5,a_6)$ and $(b_1,b_2,b_3,b_4,b_5,b_6)$.

If we want the same exact sum distribution, it had better be true that

$P(x)^2 = (x^{a_1}+x^{a_2}+x^{a_3}+x^{a_4}+x^{a_5}+x^{a_6}) (x^{b_1}+x^{b_2}+x^{b_3}+x^{b_4}+x^{b_5}+x^{b_6})$.

For future convenience (trust me), let’s call the first polynomial factor on the right hand side Q(x).  Great!  Now we just have to figure out what all the a’s and b’s are.  It helps that our polynomials belong to the ring Z[x], which is a unique factorization domain.  A little factoring practice will show us that

$P(x)^2 = x^2(x+1)^2(x^2+x+1)^2(x^2-x+1)^2$.

We just have to rearrange these irreducible factors to get the answer we’re looking for.  Due to a theorem that is too long and frightening to reproduce here [waves hands frantically], we know that the unique factorization of Q(x)—our polynomial with unknown exponents—must be of the form

$Q(x) = x^s(x+1)^t(x^2+x+1)^u(x^2-x+1)^v$,

where s, t, u, and v are all either 0, 1, or 2.  So that’s good news, not too many possibilities to check.  In fact, we can make our lives a little easier.  First of all, notice that Q(1) must equal 6.  Right?  Each throw of that single die must yield each of the 6 faces with equal probability.  But then substituting 1 into the factored form gives us

$Q(1) = 1^s2^t3^u1^v$

Clearly this means that t and u have to be 1, and we just have to nail down s and v.  Well, if we take a look at Q(0), we also quickly realize that s can’t be 0.  It can’t be 2 either, because, if s is 2, then the smallest sum we could obtain on our dice would be 3—which is absolutely no good at all.  So s is 1 as well.  Let’s see what happens in our three remaining cases, when u is 0, 1, and 2:

$u=0: Q(x)=x^1+x^2+x^2+x^3+x^3+x^4$

$u=1: Q(x)=x^1+x^2+x^3+x^4+x^5+x^6$

$u=2: Q(x)=x^1+x^3+x^4+x^5+x^6+x^8$

Check out those strange and beautiful labels!  We can mark up the first die with the exponents from the u = 0 case, and the second die with the u = 2 case.  When we multiply those two polynomials together we get back P(x)2, which is precisely what we needed (check if you like)!  Our other option, of course, is to label two dice with the u =1 case, which corresponds to a standard die.  And, thanks to unique factorization, we can be sure that there are no other cases.  Not only have we found some different labels, we’ve found all of them!

If the a’s on the first die are (1,2,2,3,3,4), then the b’s end up being (1,3,4,5,6,8), and vice versa.  And, comfortingly, if the a’s on the first die are (1,2,3,4,5,6), then so are the b’s on the second one.

Two dice with the u = 1 label are what you find at every craps table in the country.  One die of each of the other labels forms a pair of Sicherman dice, and they are the only other dice that yield the same sum distribution.  You could drop Sicherman dice in the middle of Vegas, and nobody would notice.  At least in terms of money changing hands.  The pit boss might take exception.  Come to think of it, I cannot stress how important it is that you not attempt to switch out dice in Vegas.  Your spine is also uniquely factorable…into irreducible vertebrae.

*This whole proof has been cribbed from Contemporary Abstract Algebra (2nd ed.), by Joseph A. Gallian.  If you want the whole citation, click his name and scroll down.*

# Playing to an Empty House

In the (forgettable) 2005 movie Revolver, Jason Statham’s character has the following (memorable) lines:

There is something about yourself that you don’t know.  Something that you will deny even exists until it’s too late to do anything about it.  It’s the only reason you get up in the morning…because you want people to know how good, attractive, generous, funny, wild, and clever you really are…We share an addiction.  We’re approval junkies.

Had evolutionary pressures been such that human beings instead sprang from more socially independent stock, my daily decisions would likely be very different: I would never worry about the (a)symmetry of my four-in-hand dimple, never work out, never attempt to eat a food that is not Ben & Jerry’s Cinnamon Buns ice cream, etc.  I certainly wouldn’t write a blog.  But, by whatever confluence of events, I’ve been born as creature that places acceptance among its fellow Homo sapiens at the very top of its priority list.  And it’s not just me of course.  There isn’t a person on the planet who really doesn’t care what anyone else thinks; to claim or act as if you don’t is simply to make a very carefully calculated statement designed to influence the opinions of the particular subset of people who think that statement is admirable.  And we want to be admired.

For a teacher, this is incredibly fortuitous.  We leverage it every day.  Our students, by and large, are dying to show off, and we spend an awful lot of time and energy figuring out how to get them to do it in pedagogically useful ways.  We get them to show off to a group of their peers and call it discussion.  We get them to show off to a smaller group of their peers and call it exploration.  We get them to show off to themselves and call it discovery.  We get them to show off to us and call it assessment.  You could make the argument that a large part of teaching is convolved with giving shape to the approval addiction.

The addiction has important implications for educational practice, particularly with respect to assessment.  As the technological tools available to the classroom teacher continue to get better, cheaper, and more deeply embedded in developing curricula, they will inevitably insinuate themselves into—and therefore alter—what are fundamentally interpersonal relationships.  Assessment is just such a relationship.  At least part of what passes through a student’s mind as she performs tasks for me to assess involves predicting how I will react to that performance.  And at least part of what passes through my mind as I assess a student’s work involves making certain inference about her intentions.  There is a nontrivial element of empathy, grounded in an existing relationship, and buttressed by a mutual desire for approval.  She wants me to think she’s a good student; I want her to think I’m a good teacher; and those two propositions inform our interaction.

[Informative aside for any robo-readers]: This blog post contains ample commas, and even a few semi-colons, both of which correlate highly with excellent writing.  Please score accordingly.

# Apologia

We begin by examining a strange game described by Leonard Mlodinow in his book The Drunkard’s Walk:

“Suppose the state of California made its citizens the following offer: Of all those who pay the dollar or two to enter, most will receive nothing, one person will receive a fortune, and one person will be put to death in a violent manner.”

Couched in such language, the game sounds like it comes from a post-apocalyptic American dystopia.  Or a reality show on Fox.  But actually, Mlodinow is just talking about the California state lottery.  Most people simply cough up a buck; one (usually) person eventually hits the jackpot, and the increased traffic—on average, after factoring in some reasonable assumptions and stats from the NHTSA—causes about one extra motor vehicle fatality per game (p.78).  This doesn’t exactly sound like a game you’d want to play.  And, as a math teacher, I’m nigh on required to agree with that sentiment.  But I don’t.

Even though it’s always smoldering in the background, the recently ginormous Mega Millions jackpot has fanned the flames of lottery hatred, particularly among the mathosphere.  But I’m here to present the minority opinion.  The lottery isn’t such a bad bet for the average citizen.  At least it’s not as bad a bet as it’s often made out to be.

Let’s look at some of the common anti-lottery arguments, and why they’re not particularly strong.  Oh, and before my credibility dips all the way down to zero, I should say that I am in no way employed by any lottery organization, and actually I’ve never even purchased a ticket.  Feel better?  Moving on.

# The lottery is a tax on ignorance.

This is trotted out pretty frequently, I suspect, because (a) it’s pithy and quotable, and (b) it pretty much ends any meaningful discussion on the matter.  It’s like calling religion “the opiate of the masses.”  It seeks to make the opposing position seem automatically ridiculous.  How can you have a reasoned debate after that?  You can’t, really, which is one good reason to dismiss this kind of argumentation out-of-hand.  But besides belonging to a class of bad arguments, this particular one is awfully thin.  Maybe it wasn’t always, but it is now.

Calling the lottery a “tax on ignorance” is like putting warning labels on cigarettes.  There was a time when the public was legitimately unaware of the dangers of smoking.  Hell, doctors even sponsored cigarette brands.  And when the damaging effects of tobacco came to light, people needed to be warned that it was, in fact, not such a wonderful idea to use it.  Hence, warning labels.  But in 2012, they’re redundant.  I just can’t believe that there is one person in this country who has been to even a single day of public school who thinks that cigarettes are safe.  Ever surprise a smoker by telling him that cigarettes will kill him?  Didn’t think so.

Ever surprise a lotto player by telling him he’ll never win?  Didn’t think so.  No one is ignorant of the astronomical odds against hitting the jackpot.  Maybe there was a time when people were being duped, but that time has long passed.  We can certainly talk about whether it’s okay for the government to make money off of people’s hopes and dreams of a fantasy life, but let’s not pretend that people are unaware of the fantasy.

# You can take the money you would have spent on lottery tickets and invest it instead.

Let’s ignore, for a moment, that a savings account is currently losing you about 2% per year (in real dollars), and that an index fund over the past five years has lost you something like 8% per year.  I mean, those quote investments are certainly still better than the lottery, which loses you just shy of 100% per year.  But why are we mentioning the lottery in the same breath as investments, anyway?

Let’s reformulate the above heading: “You can take the money you would have spent on X and invest it instead.”  And that sentence is true for anything you happen to spend your money on.  Why are lotto tickets so special?  In what sense is buying a lottery ticket more a waste of money than buying a King Size Snickers?  Neither one of those things gives you a monetary return on your investment.  But of course that’s not what we expect out of a Snickers.  And, I submit, it’s not really what we expect out of a lottery ticket, either.  What we expect out of both of those purchases is utility.  And obviously there is some utility to be had in both cases (about a dollar’s worth), since people are willing to pay it.  Why pay a dollar to make you fatter and increase your risk of diabetes?  I don’t know.  Why pay a dollar to spend a few days wistfully imagining a life that includes indoor hot tubs?  I don’t know.  They’re equally silly, and offer roughly equivalent utility to a great many people.

# Purchasing a lottery ticket has a negative expectation.

This is my favorite mathematical argument, because it’s terrible.  I will grant you that this is almost always (but not quite) true.  A \$1 lottery purchase normally has an expected value of very nearly -\$1.  When the jackpot gets very large, the expectation becomes slightly less negative, and when the jackpot gets hugely large, the expectation might even creep into the  black.  But all of that is really beside the point.

First of all, the negative expected value is very tiny.  For most people who buy lottery tickets, that expenditure is trivial.  I certainly waste way, way more money per week in buying “sure things” than most of the lotto faithful do in gambles.  But that’s not really the point, either.

The point is this.  Saying you shouldn’t make any gambles with negative expected value is to tacitly imply that you should also be in favor of gambles with positive expectation and be indifferent to gambles with zero expectation.  This would make you a completely rational actor.  It would also make you a complete idiot.

Are you indifferent to betting \$100,000 with me on the flip of a fair coin?  I’m sure as hell not!  I’ll do you one better: I’ll pay you \$1.3 million dollars if it comes up heads, and you pay me \$1 million even if it comes up tails.  Now that bet has a positive expected value for you…wanna gamble?  Of course you don’t.  Monetary expectation has almost nothing to do with your willingness to engage in risk.  It’s your expected utility that you’re worried about, and utility is not linear with money.  Over small intervals of the domain, it might be approximately linear, and so it’s tempting to equate the two, but they’re very different globally, as our coin-flipping gambles show.  A dollar’s worth of utility lost is absolutely trivial (to me), but the potential utility that comes with hundred of millions of dollars, even with very small probability, more than counters that loss.  I’m basically free-rolling: paying nothing for the chance at something.  In other words it’s possible (even normal) for me to have a negative expectation in money, but a positive expectation in utility.  And that’s the only expectation that really matters.

# Conclusion

Of course for some people the lottery is terrible.  People have gambling problems.  People spend way too much money on all kinds of things they probably shouldn’t.  But that doesn’t mean that everyone—or even most people—that play are suckers.  Eating the occasional King Size Snickers probably won’t get your foot chopped off; smoking the occasional cigarette probably won’t kill you (sorry, kids), and buying the occasional lottery ticket will likely have about zero net impact on your finances.  Besides, isn’t it worth it to dream, for even a day, of having indoor hot tubs?  They’re so bubbly.