## Category → math

I could spend all day coming up with post titles like this one. Really, I could. Anyway, after receiving the letter gently reminding me to turn in the official IMO report in Chinese, I finished that first and turned it in. This, plus the fact that I don’t have any way to do any of my summer homework yet, should make continued blogging much easier.

These months of preparation and anticipation, and in just over two days it will be behind us forever.

Thus were my thoughts at 3:30 in the morning, which were a much worse method of preparation than that which I used for the APMO, which involved trying for the first time to put my compass in its box and staring at a cryptic crossword. Twisted thoughts as I lay innocently in bed, trying to preserve my spirit and mathematical function. I got up at 6:30 and ate a breakfast nervously with the team.

We dispersed into the contest hall. Flat squarish white tables in orderly rows greeted us. They were considerably smaller than the arm-span tables we had last year in the Netherlands’ stadium, but the space was still ample compared to the ones we took our practice tests on at home. I floundered a bit looking for whoever was supposed to check our stuff for forbidden items, but none of the proctors paid any attention to that, so I flipped through my own jacket pockets paranoidly.

But preparation was too brief, and there were at least fifteen minutes left with nothing to do except try not to panic. I managed to fill these fifteen minutes by doing elaborate breathing exercises, raising and flapping my arms, counting down seconds, focusing on a color word, meditating badly, clearing out everything nonmathematical from my mind with a symbolic gesture. This is not a very coherent description, but I wasn’t feeling very coherent.

I opened an eye halfway and watched as the clock ticked down the last few seconds. The starting signal sounded. I opened up the problem envelope… (nonessential expressions deLaTeXed; you’re welcome)

Who knew coming up with strangely cryptic and illogical but nice-sounding post titles was so much fun!?

Okay, this break in storytelling is mainly brought to you by generic summer laziness, as well as possibly a tiny bit of chemotherapy adverse effect. There is only a little perfectionism involved, and that’s because this post contains a long awkward situation (you might have guessed already). I guess this is what it feels like to have oodles of stuff to blog about, but not enough motivation. Heck, these few days with running the TAIMC have long filled my list of rant topics with juicy stories until it’s near-bursting. But I need to end this self-pity party before I get carried away, so… back to the action.

Stranded in a foreign country at least 20 degrees Celsius below our comfort zone, having worn the same clothes for 36 hours of airplane travel, and still with less than 48 hours until the contest and zero out of six compasses, we were running out of options.

A quick inventory of clothes showed that, after including the vests and caps in the backpacks we got, we probably had just enough clothes to survive the cruel frigid environment. So, reluctantly, we left the games room and hit the street to hunt down some underwear and socks to change into. Not to mention toothbrushes and some T-shirts and jackets for good measure, because the inside of the hotel was not the right temperature for full cold-resistance gear.

Some haphazard wandering up and down the streets later, we found a store that suited our needs and picked up some clothes. The underwear came in two sizes: too loose and too tight. We picked the latter. Oh well, it would only be for a day or so… right? And so that was our first day without our luggage. We survived. My iPod finally ran out of battery the second day while furiously refreshing my email, trying to stay connected and update everybody. The schedule marched ahead without us.

We finally arrived at the hotel at 3:30, meeting another local from Taiwan, Mr. Chen, who helped us carry some of our stuff off the bus. Po-Chiang, our guide, was waiting inside. We took more pictures and finally lugged the meager stuff we had off to our hotel rooms.

At least, we tried. I started to realize that there was much more to this hotel than it seemed.

Firstly, of course, was the confusing placement of rooms with numbers starting with 4 and 5 on the fourth floor (which would be the fifth floor by our numbering system, where the lobby is floor 1; but here the lobby was assigned 0. Off-by-one errors just waiting to happen here.) Secondly were the completely indecipherable signs. I don’t remember the details, but the first signs we saw read something like “560 ~ 540: left; 520 ~ 540: right”. Occasionally there would be weird slashes or half-slashes between the numbers instead (later I finally realized they were slanted, Comic-Sans-style capital Ys, or “and” in Spanish). Are these closed, open, or half-open intervals? And why the heck are their upper and lower bounds in a different order!?

