Professional Documents
Culture Documents
1 Algebra 1 3
2 Combinatorics 1 12
3 Geometry 1 21
4 Number Theory 1 30
5 Algebra 2 38
6 Combinatorics 2 49
7 Geometry 2 62
8 Number Theory 2 72
9 Algebra 3 80
10 Combinatorics 3 88
11 Geometry 3 96
2
1
Algebra 1
3
QED Monthly Volume 1 Alexander Katz Page 4
terms, an operation on one side of the equation must be coupled with the
same operation on the other side. An operation can be essentially anything,
provided we approach with caution. We mostly use the basic operations,
e.g. addition, subtraction, multiplication, and division, below.
In the above examples, as with many single-variable equations, we wish
to isolate x, or get an equation of the form
x = some number
In other words, we want one side of the equation to only have x. We can
then conclude that x is that something. This sounds a little daunting when
we talk about it in words, but in reality the concept is simple. For example,
let’s take the equation from before:
x+2=4
If we perform an operation on both sides, we know the equation still
holds. The only problem is knowing which operation to perform. In this
case, we subtract two from both sides:
x + 2 = 4 =⇒ x + 2 − 2 = 4 − 2 =⇒ x = 2
The second puzzle is only slightly more complex.
9 ÷ x = 3 =⇒ 9 ÷ x · x = 3 · x =⇒ 9 = 3 · x
where the operation we used was multiplying by x. We can now finish by
dividing both sides by three (another operation):
9 = 3 · x =⇒ 9 ÷ 3 = 3 · x ÷ 3 =⇒ 3 = x
In these simple examples, it is likely that you simply “saw” the answer, or
determined it through intuition. While this is all well and good, and number
sense plays an important part in math, if the question was something scarier
such as “13 times a number, when added to 92, is equal to 118. Find the
number.”, then you likely wouldn’t happen to know the answer offhand. In
these situations, the above tools are golden.
In the above examples, it may seem like magic that we happened to know
exactly what operations to use! In reality, we chose our operation to be the
inverse of a different operation. An inverse essentially means “undoing” the
previous operation. For example, addition and subtraction, multiplication
and division, flipping a light switch on and off, etc. are all examples of
QED Monthly Volume 1 Alexander Katz Page 5
13x ÷ 13 = 26 ÷ 2
=⇒ x = 2
solving the problem. Our knowledge of inverses easily defanged this suppos-
edly “scary” problem.
Up until now we’ve dealt with single-variable equations. In other words,
our equation only had one variable - x. However, this concept of isolating
the variable often appears in more complex forms. For example, if we have
the following problem:
x + y = 12
QED Monthly Volume 1 Alexander Katz Page 6
x−y =6
We call this a system of equations, because there is more than 1 equa-
tion that simultaneously holds. Because our earlier technique of simply find-
ing the appropriate inverse merely results in us travelling in circles, we need
to find a way to use both equations at the same time. Our 2 main techniques
for solving such systems are known as substitution and elimination. We
illustrate both.
Solution. (Substitution) Since we have x−y = 6, we can add y to both sides
(note the inverse!) to get
x−y+y =6+y
x=y+6
Now, since we know that x and y + 6 represent the same number (make sure
you understand why this is true. Keep in mind that an equation simply
means that the 2 sides are equal, or represent the same thing), we can
replace (or substitute) x in the first equation with y + 6 to get
x + y = 12
(y + 6) + y = 12
2y + 6 = 12
but now we have a single-variable equation, just as before! We can solve
this using our previously learned techniques to get
2y + 6 − 6 = 12 − 6
2y = 6
2y ÷ 2 = 6 ÷ 2
y=3
Now that we know y, finding x is simply a matter of plugging the values
back in. Note that again we use substitution to replace y with 3.
x + y = 12
x + 3 = 12
x=9
So the larger number is 9. (What would have happened if we plugged y
into the second equation instead? Would we get the same answer?)
QED Monthly Volume 1 Alexander Katz Page 7
(x + y) + (x − y) = 12 + 6
Note that we added x − y to the left hand side, while we added 6 to the right
hand side. This may seem invalid at first glance, but because we know these
quantities are equal we can do this (recall the balance scale analogy. If we
add a weight to one side, we can add a different shaped weight to the other
side as long as it has the same weight as the first). Make sure you have a
solid understanding of why this is valid before you move on. A fundamental
understanding of the relationship between equations is essential.
We can then write
x + y + x − y = 12 + 6
2x = 18
x=9
and then proceed as above.
This gives us a general technique for solving such 2-variable systems. We
want to make the coefficients, or the number a variable is multiplied by,
of one variable cancel out. For example, given the equations
2x + 3y = 7
x + 2y = 3
The first thing we do is to select a variable to eliminate. In this solution
we choose y. To eliminate y, we need to make the coefficients of y terms in
both equations equal. That way, when we subtract the equations, this term
will cancel out.
To do this, we can strategically multiply the first equation by 2 and the
2nd equation by 3 (note that these are both operations) to get
4x + 6y = 14
3x + 6y = 9
and then subtract the equations to get
4x + 6y − 3x − 6y = 14 − 9
QED Monthly Volume 1 Alexander Katz Page 8
x=5
which we can then plug in to solve for y using either equation:
2x + 3y = 7
2 · 5 + 3y = 7
10 + 3y = 7
10 + 3y − 10 = 7 − 10
3y = −3
3y ÷ 3 = −3 ÷ 3
y = −1
We leave it as a suggested exercise to the reader to examine the result if
we instead attempt to eliminate x.
Up until now, we have focused on the positive integers, sometimes
called whole numbers. These are the numbers you’re probably most fa-
miliar with: 1, 2, 3, and so on. But there are also two other important classes
of numbers: the negative integers (which were featured in the last prob-
lem) and the rational numbers (more commonly known as fractions).
A negative integer is a bit harder to imagine than a positive one - what
exactly does the number −1 (negative one) mean? One common analogy is
to consider a large building. When you enter the building on the ground,
and then head to the basement, you are at a floor number that is below
zero, or negative. So the number −1 means 1 less than zero. Fractions can
be defined as “parts”. For example, if you cut a pizza into two identical
pieces, each piece is 21 , or one-half, the size of the pizza. Each fraction has a
numerator, or the number of pieces you have, and a denominator, or the
total number of pieces. So the fraction 43 means you have 3 of the 4 pieces.
Note that negative numbers are the inverse of their positive. The curious
reader may note that subtraction looks a lot like a negative number. Indeed,
this is exactly what subtraction is! Subtraction is actually adding a negative
number. Does this help you see why addition and subtraction are inverses?
Fractions are simply parts of a number. For example, half of a pizza is
represented by the fraction 21 . The top number, the numerator represents
the number of pieces you have, while the bottom number, the denominator
represents the total number of pieces. Note that if you have half a pizza,
you have 1 of the 2 pieces.
QED Monthly Volume 1 Alexander Katz Page 9
Summary:
We defined the basics of algebra, including the concepts of variables and
inverses, as well as our equation-solving tools of isolation, elimination, and
substitution. We saw not only how to solve single-variable equations, which
the reader has likely already had experience with without even knowing it
(for example, making change is a simple example that everyone is likely
familiar with), but also the more complex system of equations. We also
briefly touched on the concepts of fractions and negative numbers, with the
expectation that only a short review is required.
Exercises:
1. Solve each of the following equations for x:
• 2x + 9 = 15
• 8x + 7 = 23
• 9x + 1 = 10
2. Pick any 3 random numbers (or ask a friend, or generate them ran-
domly, etc.), and use them to fill in the blanks: x + = solve this
QED Monthly Volume 1 Alexander Katz Page 10
x = something
• 3x + 2y = 9, x + 6y = 3
• 2x − y = 11, x + 3y = 9
• 7x + y = 10, 8x − y = 5
5. Pick any 6 random numbers (or ask a friend), and use them to fill in
the blanks:
x+ y =
x+ y =
solve these equations for x, y. Try different combinations of numbers.
Play around with the equation.
6. Try both the substitution and the elimination technique. Which you do
find easier? Does it depend on the size of the numbers? Try eliminating
x, then solving for y, then going back to the same problem eliminating
y first then solving for x. Do you get the same answer? Which way is
easier?
7. The astute reader will notice that some combinations of numbers may
result in an impossible equation, such as 0 = 1. For example, try
solving
2x + 3y = 4,
4x + 6y = 7
for x and y. What does this tell you about x and y?
8. The same reader may also notice that some combinations of numbers
lead to two equations that are always satisfied at the same time. What
does this tell you about x and y?
QED Monthly Volume 1 Alexander Katz Page 11
10. Solve the following equations for the three variables x, y, and z:
x + y + 3z = 8
7x + 2y − 4z = 1
2x − 3y + 5z = 9
(This is a difficult exercise in relation to the article, but using the
techniques above should be enough to approach the problem).
2
Combinatorics 1
Example 2.0.2. How many numbers are in the list 1, 2, 3, ..., 100?
Solution. This one isn’t too hard. Since we’re counting the numbers from 1
to 100, there must be exactly 100 numbers in the list.
An important method in combinatorics is known as a bijection, or one-
to-one correspondence. This scary-looking term illustrates a simple con-
cept. Each element in one list corresponds to exactly one element in another
12
QED Monthly Volume 1 Alexander Katz Page 13
Example 2.0.5. How many numbers are in the list 5, 8, 11, . . . , 305?
Solution. This one is a bit trickier. First we note the general form of the
numbers, which is 3k + 2 for some number k (this is essentially the same as
noticing that the numbers increase by 3 each time). If we want to make this
k, then we have to combine 2 inverses (read the algebra article!). We first
subtract 2 to get the list 3, 6, 9, . . . , 303, and then divide by 3 to get the list
1, 2, 3, . . . , 101. These are just the numbers from 1 to 101, so there are 101
numbers in this list. Because we didn’t change the number of numbers from
each step, there are also 101 numbers in our original list.
QED Monthly Volume 1 Alexander Katz Page 14
Now we know how to deal with lists of numbers. We simply need to find
a general form, then transform it using our algebra skills. In fact, with a bit
more skill, we can generalize this for integers:
Example 2.0.6. How many numbers are in the list a, a+1, a+2, . . . , b?
Solution. Ew. First we have to figure out what the question is even asking.
The smallest number is a, and we increase by 1 each time until we reach b.
So what we really want is the number of numbers between a and b, inclusive
(which simply means we include a and b in our count). We’d like to make
this list something like 1, 2, . . . like we did before, so we want to make a 1.
But we know how to do this - we can subtract the number a − 1 from each
term to get the list 1, 2, . . . , b − a + 1. But these are just the numbers from
1 to b − a + 1, so there are b − a + 1 numbers in our original list.
This formula looks a bit contrived at first glance, and it’s an excellent
idea to try checking it on your own if for no other reason than to convince
yourself of its truth. As a starting point, try the numbers in P1 and P2
(a = 1, b = 100 and a = 3, b = 100), to see if we come up with the same
answer.
The important point to take away from this problem is not the formula.
Any monkey can put numbers into a formula and return an answer. You are
not a monkey. It is much more important to understand where the formula
has come from (the how), and even more important to understand how we
came up with this (the why). In this case, we tried easier cases (always
an excellent idea), went progressively up to slightly more difficult cases,
observed a general pattern, and generalized this into a formula. This method
will get you through many difficult problems (not just in combinatorics).
To illustrate an obvious pitfall, if you just memorized the formula with-
out fully understanding how we derived it, you would be very liable to make
the following mistake:
This technique is useful for far more than just happening to know how
many numbers are in a list. The next problem builds up to an important
result.
Solution. Now we’re back on home ground. We note that each term is of
the form 2k + 3, so we perform both inverses. We subtract each number by
3 and then divide by 2 (recall that we want the first term to be 1), to get
1, 2, . . . , 48, in which there are 48 numbers.
Combining this with problem 2.0.4, we start to see a general pattern for
arithmetic sequences. We first find the common difference, which we know
we want to divide by to create a new sequence with common difference 1
(e.g. consecutive numbers). But we also want the first number to be 1. Now
we’re ready to tackle arithmetic sequences. If we let a be the first term and
d be the common difference, we get an arithmetic sequence.
Solution. Now we’re lost again. We don’t know anything about getting a
list with n terms - we only know how to find the number of numbers in a
list! Think about how we might approach this problem for moment. Recall
QED Monthly Volume 1 Alexander Katz Page 17
that bijections work both ways! Because of this, we can work backwards.
We already know that there are n terms in the list 1, 2, 3, . . . , n. These are
consecutive numbers, so the common difference of this arithmetic sequence
is 1. We want it to be d, so the first thing we do is multiply the sequence by
d to get the list d, 2d, 3d, . . . , nd. We want the first term to be a, so we add
a − d to get the list a, a + d, a + 2d, . . . , a + (n − 1)d. Thus, the last term is
a + (n − 1)d.
This is great, but it doesn’t seem to be too useful. Why is it helpful to
know the last term of a sequence? Well, if we slightly modify our argument,
we can find the kth term of a sequence - not just the last one.
Solution. From problem 2.0.11, we know that the last number number in an
arithmetic sequence with 1000 terms, first term a, and common difference d
is a + (1000 − 1)d = a + 999d. But the last number in an arithmetic sequence
with 1000 terms is exactly the same thing as the 1000th term in this infinite
sequence! Thus the 1000th term is 4 + 999 · 3 = 3001.
It is unlikely that this is an entirely new concept for most of you. Many
have seen this formula before, and proving it is not exactly an incredibly
difficult exercise. But the point of the articles is not to simply introduce
formulas. Instead it is vitally important that you understand the concepts
behind the formulas. When working on difficult problems, you’ll often find
situations that are similar to ones you know, but in which your formulas are
not directly helpful. When this happens, you need to fall back onto your un-
derstanding of the topic to transform the problem into one you know how to
solve. We saw this in an elementary form in many of of our problems above.
Using only the information that there are n numbers in the list 1, 2, 3, . . . , n,
we worked all the way up to dealing with arithmetic sequences by transform-
ing progressively more difficult problems into ones we knew have to solve.
Summary:
We discussed how to find the number of numbers in a list. While this
seems like a trivial and unimportant exercise, We found that not only is it
not a simple pursuit, the ideas learned in tackling these problems are useful
in a wide array of concepts. We also derived two formulas for the sum of
QED Monthly Volume 1 Alexander Katz Page 18
Exercises:
1. Find the number of elements in each of the following lists:
• 1, 2, 3, . . . , 2013
• 15, 34, 53, . . . 1915
1 5 1 1
• , , 1 , 1 , . . . , 30
2 6 6 2
• (*) 9, 16, 25, 36, . . . , 4000000
2. Consider the two sequences below:
• Sequence A: 1, 4, 7, 10, . . . , 2013
• Sequence B: 2, 6, 10, 14, . . . , 2014
How many numbers are in both sequence A and sequence B? For ex-
ample, 10 is one of these numbers.
3. Compute the following sums (of arithmetic series):
• 3+5+7
• 8+10+12+14+16
• 18+25+32+39+46
1 1 3 5
• + + +1+
4 2 4 4
What do you notice about these sums?
4. The sums above can be described differently by giving the starting
term, the common difference, and the number of terms. For exam-
ple, the third sum can be described by ”starting term 18, common
difference 7, 5 terms”. In terms of a and d, find the following sums:
QED Monthly Volume 1 Alexander Katz Page 19
5. The average, or mean, of a list is the sum of the all the numbers in
the list divided by the number of terms. For example, the average of
the list 4, 7, 1 is 4, because 1+4+7
3
= 4.
The median of a list is defined as follows:
• If there are an odd number of terms in the list, the median is the
middle term when the list is sorted.
• If there are an even number of terms in the list, the median is the
average of the 2 middle terms when the list is sorted.
For example, the median of the list 4, 9, 1 is 4, because when sorted the
list becomes 1, 4, 9 making the middle term 4. Similarly, the median
of the list 4, 6, 1, 7 is 5, because when sorted the list becomes 1, 4, 6, 7
and the average of 4 and 6 is 5.
Compute the average and the median for the following lists:
• 1, 8, 3, 10
• 3, 5, 7, 9, 11
• 9, 17, 26, 35
• Starting term a, common difference d, 5 terms
• Starting term a, common difference d, 6 terms
6. Prove that in an arithmetic sequence of any length, the mean and the
median are equal. Furthermore, let a and b be the first and last terms
of the sequence respectively. Show that the median is equal to a+b2
.
Geometry 1
Geometry, loosely speaking, is the study of space. But be sure not to confuse
this with Astronomy - when we refer to space, we mean in a mathematical
sense! Geometry was first well-defined by Euclid, leading to the term Eu-
clidean Geometry. In everyday use, these two terms are equivalent, even
though there do exist other forms of Geometry.
Unlike the other subjects (Algebra, Combinatorics, Number Theory),
Geometry is very much its own branch. Without some basic experience in
Geometry, one is unlikely to be familiar with all of the basic definitions.
However, Geometry is one of the most practical branches of mathematics,
with many applications in everyday life (which perhaps explains why schools
have incorporated it into a standard math cirriculum). We reproduce the
most important definitions below:
The Cartesian Plane is a plane in 2 dimensions (in other words, you
can think of it as being a infinitely long flat surface) that extends infinitely
in every direction. Shapes with with you are probably most familiar, such as
triangles, squares, and so on are 2-dimensional, and can thus be represented
on the Cartesian plane.
A point, in a mathematical sense, is a location that takes up no space
and has no length. On a diagram, or a drawing to represent some space, we
represent a point by a small dot. We usually give a point a name, typically
a capital letter, and refer to the point by this letter.
Once we have 2 points on a plane, we can draw a line between them.
A line is uniquely defined by 2 points, and a line extends infinitely in both
directions. Just like a point, a line has no area, but it does have length. We
−→
denote a line through two points A and B by AB.
A ray is similar to a line, but it only extends in one direction rather
21
QED Monthly Volume 1 Alexander Katz Page 22
There are two more definitions we have to make: Parallel lines are 2
lines that never intersect. Perpendicular lines are two lines that intersect
at a 90◦ angle. All these definitions are shown in the picture below:
QED Monthly Volume 1 Alexander Katz Page 23
Again, in the pictures above we are focusing only on one small part of the
plane. Make sure you understand that we are still referring to lines rather
than line segments.
This illustrates an important concept - the sum of 2 angles can be in-
QED Monthly Volume 1 Alexander Katz Page 24
terpreted as one larger angle. We see this in the first example below. For
whatever reason, typical schools first introduce the notion of ”proof” in Ge-
ometry classes. Often their first example is this:
Problem: Let two lines intersect. Prove that opposite (or vertical) angles
are equal.
Solution: In most Geometry problems, the first thing we do is draw a
diagram and assign labels:
We want to prove that ∠CEB = ∠AED. At first glance, it’s not obvious
how to rigorously prove this fact, but the result is indeed intuitively true.
We do know, however, that the angle of a straight line is 180◦ , so we can
write
as desired.
All the angles marked with a “1” are equal, and all the angles marked
with a two are equal. In fact the converse of this statement holds as well
(with a small adjustment). If any two angles, either both marked with a
“1” or both marked with a “2”, are equal and not vertical angles, then
the two lines are parallel. Some sources have special names for these pairs:
alternate interior angles or alternate exterior angles respectively, but
these definitions are extremely redundant and quite useless if you understand
the concept (which is, of course, the important part).
This relationship between parallel lines and equal angles is an extremely
important one. For instance, you may be familiar with the following state-
ment:
−−→
parallel to BC. Assume B is the first point clockwise from A, and pick some
points D, E on this line so that D is ”on the right” of A and E on the left.
−−→ −−→
Because DE is parallel to BC, we have
side lengths and angle measures, we know exactly what’s going on in with
the triangle. But oftentimes, we won’t have all this information. In the most
typical situation, we will only have a few pieces of information about two
different triangles, and we need to determine if they’re equal.
There are 5 major congruency tests, each with their own acronym. Mem-
orizing these shouldn’t be too necessary, as most of them are simply formal-
izations of intution.
• SAS congruence: If we have two triangles, and we are given that two of
their sides are equal and the angles between these sides are equal, then
the triangles are congruent. More formally, if we have two triangles
4ABC and 4DEF , and we are given that AB = DE, BC = EF,
and ∠ABC = ∠DEF , then the triangles are congruent.
• SSS congruence: If we have two triangles with equal side lengths, than
the triangles are congruent. In other words, using the same triangles
as above, if we are given AB = DE, BC = EF, CA = F D then the
triangles are congruent.
• ASA congruence: If two triangles have two pairs of equal angles and the
sides between them are equal, the triangles are congruent. Again, this
can be formally represented by ∠ABC = ∠DEF, ∠BCA = ∠EF D, BC =
EF .
• AAS congruence: If two triangles have two pairs of equal angles and
another pair of corresponding sides are equal, the triangles are congru-
ent. In other words, the BC = EF condition above can be replaced
by CA = F D or AB = DE.
two triangles are equal and the angles between these sides are equal (SAS
congruence), we can conclude that the third pair of sides are equal as well
as the remaining two pairs of angles. This technique can quickly give us a
host of equal sides and angles, which is how most geometry problems are
solved.
What follows are a series of exercises, typically 10, designed to enhance
the student’s understanding of the concepts illustrated in the etxt. Many of
the exercises are intentionally vague (e.g. what do you notice...), expecting
that the reader will derive the maximum benefit through their own struggles
and exploration.
4.
QED Monthly Volume 1 Alexander Katz Page 29
5. Two points A and B lie on a line. Two other points, C and D, lie on a
line parallel to the first. Point E lies between the two lines such that
∠EBA = 30◦ and ∠ECD = 50◦ . Find ∠BEC.
8. You are likely familiar with what a circle is, but perhaps not with the
formal definition. A circle is all the points (known as a locus) that
are a fixed distance (the radius) away from the center of the circle.
In other words, if we pick any point on a circle, the distance from that
point to the center is always the same. A diameter of a circle is the
line segment between two points on the circle that passes through the
center. Let AB be a diameter of a circle, and let C be a point on the
circle. Prove that ∠ACB = 90◦ .
10. Because SSA does not imply congruence, there are two triangles ABC
such that AB = 13, BC = 10, and ∠BAC = 40◦ . Thus there are two
possible values for ∠ABC. Find the sum of these two values.
4
Number Theory 1
Number Theory is, loosely, the study of numbers (!). While this seems
simplistic at first glance, number theory is actually the richest field of math-
ematics.
We first run through some definitions. For at least the next few lessons,
we are working only over the integers, or whole numbers. Most of the time,
we refer to the positive integers, also called the natural numbers.
30
QED Monthly Volume 1 Alexander Katz Page 31
Exercise 2: Does there exist some integer that is a divisor of every integer?
Does there exist some integer that is a multiple of every integer?
We use the notation a | b to say that a divides b. This means that there
exists some integer k such that ak = b. We use a - b to say that a does not
divide b. For example, 6 | 24, but 7 - 24 as we saw above. We can group all
of these together. Each of the following statements are equivalent:
• a is a divisor of b.
• a is a factor of b.
• a divides b.
• b is a multiple of a.
• b is divisible by a.
• a | b.
Many students, upon seeing this for the first time, will erroneously con-
clude that if a | b + c, then a | b and a | c.
This is, of course, silly. However, this illustrates a common logical pitfall
- assuming that the converse, or the reverse, of a statement is true. For
example, consider the statement ”If I am 13 years old, then I am a teenager”.
QED Monthly Volume 1 Alexander Katz Page 32
This is a very true statement. However, the converse of this statement is ”If
I am a teenager, then I am 13 years old”.
But this is clearly not true, as teenagers can be several different ages.
It is important that you do not incorrectly make this logical fallacy (we’ll
discuss more on logic later on).
We continue on.
If a | b and b | c, then we have some integers x, y such that ax = b and
by = c. Substituting in gives a(xy) = c. Because x is an integer and y is an
integer, xy is an integer. Thus a | c.
Again, be careful not to draw incorrect conclusions from this statement.
When in doubt, write out the definitions of divisibility (if a | b, there exists
some integer x such that ax = b), and check to make sure you get the desired
result.
Below is another important example of drawing an incorrect conclusion.
Faulty Logic: Note that 2 | 24, 3 | 24, and 6 | 24. Also, 2 | 16, 8 | 16, and
16 | 16. Thus, we can conclude ”If a|c and b|c, then ab|c”. (We will examine
[and fix!] this statement in more depth later on)
Exercise 5: Explain why the above statement is untrue. At the very least,
come up with a counterexample to the above statement.
However, note that non-divisibility of integers does not follow any of the
same rules. For example, a - b and a - c do not necessarily lead to a - b + c
(can you think of an example where a - b and a - c but a | b + c?).
We can use these properties to our advantage to tackle otherwise tedious
problems. For example,
why this is true!). We also know that 37 · 3 = 111, so 37 | 111. By our di-
visibility rules above, we can conclude that since 37 | 111 and 111 | 111111,
we have 37 | 111111.
We can now discuss a bit about the number of divisors an integer has.
Recall that we refer only to positive divisors. In Exercise 2, you hopefully
concluded that 1 is a divisor of every number, while 0 is a multiple of every
number (if you did not, go back and understand why this is true). We can
take this a step further. For any number n, we already know that 1 is a
divisor. We can also conclude that since 1 · n = n, n · 1 = n, and so n is a
divisor of n.
Thus, every number (except for 1!) has at least 2 divisors. 1 is a special
case because n = 1, meaning that it only actually has 1 divisor.
Hopefully your answer to the above question was yes. Such numbers are
very special numbers. In fact, they are so special, we give them a special
name - prime numbers. Numbers with more than 2 divisors are called
composite numbers. 1 is neither a prime nor composite number. Al-
though 0 has an infinite number of factors, we usually also consider 0 as its
own special case - not a prime nor a composite number.
The first few prime numbers are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31,
37, 41, and so on. We will discuss in much greater depth the importance of
these numbers in upcoming lessons.
You may notice that there doesn’t seem to be an obvious pattern to these
numbers (besides the fact that they are all prime!). Indeed, there isn’t one.
Prime numbers lend to themselves an aura of mystery, with a great deal of
very high-level mathematics devoted to them, and relatively little known.
So how can we determine if a number is prime? Unfortunately, not
simply. We have to take an algorithmic approach. The simplest (though
not most efficient, but one of the most practical for human use) goes as
follows: For a number n, we have to check that no numbers less than n are
divisors of n. But we can narrow our search significantly. If n is divisible by
some number a that is not prime (or 1), then a must be divisible by some
prime p. But then p | a and a | n, so p | n. Thus, in fact, we only need to
check if n is divisible by prime numbers less than n.
We
√ can narrow our search even further. If n is divisible by √ a such that
a > n, then the number b such that n = ab must satisfy b < n (why?).
QED Monthly Volume 1 Alexander Katz Page 34
The light green numbers represent our original primes, the dark green
numbers the prime numbers we found, and the red numbers numbers that
were divisible by at least one of 2, 3, 5, or 7. So why are prime numbers so
important, and why do we care about them? One important application is
the prime factorization of numbers. Every number greater than 1 can be
expressed as the product of prime numbers (of course, prime numbers are
already expressed in this form!). For example, 30 = 2·3·5, 12 = 2·2·3 = 22 ·3,
2014 = 2 · 19 · 53, and so on. This means that when you hear statement
like “primes are the building blocks of mathematics”, they’re not kidding!
In a way, primes are similar to atoms. Although we know today that this
isn’t entirely true, the original concept of the atom was to be the smallest
“part” of something. The name atom literally means “uncuttable”. It was
envisioned that everything could be divided into progressively smaller parts,
finally stopping when it was impossible to break it into anymore smaller
pieces. In the same way, a number can be progressively broken down into
smaller and smaller parts, finally stopping when we reach all primes (which
are impossible to break down into smaller pieces).
Even more importantly, however, is that every number can be written
uniquely as a product of primes. In other words, when we find that 30 =
2 · 3 · 5, we know that there is no other way to write 30 as a product
of primes (except for permutations such as 3 · 2 · 5, but these don’t count
because they are equivalent). This is known as the Fundamental Theorem
of Arithmetic, a name that certainly does not overestimate the importance
of the result.
A common application fo √ the Fundamental Theorem of Arithmetic is
proving the irrationality of 2. A number is called irrational if it cannot
be expressed as the ratio of two integers.
√
Exercise 9: Prove 2 is irrational.
1. • Is 17 prime?
• Is 19 prime?
• Is 21 prime?
• Is 1001 prime?
• Is 103 prime?
• Is 107 prime?
• Calculate the largest prime number greater than 200.
• Calculuate the number of prime numbers between 100 and 200
using the Sieve of Erathosthenes.
QED Monthly Volume 1 Alexander Katz Page 37
2. How may divisors does 6 have? How many divisors does 9 have? How
many divisors does 144 = 24 × 32 have? What about 23 · 32 · 5 · 73 ?
5. A group of 25 pennies is arranged into three piles such that each pile
contains a different prime number of pennies. What is the great-
est number of pennies possible in any of the three piles? (MATH-
COUNTS)
7. What is the largest two-digit prime number whose digits are also each
prime? (MATHCOUNTS)
9. What is the first year in the twenty-first century that is a prime num-
ber? (MATHCOUNTS)
Algebra 2
2. loga ( m
n
) = loga (m) − loga (n)
logb m
5. loga (m) = loga m
38
QED Monthly Volume 1 Alexander Katz Page 39
Proving these is mostly a matter of using the definition and some expo-
nent laws that we are already famililar with. For example,
Solution: At first we have no useful tools with which to prove this. But
we do know that logarithms are heavily related to exponentation, which
we know more about. Thus we attempt to convert the problem into one
involving exponents. Let x = loga (m) and y = loga (n). By the definition of
a logarithm, we have
m = ax , n = ay =⇒ mn = (ax )(ay )
But since (ax )(ay ) = ax+y , we have
mn = ax+y
Once again converting from exponentation to logarithms,
x + y = loga (mn)
and now simply replacing our original expressions for x and y:
When doing logarithm problems, we always need to check that our solu-
tions are valid. For example,
=⇒ (x − 3)(x + 4) = 0 =⇒ x = 3, −4
Thus our solutions are x = 3, −4.
QED Monthly Volume 1 Alexander Katz Page 40
Now, we have the tools to successfully attack some problems. We’ll start
off, fittingly, with the very first AIME problem that ever existed.
Problem: [1983 AIME Problem 1] Let x, y, and z all exceed 1 and let w
be a positive number such that logx w = 24, logy w = 40, and logxyz w = 12.
Find logz w.
Thoughts: Hmm, the nice thing about this problem is that all the loga-
rithms have the same argument, but unfortunately they all have different
bases. It would be much nicer if this was the other way around. But we
log b
can do this! Notice that by change of base since loga b = log a
, we have
1
logb a = log a
log b
= log1 b . This means that logw x = . We can do the same
a 24
thing for logw y and logw xyz, and after that we can solve for logw z! That’ll
complete this problem.
1 1 1
Solution: Note that logw x = = . Similarly, we have logw y =
logx w 24 40
1
and logw xyz = . Finally, note that
12
xyz 1 1 1 1
logw z = logw = logw xyz − logw x − logw y = − − = ,
xy 12 24 40 60
so logz w = 060 .
This problem highlights a very important strategy that can be used for
many different types of equations and systems of equations, problem solving
tip symmetry:
In the above problem, the said symmetry was noticing that all the log-
arithms have the same argument - w. We don’t know much about how to
use common arguments, but many of our properties pertain to logarithms
QED Monthly Volume 1 Alexander Katz Page 41
with common bases. Thus we converted into a form we knew how to deal
with, and found an easy solution as a result.
Thoughts: We have logs base 10 and a power of 10. How about we take
log base 10 of the first equation? Then we can use property number 1
to give us log10 x + log10 y + log10 z = log10 (xyz) = 81. How about we
substitute a = log10 x, b = log10 y, c = log10 z as we have these in two equa-
tions. First, we have to convert log10 yz = log10 y + log10 z, and we are
left with a + b + c = 81 and ab + ac + bc = 468. We also know that
a2 + b2 + c2 = (a + b + c)2 − 2(ab + ac + bc). We are done!
Tip: When we have logarithms, try making an equation without the ugly
logarithms.
QED Monthly Volume 1 Alexander Katz Page 42
log10 2 + a + b − ab = 1
log10 2 + b + c − bc = 1
a + c − ac = 0
We can rearrange the first equation to notice that log10 2 = (a − 1)(b − 1).
Similarly, use this method to give us log10 2 = (b−1)(c−1) and (a−1)(c−1) =
1. What if we multiply together all the equations? Then we would have
((a − 1)(b − 1)(c − 1))2 = (log10 2)(log10 2) or (a − 1)(b − 1)(c − 1) =
± log10 2. Note that (a − 1)(c − 1) = 1 gives us (b − 1) = ± log10 2, so
b = log10 2 + 1 or 1 − log10 2. Substitute back b = log10 y and we’re done!
Solution: Noting that log10 (2000xy) = 3+log10 2+log10 x+log10 y, log10 (2yz) =
log10 2 + log10 y + log10 z and log10 (xz) = log10 x + log10 z, we make the sub-
stitution a = log10 x, b = log10 y, c = log10 z to make the equation easiest to
work with.
We arrive at the following set of equations
Therefore, we have:
The above solution utilized, in a simple form, the following famous idea.
Of course, this is also not a concept used only for logarithms (in fact, it has
no direct relation to logarithms at all).
ab − ma − nb + mn = k + mn
=⇒ (a − n)(b − m) = k + mn
This is useful for when we have equations that are like this form to find a
simpler equation. WARNING: DO NOT FORGET ABOUT SIGNS. When
m and n are both positive, we add mn to both sides. When one is positive,
one is negative, we subtract mn from both sides. When both are negative,
we add mn to both sides. This allows us to factor our expression nicely.
Problem: [1988 AIME Problem 3] Find (log2 x)2 if log2 (log8 x) = log8 (log2 x).
m m
other side log8 (log2 x) = log8 (2m ) =. Therefore, we get m − log2 (3) = .
3 3
2m 3 log2 (3)
Aha! Next, we get = log2 (3) or m = . Now, we want to find
3 m 2
(log2 x) . Well, x = 2 , so log2 (x) = 2 . Therefore, we want (2m )2 , and
2 2 m
2m
m
m − log2 (3) = log2 (2 ) − log2 3 = log2 = log2 (log8 x)
3
m
= log8 (log2 x) = log8 (2m ) = log23 (2m ) =
3
m 3 log2 (3)
=⇒ m − log2 (3) = =⇒ m =
3 2
We now want (log2 (x)) . Note that (log2 (x)) = (2m )2 . We find
2 2
3 log2 (3) 3 3
2m = 2 2 = (2log2 (3) ) 2 = 3 2 .
3
Finally, (2m )2 = (3 2 )2 = 33 = 027 .
In the above problem, we did this in two ways. Because we have two
m
copies of log2 (something), the substitution x = 22 becomes natural. Alter-
natively, note that x = bn =⇒ logb (x) = n, so instead we could work in
reverse to let n = log2 x (or to make the problem slightly easier, u = log8 x)
Problem: [1995 AIME I Problem 2] Find the last three digits of the product
of the positive roots of √
1995xlog1995 x = x2 .
Thoughts: Let’s use a similar method as last time. How about we let
log1995 x = y as we do not want to be dealing with √ that in an2 exponent.
Therefore, we get x = 1995y . Therefore, we get 1995 · 1995y = 19952y .
Therefore, taking log base 1995 of both sides, we get 12 + y 2 = 2y or, re-
arranging the equation, 2y 2 − 4y + 1 = 0. We don’t actually have to find
the roots now, we note that we want the product of the two roots y1 and y2
of this equation, which gives us the product of the two x’s that satisfy the
original equation are 1995y1 +y2 and we are done!
Solution: Let log1995 x = y. By defintion, x = 1995y , and we arrive at the
following equation: √ 2
1995 · 1995y = 19952y
Now, take log base 1995 of both sides to give us:
√ 2
log1995 ( 1995 · 1995y ) = log1995 (19952y )
√ 2
=⇒ log1995 ( 1995) + log1995 (1995y ) = 2y
1
=⇒ + y 2 = 2y
2
Therefore, we get 2y 2 − 4y + 1 = 0. Since the discriminant is positive (it
is 8), there are indeed 2 real solutions. Let the solutions be y1 , y2 . Note
that since both y1 and y2 satisfy this equation, we have y1 = log1995 x1 and
y2 = log1995 x2 where x1 and x2 are the two solutions of the original equation.
We can find y1 + y2 using Vieta’s formulas. Vieta’s formulas tell us
that the sum of the two roots of the quadratic ax2 + bx + c = 0 is −b a
,
QED Monthly Volume 1 Alexander Katz Page 46
Our final problem once again illustrates the value of the following tip:
Thoughts: This thing is ugly. The 2000’s inside the logarithms are really
annoying. Let’s use property 5 again to change their bases maybe. Recall
that we found earlier
logb b 1
loga b = =
logb a logb a
Using this, the expression turns into
2 log20006 4 + 3 log20006 5.
We can consolidate this further into log20066 (42 × 53 ) which is now a work of
computation.
Exercises:
4. Show that
10. (2009 AIME II) For certain pairs of (m, n) of positive integers with
m ≥ n there are exactly 50 distinct positive integers k such that |
log m − log k |< log n. Find the sum of all possible values of the
product mn.
6
Combinatorics 2
49
QED Monthly Volume 1 Alexander Katz Page 50
• The problem involves some number like “2014” or “421337” that doesn’t
appear to be important in any real way. This usually is a sign to re-
place this number with a variable and solve the general case.
• Problems that have something specific in them that resembles a recur-
sive rule. For example, if a problem defines a series of shapes based
on a previous shape (see, for example, the generation of the Koch
snowflake), recursion screams to be used.
• Many problems that ask you to “build” a sequence according to certain
restrictions are often solved relatively quickly using recursion.
Becauser recursion relies on building larger cases from smaller ones, our
goal is usually to do the reverse: relate some case to a smaller one. This is
best illustrated by an example:
Problem 1: How many ways are there to tile a 2 by 10 grid of unit squares
with dominoes? (Note: A domino is a 1 × 2 grid of unit squares).
Solution: There doesn’t appear to be anything special about the number
10, so let’s replace it with n, and let an be the number of ways to tile a 2 × n
grid of unit squares. Now consider the top left corner square. The domino
covering this square can be either vertical or horizontal. If this domino is
vertical, then we are left with a 2×(n−1) grid of unit squares, for which there
are an−1 tilings. If this domino is horizontal, then the domino containing
the bottom left square must also be horizontal, leaving us with a 2 × (n − 2)
grid of unit squares, for which there are an−2 tilings. Therefore, we have
an = an−1 + an−2 .
We also need to find the first few terms. Note that there is obviously
only 1 way to tile a 2 × 1 grid, and there are 2 ways to tile a 2 × 2 grid.
Therefore, we have a1 = 1, a2 = 2, an = an−1 + an−2 .
This sequence should look familiar - it’s exactly the definition we have
for the Fibbonacci numbers, shifted by a term. Thus we are just looking for
the 11th Fibbonacci number, or 89 .
Problem 2: Kelvin the frog is building a tower with his infinite supply of
blocks. He has an infinite number of blocks that are 1 unit high, an infinite
number of blocks that are 2 units high, and an infinite number of blocks
that are 3 units high. How many ways can Kelvin the frog make a tower
that is 10 units high?
Not fun: One natural attempt at a solution to this problem I have seen: Let
a1 be the number of blocks 1 unit high, a2 be the nubmer of blocks 2 units
high, and a3 be the number of blocks 3 units high. Then a1 + 2a2 + 3a3 = 10.
Listing the cases and accounting for permutations leads to the answer. While
this technically works, it has two major disadvantages. First of all, it is ex-
tremely easy to make a mistake. As in most solutions that involve a great
deal of cases, a single slip can ruin a great deal of hard work. But more
importantly, it is not easily generalizable. If we replaced the number 10
with 20, this method would become completely unworkable.
Solution: Consider the bottom block of the tower. It is either 1 unit, 2
units, or 3 units high. Thus, if we do the same thing as the previous so-
lution and let an represent the number of ways to build a tower that is n
units high, we get an = an−1 + an−2 + an−3 . Our starting values are easy -
we get a1 = 1, a2 = 2, and a3 = 4 (we could even use a0 = 1, since there
is clearly 1 way to do nothing). We can use our recursive definition to get
a4 = 7, a5 = 13, a6 = 24, a7 = 44, a8 = 81, a9 = 149, a10 = 274 .
a closed form formula for the terms. In other words, we want to find an
expression for the nth term that depends only on n. Unfortunately this is
not practical for the problem above, but in general it can be a very useful
tool.
Problem 3: How many ways are there to write 10 as the ordered sum of
positive integers? For example, 3 + 3 + 4, 3 + 4 + 3, and 4 + 3 + 3 are all
different ways.
Solution: Let an be the number of ways to write n in this manner. Note
that a0 = 1, a1 = 1, a2 = 2, a3 = 4. Consider the first term. This
term can be anywhere from 1 to n, and so an = an−1 + an−2 + . . . + a0 =
an−1 + an−2 + . . . + a1 + 1.
We suspect from our pattern above that an = 2n−1 for n ≥ 1. We easily
verify that a1 = 20 = 1 and 2n−1 = 2n−2 + 2n−3 + . . . + 20 + 1, so our formula
should be true (we will soon see how to find this formula without guessing).
Thus, our answer is 210−1 = 512 .
be the last locker the student closes. We know that this locker is numberd
2n − 2x + 2. But x is also the last locker opened beginning with 2n−1 lockers,
or an−1 by definition. Furthermore, the locker 2n − 2x + 2 is the last locker
opened when beginning with 2n lockers, or an (also by definition). We’ve
reached the necessary recursion! We have an = 2n − 2an−1 + 2.
We just need to find an appropriate starting value. We want to choose
something small that makes sense, so let’s look at n = 1. If there are only
2 lockers this is an easy task - the student opens locker 1 and then we’re
done. That wasn’t too bad! Writing this as an equation, a1 = 2. Now we
have everything we need - the starting value(s) and the recursive relation -
to finish the problem. Doing the computations, we have a10 = 342.
Take the time to go through this problem over and over again! It’s a very
difficult example, but also one which illustrates excellently how recursion is
used in problems (and the tips in the problem that suggest using recursion).
Up until now, we’ve either just bashed out the appropriate value or
guessed (then verified) a general formula for our recursions. This works well
for most problems where cases are small, but not so much if we need to find
the 1000th term. We now turn to a method of finding a general formula for
a recurrence.
We focus on linear recurrences, or those in the form an = c1 an−1 +
c2 an−2 + c3 an−3 + . . . + ck an−k , for some constants c1 , c2 , . . . , ck (which might,
of course, be 0). In particular, there is no constant term. We’ll deal with
constants (e.g. an = an−1 + an−2 + 1) later, which is only slightly more
difficult. Note that all of our recursions above fall into this category.
Consider the polynomial xk − c1 xk−1 − c2 xk−2 − . . . − ck = 0, and let
the roots be r1 , r2 , . . . , rk . The nicest form occurs when all of the roots are
distinct, but we can still account for cases when they are not. This is known
as the characteristic polynomial of the recurrence. We present the main
theorem (the proof of which utilizes calculus and is beyond the scope of this
article):
Theorem:
an = r1n + r2n + . . . + rkn
satisfies the recurrence relation. Furthermore, there exist constants λ1 , λ2 , . . . , λk
such that
an = λ1 r1n + λ2 r2n + . . . + λk rkn
is the unique solution that satisfies the recurrence relation and evaluates to
QED Monthly Volume 1 Alexander Katz Page 55
Problem 6: Find the general form for the nth term of the sequence gen-
erated by the following recursion: a1 = 1, a2 = 5, an = 5an−1 − 6an−2 for
n ≥ 2.
Solution: In this case, the characteristic polynomial is x2 − 5x + 6 = 0,
which has roots 2 and 3. Thus, by the theorem above, an = λ1 2n + λ2 3n
satisfies the recurrence relation. For completeness, we verify this. Plugging
this in gives
2λ1 + 3λ2 = 1
4λ1 + 9λ2 = 5
Solving this system gives λ1 = −1, λ2 = 1. Thus, our solution is
an = 3n − 2n .
QED Monthly Volume 1 Alexander Katz Page 56
φn − (−φ)−n
Fn = √ ,
5
√
1+ 5
where φ is the golden ratio 2
.
Problem 2: Kelvin the frog is building a tower with his infinite supply of
blocks. He has an infinite number of blocks that are 1 unit high, an infinite
number of blocks that are 2 units high, and an infinite number of blocks
that are 3 units high. How many ways can Kelvin the frog make a tower
that is 10 units high?
QED Monthly Volume 1 Alexander Katz Page 57
Faulty Logic: By the theorem, we need to find the roots of the poly-
nomial x2 − 5x + 6 − 1 = 0.
Obviously this is ridiculous. So what is the problem with this logic? The
error is that 1 is not a term of the form an−k (in general - in this case it
turns out to be a0 = an−n ), and so we cannot apply our theorem directly.
Fortunately, we have other ways to attack this problem. Let’s first list out
some terms to see if we can guess what’s going on:
3 11 11 3 39
a1 = , a2 = , a3 = 5 −6 +1=
2 2 2 2 2
131 423 1331
a4 = , a5 = , a6 = ,...
2 2 2
Now we might notice a relation to our previous problem. In problem 6,
we had a1 = 1, a2 = 5, a3 = 19, a4 = 65, a5 = 211, a6 = 665, . . . - terms that
are each 12 less than their counterparts here. This would suggest that our
solution to this recursion is an = 3n − 2n + 21 , and indeed checking this shows
that it is the case. But things don’t always work out so nicely. We’d really
like to find a more general method to approach these types of problems.
If we plug in an = 3n − 2n + 12 to the recursive relation an = 5an−1 −
6an−2 + 1, the first thing we should notice is that the constant terms cancel
out. While this might seem like a happy coincidence, if we think about it for
a minute we realize that it’s to be expected. The difficulty in this problem
lies in the constant term, so we’d like to eliminate it if possible.
QED Monthly Volume 1 Alexander Katz Page 58
=⇒ bn = 5bn−1 − 6bn−2
Now we’ve reached a linear recurrance (and even better, a problem we’ve
already done)! We can solve this using standard methods to get bn = 3n −2n ,
and so an = bn + 12 = 3n − 2n + 12 .
Again, it may seem like magic that the constant term happened to cancel
out. What led us to choose 21 (besides listing out the terms)? The answer
is very simple: we chose it precisely to cancel out the constant term. With
this in mind, if we had let an = bn + k with the express goal of canceling out
the constant term, we would get
bn + k = 5(bn−1 + k) − 6(bn−2 + k) + 1
=⇒ bn + k = 5bn−1 − 6bn−2 − k + 1
To cancel the constant terms, we need k = −k + 1 =⇒ 2k = 1 =⇒
k = 21 , which explains the motivation for choosing it. Of course, when ap-
proaching this problem for the first time in this article, it is easy to look
at the first few terms, recognize them as being 21 greater than those in the
previous problem, and discover the recurrance that way. But if we were
coming across this problem for the first time, discovering that the terms fit
the pattern 3n − 2n + 12 is extremely unlikely. This was a long and quite
involved article, and here is a natural place to conclude it.
QED Monthly Volume 1 Alexander Katz Page 59
Summary:
Recursions are a very important concept in mathematics, and as such are
tested regularly on mathematics competitions. Interestingly, however, often
times relatively simple exercises in the subject appear quite late on tests.
Thus, knowing how to work with them can earn you some easy points on
seemingly high-level problems. When working through the exercises, notice
how many of them will likely seem relatively routine and not too difficult,
then look at the sources! Many of them are late AIME problems, problems
that very few students are meant to solve. We went through a general strat-
egy of attacking these problems, as well as recognizing when a seemingly
unrelated problem is actually a good candidate for recursion. Following
that, we discovered a method of determining the general form for a given
linear recursion. Finally, we learned how to deal with constant terms in
recursions by introducing convenient substitutions.
Exercises:
1. How many integers n between 256 and 511 (inclusive) are there such
that the binary representation of n has no two consecutive 1s? For
example, 280 = 1001000102 , so it counts, while 268 = 1000011002
does not.
√ n √
(1 + 5) − (1 − 5)n φn − (−φ)−n
Fn = √ = √
2 5 5
9. For each even positive integer x, let g(x) denote the greatest power of
2 that divides x. For example, g(20) = 4 and g(16) = 16. For each
2−1
X
positive integer n, let Sn = g(2k). Find the greatest integer n less
k=1
than 1000 such that Sn is a perfect square. (AIME 2006 Problem 13)
10. The US, the UK, and China are competing for the top spot at the
Intentionally Misleading Olympiad. Each has sent a delegation of 8
students to take the test, but upon arrival it is revealed they misun-
derstood the instructions! In fact, the organizers had meant that 8
students should take the test overall, not per country. In order to be
as fair as possible, the organizers will randomly designate each of the
8 seats, arranged in a line, with either “US”, “UK”, or “China”. How-
ever, the organizers recognize that the US participants and the UK
participants both work in English, and so they decide that no student
from the US can sit next to a student from the UK. Chinese partici-
pants, however, have no such restrictions. In how many ways can the
organizers assign seating?
7
Geometry 2
62
QED Monthly Volume 1 Alexander Katz Page 63
For example, if we want to find the distance between p the origin and the
point
√ (3, 4), we can simply use this formula to get (4 − 0)2 + (3 − 0)2 =
25 = 5. This is great, but of course this is not the only tool in our box.
Recall that given 2 points, there is exactly 1 line going through both of
them. If this is the case, we should be able to find this line? Right? Of
course we can! First we need to define another useful concept: the slope of
a line. The slope of a line is the ratio of the vertical change to the horizontal
change between two points. More formally, the slope between the points
−y1
(x1 , y1 ) and (x2 , y2 ) is xy22 −x 1
.
Exercise: Explain, in words, what it means if two different lines have the
same slope.
So how do we find the equation of a line between two points? First off,
we can write any (non-vertical) line in the form
y = mx + b
for some constants m and b. Note that if x increases by some number a1 ,
then y increases by m · a1 . In other words, the ratio of the vertical change to
the horizontal change is m. But we also know that this is the slope between
two points! Therefore m is the slope of this line. You may have seen the
QED Monthly Volume 1 Alexander Katz Page 64
y2 − y1 13 − 7 6
m= = = =3
x2 − x1 5−3 2
Therefore our line is y = 3x + b for some b. Plugging in (3, 7) to this
equation gives 7 = 3(3) + b =⇒ 7 = 9 + b =⇒ b = −2. Thus the desired
line is y = 3x − 2.
Using these tools, we are able to dive into some problems. Note that
since translations and rotations rarely affect our problems, we can usually
assume that one of the given points is the origin and a given side length
runs along a coordinate axis. While not strictly necessary, this makes the
algebra significantly nicer.
for some b, which turns out to be 0 after plugging in either point. Thus the
equation of the line ED is y = x.
To find the intersection point of these two lines, we simply note that both
equations must simultaneously hold. In particular, we must have y = x and
y = − 12 x + 3. This implies that x = − 12 x + 3 =⇒ 23 x = 3 =⇒ x = 2.
Putting this back in to either of the equations, y = 2. Thus point F lies at
(2, 2).
Finally, we can finish the problem.
p Since point A is at√(0, 3) and point
F is at (2, 2), the length of AF is (2 − 3)2 + (2 − 0)2 = 5.
There are still several other important properties that we need to address.
Among the most important is dealing with perpendicular lines. Let’s say
that we already know the equation of a line l, and we want to find the
equation of a line m that goes through a specified point. Since there is only
one such line, we should theoretically be able to determine its exact equation
(in general, if there is only one possible value for something and we know
all the other variables, we should be able to determine the exact value of it.
However, this makes no guarantee that this value is workable!).
To do this, we can’t rely only on algebraic methods. As is typical when
using coordinates, we need to incorporate synthetic geometry ideas to make
the computations easier (or often even feasible!). Let us call the perpendic-
ular lines l and m. Let their intersection point be O. Pick arbitrary points
A and B such that A lies on l and B lies on m, and draw AB. We know
that ∠AOB = 90◦ . Drop an altitude from O to AB, meeting AB at C. We
QED Monthly Volume 1 Alexander Katz Page 66
thus know that ∠OCA = ∠OCB = 90◦ . We now have several equal angles,
so we begin to look for similar triangles. Fortunately, we don’t have to look
very far! We can easily find that BCO OCA, so CB OC
= OCAC
. But these
CB
quantities should seem quite familiar by now. Note that OC is precisely the
AC
slope of line m, while OC is the slope of line l. Well, almost. In fact, since O
lies “between” A and B, one of these quantities is actually negative (why?).
Therefore we have
Problem 2: A line l passes through the points B(7, −1) and C(−1, 7). De-
termine the coordinates of the point P on this line such that P is equidistant
from the points A(10, −10) and O(0, 0) (that is, so P A = P O). Express your
answer as an ordered pair (a, b).
Solution: The first thing we need to do is determine the equation of the
line l. The slope is 7−(−1)
−1−7
= −1, so the equation of the line is y = −x + b.
Plugging in either point gives b = 6, so the equation of the line is y = −x+6.
Approach 1: From here, we could write the p point as (a, −a + 6). The dis-
tance
p from (a, −a+6) to the point (10, −10) is (10 − a)2 + (−10 − (−a + 6))2 =
2 2
p(10 − a) + (a − 16) . The distance from (a, −a + 6) to the point (0, 0) is
a2 + (−a + 6)2 . Equating these gives
p p
(10 − a)2 + (a − 16)2 = a2 + (−a + 6)2
QED Monthly Volume 1 Alexander Katz Page 67
(x − 0)2 + (y − 0)2 = 32 ⇐⇒ x2 + y 2 = 9
√ √
so the points (0, 3), (3, 0), ( 2, − 7), and so on all lie on this circle.
This form tends to not be particularly useful, but in small diagrams it can
work quite well. We’ll do one quick problem:
Problem: Let γ be a circle with center O, and let B be a point on the circle.
Point P lies outside the circle such that P O ⊥ OB and P O equals the length
of the diameter of circle O. Compute PP B A
. (ARML 1999, paraphrased)
Solution: Let X be the center of circle O, and place it at the origin. Let r
be the radius of circle O. As P O ⊥ OB, we can assign P to lie on the x-axis
and B to lie on the y-axis. We also know that P O = 2r, so point P lies at
(2r, 0). As B lies on the circle, OB = r and so B lies at (0, r) (note that
we could also choose (−r, 0), but it makes no difference). Note that (where
mBP denotes the slope of BP )
y2 − y1 r−0 1 1
mBP = = = − =⇒ y = − x + b
x2 − x 1 0 − 2r 2 2
QED Monthly Volume 1 Alexander Katz Page 69
1
x2 + (− x + r)2 = r2
2
5
=⇒ x2 − xr + r2 = r2
4
5
=⇒ x2 = xr
4
4
=⇒ x = r
5
Thus y = 35 r, and point A lies at ( 54 r, 35 r). We can now find AB =
q 2 2 q q 2 2
4 3 4 4
5
r − 0 + 5
r − r = r 5
, and AP = 5
r − 2r + 35 r − 0 =
√
r 95
q q
9 AP
r 5 , so AB = √ 4
= 94 = 32 .
r 5
Summary:
We introduced the application of Cartesian coordinates to geometry
problems, a tool that allows the user to avoid the cleverness and inspira-
tion necessary for many difficult geometry problems at the cost of difficult
and lengthy computations. Although many students will try this method on
nearly all geometry problems they come across, such an approach is unlikely
to succeed in today’s environment. Almost always, synthetic observations
are necessary to aid in the computations, or the equations will quickly be-
come unworkable. Recall the clues within a problem that suggests the use
of coordinates: right angles mean easier computations (since we can place
the right angle at the origin, thus taking advantage of the coordinate axes),
and lines work well. Circles are usually a sign that coordinates are not the
correct method, though we have ways to express those algebraically as well.
correct answer with these types of educated guesses, learning to prove the
facts you notice is much more important.
Exercises:
Disclaimer: Almost all geometry problems are not intended to be solved
by coordinates. Thus you may likely see a purely synthetic solution, in which
case you’ve solved the problem “properly”. All of the problems below, how-
ever, have relatively ok coordinate solutions.
1. In 4ABC, ∠C is a right angle. Point M is the midpoint of AB,
point N is the midpoint of AC, and point O is the midpoint of AM .
The perimeter of 4ABC is 112 and ON = 25 2
. What is the area of
M N CB? (MATHCOUNTS)
2. A triangle had sides of length 10, 17 and 21 units. What is the radius
of its circumscribed circle? Express your answer as a common fraction.
(MATHCOUNTS)
9. Prove that
√ p √ q
√ √ √ √ √ √
a + x + b + y + c + z ≥ ( a + b + c)2 + ( x + y + z)2
Number Theory 2
a=b·q+r
The integer q is the quotient, and the integer r is the remainder. When
r = 0, we have a = b · q and so a is divisible by b (and a is a multiple of b).
For example, if a = 19 and b = 5, we have 19 = 5 · 3 + 4.
We further extend this to the concept of modular arithmetic. There
are several ways to define this concept - we present two equivalent ones.
Definition 1: For integers a, b, c, we say that
a ≡ b (mod c)
iff a − b is a multiple of c.
Definition 2: We say that
a ≡ b (mod c)
if the remainder when dividing a by c is equivalent to the remainder
when dividing b by c.
72
QED Monthly Volume 1 Alexander Katz Page 73
First we show why these definitions are equivalent. Assume the second
definition holds, and let a = c · q1 + r1 and b = c · q2 + r2 . Then r1 = r2 , and
so a = c · q1 + r, b = c · q2 + r. Subtracting these equations gives
a − b = c · (q1 − q2 )
implying that a − b is a multiple of c. Reversing the process shows
that the first definition leads to the second definition, so the definitions are
equivalent.
If we consider c = 12, we have a formal expression for the familiar concept
of a 12-hour clock. 13 hours after 1 o’clock is not 14 o’clock, but rather 2
o’clock. Continuing with the clock analogy, if c = 60 we have a formal
expression for how minutes and seconds work. If we do something every
week, we are in effect taking c = 7.
So why is modular arithmetic useful, and how is it used in contests?
There are several useful properties of modular arithmetic (often referred to
as ”mods”). We present a few below:
One might wonder how we knew offhand that 364 was a multiple of 7.
The simple answer is we didn’t! Instead we can use an iterative process,
using numbers that are ”obviously” multiples of 7. For example, you might
know that 350 is a multiple of 7 (if you don’t, subtract off a multiple you do
know such as 70), so
such a scary looking problem, we first look at small cases. For example, we
can find that the last digit of 31 is 3, the last digit of 32 is 9, the last digit
of 33 is 7 (since 33 = 27), the last digit of 34 is 1 (since 34 = 81), and so on.
At this point we can stop. By our third property, we have
What we really did in this problem is formalize a pattern that you could
have come across on your own. For example, if we had continued our search
to find 35 = 243, 36 = 729, 37 = 2187, 38 = 6561, we would have seen that
the last digits of 3n cycle 3, 9, 7, 1, 3, 9, 7, 1. This provides a good basis to
hypothesize that the last digit of 3100 is the same as the last digit of 34 ,
which we already know is 1. But using modular arithmetic gives us a way
not only to make this argument rigorous, but also to generalize to harder
problems.
Now we can expand to a slightly harder type of problem. By repeatedly
using property 3, we get that
This gives us a glimpse into the field of quadratic residues and the
more general power residues. For example, since x2 only takes on the
remainders 0, 1 in mod 4, we can make a simple observation about an oth-
erwise difficult-looking problem:
a2 + b 2 = c
Does there exist a modified Pythagorean triple with c = 9283?
Solution: No. Taking the equation (mod 4) gives
a2 + b 2 ≡ c 2 (mod 4)
now a2 ≡ 0 or 1 (mod 4) and b2 ≡ 0 or 1 (mod 4), so a2 +b2 ≡ 0 or 1 or 2
(mod 4). Since 9283 ≡ 3 (mod 4), we cannot have a2 + b2 = 9283.
n ≡ a2 − b 2 (mod 4)
Because a2 ≡ 0 or 1 (mod 4) and b2 ≡ 0 or 1 (mod 4), a2 −b2 ≡ 0 or 1 or 3
(mod 4). In particular, a2 − b2 cannot be 2 (mod 4).
We still have to check that every n ≡ 0, 1, 3 (mod 4) has a solution.
If n ≡ 0 (mod 4), then there exists a k such that n = 4k. Note that
(k + 1)2 − (k − 1)2 = 4k, so for every n ≡ 0 (mod 4) there exist appropriate
a, b. Similarly, (2k)2 − (2k − 1)2 = 4k − 1 ≡ 4k + 3 and (2k + 1)2 − (2k)2 =
4k + 1. Thus our answer is 250 + 250 + 250 = 750 .
Summary:
Up until AIME level, most of competition Number Theory amounts to
“set up the modular arithmetic and just do it”. Although a natural extension
QED Monthly Volume 1 Alexander Katz Page 77
of the concept of divisibility, this is another skill that many students oddly
don’t master until well into their competitive “careers”. Knowing which
moduli are useful for which types of problems is essential, and knowing how
to manipulate modular equations is just as important. Learning how to do
this quickly and efficiently will often result in quick solutions to problems
both at the beginnings and ends of tests, often without even needing any
difficult thinking whatsoever. The basics are illustrated in this article, but
as we see even the basics can be successfully used to approach even olympiad
problems.
Exercises:
1. Prove the second and third properties from the beginning of the article.
In particular, if a ≡ b (mod x) and c ≡ d (mod x), prove that
a + c ≡ b + d (mod x)
and
a · c ≡ b · d (mod x)
gcd(a, b) · lcm(a, b) = ab
n
32 + 22
is a perfect square.
Which moduli (plural of modulus) seem most useful when dealing with
cubes? For example, if you were given the problem:
“Prove there do not exist a, b such that a3 + b3 = 9431843?”
which modulus would you use to conveniently solve the problem?
10. Find, with proof, all positive integers n for which 2n + 12n + 2011n is
a perfect square. (USAJMO 2011)
9
Algebra 3
a2 + b2 + c2 ≥ ab + bc + ac
80
QED Monthly Volume 1 Alexander Katz Page 81
Theorem:
a+b √
≥ ab
2
We call this AM-GM because the left hand side (referred to as ”LHS”)
is the arithmetic mean, or average, of the variables, while the RHS (guess
what this means?) is the geometric mean of the variables.
We can prove this in elementary fashion as follows:
Proof:
a+b √
≥ ab
2
√
⇐⇒ a + b ≥ 2 ab
√
⇐⇒ a − 2 ab + b ≥ 0
√ √
⇐⇒ ( a − b)2 ≥ 0
which is true by the Trivial Inequality.
We extend this to the general AM-GM inequality, where a1 , a2 , . . . , an
are positive real numbers:
a1 + a2 + . . . + an √
Theorem (AM-GM): ≥ n a1 a2 . . . an
n
Note that the LHS is the arithmetic mean of n variables, while the RHS is
the geometric mean of n variables.
Proving this inequality is difficult, but many different approaches exist.
We present the celebrated Cauchy’s proof, due to its beauty, but acknowl-
edge that it is a particularly difficult proof to come up with. This proof
QED Monthly Volume 1 Alexander Katz Page 82
a1 +a2 +...+ak−1 r
a1 + a2 + . . . + ak−1 + k−1 a1 + a2 + . . . + ak−1
≥ k a1 a2 . . .
k k−1
r
a1 + a2 + . . . + ak−1 a1 + a2 + . . . + ak−1
⇐⇒ ≥ k a1 a2 . . . ak−1 ( )
k−1 k−1
a1 + a2 + . . . + ak−1 k a1 + a2 + . . . + ak−1
⇐⇒ ( ) ≥ a1 a2 . . . ak−1 ( )
k−1 k−1
a1 + a2 + . . . + ak−1 k−1
⇐⇒ ( ) ≥ a1 a2 . . . ak−1
k−1
a1 + a2 + . . . + ak−1 √
⇐⇒ ≥ k−1 a1 a2 . . . ak−1
k−1
as desired.
It is now clear why we chose ak = a1 +a2k−1 +...+ak−1
, as we wanted the LHS to
be the arithmetic mean of a1 , a2 , . . . ak−1 . Note, of course, that this proof is
likely not found by “working forwards” as the solution demonstrates. More
likely, we “work backwards” by beginning with what we are trying to prove
and attempting to reach, by reversable steps, something we are given.
QED Monthly Volume 1 Alexander Katz Page 83
Therefore, the induction is complete and the statement is true for all n.
The AM-GM inequality is one of the most useful inequalities in our ar-
senal. Below, we use it to tackle problems of increasing difficulty (in each,
we assume we work over the positive reals)
Problem 1: Prove that the sum of a positive real number and its reciprocal
is at least 2.
Solution: Let this number be a. Thus, we want to prove a + a1 ≥ 2. But
a+ 1
q
from AM-GM we have 2 a ≥ a · a1 =⇒ a + a1 ≥ 2, as desired.
1
Problem 2: Prove that ab + ab ≥ 2.
Solution: We can use AM-GM directly, or we can use another approach.
Remember from Problem 1 that a + a1 ≥ 2, thus b + 1b ≥ 2. Multiplying
1 1
these gives ab + ab + 2 ≥ 4, so ab + ab ≥ 2.
≥ (a1 b1 + a2 b2 + . . . + an bn )2
a1 a2 an
with equality iff b1
= b2
= ... = bn
We omit the proof here, encouraging the reader to make an attempt. Ad-
vanced readers familiar with vectors may recognize these summations. For
these readers, we suggest a geometric approach, and ask what the geometric
interpretation of the equality case is.
The best way to illustrate Cauchy-Scwartz is to delve into some examples
below. Note that oftentimes we are required to be extremely clever in our
solutions. Mostly we need to choose the appropriate ai , bi to achieve a desired
sum.
We begin with a direct application to solve a previous inequality:
1 √
r r
1 1 √ 1 2
(a + b)( + ) ≥ ( a · + b· ) = 22 = 4
a b a b
as desired.
or
64 · 25 ≥ (3x + 4y − 33)2
⇐⇒ 40 ≥ 3x + 4y − 33
QED Monthly Volume 1 Alexander Katz Page 85
⇐⇒ 73 ≥ 3x + 4y.
Thus, 73 is the greatest possible value.
So now we’re done with this problem, right? Wrong. We also need to
show that this bound is attainable, or that there actually exist numbers
x, y such that 3x + 4y = 73. Fortunately, we use the equality case to get
x−7
3
= y−3
4
, and plugging this back in does indeed give a solution. Always
remember that it is necessary to check the bound in similar cases, as it is
not at all rare to erroneously conclude that some number is the maximum
(or minimum) when there isn’t actually a way to attain it.
We could go through many more examples, but the best way to learn
is to struggle with problems on your own. Thus we provide some exercises
below. Please note that unlike our lower-level series, these exercises are very
difficult in relation to the text. Additionally, these exercises are very rarely
of the form ”What do you notice...”, as we expect that the serious stu-
dent who has reached this level will explore generalizations and extensions
without prodding. Full solutions, as would be written on an Olympiad, are
expected, or at least an outline of how to write such a rigorous solution. In
other words, show all necessary steps.
Summary:
Inequalities are very much contained to their own subject, but they come
up in some form on all levels of competition. Any type of maximation or
minimization problem is usually motivated by inequalities in (often not-so-
subtle) disguise. Although more of an olympiad level topic, inequalities have
been known to be used on several short-answer contests, even including the
AMC 12. The most basic and important inequalities in our arsenal are
the AM-GM inequalities and the Cauchy-Schwartz inequality, which solve
a great deal of problems seemingly effortlessly. Although, as we shall see,
they are not the only tools for dealing with inequality problems, a mastery
of their use will be sufficient to approach all but the hardest inequalities.
Exercises:
a2 + b2 + c2 ≥ ab + bc + ca.
2. Prove that
a2 b2 c2 d2
+ + + ≥a+b+c+d
b c d a
for reals a, b, c, d.
3. a, b, c are positive reals such that abc = 1. Show that a2 + b2 + c2 ≥
a + b + c.
4. Let x be a positive real number. Find the minimum value of x2013 + 2013
x
.
5. Prove that
a1 + a2 + . . . + an n
≥ 1 1 1
n a1
+ a2
+ ... + an
Combinatorics 3
n(n+1)
For all n, the sum of the first n positive integers is 2
.
88
QED Monthly Volume 1 Alexander Katz Page 89
Problem 1: Prove that the sum of the first n positive integers is n(n+1)
2
.
Solution: We will proceed by induction. The first thing we need to do is
demonstrate a base case. In other words, we need to show that the statement
is true for some value. We choose n = 1. Clearly the sum of the first integer
is 1 = 1(1+1)
2
, as desired. Thus the base case is true, and we know the
statement is true for n = 1.
We now proceed with the inductive step. Assume that the statement is
true for some n = k > 0. In particular, assume that for some k we have
1 + 2 + . . . + k = k(k+1)
2
. We already know that this is true when k = 1.
Given this, we will attempt to prove that the statement is true for the case
n = k + 1. In other words, we wish to show that:
(k + 1)(k + 2)
1 + 2 + 3 + . . . + (k − 1) + k + (k + 1) =
2
However, by the inductive hypothesis we know that the statement is true
when n = k. In other words, we know that
k(k + 1)
1 + 2 + 3 + . . . + (k − 1) + k =
2
Plugging this in, we need only show that
k(k + 1) (k + 1)(k + 2)
+ (k + 1) =
2 2
Problem 2: For all n > 0, show that one can always tile a 2n × 2n grid of
squares that has one corner square removed with L-ominos (e.g. a 2 × 2 grid
of squares with a corner removed)
Solution: We will proceed by induction, clearly labeling our steps for illus-
trative purposes.
Inductive Step:
Assume that the statement is true for some k. We will now attempt
to prove that the statement is true for k + 1. In other words, we need to
show that we can tile a 2k+1 by 2k+1 board that has a corner missing with
L-ominos. Divide the board into 4 pieces by drawing both lines of symmetry.
This results in three 2k × 2k boards, and one 2k × 2k board with a corner
removed. Note that these 4 boards intersect at the center of the original
2k+1 × 2k+1 board. Furthermore, note that there are 4 unit squares which
surround this point. Now, place an L-omino on 3 of these 4 unit squares
such that the square that is left uncovered by the L-omino is part of the
2k by 2k board that is missing a corner. Each of the resulting 4 boards are
2k ×2k boards with one corner removed, and thus can be tiled with L-ominos
by the inductive hypothesis. Hence, the original 2k+1 × 2k+1 board can be
tiled with L-ominos, completing the induction. This proves the statement.
This exercise was very similar to the previous one. We established a
base case, then proved that for any k, k implies k + 1. However, making the
inductive step work required a great deal of intuition and work. This holds
true for the majority of Olympiad induction problems. After reading the
above solution a couple of times, try repeating the problem with the phrase
“one corner missing” replaced by “one square missing (not necessarily a
corner)”.
We now introduce a second form of induction, often found in Olympiad
QED Monthly Volume 1 Alexander Katz Page 91
Problem 3: The game ”Last Stick” is played between two players. The
game begins with 2 piles of sticks, each of which contains the same num-
ber of sticks. The first player then removes any positive number of sticks
from either pile. The second player does the same. This continues, with the
players taking turns removing sticks. The winner is the player that removes
the last stick. Show that, assuming both players play optimally, the second
player will always win.
Base Case: Choose n = 1. Whichever pile the first player chooses, the
second player will remove the other pile, which removes the final stick (and
follows our strategy above), winning.
Base Case: n = 1
f there is only one horse in the ”group”, then clearly all horses in the group
have the same color.
Inductive step: Assume that k horses are always the same color for some
n = k. Consider a group consisting of k + 1 horses. First, exclude the
last horse and look only at the first n horses. By the inductive hypothesis,
all these horses are the same color. Likewise, exclude the first horse and
look only at the last n horses. These too, must also be of the same color.
Therefore, the first horse in the group is of the same color as the horses in
the middle, who in turn are of the same color as the last horse. Hence the
first horse, middle horses, and last horse are all of the same color, and we
have proven that all k + 1 horses are the same color.
The induction is complete, and thus all horses must be the same color.
.
However, the flaw in this proof is the base case itself. When we attempt
to apply the method used in the inductive step to n = 2, we see that there
are no middle horses to apply the transitive property to. In particular, the
statment “Therefore, the first horse in the group is of the same color as the
horses in the middle, who in turn are of the same color as the last horse.”
is false for n = 2. This makes our inductive step faulty. Indeed, our base
case should actually be n = 2. If the statement ”any 2 horses are the same
color” were true, then our proof would be completely correct. However, this
statement is false (consider any two horses of different color), thus our proof
is faulty.
Like many advanced techniques, there is much more to say about the
subject. But, also like most advanced techniques, the best way to learn how
to properly apply them is to work on problems by yourself. Thus we close
the article with a few tips, and move to our exercises section.
Summary:
Induction is an extremely powerful tool in mathematics, but it is also
one of the most difficult to conceptually visualize. One way to interpret it
is as a method to “formalize” patterns that appear to be self-evident. For
this reason, many students without notable experience in proofs are either
unfamiliar with or do not know how to properly utilize induction. As such,
induction has become a favorite of Olympiad problem writers all over the
world.
Below we present a list of exercises. Please note that unlike our lower-
level series, these exercises are very difficult in relation to the text. Addi-
tionally, these exercises are very rarely of the form ”What do you notice...”,
as we expect that the serious student will attempt extensions without prod-
ding. Full solutions, as would be written on an Olympiad, are expected.
Exercises:
1. Show that the sum of the angles in any n-gon (e.g. a polygon with n
sides) is equal to π(n − 2) radians, which is equivalent to 180(n − 2)
degrees.
2. Prove the following (well-known) formulas:
QED Monthly Volume 1 Alexander Katz Page 94
n(n+1)(2n+1)
• 12 + 22 + . . . + n2 = 6
n2 (n+1)2
• 13 + 23 + . . . + n3 = 4
= (1 + 2 + . . . + n)2
6n3 −3n2 −n
• 12 + 42 + 72 + . . . + (3n − 2)2 = 2
1 3 2n − 1 1
· · ... · <√
2 4 2n 2n
QED Monthly Volume 1 Alexander Katz Page 95
1 2 3 2n − 1 1
< · · · ... =
2 3 4 2n 2n
but this is clearly not a very strong bound. Show that we can get the
stronger bound
1 3 2n − 1 1
· · ... <√ .
2 4 2n 3n + 1
8. Prove Bernouilli’s Inequality: If x ≥ −1 then (1 + x)n ≥ 1 + nx for all
nonnegative integers n.
1 1 1
2
+ 2 + ... + 2 < 2
1 2 n
1 1 π2
(Do not use the fact that + + . . . = . That’s cheating!)
12 22 6
10. Show that
v s
u r
√
u q
t
1 + 2 + 3 + ... + n < 3
Geometry 3
96
QED Monthly Volume 1 Alexander Katz Page 97
This is well and good, but it’s not immediately clear how we should go
about proving this. We have already seen how to approach the problem in
the special case where AB is a diameter, so let’s try the same approach of
using radii to find isosceles triangles. We need to split our approach into two
cases: when ∠BCA > ∠BCO, and when ∠BCA < ∠BCO (why?). Note
that if ∠BCA = ∠BCO then AC is a diameter, a case we have already
dealt with.
Note that the measure of the intercepted arc is the same as its central
angle, so this definition is equivalent (but slightly easier to remember)
You might notice that nothing in this theorem uses the placement of B.
Indeed, this is the most important consequence of the theorem. Wherever B
lies on the circle, the angle ABC is equal to half the arc AC. In other words,
if there exist points B and B 0 on the circle such that either both B and B 0
lie on the major arc AC or both B and B 0 lie on the minor arc AC, then
∠ABC = ∠AB 0 C. What happens if B and B 0 lie on opposite arcs? Well,
then ∠ABC and ∠AB 0 C are half the minor arc AC and half the major arc
AC (in some order), meaning that their sum is half the whole circle. This
means ∠ABC + ∠AB 0 C = 180◦ .
This gives us 2 of the most important qualities of cyclic quadrilater-
als. A cyclic quadrilateral is a quadrilateral ABCD for which there exists
a circle O that goes through each of the points A, B, C, D. In general, when
we refer to such a quadrilateral it is implied that A, B, C, D are in clockwise
(or counterclockwise in some cases) order. Because they subtend the same
arc, we know that ∠ABD = ∠ACD, and a host of other similar relations
such as ∠DBC = ∠DAC. Furthermore, we know that ∠ABC + ∠ADC =
1
2
(the whole circle) = 180◦ , and similarly ∠BCD + ∠DAB = 180◦ . What
is truly important, however, is that the converse of these statements is also
true. In other words, if ∠ABC + ∠ADC = 180◦ , then ABCD is a cyclic
quadrilateral. Similarly, if ∠ABD = ∠ACD, then ABCD is a cyclic quadri-
lateral. This means that if we discover ∠ABC + ∠ADC = 180◦ , we can
immediately conclude that ∠ABD = ∠ACD, or ∠BDC = ∠BAC, and
so on.
As usual when we have lots of equal angles, we can find a number of
similar triangles. Let’s draw the diagonals AC and BD of cyclic quadri-
lateral ABCD, and call their intersection point P . Becuase they subtend
the same arc, ∠ABD = ∠ACD. Similarly, ∠BAC = ∠BDC. This means
that 4ABP and 4DCP are similar, or BP CP
AP
= DP . Rearranging terms gives
BP · DP = AP · CP . Notice that B, P, D and A, P, C are collinear, so this
gives us a very useful result:
B lie on circle O such that A, P, B are collinear. Define the power of point
P to be AP · BP . Because of the above, the power of point P is independent
of our choice of points A,B.
If you drew a diagram for this, you might notice yet another useful fact.
Let ∠ABD = ∠ACD = x and ∠BAC = ∠BDC = y. Then ∠AP B =
180−x−y. But we also know that ∠ABP +∠BAP = x+y = 21 (AD d + BC),
d
so ∠AP B = 12 (ABd + CD).
d In other words, we can extend the concept of
inscribed angles as follows:
∠P AB = 180 − ∠DAB = ∠P CD
∠P BA = 180 − ∠CBA = ∠P DC
AB · CD + BC · AD = AC · BD.
QED Monthly Volume 1 Alexander Katz Page 100
All of this above means that we have several equivalent conditions for a
quadrilateral to be cyclic. This means that if you are able to prove just one
of them, all of the others automatically hold (in each of these, ABCD is a
quadrilateral):
• ∠ABD = ∠ACD
• Let AC ∩ BD = P . Then P A · P C = P B · P D.
• AB · CD + BC · AD = AC · BD.
• For any two lines AB, CD such that A, B, C, D lie on the circle and
AB ∩ CD = P , we have AP · BP = CP · DP . Note that this holds
whether P is inside or outside the circle.
• If point P lies outside the circle, and the line P Q is tangent to the circle
with Q lying on the circle, the power of point P is P Q2 . By extension,
if points A, B lie on the circle such that P, A, B are collinear, we have
P A · P B = P Q2 .
Of course, things are not usually this direct. Usually we need to utilize
cyclicity to discover convenient equal angles, as in the following problem:
AQ · P R = AP · RQ + AR · P Q
AC AB AD
=⇒ AQ · P R · = AP · RQ · + AP · P Q ·
PR QR PQ
=⇒ AQ · AC = AP · AB + AP · AD
as desired.
We can look at an example now that uses the power of a point theorem
in a clever way. Note that there is often a strong relationship between right
angles and cyclic quads/power of a point.
=⇒ Y D2 + Y D · CD = ZC 2 + ZC · CD
=⇒ (Y D − ZC)(Y D + ZC + CD) = 0
QED Monthly Volume 1 Alexander Katz Page 103
=⇒ Y D = ZC
completing the problem.
Exercises:
AB · CD + BC · DA = AC · BD.
2. Kelvin the frog lives at point A, the origin, in the coordinate plane.
Points B, C, D, E lie in the first, second, third, and fourth quadrants
respectively such that AB = 1, AC = 4, AD = 24, AE = 6 and BD ∩
CE √= A. If BC is an integer, then the length of CD can be written
as a b, where a and b are positive integers greater than 1 and b has
no perfect square factors other than 1. Compute a + b. (AAST Mock
AIME/ASIA TEAM [paraphrased])
5. Let ABCD be a square, and point E be a point inside the square such
that ∠BAE = 9◦ and ∠BCE = 36◦ . Compute ∠ADE.
10. Let A be a point outside circle O and AB, AC be the tangents from
A to O such that B, C lie on the circle. Let ` be a line through
A that intersects the circle at D and E, so that D lies between A
and E. Let line m be the perpendicular through D to OB, and let
m ∩ BC = F, m ∩ BE = G. Show that F is the midpoint of DG.
12
Number Theory 3
x2 ≡ 5 (mod n)
Let the prime factors of n be p1 , p2 , . . . , pk . Then there exists an a such
that x2 = ap1 p2 . . . pk + 5, and so
106
QED Monthly Volume 1 Alexander Katz Page 107
Now we’ve hit gold. Besides 2, every prime on this list is 0 or 1 (mod 3).
This is exactly the quadratic residues modulo 3! Now note that
Exercise: Produce the same table for n = 4. Do the same for any other
composite number. Do either of our statements hold?
Exercise: Produce the same table for n = 7 and n = 13. Which rules hold
in which cases?
After doing the two exercises above, we may conjecture:
Conjecture:
N c−1
= ±1 ≡ N 2 (mod c)
c
where N and c are relatively prime.
The proof of quadratic reciprocity is relatively involved, but not alto-
gether overly difficult with some guidance. Several of the exercises below
guide the solution.
Summary:
Unlike our other articles, Quadratic Reciprocity is a topic that is gen-
erally useful only on olympiad problems. We include it here, however, as
an example of both a high-level article and the far-reaching applications of
Number Theory. The process of deriving and proving the result is the impor-
tant part, which develops a great deal of useful intuition. We do, however,
freely admit that it is more of a “for fun” article than one that may prove
to be useful on competitions.
Exercises:
2. Recall from earlier that 2 is given it’s own special case as it is not equiv-
alent to either 1 or 3 (mod 4). Prove, or at least convince yourself,
that 2 is a quadratic residue modulo p if and only if p ≡ ±1 (mod 8),
and −2 is a quadratic residue modulo p if and only if p ≡ 1, 3 (mod 8).
4. Working over modulo p, prove that the product of any two quadratic
residues is a quadratic residue, the product of any two quadratic non-
residues is a quadratic residue, and the product of a residue and a
nonresidue is a nonresidue.
If it follows that
a−1 b−1
b2 ≡ 1 (mod a) a2 ≡ 1 (mod b)
b−1 a−1
a 2 ≡ −1 (mod a) b 2 ≡ −1 (mod a)
A−1 a−1
a 2 ≡ 1 (mod A) A 2 ≡ 1 (mod a)
A−1 a−1
a 2 ≡ −1 (mod A) A 2 ≡ −1 (mod a)
b−1 a−1
a 2 ≡ 1 (mod b) b 2 ≡ 1 (mod a)
a−1 b−1
b 2 ≡ −1 (mod a) a 2 ≡ −1 (mod b)
B−1 b−1
b 2 ≡ 1 (mod B) B 2 ≡ −1 (mod b)
B−1 B−1
b 2 ≡ −1 (mod B) b 2 ≡ 1 (mod b)
QED Monthly Volume 1 Alexander Katz Page 112
7. Show that
q
p p
: p ≡ 1 (mod 4) or q ≡ 1 (mod 4)
=
q − q : p ≡ 3 (mod 4) and q ≡ 3 (mod 4)
p
p
where q
is the Legendre symbol.
p−1
a, 2a, 3a, . . . , a
2
and letting n be the number of these residues greater than p2 , we have
a
= (−1)n
p
For example, when p = 11 and a = 7, we consider the numbers
7, 14, 21, 28, 35. Reducing these modulo 11 gives 7, 3, 10, 6, 3, of which
6, 7, and 10 are greater than 112
. Thus Gauss’s lemma tells us that
7
11
= −1, which is correct as 7 is a quadratic nonresidue modulo 11.
10. With the help of the 8 theorems above, we can now prove quadratic
reciprocity if the following lemma is true. Prove it:
113
QED Monthly Volume 1 Alexander Katz Page 114