How To Write A Math Solution - AoPS News
How To Write A Math Solution - AoPS News
NEWS
Articles
View More
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 1/41
2/28/2020 How to Write a Math Solution | AoPS News
You’ve figured out the solution to the problem—fantastic! But you’re not finished.
Whether you are writing solutions for a competition, a journal, a message board, or
just to show off for your friends, you must master the art of communicating your
solution clearly. Brilliant ideas and innovative solutions to problems are pretty
worthless if you can’t communicate them. In this article, we explore many aspects of
how to write a clear solution. Below is an index; each page of the article includes a
sample ‘How Not To’ solution and ‘How To’ solution. One common theme you’ll find
throughout each point is that every time you make an experienced reader have to
think to follow your solution, you lose.
As you read the ‘How To’ solutions, you may think some of them are overwritten.
Indeed, some of them could be condensed. Some steps we chose to prove could
probably be cited without proof. However, it is far better to prove too much too
clearly than to prove too little. Rarely will a reader complain that a solution is too
easy to understand or too easy on the eye.
One note of warning: many of the problems we use for examples are extremely
challenging problems. Beginners, and even intermediate students, should not be
upset if they have difficulty solving the problems on their own.
Table of Contents:
Have a Plan
Readers Are Not Interpreters
UseSpace
sdrawkcaB kniht, Write Forwards
Name Your Characters
A Picture is Worth a Thousand Words
Solution Readers, not Mindreaders
Follow the Lemmas
Clear Casework
Proofreed
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 2/41
2/28/2020 How to Write a Math Solution | AoPS News
Proofreed
Bookends
Have a Plan
Your goal in writing a clear solution is to prevent the reader from having to think. You
must express your ideas clearly and concisely. The experienced reader should never
have to wonder where you are headed, or why any claim you make is true. The first
step in writing a clear solution is having a plan. Make a simple outline of your
solution. Include the items you’ll need to define, and the order in which you will write
up the important parts of your solution. The outline will help ensure that you don’t
skip anything and that you put your steps in an order that’s easy to follow.
Here’s a sample problem:
a + b + c + d = 2r
BC D and this parallel face of the small tetrahedron is 2r . Let’s call that small
altitudes from A in AXY Z and ABC D is (ha − 2r)/ha . Since these two
tetrahedrons are similar with ratio a/r (since that’s the ratio of the corresponding
lengths, namely the radii of the inscribed spheres) we have a/r = (ha − 2r)/ha .
The volume of the tetrahedron is [A]ha /3 , where [A] is the area of triangle
BC D The volume of the tetrahedron can also be written rS /3 where S is the
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 3/41
2/28/2020 How to Write a Math Solution | AoPS News
BC D . The volume of the tetrahedron can also be written rS /3, where S is the
surface area of ABC D . We can prove that by letting I be the center of the
inscribed sphere. Then the volume of the tetrahedron is the sum of the volumes of
the tetrahedra I ABC , I ABD, I BC D , and I AC D. The volume of I ABC is
r[D]/3, where [D] is defined like we defined [A] above. We can similarly find the
volumes of the other 4 pieces. When we add them all up, we get
We set that equal to our other volume expression and get ha = rS /[A] . If we
rearrange our equation from above, we have a = r– 2r /ha
2
. We can then put in
the ha expression we just found to get:
a = r– 2r[A]/S .
If we define [B] , [C ], and [D] just like we defined [A], we can use the same
argument to get:
b = r– 2r[B]/S ,
c = r– 2r[C ]/S ,
d = r– 2r[D]/S .
as desired.
(General solution method found by community member zabelman in the
Olympiad Geometry class.)
The main problem with the above solution is one of organization. We defined
variables after they popped up. Midway through the solution we sidetracked to prove
the volume of ABCD is rS /3. Sometimes we wrote important equations right in our
paragraphs instead of highlighting them by giving them their own lines.
If we outline before writing the solution, we won’t have these problems. We can list
what we need to define decide what items we need to prove before our main proof
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 4/41
2/28/2020 How to Write a Math Solution | AoPS News
what we need to define, decide what items we need to prove before our main proof
(we call these lemmas), and list the important steps so we know what to highlight.
Our scratch sheet with the outline might have the following:
Stuff to define: ABC D, ha , S , [A], AXY Z .
This list looks obvious once you have it written up, but if you just plow ahead with the
solution without planning, you may end up skipping items and having to wedge them
in as we did in our ‘How Not to Write the Solution’.
as desired.
Since face XY Z of small tetrahedron AXY Z is parallel to face BC D
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 5/41
2/28/2020 How to Write a Math Solution | AoPS News
b = r– 2r[B]/S ,
c = r– 2r[C ]/S ,
d = r– 2r[D]/S .
as desired.
(General solution method found by community member zabelman in the
Olympiad Geometry class.)
The first thing a reader sees on your paper isn’t the structure of your solution. It isn’t
the answer, it isn’t the words you choose. It’s how the solution sits on the paper. If the
reader has to decipher scrawl, you’re going to lose him. Ideally, you’ll typeset your
solution with a program like LaTeX. However, in most contests you don’t have the
luxury of turning to a computer and you’ll have to write it out by hand. There are few
very important rules of thumb when writing a solution by hand. Many are obvious,
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 6/41
2/28/2020 How to Write a Math Solution | AoPS News
1. Use blank paper. Don’t use graph paper or lined paper – the lines often make
solutions harder to read. Never use paper that is torn out of a spiral notebook.
2. Respect margins. If you are starting with a completely blank piece of paper, draw
the margins on all four sides (top, bottom, right, left). Make your margins at least
0.5 inches, and preferably a full inch.
3. Write horizontally; never turn your writing when you reach the end of a line in
order to jam in a little more information. You can always start a new line or a new
page.
4. Leave space at the top for a ‘Page _ of _’ so the reader knows how many pages there
are, and what page she’s on. You probably won’t know how many pages you’ll write
when you start, but you can fill these out when you’re finished. If you get to the
bottom of a page and your solution must continue on another page, write
‘Continued’ at the bottom of that page so the reader knows we’re not finished. (This
also helps readers know if they’re missing pages.)
5. Don’t write in cursive. Print. And print clearly.
6. Use pen. If you must use pencil, do not erase – the smudges from erasers make a
mess.
7. When you make a mistake you’d like to omit, draw a single line through it and
move on. If it’s a large block to omit, draw an ‘X’ through it and move on. Don’t
scribble out large blocks of text.
8. If you left something out and want to add it at the end, put a simple symbol, like a
(*), at the point where you would like the new text to be considered added, and
leave a brief note, such as ‘Proof below.’ Below, you can write ‘(*) Addendum:’ and
proceed with the proof. Don’t use a bunch of arrows to direct the reader all over the
page.
4444
S (S (S (4444 ))).
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 7/41
2/28/2020 How to Write a Math Solution | AoPS News
Below are two solutions. Neither solution is picture-perfect; when you’re under time
pressure, it’s hard to write perfect-looking proofs. You should find the second one
much more enjoyable to read. When you’re writing solutions, keep the above tips in
mind, and just remember, ‘If they can’t read it, it’s not right.’
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 8/41
2/28/2020 How to Write a Math Solution | AoPS News
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 9/41
2/28/2020 How to Write a Math Solution | AoPS News
That solution above is a mess. The one below took me just as long to write, and is
much easier to read.
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 10/41
2/28/2020 How to Write a Math Solution | AoPS News
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 11/41
2/28/2020 How to Write a Math Solution | AoPS News
UseSpace
imagineyoutrytoreadaparagraphoftextthathasnopuncuationnocapitalsandjustenough
spaceinittobreakuplinessoitdoesntmessupbrowsersitsreallytoughtoreadandpretty
soonyoulldecidethatitsnotworthreadingandyoullgoandreadsomethingelseyouwont
realizehowterriblyharditistotypelikethisitshardbecausewhenyoureusedtowritingcle
arlyandusingspaceandpunctuationandsentencestructureitgetsreallyhardtowritewith
outitsimilarlyonceyougetusedtoproperlyusingspaceinwritingyoursolutionsitwillbesec
ondnatureandyoullactuallyfindithardtowriteanindecipherableproof
Problem: Let p(x) be a polynomial with degree 98 such that p(n) = 1/n for
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 12/41
2/28/2020 How to Write a Math Solution | AoPS News
Problem: Let p(x) be a polynomial with degree 98 such that p(n) = 1/n for
n = 1, 2, 3, 4, … , 99. Determine p(100).
Let r(x) = x(p(x)– 1/x) = xp(x)– 1. Since p(x) is a polynomial with degree
98 , r(x) is a polynomial with degree 99 . Since r(x) = x(p(x)– 1/x), and we
are given that (p(x)– 1/x) = 0 for x = 1, 2, 3, … , 99, r(x) has roots
1, 2, … , 99. Since r(x) has degree 99 , these are the only roots of r(x), which
must thus have the form r(x) = c(x– 1)(x– 2) (x– 3) ⋯ (x– 99) for some
constant c. To find c, we first let x = 0 in equation r(x) = xp(x)– 1, yielding
r(0) = −1. Letting x = 0 in r(x) = c(x– 1)(x– 2) (x– 3) ⋯ (x– 99) yields
r(x) = (x– 1)(x– 2) (x– 3) ⋯ (x– 99)/99! and let x = 100 to find
Let
1, 2, 3, … , 99,
Since r(x) has degree 99 , these are the only roots of r(x), which must thus have:
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 13/41
2/28/2020 How to Write a Math Solution | AoPS News
Thus, we have:
We can combine equations (1) and (3) and let x = 100 to find
100p(100)– 1 = 99!/99! = 1
p(100) = 1/50.
“Figuring out how to make an omelette is easy. Anybody who has eaten an omelette
knows that an omelette is typically made with several eggs filled with various foods
such as ham, peppers, onions, and bacon and is often cooked with cheese. The fact
that all these ingredients end up inside the egg means that we should begin cooking
the eggs flatly on a pan and then add the ingredients. We can then roll part of the egg
over the ingredients so as to trap them on the inside. If we needed some of the
ingredients precooked we could do that before adding them to the eggs…”
“Prepare vegetables and other desired omelette fillings. Beat eggs. Start cooking the
eggs. Add your fillings in the middle so that part of the egg can be pulled over the
ingredients. When the omelette is closed, continue to cook and flip the omelette until
the eggs look well-cooked.”
The reader doesn’t care how the process of cooking an omelette was unraveled by the
author. The reader just wants to know how to make an omelette.
Think of solutions as recipes. Start at the beginning and move forward. List the
ingredients and explain how and when to add them to the pot.
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 14/41
2/28/2020 How to Write a Math Solution | AoPS News
Problem: Let a, b, and c denote the lengths of the sides of a triangle. Show that
2 2 2
a (−a + b + c) + b (a– b + c) + c (a + b– c) ≤ 3abc.
This solution might be a good way to see how we might come up with a solution from
scratch, but it’s not a particularly well-written proof:
We note that the inequality contains the factors (−a + b + c), (a– b + c), and
(a + b– c) . These factors point to using the triangle inequality so it seems natural
to leave the factors alone and invoke the fact that each is nonnegative.
Since each of these three factors is multiplied by the square of the length of a side
it might be possible to manipulate the inequality into something involving these
nonnegative triangle inequality factors multiplied by perfect squares. We could
then argue that this sum must also be nonnegative. We begin by moving 3abc to
the left hand side:
2 2 2
a (−a + b + c) = b (a– b + c) + c (a + b– c)– 3abc ≤ 0.
If we were to view 3abc as the sum of 3 terms that are each the product of ab, bc ,
or ca and one of the triangle inequality factors, we begin to get an idea as to how
the inequality can be reorganized. Since the inequality is cyclic, it seems natural to
take these products in a way that preserves the cyclic nature. For instance, we
multiply ab with (a + b– c) because a and b have the same sign in (a + b– c):
2 2
ab(a + b– c) = a b + ab − abc ≥ 0,
2 2
ab(−a + b + c) = −abc + b c + bc ≥ 0,
2 2
ca(a– b + c) = a c − abc + ac ≥ 0.
We see the −3abc in the sum of these products. Examining the other terms in
2 2
ab(a + b– c) = a b + ab – abc,
we notice that a2 b + ab2 are factors that would pop out of (a– b)2 (a + b– c).
Expanding the squared parts of expressions like (a − b)2 (a + b − c) we get
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 15/41
2/28/2020 How to Write a Math Solution | AoPS News
2 2 2
(a– b) (a + b– c) = a (a + b– c)– 2ab(a + b– c) + b (a + b– c) ≥ 0,
2 2 2
(b– c) (−a + b + c) = b (−a + b + c)– 2bc(−a + b + c) + c (−a + b + c)
2 2 2
(c– a) (a– b + c) = c (a– b + c)– 2ca(a– b + c) + a (a– b + c) ≥ 0.
Adding these inequalities together we begin to see the inequality take shape:
2 2 2
a (a + b– c + a– b + c) + b (a + b– c– a + b + c) + c (−a + b + c + a– b +
2 2 2 2 2 2
− 2a b– 2ab + 2abc + 2abc– 2b c– 2bc – 2a c + 2abc– 2ac
2 2 2
= a (2a– 2b– 2c) + b (−2a + 2b– 2c) + c (−2a– 2b + 2c) + 6abc ≥ 0.
Multiplying this inequality by −1/2 reverses the inequality sign and gives us
2 2 2
a (−a + b + c) + b (a– b + c) + c (a + b– c)– 3abc ≥ 0.
2 2 2
a (−a + b + c) + b (a– b + c) + c (a + b– c) ≥ 3abc
a– b– c ≤ 0,
b– c– a ≤ 0,
c– a– b ≤ 0.
2
(b– c) (a– b– c) ≤ 0,
2
(c– a) (b– c– a) ≤ 0,
2
(a– b) (c– a– b) ≤ 0,
or
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 16/41
2/28/2020 How to Write a Math Solution | AoPS News
2 2
(b – 2bc + c )(a– b– c) ≤ 0,
2 2
(c − 2ac + a )(b– c– a) ≤ 0,
2 2
(a – 2ab + b )(c– a– b) ≤ 0.
2 2 2
a (a + b– c + a– b + c) + b (a + b– c– a + b + c) + c (−a + b + c + a– b
2 2 2 2 2 2
− 2a b– 2ab + 2abc + 2abc– 2b c– 2bc – 2a c + 2abc– 2ac
2 2 2
= a (2a– 2b– 2c) + b (−2a + 2b– 2c) + c (−2a– 2b + 2c) + 6abc ≥ 0.
2 2 2
a (−a + b + c) + b (a– b + c) + c (a + b– c) ≤ 3abc.
A large thin-shelled vehicle for a young fowl that was created by a huge female bird
sat on a wall. The large thin-shelled vehicle for a young fowl that was created by a
huge female bird had a great fall. All the horses of the great man who lived in a large
castle that ruled over the people in the land and all the men of the great man who
lived in a large castle that ruled over the people in the land couldn’t put the large
thin-shelled vehicle for a young fowl that was created by a huge female bird back
together again.
Proofs are a lot like stories. When writing a solution your job is tell a math story in a
way your audience will understand and enjoy. Instead of writing about ‘A large thin-
shelled vehicle for a young fowl that was created by a huge female bird,’ we call that
big egg ‘Humpty-Dumpty’ and tell the story. Likewise, a well-written proof often
involves naming the important quantities or ideas that play a part in the story of your
solution. Naming your characters can also help you find solutions to problems, so it’s
not something you should wait until proof-writing time to do.
When you do name your characters, you name them simply, clearly, and write up
front, so the reader knows exactly where to go to find out exactly who this n person is
and what that f (x) function stands for.
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 17/41
2/28/2020 How to Write a Math Solution | AoPS News
p p
Problem: Show that for any set of 100 integers that there is some subset such
that the sum of its elements is a multiple of 100.
The solution below is hard to read because the integers and the sums that are the key
to the solution remain unnamed.
subtracted the sum with fewer numbers from the one with more numbers. When
we take this difference, all the numbers in the second sum cancel with numbers in
the first sum, because each sum is just adding up numbers in our set starting with
the first one but the second sum is shorter. Due to this cancellation, the difference
of these two sums which have the same remainder when divided by 100 results in
a sum of numbers in the original set. We have shown that this difference has a
remainder of 0 when divided by 100, so this is our desired sum of numbers in the
set that are divisible by 100.
The solution below is easy to read because the main characters have names.
Specifically, we name the integers in the set and the sums of the elements in subsets
that we examine. These names allow us to follow the characters throughout the story.
They also allow the writer to describe the characters more completely and succinctly.
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 18/41
2/28/2020 How to Write a Math Solution | AoPS News
Case 1: If S1 , S2 , … , S100 are all distinct (mod 100), then exactly one of them
must be a multiple of 100.
Case 2: Otherwise, the 100 sums, Sk , have at most 99 distinct residues (mod 100)
and by the Pigeonhole Principle two of the sums, Sk , have the same residue (mod
100).
Thus means there exist some integers j and k , 0 < j < k < 101 , such that
Sk ≡ Sj (mod 100);
thus,
Sk ≡ 0 (mod 100).
Now, consider the subset with elements nj+1 , nj+2 , … , nk . The sum of the
elements of this subset is
n j+1 + n j+2 + ⋯ + n k
= (n 1 + n 2 + ⋯ + n k )– (n 1 + n 2 + ⋯ + n j )
Sk ≡ 0 (mod 100).
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 19/41
2/28/2020 How to Write a Math Solution | AoPS News
typesetting your solution, or use a ruler and compass if you are writing your solution
by hand.
Here’s an example:
We will show that AK = (AB + AC – BC )/2, and thus show that the length of
AK is independent of D.
Since tangents from a point to a circle are equal, we have both DN = DL and
DN
′
= DL
′
. Thus,
′ ′ ′ ′
NN = DN + DN = DL + DL = 2DL + LL .
Similarly, we have
′ ′ ′ ′ ′
MM = M K + KM = KL + KL = 2K L + LL .
Since M M ′ = NN
′
by symmetry, we conclude that K L = DL . Hence,
′ ′ ′ ′
MM = NN = DL + LL + K L = K D.
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 20/41
2/28/2020 How to Write a Math Solution | AoPS News
DN = (AB + AD + BD)/2– AB
′
DN = (AC + AD + C D)/2– AC
Thus,
′ ′
NN = N D + DN = AD + BC /2– AC /2– AB/2.
Since N N ′ = KD , we have
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 21/41
2/28/2020 How to Write a Math Solution | AoPS News
We will show that AK = (AB + AC – BC )/2, and thus show that the length of
AK is independent of D.
Since tangents from a point to a circle are equal, we have both DN = DL and
DN = DL . Thus,
′ ′
′ ′ ′ ′
NN = DN + DN = DL + DL = 2DL + LL .
Similarly, we have
′ ′ ′ ′ ′
MM = M K + KM = KL + KL = 2K L + LL .
Since M M ′ = NN
′
by symmetry, we conclude that K L = DL . Hence,
′ ′ ′ ′
MM = NN = DL + LL + K L = K D.
DN = (AB + AD + BD)/2– AB
′
DN = (AC + AD + C D)/2– AC
Thus,
′ ′
NN = N D + DN = AD + BC /2– AC /2– AB/2.
Since N N ′ = KD , we have
In our solution above, we used the fact that the length of the segments from a vertex
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 22/41
2/28/2020 How to Write a Math Solution | AoPS News
of a triangle (like vertex D of triangle ABD above) to the points of tangency of the
inscribed circle with the sides of the triangle from that vertex (segments DN and DL
above) equals half the perimeter of the triangle minus the opposite side of the
triangle. Applying this principle to find length DN in triangle ABD gives us:
DN = (AB + AD + BD)/2– AB
If you aren’t familiar with this fact, try to prove it yourself (and write a nice solution).
Every good geometer reaches for this fact as easily as they reach for the Pythagorean
Theorem.
A full solution does not just mean a correct answer. You should justify every notable
step of your solution. An experienced reader should never wonder ‘Why is that true?’
while reading your solution. She should also never be left in doubt as to whether or
not you know why it is true.
It’s not always clear what steps you can assume the reader understands and what
steps you have to explain. Here area few guidelines:
1. If you can cite a theorem that has a name, then you don’t have to prove the
theorem. You can cite the theorem and move on, as in, ‘By the Pythagorean
Theorem, AC = 3 .’
2. If you are very confident the step is well known but you don’t know a name, you can
say ‘By a well-known theorem, the area of ABC equals rs, where r is the inradius
and s is the semiperimeter.’ You can also leave out the ‘By a well-known theorem’
bit, particularly for extremely common results such as the one just stated. (If you
don’t know that result, try proving it on your own.)
3. If you still aren’t sure whether to prove a certain step or assume it’s well-known,
you have a decision to make. If you can prove it in one or two lines, go ahead and
do so. If it’s going to take a lot of work to prove but you know how to do it, then at
least outline the proof (and give a more thorough one if you have time). If you’re
taking a contest and have no idea how to prove it, cite it and move on. Maybe you’ll
get lucky and it will be a ‘well-known theorem’. If you’re writing an educational
paper and you don’t know how to prove it, then your paper isn’t finished until you
figure it out.
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 23/41
2/28/2020 How to Write a Math Solution | AoPS News
gu e t out.
4. When writing a string of algebraic steps, each step should follow obviously from the
one before it. Don’t write something like, ‘Thus, we have
2 2
x (x– 4) + (x + 1) + 5x– 4(x + 2) = −2,
so x = 1 is the only solution.’ You should include clear simple steps that make it
clear that the above is equivalent to (x– 1)3 = 0 .
5. You can invoke symmetry or analogy when the cases are precisely the same. For
example, suppose you want to prove that the area of any triangle ABC is given by
[ABC ] = (ab/2)(sin C ),
′
[ABC ] = (bc/2)(sin A) = (ac/2)(sin B).
6. When in doubt, explain it. Many of the solutions presented in this article have a
little overkill in them. It’s better to prove too much than too little.
2 2
(m + 1)(n + 1) + 2(m– n)(1– mn) = 4(mn + 1).
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 24/41
2/28/2020 How to Write a Math Solution | AoPS News
(1, 2), (−3, 0), (0, 3), (−2, −1), (1, 0), (−3, 2), (0, −1), (−2, 3)
The above is an answer, not a solution. This ‘solution’ lacks any evidence that these
solutions actually work, and doesn’t show that there are no other solutions.
Moreover, it brings the reader no closer to understanding the solution.
(m + 1)(n– 1) = ±2,
(1, 2), (−3, 0), (0, 3), (−2, −1), (1, 0), (−3, 2), (0, −1), (−2, 3).
The above solution is better than the first one; a motivated reader at least has a
glimmer of a path to the solution, but it’s not at all clear how the original equation
rearranges to the given equation, nor how the show solutions follow.
2 2
(m + 1)(n + 1) + 2(m– n)(1– mn) = 4(mn + 1)
2 2 2 2
m n + m + n + 1 + 2(m– n)(1– mn) = 4mn + 4
2 2 2 2
m n − 2mn + 1 + m – 2mn + n + 2(m– n)(1– mn) = 4
2 2
(mn– 1) + (m– n) – 2(m– n)(mn– 1) = 4
This left side is the square of [(mn– 1)– (m– n)] , so we have:
2
[(mn– 1)(m– n)] = 4
2
[mn– m + n– 1] = 4
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 25/41
2/28/2020 How to Write a Math Solution | AoPS News
[ ]
2
[(m + 1)(n– 1)] = 4
(m + 1)(n– 1) = ±2,
m + 1 = 1
n– 1 = 2
(0, 3)
m + 1 = 2
n– 1 = 1
(1, 2)
m + 1 = −1
n– 1 = −2
(−2, −1)
m + 1 = −2
n– 1 = −1
(−3, 0)
m + 1 = 1
n– 1 = −2
(0, −1)
m + 1 = −2
n– 1 = 1
(−3, 2)
m + 1 = −1
n– 1 = 2
(−2, 3)
m + 1 = 2
n– 1 = −1
(1, 0)
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 26/41
2/28/2020 How to Write a Math Solution | AoPS News
Thus, the solutions are (1, 2), (−3, 0), (0, 3), (−2, −1), (1, 0), (−3, 2),
(0, −1), (−2, 3).
Often you will have to prove multiple preliminary items before tackling the main
problem. In writing a proof, we often choose to separate these parts from the main
proof by labeling each as a ‘Lemma’ and clearly delimiting the lemma and its proof
from the rest of the solution.
Here’s a sample problem with two different solutions that employ lemmas. We’ve
used a little overkill in writing the solutions with lemmas to highlight how well we can
clarify solutions with lemmas. Both of these solutions are made significantly easier to
read by clearly breaking the solution into pieces.
Let the line through A parallel to BC meet line BM at J . Let the line through J
parallel to AB meet line BC at K . Let M N hit AB at X and AC at Y .
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 27/41
2/28/2020 How to Write a Math Solution | AoPS News
M N = M X + XY + Y N = AB/2 + AC /2 + BC /2,
as desired.
Clear Casework
Problem: How many positive 3-digit integers are such that one digit equals the
product of the other 2 digits?
(Thi bl f th A t f P bl S l i I t d ti t C ti &
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 28/41
2/28/2020 How to Write a Math Solution | AoPS News
(This problem comes from the Art of Problem Solving Introduction to Counting &
Probability course.)
The solution above is short, and the answer is correct, but it’s not at all clear that all
possibilities have been discovered. Also, it’s pretty tough to see that we have found
exactly 52 solutions – the reader is forced to go through and count themselves.
The solution below clearly covers all possible cases and leaves no doubt that the total
is 52.
If the smallest digit is 0 , then the number must contain a second 0 . Thus, this case
consists of numbers of the form n00, where 1 ≤ n ≤ 9 is any digit from 1 to 9 .
There are thus 9 numbers with smallest digit 0 that satisfy the problem.
Case 2: The smallest digit is 1 .
If the smallest digit is 1 , the number must be of the form nn1, or permutations of
this form (i.e. n1n or 1nn). However, these 3 permutations are the same when
n = 1 . Hence, we have 3 permutations each for 2 ≤ n ≤ 9 and only 1 for
n = 1 , for a total of 1+ 3(8) = 25 numbers with smallest digit 1 that satisfy the
problem.
Case 3: The smallest digit is 2 .
If the smallest digit is 2 , then the number is of the form 2mn , where n = 2m,
and permutations of this form. Our only options here are (m, n) = (2, 4) , which
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 29/41
2/28/2020 How to Write a Math Solution | AoPS News
gives us 3 numbers (224, 242, 422) , (m, n) = (3, 6) , which gives us 6 numbers
(permutations of 236), and (m, n) = (4, 8) , which also gives us 6 numbers.
Hence, there are 3+ 6+ 6 = 15 numbers with smallest digit 2 .
Case 4: The smallest digit is 3 .
There are 3 solutions in this case: 339, 393, 933.
Case 5: The smallest digit is larger than 3 .
If the smallest digit is larger than 3 , the smallest product we can form with two of
the digits is 4(4) = 16, which is not a single digit number. Hence, there are no
numbers that satisfy the problem with smallest digit larger than 3 .
Since every possible 3-digit number falls in exactly one of these cases, we conclude
that there are
9 + 25 + 15 + 3 = 52
Proofreed
Comunicacating complex idas is not ease and can b even harder wen don’t edit the
presentaion of those ideas for our adience. It pays to oganize are work in ways taht
are easy to read to be sur that the audiense gets the point, and to bee sure that your
saying what you meen.
If I always wrote that way, nobody would ever read anything I wrote.
Proof-read and edit your work. God may do crosswords in pen, but you’re going to
make mistakes. Making sure that you wrote in a way that expresses your ideas clearly
and correctly is second in importance only to having the right answer.
Make sure your equations and inequalities use your variables the way you intend. You
don’t want to write “abc + bcd” when you mean “abd + acd.” This not only makes
deciphering the rest of your proof difficult but might also throw off your own
calculations.
Practice writing proofs. We all make occasional spelling or grammar errors, but the
effects of errors multiply and too many of them make otherwise good ideas
unreadable. Remember that “repetition is the mother of all skill.”
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 30/41
2/28/2020 How to Write a Math Solution | AoPS News
x + y + z = 5 and xy + yz + zx = 3.
Determine with proof the largest value that any one of the three numbers can be.
2 2
(x + y) = (5– x) ,
2
0 ≤ (x– y) = (x + y)– 4xy.
We can substitute for both x + y and xy giving us an inequality involving only the
variable z:
2 2 2 2
0 ≤ (x + y) – 4xy = 25– 10z + z – 12 + 20z– 4z = 3z + 10z + 13.
Since this inequality holds for z we can determine all possible values of z:
2
0 ≥ −3z + 10z + 13 = −(z + 1)(3z– 13).
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 31/41
2/28/2020 How to Write a Math Solution | AoPS News
We will manipulate the given equations to make use of the fact that the square of
any real number is nonnegative:
2 2
(x + y) = (5– x) ,
2 2
0 ≤ (x– y) = (x + y) – 4xy.
We can substitute for both x + y and xy giving us an inequality involving only the
variable z:
2 2 2 2
0 ≤ (x + y) – 4xy = 25– 10z + z – 12 + 20z– 4z = −3z + 10z + 13.
Since this inequality holds for z we can determine all possible values of z:
2
0 ≤ −3z + 10z + 13 = −(z + 1)(3z– 13).
Bookends
We have several shelves full of math books in our offices. When we don’t have
bookends on either end, eventually the books at the ends fall over. Then more fall
over, then more, and it’s a hassle to find and retrieve books without spilling others all
over the place.
Similarly, when you have a complicated solution, you should place bookends on your
solution so the reader doesn’t get lost in the middle. Start off saying what you’re going
to do, then do it, then say what you did. Explaining your general method before doing
it is particularly important with standard techniques such as contradiction or
induction. For example, you might start with, ‘We will show by contradiction that
there are infinitely many primes. Assume the opposite, that there are exactly n
primes ….’
When you finish your solution, make it clear you are finished. State the final result,
which should be saying that you did exactly what the problem asked you to do e g
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 32/41
2/28/2020 How to Write a Math Solution | AoPS News
which should be saying that you did exactly what the problem asked you to do, e.g.
‘Thus, we have shown by contradiction that there are infinitely many prime numbers.’
You can also decorate the end of proofs with such items as QE D or AY D or
WWWWW or Undefined control sequence \blacksquare or //.
2
(I A)(I B)(I C ) = 4r
As this is our last problem, we’ll include many of our no-nos in the ‘How Not’
solution. Good luck piecing it together.
∘ ∘
180 – (180 – β)/2 = 90
∘
+ β/2 and from △E BC we have ∠E BC =
– β)/2 = 90 + β/2, so ∠AI C = ∠E BC .
∘ ∘
∠ABC + ∠ABQ = β + (180
(ab/2) sin γ = rs , so [(ab– z 2 )/2] sin γ = rc . Then the Law of Sines and the
earlier equation give our result.
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 33/41
2/28/2020 How to Write a Math Solution | AoPS News
We let
a = BC , b = AC , c = AB
s = (a + b + c)/2
x = I A, y = I B, z = I C
2 2 2
[E AC B] bxy/2z + br/2 + a br/2z axy/2z + ar/2 + ab r/2z
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 34/41
2/28/2020 How to Write a Math Solution | AoPS News
and
2
(sin γ)(ab– z )/2 = rc. (2)
From (1) we will show that ab– z 2 = xyz/r , which we will combine with (2) and
known triangle relationships to show the desired result.
Lemma 1: △AI C ∼ △E BC and △BI C ∼ △E AC .
Proof: By symmetry, the two results are equivalent. We will show the first. Since
CI bisects ∠AC B , we have ∠AC I = ∠BC E .
From △AI C we have
∘ ∘ ∘ ∘
∠AI C = 180 – ∠AC I – ∠C AI = 180 – α/2– γ/2 = 180 – (180 – β)/2 =
∘ ∘
∠E BC = ∠ABC + ∠ABQ = β + (180 – β)/2 = 90 + β/2,
2 2 2 2
[E AC B] = bxy/2z + br/2 + a br/2z = axy/2z + ar/2 + ab r/2z
[E AC B] = [AI E ] + [AI C ] + [E BC ]
First we tackle [AI E ] by showing it is a right triangle with legs x and by/z. From
Lemma 1, we have △BI C ∼ △E AC . Hence, AE /I B = AC /I C , or
Since
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 35/41
2/28/2020 How to Write a Math Solution | AoPS News
For triangle AI C we note that the altitude from I to AC is the inradius of ABC ,
so
2 2 2 2
[E BC ] = [AI C ](BC /I C ) = (br/2)(a/z) = a br/2z . (5)
2 2
[E AC B] = bxy/2z + br/2 + a br/2z (6)
By symmetry, we note that [E AC B] also equals our expression in (6) with a and
b interchanged and x and y interchanged. Hence, we have the desired
2 2 2 2
[E AC B] = bxy/2z + br/2 + a br/2z = axy/2z + ar/2 + ab r/2z
2 2 2 2
(bxy/2z + br/2 + a br/2z )– (axy/2z + ar/2 + ab r/2z ) = 0
2 2 2 2
(bxy/2z– axy/2z) + (br/2– ar/2) + (a br/2z – ab r/2z ) = 0
2
(b − a)(xy/2z) + (b– a)(r/2)– (b– a)(abr/2z ) = 0
2
(b– a)(xy/2z + r/2– abr/2z ) = 0
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 36/41
2/28/2020 How to Write a Math Solution | AoPS News
2 2 2
a –z = x z/r. (7)
2 2 2
(c/2) + r = x , (8)
2 2 2
(c/2) + (z + r) = a . (9)
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 37/41
2/28/2020 How to Write a Math Solution | AoPS News
2 2 2 2 2
a r /z + r = x ,
2 2 2 2 2 2
a r + r z = x z ,
2 2 2
(r/z)(a + z ) = x z/r. (11)
2 2 2 2 2
a r /z + (z + r) = a ,
2 2 2 2 2 2
a r + z (z + r) = a z ,
2 2 2 2 2 2
z (z + r) = a z –a r ,
2 2 2 2 2
z (z + r) = a (z – r ),
( 2
z z + r) = a (z– r),
2 2 2 3
a r + z r = a z– z ,
2 2 2 2
(r/z)(a + z ) = a –z . (12)
Proof:
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 38/41
2/28/2020 How to Write a Math Solution | AoPS News
C F = s– c
C F = [z cos(γ/2)][z/2 sin(γ/2)]
2
C F = (z /2) cos(γ/2) sin(γ/2)
2
C F = (z /4) sin γ
2
(ab/2) sin γ– 2(z /4) sin γ = rs– 2[r(s– c/2]
2
[(ab– z /2] sin γ = rs
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 39/41
2/28/2020 How to Write a Math Solution | AoPS News
We now complete our proof. Dividing the result of Lemma 4 by (sin γ)/2 gives
2
ab– z = 2rc/(sin γ).
Since Lemma 3 gives us ab– z 2 = xyz/r and the Extended Law of Sines gives us
sin γ = c/2R , the equation above becomes
xyz/r = 2rc/(c/2R)
xyz/r = 4Rr
2
xyz = 4Rr
2
(I A)(I B)(I C ) = 4Rr ,
Note, we proved some intermediate results we probably didn’t have to (such as the
fact that E is on ray C I ) when the results were quick and easy to prove. Others we
stated by fiat, such as [ABC ] = rs , since the proofs are more involved, and we feel
pretty safe that these results can be cited as known results without proof.
The above is a pretty daunting proof. What our solution doesn’t give is any indication
of how we might have come up with this solution. If you didn’t find the above solution
on your own, see if you can figure out how you might have come up with it now that
you have seen it.
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 40/41
2/28/2020 How to Write a Math Solution | AoPS News
Email SUBSCRIBE
Recent Articles
https://artofproblemsolving.com/news/articles/how-to-write-a-solution 41/41