Wager Mage
Photo by Artem Podrez Pexels Logo Photo: Artem Podrez

Does Pemdas always work?

This is called the order of operations, which tells you which arithmetic operations to perform first by convention, so that we all agree on what the expression above should mean. But PEMDAS doesn't work properly in all cases.

What is the spread on a bet?
What is the spread on a bet?

What is a spread betting example? Let's say Team A has +10 (-110) odds and Team B has -10 (-110) odds. The +10 means that Team A will have to win...

Read More »
Why hit soft 17 against 7?
Why hit soft 17 against 7?

Given that a single-deck table disallows soft doubling altogether, you should hit your soft 17 instead. Hitting on soft 17 is advisable against...

Read More »

In the first week of teaching my Calculus 1 discussion section this term, I decided to give the students a Precalc Review Worksheet. Its purpose was to refresh their memories of the basics of arithmetic, algebra, and trigonometry, and see what they had remembered from high school. Surprisingly, it was the arithmetic part that they had the most trouble with. Not things like multiplication and long division of large numbers – those things are taught well in our grade schools – but when they encountered a complicated multi-step arithmetic problem such as the first problem on the worksheet, they were stumped:

Simplify: $1+2-3\cdot 4/5+4/3\cdot 2-1$

Gradually, some of the groups began to solve the problem. But some claimed it was $-16/15$, others guessed that it was $34/15$, and yet others insisted that it was $-46/15$. Who was correct? And why were they all getting different answers despite carefully checking over their work?

The answer is that the arithmetic simplification procedure that one learns in grade school is ambiguous and sometimes incorrect. In American public schools, students are taught the acronym “PEMDAS”, which stands for Parentheses, Exponents, Multiplication, Division, Addition, Subtraction. This is called the order of operations, which tells you which arithmetic operations to perform first by convention, so that we all agree on what the expression above should mean. But PEMDAS doesn’t work properly in all cases. (This has already been wonderfully demonstrated in several YouTube videos such as this one, but I feel it is good to re-iterate the explanation in as many places as possible.) To illustrate the problem, consider the computation $6-2+3$. Here we’re starting with $6$, taking away $2$, and adding back $3$, so we should end up with $7$. This is what any modern calculator will tell you as well (try typing it into Google!) But if you follow PEMDAS to the letter, it tells you that addition comes before subtraction, and so we would add $2+3$ first to get $5$, and then end up with $6-5=1$. Even worse, what happens if we try to do $6-3-2$? We should end up with $1$ since we are taking away $2$ and $3$ from $6$, and yet if we choose another order in which to do a subtraction first, say $6-(3-2)=6-1$, we get $5$. So, subtraction can’t even properly be done before itself, and the PEMDAS rule does not deal with that ambiguity. Mathematicians have a better convention that fixes all of this. What we’re really doing when we’re subtracting is adding a negative number: $6-2+3$ is just $6+(-2)+3$. This eliminates the ambiguity; addition is commutative and associative, meaning no matter what order we choose to add several things together, the answer will always be the same. In this case, we could either do $6+(-2)=4$ and $4+3=7$ to get the answer of $7$, or we could do $(-2)+3$ first to get $1$ and then add that to $6$ to get $7$. We could even add the $6$ and the $3$ first to get $9$, and then add $-2$, and we’d once again end up with $7$. So now we always get the same answer!

How much does it cost to withdraw money from DraftKings?
How much does it cost to withdraw money from DraftKings?

All Fees Amount ATM Withdrawal $2.00 ATM Withdrawal Decline $0.75 Account to Bank Transfer $2.00 Information 15 more rows

Read More »
Is a 20 handicap a good golfer?
Is a 20 handicap a good golfer?

What is a good handicap in golf? The survey found golfers with around 16 to 20 handicaps to be the average handicap in golf. They will sometimes...

Read More »

There’s a similar problem with division. Is $4/3/2$ equal to $4/(3/2)=8/3$, or is it equal to $(4/3)/2=2/3$? PEMDAS doesn’t give us a definite answer here, and has the further problem of making $4/3\cdot 2$ come out to $4/(3\cdot 2)=2/3$, which again disagrees with Google Calculator. As in the case of subtraction, the fix is to turn all division problems into multiplication problems: we should think of division as multiplying by a reciprocal. So in the exercise I gave my students, we’d have $4/3\cdot 2=4\cdot \frac{1}{3}\cdot 2=\frac{8}{3}$, and all the confusion is removed.

To finish the problem, then, we would write

$$\begin{eqnarray*}

1+2-3\cdot 4/5+4/3\cdot 2-1&=&1+2+(-\frac{12}{5})+\frac{8}{3}+(-1) \\

&=&2+\frac{-36+40}{15} \\

&=&\frac{34}{15}.

\end{eqnarray*}

$$

The only thing we need to do now is come up with a new acronym. We still follow the convention that Parentheses, Exponents, Multiplication, and Addition come in that order, but we no longer have division and subtraction since we replaced them with better operators. So that would be simply PEMA. But that’s not quite as catchy, so perhaps we could add in the “reciprocal” and “negation” rules to call it PERMNA instead. If you have something even more catchy, post it in the comments below!

Do millionaires play the lotto?
Do millionaires play the lotto?

Rich people do play the lottery, of course; one of the largest-ever Powerball jackpots, a quarter of a billion dollars, was won by three asset...

Read More »
What country has the most wins in rugby?
What country has the most wins in rugby?

New Zealand and South Africa are the most successful with three Rugby World Cup titles each, with Australia (two) and England (one) the only other...

Read More »
What is 3 shots called in golf?
What is 3 shots called in golf?

For hole completions three strokes under par is recognized in golf as Albatross. This is also known as “double eagle” in relation to the “birdie”...

Read More »
Has anyone ever won big on DraftKings?
Has anyone ever won big on DraftKings?

RotoGrinders: You recently won a $1,000,000 prize for the third time on DraftKings. This is simply amazing. Perhaps what is more amazing is that it...

Read More »