Wednesday, May 29, 2013

Concluding Remarks: What's Next?

My materials are due Friday, however, due to the senior trip, I will submit them on Thursday. I guess that means my project is done. I have no machine built, I have no performance routine perfected. My scores have not improved drastically (it does not help that I've been taking increasingly harder exams).

I don't really have any sense of closure for my project. By no means is my preparation over.

So, what I will do is as follows: I have just conducted two very helpful interviews with people who are very distinguished in math competitions. I have attempted some kind of training regimen for some time. I can use these experiences to come up with a training plan for the summer. Thereby I can end my WISE experience with something concrete, and also continue my obviously incomplete training.

The sources I have gleaned from my interviews are as follows:

Paul Zeitz's The Art and Craft of Problem Solving, I actually own this book and have done some work from it, however, I did not think to use it here.

Yufei Zhao's handouts from the training of the Canadian IMO team. I have seen a few these before, and I am not surprised that they come recommended from both my interviewees. I've actually cited them for some research papers before, but I've never used them for actual training.

I will cite these sources in my works cited as future training materials.

My plan is basically as follows:

Attempt to work through Zeitz, to get general improvement in problem solving-skills. I will try to take practice exams, under exam conditions, every weekend or so.
When I find topics I feel are important, I will work on them via appropriate handouts from Yufei Zhao.
Later in the year, when the Putnam exam approaches, I will switch to Putnam and Beyond, and work on problems in more advanced topics (analysis, abstract algebra, other stuff that isn't really covered in Zeitz).




Research Entry: Personal Interview: Forest Tong

Yesterday, I interviewed Forest Tong, who was a USAMO honorable mention (meaning that at one point, he was top 20 in the country in competitive math). He is also the founder of the Ithaca Math Circle, an organization of which I was formerly a part. I asked him the same questions as I asked Ofer, hoping to get a different perspective. Forest is currently a student at MIT.

I: What contests did you participate in?
F: Let's see: AMC, AIME, USA(J)MO, ARML, NY(S)ML, Purple Comet, PUMaC, HMMT, MAML, OMO, Mandelbrot, that should be it...

I: What were your primary training resources for each one?
F: For specific contest training, I would just do past tests and look over the solutions. For getting better at problem-solving in general, I read through and did almost all the problems in Paul Zeitz's Art and Craft of Problem-Solving, which by the way is one of the best books ever written. I also used the AoPS series and classes (WOOT and Olympiad Geometry), and occasionally random handouts on the internet like Yufei Zhao's.

I: How much did you practice for each competition?
F:. I did a lot of AMC, AIME, and USAMO practice tests -- my best estimate would be around 20 AMC's, 10 AIME's, and 10 USAMO's, not including WOOT practice. But the majority of my practice time was spent doing problems in Zeitz. I aimed to spend about an hour a day on problem-solving, even in little chunks of time like while on the bus in the morning.

I: Do you have any general advice for me?
F: Paul Zeitz. No seriously, the first couple of chapters of his book are the best problem-solving advice I've ever encountered.


I: In particular, what are the differences between succeeding in the
Putnam exam vs more "traditional" Olympiads such as the USAMO, IMO,etc?
I: What other options do I have for math competitions in college other than
Putnam and International Math Contest?

F:Putnam is a lot about speed -- you only get half an hour for each problem, I think. The problems often involve only one trick, and can sometimes be pretty contrived. I generally like USAMO problems better, though I have no idea what the writers have been doing in recent years.

F: What's the International Math Contest? I haven't heard of people doing any competitions in college other than Putnam. At MIT, problem-solvers tend to turn to things like the Mystery Hunt.


Monday, May 27, 2013

Research Entry: Personal Interview: Ofer Grossman

Today I interviewed Ofer Grossman, a friend of mine with many impressive achievements in mathematics contests. (Honorable Mention at the International Mathematical Olympiad, Honorable Mention at the United States of America Junior Mathematical Olympiad, top 500 in Putnam, and winner of the Rochester Olympiad) 

Here is the transcript of the interview:
It has been edited to only the information necessary, no formalities. 

I: What contests did you participate in?
O: I participated in the International Mathematical Olympiad, the United States of America Junior Mathematical Olympad, Putnam, the United States of America Mathematical Olympiad, and many competitions in Israel, including national olympiads and team selection tests for the IMO. 
I: What were your primary training resources for each one?
O: In general, I did practice competitions. I also used Paul Zeitz's book, the Art and Craft of Problem Solving, as well as Yufei Zhao's handouts to the Canadian IMO team. 
I: How much did you practice for each competition?
O: About 1000 hours in total.I: Do you have any general advice for me?
O: You should really focus on problems you cannot solve, and I'm not sure how to explain this, don't solve them, but in a satisfying way.
I: What does that even mean?

O: Basically, try to make very significant progress on them, before eventually looking at a solution, don't just give up. 

I: In particular, what are the differences between succeeding in the
Putnam exam vs more "traditional" Olympiads such as the USAMO, IMO,
etc?

O: It's pretty similar, Putnam obviously incorporates some calculus and other more advanced topics, but you know all the math necessary, so it's basically the same. I find that Putnam solutions are often less "pretty" than USAMO ones. 
I: What other options do I have for math competitions in college other than
Putnam and International Math Contest?


O: There are always some kind of local Olympiads. Also, another good thing you can do is write contest problems for local competitions. 

Tomorrow, I will interview another contact of mine, with essentially the same questions, and compare results. 

Tuesday, May 21, 2013

What my presentation will be like:

I do not have a product to show, I don't have super tangible evidence of growth. Performance on an individual exam is pretty variable, and my sample size is not very large. I basic "what I did" presentation will turn out pretty uninteresting, however I frame it.

However, I have an idea. I want to present some problems. These problems will be very simple, in the sense that one does not need background to solve them. However, they will not be easy. Some of them will be ones already discussed here. Others, I can find elsewhere.

The purpose of doing this is to give viewers a concrete idea of what I've been doing. And, furthermore, to hopefully convince at least one of them, that math isn't limited to the boring drivel that they probably learned in school. That math can be interesting, fun, and engaging.


Sunday, May 19, 2013

Mersenne and Fermat Primes

The material we discussed in the previous entry actually prepares the reader very nicely for a discussion of Fermat and Mersenne primes.

Mersenne primes are primes of the form 2^n - 1.
Fermat primes are primes of the form 2^n + 1.

We can show very easily that if 2^n-1 is prime, n must also be prime. As otherwise, if n=ab, 2^a -1 divides 2^n - 1.

Similarly, if  2^n + 1 is a prime, n must be a power of 2, otherwise if n=(2^m)(2k+1), we have that (2^(2^m) + 1) divides  2^n + 1.

Mersenne primes are notable partially because they are easier to test for "prime-ness" than other numbers, the largest known prime is currently a Mersenne prime (The exponent is 57,885,161). , and they are also used in cryptography, in the "Mersenne Twister" pseudorandom number generator.  It is conjectured that there are infinitely Mersenne primes, but this has not yet been proven.

Fermat primes are somewhat more enigmatic, as Fermat conjectured that for n=2^k, for any k, one would get a prime number. However, this conjecture was believed to result from a computational error and was handily refuted by Euler, who showed that k=5 gives a composite number. We actually know no Fermat primes other than k=0,1,2,3,4.

There are plenty of very interesting open questions in mathematics regarding both Fermat and Mersenne primes.


Algebra: Factoring (a^n - b^n)

Now that finals are over, I can resume serious work on this project.

I moved to the Algebra section of Putnam & Beyond, because I was now interested in something more than heuristics.

Something that comes up very often in contest problems is the factorization of a^n-1 and a^n+1.

It is easy to see that a^n -1= (a-1)(1+ a + ...a^(n-1))

And similarly, if n is odd, a^n + 1 =(a+1)(1 - a +a^2 - ... +a^(n-1)).

If n=q*p, we can replace a with a^p or a^q, to get some different identities.

So we basically get that if p divides n, then a^p -1 divides a^n - 1.

Looking at this from a number theoretic perspective, we have the following result:

Theorem: Lifting Exponent Lemma

vp(x^n-y^n)=vp(x-y)+vp(n)
For x,y, integers such that p does not divide x or y, but divides x-y.

vp(x) is called the p-adic valuation of x, and is the largest k such that p^k divides x.
(e.g. v3(18)=2)

The proof of this theorem is a bit complicated, and I will not include it here.

Also, the solutions to most of these problems are not really supposed to involve this theorem, but it is a result I know, so I will use it.


Problem:
Show that for an odd integer n ≥ 5,
(nC0)5^(n-1)-(nC1)5^(n-2)+(nC2)5^(n-3)....+(nCn-1)
is not a prime number.

Recall that (a+b)^n=(nC0)a^n + (nC1)(b(a^(n-1)) +... (nCn)b^n.

Thus our expression is equivalent to:

(((5-1)^n)/5)+(1/5)=(4^n+1)/5

So we now just need to show (4^n+1)/5 is not prime.

For any n>5, pick some p dividing n. By Lifting the Exponent, vp(4^n+1)=vp(5)+vp(n)>0.
So, p|(4^n +1), and, since p is not 5, dividing by 5 does not change this fact.
(If p is 5, then we have v5(5)+v5(n)>1, so when we divide by 5, we reduce the exponent of 5 by 1, so we still get something nonzero)

So if p divides n, p divides (4^n+1)/5, to show (4^n+1)/5, we need to show it must have another divisor, however this is obvious, as (4^n+1)/5 > n>=p, so (4^n+1)/5 is not equal to p, and thus must have another divisor.


Problem: Let a and b be coprime integers greater than 1. Prove that for no n ≥ 0 is a^2n +b^2n
divisible by a + b.

Note that (a+b) divides a^2n-b^2n. (a^n-b^n)(a^n+b^n), if n is even, then (a^2-b^2) divides (a^n-b^n), and (a+b) divides (a^2 - b^2). If n is odd, then (a+b) divides (a^n+b^n).

Assume for the sake of contradiction that  for some n, a^2n +b^2n is
divisible by a + b.

Since (a+b) also divides a^2n-b^2n, it divides their difference, 2b^2n.

However, this is impossible, as (a+b) is coprime to b, so we must have (a+b)=2, which cannot happen as a,b>1!












Sunday, May 12, 2013

Putnam 2010: Part 2

Today, I took the second part of the 2010 Putnam. This part was actually a lot harder than previous one, so I'm not surprised I only got one problem here as well. My solutions plus preliminary work put my score at maybe a 24-25, which is actually outside the top 500 for this exam, which is quite dismal.
I am going to chalk it up to my not thinking straight, coupled with some stress due to upcoming exams.

Given that A, B, and C are noncollinear points in the
plane with integer coordinates such that the distances
AB, AC, and BC are integers, what is the smallest
possible value of AB?

For convenience, let A be (0,0). (If you have a triangle that satisfies the statements, you can translate it any of its points to the origin, as you are subtracting integers from all the coordinates)

After some experimentation, I got a value of 3. (Achieved by B=(0,3), C=(4,0), or, if that's too mainstream for you, (10,24)).

I will now proceed to prove that this is as small as you can get, i.e. that AB=1 and AB=2 result in some ridiculous things.

The only way we can get AB=1 or AB=2, is if B=(0,1) or (0,2) (we can switch x and y coordinates, or replace them with negatives, but this can really just be fixed by flipping or switching our axes, so we don't really care), this is true because if B is not on the y-axis, then it has points (x,y), such that x^2 + y^2=1 or 4, and x,y are integers, which obviously cannot happen without one of them being 0.

If AB=1, the B=(0,1), let C be the point (x, y+1). Since AC is an integer, we have that x^2 + (y+1)^2=d^2 (by the Euclidean distance formula) Similarly, since BC is an integer, we have x^2 + y^2=c^2, so we get d^2=c^2+2y+1. However, y<c*, and (c+1)^2=c^2+2c+1>c^2+2y+1, so d^2 is between c^2 and (c+1)^2, so it cannot be the square of an integer. Thus we have a contradiction and AB cannot be 1.

if AB=2, then we do the same thing, except call C (x, y+2).

Using similar, equations, we get d^2=c^2+4y+4.  However, y<c, and (c+2)^2=c^2+4c+4, so c^2<d^2<(c+2)^2, so d^2=(c+1)^2, as d^2 is the square of an integer. So, 4y+4=2c+1, which is false because the left hand side is even (multiple of 4), and the right hand side is odd (one plus a multiple of 2).  Again, we reach a contradiction. So AB cannot be 1 or 2, and thus has smallest value 3.

*y<c because x is not equal to 0, and x^2+y^2=c^2. If x was 0, then both B and C would be on the y-axis, and then A,B,C would be co-linear.



Putnam 2010: Day 1

I took the first part of the Putnam 2010 exam yesterday, it did not go well. I actually liked most of the problems that day, and probably could have gotten three of them. I'm pretty sure I solved only one. (I'm trying to check a solution for a second problem at the moment). For most of the other problems I attempted, I was starting on some incorrect premise, which kind of threw me off. I guess what I should take away from this is that I need to be more careful.

So, here is the problem I did solve, it's actually really easy, and didn't take very long:


A1 Given a positive integer n, what is the largest k such
that the numbers 1,2, . . . , n can be put into k boxes so
that the sum of the numbers in each box is the same?
[When n = 8, the example {1,2,3,6},{4,8},{5,7}
shows that the largest k is at least 3.]

The answer is floor((n+1)/2) (floor(x) denotes the greatest integer smaller than x).
The reasoning is as follows:
If you have a k larger than that, you must have at least 2 boxes with a single number in them, since all the numbers are distinct, then the sums of the numbers in those two boxes are different. (To see this, if only one box has a single number, and each other box has at least two numbers, you get a total number of numbers larger than n).


To show that it's achievable, note that if n is even floor((n+1)/2)
=n/2. So we can just pair the numbers: (1,n), (2,n-1)..., so they all have sum n+1, and put one pair in each box.
With n odd, floor((n+1)/2) becomes (n+1)/2. So we can have one box with just (n), along with the pairs (1,n-1) (2,n-2), etc, all of which sum to n.


Sunday, May 5, 2013

Mental Update: What am I doing?

Things have changed from when I was responding to the happiness article. I am definitely not in a state of flow. The past 3 sections on which I am working (Pigeonhole, Extremes, Invariance) have actually proven mostly intractable for me. I don't have solutions for most of the problems in each section. I definitely need to spend more time on this project. I don't think I've put enough effort these past week. This coming week, I have to prepare for Cornell finals, and also submit a very lengthy independent project for one of my classes, which is largely the reason for my not having done a Putnam exam today. However, I do not intend to shortchange myself, and I will therefore, on top of everything else, take a Putnam exam sometime in the middle of this week, and, somehow, spend more time on the other areas of my project.

Invariance

I have been doing various problems from Putnam and Beyond, but I think it's time to post about a new section, Invariants. An invariant is simply something that does not change. I'll give an example of how they can be used to solve contest problems:

67. An ordered triple of numbers is given. It is permitted to perform the following
operation on the triple: to change two of them, say a and b, to (a + b)/
√2 and (a − b)/√2. Is it possible to obtain the triple (1,√2, 1 +√2) from the triple
(2,√2, 1/√2) using this operation?

Let's say we start with a triple (x,y,z), what we can do is find something that does not change when we apply our operation, and if that something is different for our beginning and desired end, then we are done, and we cannot go to that end.

Our invariant turns out to be I(x,y,z)=x^2+y^2+z^2. As
((a + b)/√2)^2 + ((a − b)/√2)^2=(1/2)((a+b)^2-(a-b)^2)=a^2+b^2
Therefore, whichever two numbers from (x,y,z) we pick as our a and b, the sums of their squares are the same.

t I(1,√2, 1 +√2)=6+2√2
and I(2,√2, 1/√2)=6+1/2, which are definitely not the same thing, so we are done.





Thursday, May 2, 2013

Happiness Response

So, basically, I haven't done much during the past couple days, because I had to go through a very difficult college decision process. (Say what you will, but I think deciding where I go for the next 4 years takes priority over pretty much anything else). Here is my response to the "Happiness Revisited" handout in class.

1) When do you feel the most happy?
When I am pursuing something I like, on my own terms, and doing well at it.

2) React/respond to article:

I think I largely agree with the idea of optimal experience. I spend a lot of time doing stupid stuff, relaxing, wasting time on the internet. But never during those points have I been as happy as when I've solved a difficult math problem. There is definitely a difference in the feeling you get when you are really actively doing something, than when you are just watching or reading or listening the work (of whatever kind) of someone else. One cannot happy if one does nothing.

3,4,5) I am pretty okay, as it comes to flow. Each section of Putnam and Beyond, and each exam I take, has some easy problems, and some difficult ones, so I can do enough not to be anxious, and still have plenty of challenges to keep me interested. This has basically been the story throughout the course of this project, so I am very happy that I've switched.

Sunday, April 28, 2013

4/28 Exam: Putnam 2008 Part B

This exam was somewhat problematic, in the interest of having to do other work, and a lack of concentration, I had to curtail it a bit. More importantly, I am having a lot of trouble grading myself. I only fully solved one problem, but I have what is almost complete work for two others, and I'm not really sure how much points I would get. (For the second problem, I am not sure what extent of rigour I need, for the third, I have a solution I am pretty confident works but it does not appear among the many official solutions, and is seemingly less complicated). I will have to talk this over both with Mr. Kirk, (just to provide a second opinion), and with someone who knows the competition grading process reasonably well, so that I may get an accurate idea of my score.

At worst (if I get one point for each of those problems), I get a 12, which gives me about a 24 or something for both parts. The cutoff for top 500 for this exam is around a 22, so this isn't terrible.

In the very best case, I would have probably gotten top 200. (This is 9 points for each problem, giving me a score of around 40). But I should probably not expect this.

Here is the one problem I solved completely:



Show that every positive rational number can be written
as a quotient of products of factorials of (not necessarily
distinct) primes.


For example, 10/9=(2!*5!)/(3!*3!*3!).
Recall that n! (n factorial) is 1*2*3*..n.

To prove this for all rational numbers, I actually need only prove it for prime numbers.

Any rational number is a product of numbers of the form p/q or 1/q, where p and q are prime, just split the numerator and denominator into their prime factorizations.

If I have a quotient representation for p, I have it for 1/p, by just taking the reciprocal of the representation. Similarly, I have representation for p and q, I have one for pq, by multiplying the representations. So we can generate all products of the form p/q, if we have all the primes.

We will prove that we can get all the primes by induction on the n-th prime number.

Base case 2=2!

Induction step: Assume it holds true for the 1st through nth prime numbers. Consider the n+1th, prime number, p_n+1. Take (p_n+1)!=(p_n+1)*[(p_n) - 1]!
Take the prime factorization of p_n!, it only has primes from 2 to p_n, (no larger primes can be represented in the factorial), but we have quotient representations for each of these primes, so we have a quotient representation for [(p_n) - 1]!, so we have one for 1/[(p_n) - 1]!, so we have one for (p_n+1)!/[(p_n) - 1]!, (as (p_n+1)! is the factorial of a prime). So we have a representation for p_n+1, and we are done.







Response to Comfort Zone Article

We were tasked to read and respond to this article in class:

For the most part, I disagree with this article. The old adage of "going out of your comfort zone" seems to me trite and overused. Most of the time it merely exposes you to some sort of pointless suffering. If I decided to stab myself with a knife, I would definitely be going out of my comfort zone! However, stabbing oneself is generally not considered a positive experience, or one that contributes to growth. Thus we need to reexamine the idea that going out of one's comfort zone is always a good thing. (I do mathematics, for me, a counterexample, no matter how silly, is a counterexample). It is not always productive, to go out of one's comfort zone for it's own sake, there needs to be another purpose. (Most likely personal growth)

What I think this means is that basically one should do things one believes to be good for oneself, which is a somewhat (read: very) empty statement, but it does not make the mistake of conflating growth and discomfort, when one can both have comfortable growth, and discomfort without growth.

Research Entry


With my project, I guess most of my regular entries are in some capacity "research". (I using print resources to increase my understanding). This is definitely an argument that can be made, but for the most part, what I'm doing is really just "training". So I think it would behoove me to do some actual research. 

I realized I never really explained what exactly the Putnam Exam was, how it is formatted, and how it is graded, so this will be my first research entry. My second will be about other competitions in which I can participate. 

The William Lowell Putnam exam is an annual competition for undergraduate students, administered by the Mathematical Associates  of America. There are two sets of 6 problems, separated by a lunch break. Each problem is graded out of 10 points. The median score is generally somewhere around 2 or 3 points out of 120. 

For each problem, the most common scores are: 0, 10, 9, and 1. A nine is a correct solution with one small mistake. A one is some correct reasoning, leading up to a solution. (Most competitions like this are not very generous with partial credit.)

Awards:

The top 5 finishers are given named Putnam Fellows, and are given $2500 each.
One of them is given a full ride to graduate school at Harvard University.

The next 9  finishers are given $1000 each, and the following 9 are given $250.

The next 50 or so are given Honorable Mentions.

The top 100, 200, and 500 are recorded in some manner.


I also found a lot of statistics from past competitions, which I can use to see where I stack up. 

Wednesday, April 24, 2013

Assignment from Monday

The assignment from Monday was to blog about some unwillingness or limitation that is preventing me from learning and growing.

I am fortunate to be doing a project that I am very comfortable with. I have basically used the WISE experience to force myself into doing something which I would have done anyway, but most likely failed to follow through.

In the realm of math, I am pretty open to trying new things. I am, however, not comfortable speaking to people I don't know, so I would find personal interviews difficult. However, with this project, I have so many contacts and friends who are experienced with competitive math, that the best people to interview would in fact be people I already know.

The only limitation I can think of is my fear of failure. I am currently in a section of Putnam and Beyond that has really not agreed with me, and under normal circumstances, I would move on to a  different section. However, I don't want to continue doing this. The only way for me to improve is do things that I could not do before. In order to do that, I need to pay even more attention to the problems I feel I can't solve.

Sunday, April 21, 2013

4/20 Test/Reflection

So I took the first day of the 2009 Putnam Exam yesterday. It was, as predicted, much harder than the previous exam I took, as that one was many years earlier. I solved one problem, and made some progress on another, but that was about it. I again found it hard to concentrate sometime after the 2-2.5 hour mark. It is probably a good idea to read up on some sort of "concentration exercises". However, I'm really happy I changed my project, and I think forcing myself to do competition math almost daily is definitely a good thing.

Without further ado, here is the problem I solved:


Let f be a real-valued function on the plane such that
for every square ABCD in the plane, f(A) + f(B) +
f(C) +f(D) = 0. Does it follow that f(P) = 0 for all
points P in the plane?

My initial guess was that yes, this is true. (For the following reason: if it weren't I would probably have to find a counterexample, which looks in this case very difficult and sort of annoying. (It's a little more than that, but if you do enough math problems, you get a sort of intuition for this kind of thing).

So I began to look for a "picture", that would confirm this. Basically a figure with a bunch of squares with some common points, I could apply the equation on each square and get some helpful cancellations.

As it turns out, this approach was successful, with the following solution:

Pick a point P in the plane.

Make it the center of some square ABCD.

Label the midpoints of AB, BC, CD, DA, E,F,G,H respectively. (The picture should look like this abysmal MS Paint diagram)



EFGH is a square (this is very easy to verify), as are AEPH, etc. (these are the "quarter squares")

So applying the function to each point in each quarter square and adding them gives:

f(A)+ f(E)+f(P)+f(H) + f(B)+f(E)+f(P)+f(F) + f(C)+f(F)+f(P)+f(G) +F(D)+f(G)+F(P)+f(H)=0, so

f(A)+f(B)+f(C)+f(D)+2(f(E)+f(F)+f(G)+f(H)))+4f(P)=0

