Wealth and Woes of Tricks
/ 14 min read
Table of Contents
Bad Tricks
Before I knew about contest math, problems like this used to drive young Peter crazy:

Here’s some good advice:
For all problems, if there's a point inside of a polygon, and there doesn't seem to be any relationships, this calls for a rotation or a reflection.
So if you’ve seen this type of advice/problem before, you know to rotate clockwise around and you’ll find a followed by a right triangle. Then .
If you haven’t seen this problem before…
My first instinct would be to determine the side length of the square - following what I call the Genie Principle:
Obviously if you knew the side length of the square you could just use Law of Cosines on to immediately find . But how hard is it to first find the length of the square? Let’s look at an “easier” problem first.
Equilateral Triangle Version
A point is selected within equilateral triangle so that , , and . What is the side length of ?
How could you solve this if you don’t know the rotation trick? Well, Paul Grimshaw on Quora already did this and got the following mess of a formula:
You can read his solution yourself, but suffice to say it involves solving a big system of equations using trig identities, substitutions, and ultimately a cubic polynomial. I don’t believe during a contest you would be able to practically figure this out.
Square Version
Out of curiosity, let’s figure out a similar formula for the square version of this problem. Note that we only need to specify three of the distances from interior point to the vertices since the British Flag Theorem gives us the fourth.
Unlike Paul Grimshaw, I’m going to derive the formula using rotations :) First rotate square clockwise around point :
Here’s the reverse the roadmap for how we’re going to solve this:
- We’re going to use the Law of Cosines on to find the side length of the square. To do this though, we’ll need to:
- Find by splitting up into two parts: and .
- : We’ll use Law of Cosines on to figure out . To do this we’ll need to know:
- Side , which is part of . However note that because we rotated by , is an isosceles right triangle. This gives us two bits of information:
- , and
That was a little confusing to write. Hopefully this labeled diagram will help:
From Law of Cosines on :
and then:
Finally we can do Law of Cosines on to get our final formula:
Beautiful!
Double-Check
The irony that I was trying to find the side length of the square so that I could find the angle, but ended up using a rotation trick to find the angle first so I could find the side length is not lost on me. My point is that Paul Grimshaw did find the side length first without using a rotation trick and it was extremely painful. Observing the final formula above for a square confirms that it would be similarly painful for this trick problem.
Nonetheless, let’s just do a quick double-check that this gave us the correct answer:
Remember we’re trying to find with , , . Using Law of Cosines on gives:
Good Tricks
I wrote the entire section above because I wanted to illustrate what I consider a “Bad Trick”. I think it’s “Bad” because if you don’t know it there really isn’t a plan B. This is the worst kind of problem to encounter on a test if you haven’t seen the trick. On the other hand, I consider a “Good Trick” a way to solve a problem that makes the problem more easy or beautiful, yet doesn’t preclude a student from using a clunkier method if they are so inclined.
This has a weird implication though:
The genesis for this whole post was the following problem I encountered while studying with Curzon yesterday:
2017 SIMOC Grade 5 Problem 24
The ratio of the number of tables and chairs in a school is After buying new chairs, the ratio becomes Then new tables were bought and the ratio become Given that the school bought more tables than chairs, how many chairs were there originally?
Algebra Solution
This is a straightforward (and might I say) boring problem involving a linear system of three equations and three variables. Use a single scaling variable:
- Original chairs:
- Original tables:
- New chairs bought:
- New tables bought:
Then:
Simplifying each equation:
Solve this any way you’d like and end up with the following solutions:
and the original number of chairs is .
Can We Do Better?
Normally I wouldn’t have given this any more thought, except Curzon made an algebra mistake and ended up with the wrong answer. It also took a bit of time since solving triple systems isn’t exactly painless for an 8yo. This got me thinking:
- This question was on a 5th grade contest paper. Granted it’s the invite-only final round following the SASMO, but it’s for 5th graders nonetheless.
- Is this the fastest way to do this problem? If you were given this on the MATHCOUNTS National Speed Round, would this solution ensure you get the answer faster than your opponent?
- Is there a less general way to do this problem? Obviously our system solution is airtight and it didn’t matter that the numbers they gave us were or or or . But are those special in some way?
- Is the integer-ness of the problem important? The systems solution didn’t rely on that at all, meaning the problem could’ve been talking about the mass of some objects, or the height, or some other continuously measurable property. However the problem isn’t talking about anything like that. Instead it’s about tables and chairs, which you presumably only have an integer number of.
Considering all of these things together, the answer is: yes!
Ratio Scaling
There was no need at all for a triple system of equations. The ratios give us an incredible amount of information without doing any work:
- The final number of chairs is a multiple of 15. After we added some tables at the end, our ratio of tables-to-chairs goes from to . Since the number of chairs didn’t change at this step and it’s both a multiple of 3 and a multiple of 5, it’s a multiple of 15.
- Using this information, we could’ve instead wrote our final two ratios as and instead of to
- The original number of tables is a multiple of 140. After we add some chairs in the beginning, our ratio goes from to (i.e. ). Since the number of tables didn’t change between these two ratios, the final number of tables is both a multiple of and a multiple of . Therefore we can rewrite the initial ratio as instead of
- Using identical logic and scaling the second ratio by 7, the final number of chairs is a multiple of 105, and
- Likewise, the final number of tables is a multiple of 168.
So our new and improved ratios are, respectively, and However our original solution for could still be anything that fits the ratio like etc…
So how do we decide? Well, we still haven’t checked the constraint that the school bought 23 more tables than chairs. Fortunately we can easily see that the ratios “as-is” already work!
Is This Even a Trick?
I think so. It’s a trick for 5th graders who haven’t studied Algebra 2 yet. It’s not as general as a systems solution, but it works here because all of the easy numbers and the discreteness of the problem. And like any other “Good Trick”, you might never see this solution if all you’re interested in doing is solving the problem the mechanical way with a system of equations.
Just to test the “standardness” of the solution to this problem, I asked ChatGPT and Grok. Each solved it using a system of four equations in four variables because they didn’t use a common scaling factor in the beginning ().
I then followed up asking them for a second solution. At this point they diverged. ChatGPT noticed you only needed three variables and proceeded as I did above. Grok started guess and checking using a ridiculous train of logic that ended up just magically trying the correct numbers because it already had the answer due to chat history. I probably should’ve started a fresh chat each time.
I asked for a third solution. ChatGPT wrote me a python script that just tried every multiple of until it got something that satisfied the other constraints. Grok gave me the first solution again but it just solved the system in a different order lol.
Props to ChatGPT for not even suggesting a guess-and-check strategy.
But none of our esteemed AI friends even came close to providing this solution. Finally I suggested to both of them to note how the ratios changed before and after adding either chairs and tables and see if we could draw any conclusions about the divisibility of each number. At this point it seemed like they both sort of “got it”, but they both failed on the execution and ultimately up-scaled the ratios by the wrong numbers.
Thus, I stand by my assertion that this is indeed a non-standard solution. In other words, a Trick.