We wandered through the corridors, peeking down each one, trying to figure out whether the numbers were increasing or decreasing and whether a parity argument (for those of you not fluent in math lingo, that means odds and evens) allowed for the existence of our room. Who knew the simple act of finding one’s living quarters could be so mathematically tasking? In the end, our rooms were in the last corridor, just about diametrically opposite to the elevators on the half of our floor. Oh well.

The room was pretty nice overall. The furniture and basic facilities were quite complete, with a sparkly bathroom and a couple tables and chairs of various shapes. The closet was big and had a safe, which was rather important because just about everybody we had met had warned us over and over again about all the incredibly skilled thieves, muggers, and pickpockets in Argentina. It was probably much safer (no pun intended) in the hotel, but with all of these warnings (later we would even find a notice from the hotel warning us to lock our doors) I was never entirely certain. There were lots of lights controlled by a set of confusing switches on either side of our beds. There was at least one white immovable divider cunningly disguised as a switch, one switch that didn’t ever seem to do anything, and one that turned everything off. The last one made a little sense after a while because it had pictures of stars and a moon on it, but the whole setup was still pretty non-user-friendly in my opinion. The awesome part was that our room was connected with the one next door with a tiny midway corridor, so by keeping the connecting doors unlocked, the four of us (me, WL, CPT, KYL) could share one room key and just hang out really conveniently. The other two had a room connected to one with two guys from Cyprus. I don’t think they interacted that much, although I know we got an inequality from them one of the days before the contest. We observed that Jensen didn’t work on it and didn’t really touch it afterwards, still living under the mistaken and highly deluded assumption that there was no way the PSC would choose an inequality now that they finally realized that everybody knew Muirhead.

It’s time to begin the epic blogging journey. The detailed version of this year’s amazing IMO, because I decided that a perfectionist guy like myself could not possibly liveblog and be satisfied with both the quality of the posts and being able to fully enjoy the actual event.

Our story begins in a hotel in Taiwan.

The night before departure, us six contestants and Prof. Lin gathered in a hotel. This was entirely necessary because our flight left at something like five o’clock in the morning. After checking over the flight plans and relevant phone numbers in a conference room, we enjoyed a pretty extensive buffet dinner, what would easily be the best meal we would get to have for at least a week, the highlight of which was a fish steak that looked and tasted exactly like fried egg. Afterwards we did some emergency shopping and prepared a convenience-store breakfast for consumption three o’clock the next day.

As I’ve complained before, we have an 11-hour difference to get used to, and that morning I had gotten myself to sleep as late as 6 AM trying (successfully, much to my amazement) to complete an iPod OS system update. I didn’t think I could pass airport security with the sort of consciousness I had when I finally slept that morning, so I reverted with the rest of the team to an 11 PM curfew. Oh well. The seven of us left the hotel after 3 AM, setting off in a huge 30-person bus for the airport.

Wait, are you serious? Under two weeks left, is that what it’s come to?

What happened to my majestic plans to go over every functional equation I failed on, ever? Or to go through a super-intense geometry-immersion period and actually try to develop some of that crazy “intuition” thing? And I have finals coming up too! I just finished a ludicrous deadline-extended geography project that I am absolutely confident is the crappiest paper of my entire school career so far! And despite a semester of (slacking) classes, my Spanish is still only barely at a usable level! Exclamation marks!