but ABCD, and EFGH are squares, so f(A)+f(B)+f(C)+f(D)+2(f(E)+f(F)+f(G)+f(H)))=0

So f(P)=0, and we can make this construction for any point P, so we are done.

Saturday, April 20, 2013

Pigeonhole Principle

Apologies for the lack of posts, I have been in Columbia until last Wednesday on a college visit.

Over the past two days, I've worked on the next section of the Methods of Proof chapter in Putnam and Beyond, the Pigeonhole Principle. (Also known as the Box Principle, and many other names). Basically, if you have n holes, and more than n pigeons, at least two pigeons must go in one hole. The primary idea in solving a problem like this is to determine what are the pigeons, and what are the holes.

 I am actually pretty bad at these kind of problems, so I found this section mostly difficult.  I am probably going to continue with it for another day or two. 

Currently, I am definitely lacking in research posts, so I will probably devote most of next week to research.

Here is one of the few problems from the section I have solved. This one is so easy I honestly feel bad about posting it, but I really have nothing better post at this point.

Given 50 distinct positive integers strictly less than 100, prove that some two of
them sum to 99.

Divide the positive integers from 1 to 99 like so:

{1,98}
{2,97}
....
{49,50}

These will be our "holes"

I am assuming if we pick 99, that counts as "summing to 99" otherwise this result is not actually true. (The book's solution seems to agree with me here), so we can basically ignore 99. 

Notice that the remaining integers are all listed here exactly once, there are 49 pairs, and the numbers in a pair sum to 99. If we pick 50 integers (our "pigeons"), by pigeonhole principle, we have to pick 2 from the same pair, which means we have 2 that sum to 99. 




Saturday, April 13, 2013

First Test

Today, I took the first day of the 1992 Putnam Exam. I haven't taken a 3 hour math exam in some time, so I had to readjust. I began to lose concentration around the 1.5 hours mark, and was completely useless after an additional hour, so I basically ended up giving up 20 minutes early, because I just couldn't bring myself to do anything more. This will, I hope, improve with time and effort. I took it pretty casually, with a lot of bathroom/water breaks, and I didn't formally write up my solutions. I will be more rigorous with conditions as this process goes on.

The results themselves were actually relatively good. I solved the first and fourth problems, and basically solved the third, but made a stupid in error in getting the final answer. I will post about how Putnam is evaluated later, but I give myself 2.5 problems, which is 25 points. Had I bothered to check that error (which I would have in real competition settings), and written down some preliminary work in the other 3 problems, I would have gotten a 33. Looking at the competition statistics, this is already enough for top 200, (cutoff was 32), despite the fact that I only did the first half of the competition! This is pretty awesome, but unfortunately, it doesn't mean all that much.

The only real conclusion I can draw here is that the competition got significantly more difficult from 1992 to 2013. (In general, competitions get harder as time goes by, because more training materials are developed, and people put a lot more effort into practicing). I should probably concentrate on exams after the year 2000.

Sample Problem:


Prove that f(n) = 1 − n is the only integer-valued function defined on the
integers that satisfies the following conditions:
(i) f(f(n)) = n, for all integers n;
(ii) f(f(n + 2) + 2) = n for all integers n;
(iii) f(0) = 1.

Our approach will be to prove any function, f(n), with these properties must be equal to 1-n.

We are going to use a form of induction, similar to what was described in the previous section.

First, we'll prove it for even positive integers, then odd positive integers.

Since f(f(n))=n, f is it's own inverse, so
applying i) to ii), we get:
f(n+2)+2=f(n)

