With the school year over, I’ve had time to pursue other math related activities. I’ve been reading through the book Joy of SET by Liz McMahon and others. It describes the “many mathematical dimensions of a seemingly simple card game” and was recommended to me a few months ago.
There were a few chapters on various probabilities, like the probability of finding 1 set out of 4 randomly chosen cards. I enjoy writing python programs that can confirm calculated probabilities by running a simulation several thousands of times.
My program will step through a game of SET, dealing 12 cards, finding SETs and removing them from the table, and dealing more cards so that there are 12 cards on the table again. If there are no SETs in the dozen cards, then it deals 3 more.
I also wrote a function that will find the probability of finding n SETs when one randomly deals x cards, allowing the user to choose how many times to run the simulation. I find that 10,000 repetitions is about adequate.
Check out my SET program here. It’s still a work in progress. I’m now deciding whether to calculate the expected value of the number of SETs in a dozen cards, which will mean rewriting some of my methods.
Here’s a hack: if you forget anything in python you can just google it for a refresher. For example, I couldn’t remember how to set argument defaults for my functions, so I googled: “python function set default arguments.”
Summertime is a great time for students to follow rabbit holes and exercise python skills.
Indeed the alternating sum of digits proof for multiples of eleven is fun.
A student and I were slaying a tricky geometry problem from an old AMC. She hadn’t taken geometry yet, but she had excellent insights, and we were making good progress. We were close to the end and we needed to simplify
is a multiple of a square (
), and since the square root of a product is the product of the square roots, we can rewrite
But she couldn’t do it. I thought maybe she hadn’t learn how to simplify square roots, but she admitted she had learned them, but hadn’t solved a square root problem for a long time and was out of practice. Fair enough.
As a student progresses through a math curriculum over the years, they are gradually adding tools to their problem solving tool box. Simplifying square roots is another tool. The textbook teaches you how to use it, you practice using it on a bunch of squares, then you throw into your tool box for some unspecified time when you will need it later. Then they go on to learn another tool. And another tool.
The trouble is, like my student, you can forget how to use your tools if you don’t practice.
That’s another reason why practicing math contests can be so helpful in keeping those skills fresh. Math contests typically have all kinds of problems: geometry, probability, number theory, and yes solving square roots. Sometimes, like in that geometry problem, you need to deploy several of your tools to arrive at a solution.
I was working through this year’s MathCounts State Level exam, and found 2 problems involving factorials. Your reflex when seeing a factorial problem is to see how you can factor the expression. For example we are asked to find the value of this expression:
Notice that the 2 terms in the numerator are both products of and the 2 terms in the denominator are both products of . So we can factor these both out:
If you notice that and both have a factor of then the fraction is much easier to evaluate.
Another problem on the same exam asks us to solve for :
Again you can factor from the 2 terms on the left hand side:
To finish out this problem we can find the prime factorization of and match that up to the product of consecutive integers.
I was tutoring a student who is using the AoPS Prealgebra textbook, and we were learning how to solve linear equations with one variable (p. 215). This is the sort of problem that looks like this:
My student understood that in order to solve the equation we first need to combine like terms and isolate the variable, which he successfully did:
My student also understood that we need our variable
to have a coefficient of
so that we get something that looks like
But how to turn
It turned out he had a lot of interesting ideas. “How about we subtract
from both sides?” he suggested.
Those of you well-versed in algebraic manipulations can foretell that this will lead you farther away from a solution. But rather than cut him off and tell him this is wrong, I went along with it.
“Okay, let’s give it a try and see what happens. Subtracting
from both sides…”
Well, that didn’t work. It turned out my student had many, many creative approaches to isolating n and solving this problem, none of which got us closer to actually solving the problem. But rather than cutting him off and prematurely telling him he was wrong, I went along with the playful exploration. This approach of “try it and see if it works” experimentation is something we want to cultivate in our students, not just in math, but in many academic fields. Eventually he remembered that we could divide both sides by 11 to solve the problem. While this sort of discovery approach can be inefficient and tedious, it’s fun to pop into a rabbit hole occasionally.
My hope is that in the future, if he sees another problem like this, he won’t panic, but will instead try to reason it out, just as he did when he learned it for the first time.
When I coach my MathCounts teams, I make sure to remind them to answer the question that is being asked. That is, after all the calculations have been performed and you have a value for x, reread the question, and make sure x is what the problem is asking for. Only when you are sure you have answered the question should you write it down (or bubble it in).
For example, today I’m reviewing materials for my team, and I came across this problem:
“The three-digit integer
is a multiple of six. What is the sum of all the possible values for the digit represented by A?”
After some calculations, I found 4 possible values for A: 0, 3, 6, and 9. My first thought was: “The answer is 4! There are four possible values of A.” But then I reread the question, and it asks for the sum of all possible values. The correct answer is
Sometimes you can avoid this error by setting your variable equal to the value the problem is asking for, so that when you do solve for x, you do not need to perform additional calculations to generate the correct answer.
This is a well-known error, and Richard Rusczyk has written about it
in the context of developing good problem solving habits. Some people may describe this as a “trick question” but I think it’s just a matter of taking care to reread the question and answer the question that is being asked, not the question that you wish had been asked.
I recently came across an AIME problem that compared what I call “mixed up functions:”
How many real numbers x satisfy the equation:
By mixed up, I mean we have the periodic sine curve equated with the monotonically increasing log function. Often with logs we can replace them with an exponential function, in this case with base 2, but that looks messy.
The approach I often see with these mis-matched functions is to draw a graph and see where the 2 functions intersect. But first, I’m going to multiply both sides by 5 because who likes fractions?
Ah that’s better. Notice that the maximum and minimum values of occur when and , and the maximum and minimum values are 5 and -5. And of course this is a periodic function that is defined for all real numbers.
on the other hand is defined only over positive reals, and since it is always increasing from left to right, at some point the value of the function will exceed 5. Specifically, this will occur for . Likewise, will be less than -5 for .
And it’s apparent that in the interval the log function is going to intersect the sine function as it goes up and down on its periodic path. How many times does it intersect? AIME writers like to catch students on “off by one” errors, so take care to examine what is happening close to and before entering your answer!
The best way to prepare for any test is to locate old versions of the exam and practice with those, especially studying the problems you answered incorrectly. This is true for the AMCs and MathCounts. AoPS also offers online prep classes. For those of you who prefer learning from textbooks, here are few recommendations. These books take problems from old competitions and organize them by topic so you can ramp up your skills.
Competition Math for Middle School by J. Batterson. In particular I enjoyed the chapters on counting and probability for their concise and clear introductions to the subjects. You’ll be up to speed on these topics in no time. Other chapters are algebra, geometry, and number theory.
First Steps for Math Olympians by J. Douglas Faires. This is the next step in difficulty is preparing for the AMC 10/12. This book uses questions from those exams as exercises. Content includes: ratios, polynomials, functions, triangles, circles, polygons, counting, probability, primes, number theory, sequences and series, statistics, trig, 3D geometry, logs, and complex numbers.
A Gentle Introduction to the American Invitational Mathematics Exam by Scott Annin. This title seemed to be speaking to me. I qualified for AIME my senior year of high school, but bombed the test, so I’ve been living in fear of the AIME every since. I’m working through the chapter 1 and I’m pleased to find myself actually solving some problems without assistance. Contents include: algebra, combinatorics, probability, number theory, sequences/series, logs, trig, complex numbers, polynomials, plane geometry, and 3D geometry. Nearly all exercises are former AIME problems.