Don’t panic… let’s focus on the positive. I am absolutely prepared with my stationery. I bought three spanking new 0.4mm pens that say “Can write for 1000 meters!” because all of my current ones are annoyingly thick and constantly having almost-but-not-quite run out, plus three new mechanical pencils and enough matching 2B lead to last me through college. All the pencils and lead are Pentel. I haven’t done any research, so if something terrible happens in Argentina I know what company to blame, and I am writing it here so I won’t confuse the brands. Also, in view of what happened to SCH’s carry-on baggage last year (luckily there was no geo on Day 1), I got an extra compass I hope won’t be needed.

Yes, it’s official now. I’m on the 2012 International Mathematical Olympiad team bound for Argentina, and if I didn’t make a post about this I would be ashamed to call myself a blogger. So, a little moment of smug self-satisfaction should be justified, I hope? And not to mention, last year’s title of youngest Taiwan contestant is not yet passed? Let’s cue the evil laughter!

…or maybe not.

Here is a simple tabulation of our selection problems:

1. GA/GN/CG/GNC/NGA
2. AG/CA/NG/GCN/AGA
3. GA/GN/CA/GCN/AGC

Algebra x9, Combinatorics x7, Geometry x12, Number Theory x8. In other words a distribution in perfect negative correlation with my estimated ability in each subject. At least, that’s how I’ve always estimated them before about a month ago. Ouch, the last stage was the only one of the three where problem distribution for combinatorics actually reached its fair share. (Alternative interpretation: 2011’s distribution was majorly f123ed up with only one real geometry problem, which just means that this year’s battle will probably be difficult for me. (Alternative alternative interpretation: the evil, nasty, wicked, depraved windmill was actually an outrageous negative for me. Gee, I don’t know how to feel. But I should actually do stuff instead of wildly speculating; let’s get back to the topic.)) The last stage of selection had a pretty steady “Individual Study” was steady. The first mock test had slightly easy problems as 1 and 2 and a completely insurmountable NT problem that was basically adding a zillion unrelated numbers up and having the result magically be divisible by a prime. I finished the first two problems in an hour and spent three and a half on the third, calculating over a hundred values modulo 19 trying to find a pattern. Nothing.

Note: My 2009 self wrote this. It is preserved for historical interest and amusement, and as a testament to how far I’d go to typeset math equations in ASCII art.

I have just come back from a week of continuous mathematics, board gaming, and hitting people with sticks to ensure that they get up in time. Yippee! Those problems sure do get around.

Sample problem: This problem rocks!

### Limit + Limit

Cheaply, using an Iverson bracket expression:

\begin{aligned} \lim_{a \to \infty} \lim_{b \to \infty} [a > b] &= 0 \\ \lim_{b \to \infty} \lim_{a \to \infty} [a > b] &= 1 \end{aligned}

For more continuity, use $$\frac{a}{a + b}$$ instead (Rudin Example 7.2).

Uniform convergence on one limit suffices to allow this exchange, almost by definition.

### Limit + Continuity

Let

$f_\epsilon(x) = \begin{cases} 0 & \text{if } |x| \geq \epsilon \\ 1 - \left|\frac{x}{\epsilon}\right| &\text{if } |x| < \epsilon \end{cases}.$

This is a matrix. $\begin{bmatrix} 1 & 2 & 3 \\\\ 4 & 5 & 6 \end{bmatrix}$ It has 2 rows and 3 columns, so it is a $$2 \times 3$$ matrix. Matrix addition and multiplication-by-a-scalar is done componentwise. Matrix multiplication is done trickily; it’s associative, distributive, commutative with scalars, linear, anticommutative-under-transposition. Vectors are like columns of matrices, or matrices with one column. Except row vectors are rows of matrices.
Very simple to explain: if $$P$$ is a statement, $$[P]$$ is 1 if $$P$$ is true and 0 if not. So for example \begin{aligned} \lbrack 1 < 2\rbrack &= 1 \\ \lbrack 1 > 2\rbrack &= 0 \end{aligned} It’s like using a boolean as an integer in C or Python. It’s useful to keep yourself organized when you’re writing summations, especially if you’re summing across terms with a weird condition or if you need to exchange two sums.