We are now going to use induction, except adding 2 instead of 1, to prove the statement for the even numbers.
Base case:
f(0)=1=1-0

if f(n)=1-n
f(n+2)=f(n)-2=1-n-2=1-(n+2)
So it is true for 0, therefore it is true for 2,4,etc.

Applying i) to iii), we get f(1)=0, so we can make the same argument for odd positive  integers. (f(f(0)=f(1))

For negative integers, note that when n is positive f(n+1)=1-(n+1)=-n, so f(-n)=f(f(n+1))=n+1=1-(-n), so it is true for negative integers, and we are done.



Update for 4/13: Induction

On Thursday and Friday, I did problems from the second section of Putnam and Beyond, induction. The essence of a proof by induction is the following:
You want to show a statement is true for all positive integers n. (Or nonnegative integers, or integers starting from 3, etc.)
You first show the statement is true for 1 (or whatever you are starting with, this is called the base case), and then show if it is true for some n, it is true for n+1. Then, since it is true for 1, it is true for 2, and 3, and so on. 

Easy example: Prove the sum of the first n odd integers is n^2. 
Base case: n=1, 1^2=1, this is true.
Induction step:
If 1+3+5+...2n-1=n^2 for some n, let us add the next odd number, 2n+1, to both sides, so
1+3+5+...+2n-1+2n+1=n^2 + 2n +1 
but n^2+2n+1 is precisely (n+1)^2, so the statement is true for n+1.

As with the previous section, this is a technique I am very familiar with, but I just wanted to do the problems. I found the problems in this section generally not too difficult, because the way to start is generally clear. (Use induction). I find that working from this book, and making more concrete plans, gives me a much better work ethic, because I have to write a post for each section.

Here is an example from the text that is not quite as easy. 

Prove that for any positive integer n ≥ 2 there is a positive integer m that can be
written simultaneously as a sum of 2, 3, . . . , n squares of nonzero integers.

We will induct on n, as before:
base case: n=2
m=5 works, as
4=1^2 + 2^2

Induction step: so there is an integer m, such that for some n, 
m is expressible as the sum of 2,3..., n squares of integers. We would like to construct an integer m2 such that it is also the sum of n+1 squares of integers. Our first instinct is, naturally, to add a square to m. This gives us a number that is expressible as a sum of 3,4,...n+1 squares, which is almost what we want. So we would also like it to be expressible as a sum of 2 squares. So if
m2=m+c^2
m=a^2 + b^2,
so m2=a^2 + b^2 + c^2  We would like to pick c, such that we can "collapse" this into two squares.  However, this is easy, pick c so that a and c form the two legs of a right triangle. (There is an easy algorithm to generate all integer valued Pythagorean triples, I will talk about in separate post because there is a very nice way to find it)

So a^2 + c^2 = d^2, so m=d^2+b^2, so m is expressible as a sum of 2 squares, so we are done. 

(Note, if a=1, we can't make a triple, so we will use b instead, if b=1, then m=2, but 2 only works as a choice of m for n=2, and we can pick m=5 instead)

Tuesday, April 9, 2013

Finalized Schedule

So I have obtained a copy of the book  Putnam and Beyond by Razvan Gelca and Titu Andreescu. It is a book that teaches a large amount of undergraduate mathematics, primarily for the purpose of preparing for competitions such as the Putnam competition. My tentative plan is to work through this book during the week, and take "tests" on weekends. (A test would be a complete competition of some kind).

The book gives the advice:


If you are a Putnam competitor, then as you go on with the study of the book try
your hand at the true Putnam problems (which have been published in three excellent
volumes). Identify your weaknesses and insist on those chapters of Putnam and Beyond.
Every once in a while, for a problem that you solved, write down the solution in detail,
then compare it to the one given at the end of the book. It is very important that your
solutions be correct, structured, convincing, and easy to follow.

In keeping with that, I will use my "tests" to determine where I am weak, and what areas I am to focus on more.

I began the book in the beginning (it seemed like a natural place to start), with a section called "techniques of proof". It covered proof by contradiction, proof by induction, etc. (These are all ideas I am familiar with, but the problems they gave were still not easy).

Today, I did some problems from the "'Proof By Contradiction" section, here is one:
(Proof by contradiction is assuming the opposite of what you want to prove, and from there, deriving something that is false, or contradicts your initial assumption)


Every point of three-dimensional space is colored red, green, or blue. Prove that one
of the colors attains all distances, meaning that any positive real number represents
the distance between two points of this color.

Let us assume this is false: That there are positive reals x,y,z such that no two red points are distance x apart, no two blues are distance y apart, and no two greens are distance z apart.


Pick a red point, call the sphere with radius x surrounding it S. All the points in S are blue or green, because otherwise we would have a red point a distance x from the center, which is also red, which would contradict our assumption.

Pick a green point on the sphere. (If there are no green points, all the points on the sphere are blue, so it's easy to find two that are distance y apart)

We find two points on the sphere, Q and R, so PQ=z, PR=z, QR=y. (To see that this is true, anchor a triangle like that to P, and rotate it around P until it's other two points touch the sphere)

If Q or R is green, then it and P make two green points with distance z, which would contradict our initial assumption. So Q and R are both blue, which contradicts our assumption as well, as QR=y, so our assumption is false and our problem is solved.