Torque Group

Let's use this discussion to brainstorm about possible interesting topics that you would like to write about / learn more about.

I have a lot of confidence in the members of this group, and believe that you can help create a fun interesting experience for other Brilliant members. I'd check in occasionally, so please send me an email if you need an urgent response.

Here are some suggestions:
1) Michael Tong - olympiad style problems 2) Sotiri - problems based on what we do at math circle every other Saturday
3) Anqi - Elementary techniques used in IMO
4) Nina - mathematical stories/resources/interesting tidbits - I have lots of reading suggestions, youtube channel suggestions, and random amazing facts about the beauty of mathematics!
5) Piyushkumar - Algebra, Geometry, Number Theory to clear RMO, INMO, IMO

Note by Calvin Lin
7 years, 6 months ago

8 votes

  Easy Math Editor

This discussion board is a place to discuss our Daily Challenges and the math and science related to those challenges. Explanations are more than just a solution — they should explain the steps and thinking strategies that you used to obtain the solution. Comments should further the discussion of math and science.

When posting on Brilliant:

  • Use the emojis to react to an explanation, whether you're congratulating a job well done , or just really confused .
  • Ask specific questions about the challenge or the steps in somebody's explanation. Well-posed questions can add a lot to the discussion, but posting "I don't understand!" doesn't help anyone.
  • Try to contribute something new to the discussion, whether it is an extension, generalization or other idea related to the challenge.
  • Stay on topic — we're all here to learn more about math and science, not to hear about your favorite get-rich-quick scheme or current world events.

MarkdownAppears as
*italics* or _italics_ italics
**bold** or __bold__ bold

- bulleted
- list

  • bulleted
  • list

1. numbered
2. list

  1. numbered
  2. list
Note: you must add a full line of space before and after lists for them to show up correctly
paragraph 1

paragraph 2

paragraph 1

paragraph 2

[example link](https://brilliant.org)example link
> This is a quote
This is a quote
    # I indented these lines
    # 4 spaces, and now they show
    # up as a code block.

    print "hello world"
# I indented these lines
# 4 spaces, and now they show
# up as a code block.

print "hello world"
MathAppears as
Remember to wrap math in \( ... \) or \[ ... \] to ensure proper formatting.
2 \times 3 2×3 2 \times 3
2^{34} 234 2^{34}
a_{i-1} ai1 a_{i-1}
\frac{2}{3} 23 \frac{2}{3}
\sqrt{2} 2 \sqrt{2}
\sum_{i=1}^3 i=13 \sum_{i=1}^3
\sin \theta sinθ \sin \theta
\boxed{123} 123 \boxed{123}

Comments

So here's a rough draft of what I might post, and notice that it would probably be less of just problems, but explanations first, then practice problems for the interested reader. These will be like excursions into IMO standard problems for the novice. So please give your comments on how this can be improved :)


Invariants


The Principle

Note: I assume the reader has familiarised himself with Introduction to Invariance Principle

Invariants are particularly useful in analysis of games, transformations and questions of the like. Basically, the main motivation behind applying the invariance principle is to find something that does not change, when something is repeated, whence the important usage of this in algorithms. Quoting Problem-Solving Strategies, here is a non-exhausted list to keep in mind when applying invariance.

  • Can a given state be reached?

  • Find all reachable end states.

  • Is there convergence to an end state?

  • Find all periods, if possible.

Also, if you are ambitious and want to use this in olympiad combinatorics problems, here's a few common invariants that we will encounter along the way:

  1. Parity

  2. Colouring (as in the more commonly known checkerboard colouring and others)

  3. Sum of squares/products or things of the like

Now, also to introduce another method in invariance, we will start with our first example:

Example 0 : 23 23 friends wants to play hockey. However, to ensure that the game is fair play, they choose a referee and the rest of the team splits into 2 2 teams of 11 11 people each. However, because they are a bit eccentric, they want to do this splitting such that the total weight of each team is the same. Suppose now for simplicity sake that they all have integer weights, and we know that this division is always possible regardless of who is the referee. Show that they all have the same weight.

Solution: Wow, that is a really really long question and to help us understand the context and meaning, we rewrite this in mathematical equations. Let w1,w2,,w23 w_1, w_2, \ldots, w_{23} be the weights of the 2323 people. Also, let S=w1+w2++w23 S = w_1 + w_2 + \ldots + w_{23} , the motivation behind this definition is that choosing a referee is the same as removing a person with weight wi w_i and split the rest into 2 2 teams of weight k k each. Now, we can write everything in this compact form: Swi=2k() S - w_i = 2k (*). Remember what we said about parity? Clearly since the RHS is even, wi w_i and S S needs to have the same parity. And since wi w_i was completely arbitrary, they are all odd or even.

Being odd or even only gives us one clue on how to proceed, which is whether 2 2 divides it or not. Because we want to work with simplified things, consider what happens if we divide those that are even by 2 2 . For instance, if all wi w_i are even, if we let qi=wi2 q_i = \frac{w_i}{2} , does this simplify the problem to some extent? Well, clearly by definition all qi q_i are integers, and writing a equation, S2qi=2k2 \frac{S}{2} - q_i = 2\frac{k}{2} which is unmistakably () (*) so qi q_i is a new list of weights that also satisfy the conditions. Analogously, we can conclude for wi w_i being odd (don't forget this case!), we can let qi=wi1 q_i = w_i - 1 .

Here's the important bit. If the wi w_i at the beginning were not all 0 0 , then the sum of the weights qi q_i is strictly smaller. We can always repeat this step (this is sort of an algorithm-like approach - another method that works like induction; you use it if you do not have any idea how to proceed) and reduce the sum of the weights so eventually we will reach a list of only zeroes. Now we backtrack to see what this implies. So since we are able to do this, we conclude the numbers in the original list were all equal, as desired. □

So here, instead of finding something that is not changing, we in fact created something to make S S always decreasing. The main idea here is that there is no infinite sequence of non-negative integers that is strictly decreasing. This technique is more commonly known as infinite descent. We will encounter a much more difficult application of this later.


Applications

In these examples, we will go into detail the motivation and thought process behind each key step. The last few questions are taken from the IMO, so expect that it will be much more convoluted and difficult to approach than the rest.

[blah blah - I will write later when I finish my breakfast]

EDIT: So we proceed. The first example is of a game. We will see how to apply the invariance principle.

Example 1: On a chessboard A and B play by turns to place black and white knights, respectively. Either player loses when he places a knight on a square attacked by a knight of the other colour or there are no free squares to place the knight on. If A starts, who has a winning strategy?

Solution: For those chess noobs like me, remark that a knight can only attack the 8 8 squares shown in the figure below:

tagtext tagtext

Intuitively, if each player can place a knight such that the squares that can be attacked by both knights do not overlap, then since a chessboard has an even number of cells, Player B can win, by in what people call, mirroring the first player.

Clearly a knight on a black square can only attack a knight on a white square and vice versa. So the colours of the squares that the knight attacks is invariant. Recall that a chessboard is a 8×8 8\times 8 , so if we "fold" the board along the middle, the 2 2 "flaps" would be of opposing colour. For instance, let ai,j a_{i,j} be the colour of the cell in the ithith row and jth jth column of the chessboard. Then we have that a4,2=a4,7 a_{4,2} = a_{4,7} .

The above observation is key for us to see that the strategy for B is to do the same thing as A but symmetric to the center of the board. Basically, notice that if A can place a knight without being attacked by B's knights, the B can always place a "symmetric" knight without being attacked by A's knight due to the colour argument. Now given the way that knights attack, A can never place a knight that attacks the square where B played. Thus A loses in the end. □

To further train the skills of the reader in solving game-like problems (because we would soon be moving to colouring and other invariance, and I would select the IMO problems for demonstration), we will attempt one more example, this problem was in my training notes, and according to our trainer, was from Bulgaria 2001.

Example 2 Alice and Bob play by turns to write ones and zeroes in a list, from left to right. The game ends when each has written 2001 numbers. When the game ends the sequence of 0,1 0 ,1 is interpreted in base 2 2 . Alice wins if that number can be written as a sum of two perfect squares and if otherwise, Bob wins. Who has a winning strategy?

Solution: We want a invariant that somehow involves squares. Well, preliminarily, just plain squares would remind me of (mod4) \pmod 4 . So ultimately one should think of Fermat's Christmas Theorem. Let's see how this property translates to a winning strategy.

Now suppose the number is 11000 1100 \ldots 0 where there is an even number of 0 0 , what can you observe? (Hint: consider (mod4) \pmod 4 ) Yup, exactly! Since 4m4m can be written as a sum of 2 2 squares iff m m can, we can perfectly well ignore the zeroes at the end. And notice that 11 11 in base 2 2 cannot be written as a sum of 2 2 squares, so B wins! Generalising this argument, at any moment A writes a 1 1 , B just copies As A's move. In this way, if we ignore the zeores, the final number would end in 11 11 which is congruent to 3(mod4) 3 \pmod 4 which by Fermat's Christmas Theorem, cannot be written as a sum of 2 2 squares, so B wins.

So remember that A A is smart. She wants to avoid the above case where she loses. So she says: "Aha! I only write 0s 0s , in that way, I will win!" Well, sad life A, because you don't. Because if A only writes "0s", using the same argument above we can in fact make B write 1998 1998 times 0 0 and then 3 3 times 1 1 , which after interpreting in binary is 21 21 so B wins again. □

[Will continue after urgent meeting]

EDIT again Let us now apply infinite descent to a much more difficult problem.

Example 3: (IMO 1986) We assign an integer to each vertex of a regular pentagon, so that the sum of all of them is positive. We are allowed to perform a transformation if three consecutive vertices have assigned numbers x,y,z x,y, z respectively and y<0 y < 0 , if so, then we can change the numbers (x,y,z) (x,y,z) to (x+y,y,z+y) (x+y, -y, z+y) . This process can be continued as long as one of the numbers is negative. Does this process always come to an end?

Solution: Don't freak out that this is from IMO.

tagtext tagtext

We label the pentagon with a,b,c,d,e a,b,c,d,e as shown.

So we need to find a certain invariance. In fact the only "basic" thing we have is the sum of all numbers. Also notice that (x+y)+(y)+(z+y)=(x+y+z) (x+y) + (-y) + (z+y) = (x+y+z) so the sum remains constant. This does not tell us whether the process ends. We need something that decreases. Now from the sum, it is certainly quite motivated to consider the average. So if every number is very close to the average then none would be negative and the process would end. So we want to search for something that will increase as the numbers are different to the average. Naturally, we might think of xy |x-y| but the absolute value can be quite unpredictable at times, so we consider the "nicer" alternative squares (xy)2 (x-y)^2 .

So referring back to the notation at the beginning, consider a function f(a,b,c,d,e)=(ac)2+(ce)2+(eb)2+(bd)2+(da)2 f(a,b,c,d,e) = (a-c)^2 + (c-e)^2 + (e-b)^2 + (b-d)^2 + (d-a)^2 . Clearly f(a,b,c,d,e)0 f(a,b,c,d,e) ≥ 0 . Suppose WLOG that c<0 c < 0 and we do the transformation in the problem. Then:

f(a,b+c,c,d+c,e)=(a+c)2+(ce)2+(ebc)2+(bd)2+(d+ca)2 f(a,b+c, -c, d+c, e) = (a+c)^2 + (-c-e)^2 + (e-b-c)^2+ (b-d)^2 + (d+c-a)^2

=[(ac)2+4ac]+[(ce)2+4ce]+[(eb)22ec+2bc+c2]+(bd)2+[(da)2ac+2cd+c2] = [(a-c)^2 +4ac] + [(c-e)^2 + 4ce] + [(e-b)^2 - 2ec + 2bc + c^2] + (b-d)^2 + [(d-a)^2 - ac + 2cd + c^2]

=f(a,b,c,d,e)+2c(a+b+c+d+e) = f(a,b,c,d,e) + 2c(a+b+c+d+e)

Since c<0 c<0 and we assumed that a+b+c+d+e>0 a+b+c+d+e > 0 , we have that 2c(a+b+c+d+e)<0 2c(a+b+c+d+e) < 0 so f(a,b,c,d,e) f(a,b,c,d,e) decreases at each step. By infinite descent we are done. □

One last example that uses colouring.

Example 4: (IMO 2004) Define a hook to be a figure made up of 6 unit squares as shown in the diagram

tagtext tagtext

or any of the tiles by applying rotations and reflections to the diagram. Determine all m×n m\times n rectangles that can covered be hooks such that:

  • the rectangle is covered with hooks and no overlaps

  • no part of the hook covers an area outside the rectangle.

Solution: We hate hooks because they are in a way disjoint. We like tiles that are nice 2×3 2 \times 3 rectangles or things of the sort. So it is pretty motivated to consider pairs of hooks due to the hole, as marked out (with a black dot) in the following diagram:

tagtext tagtext

So necessarily if tile X X cover tile Ys Y's "hole", then necessarily tile Y Y also cover the "hole" of tile X X . We have the following 2 2 pairs:

tagtext tagtext

We have our first breakthrough for this problem: 12mn 12 \mid mn . Consider a 2×6 2 \times 6 board. Clearly we cannot tile it with the pairs of tiles. However, we can obviously tile a 4×6 4 \times 6 board. We might now conjecture that we must have (WLOG) that 4m 4 \mid m .

Let us consider the case where they are both even but 4m,n 4 \nmid m,n . So we want to find a colouring that makes use of the divisibility by 4 4 condition. Well, the most direct way of incorporating it this is to add a 1 1 to each cell of the board that belongs to a column or row divisible by 4 4 . Basically what we want to do next can then be simplified to proving that each of the pairs of hook only cover an odd number of 1 1 . (Do you see why this is sufficient?). Anyways, here's the board with the labelling:

tagtext tagtext

So each pair of hook clearly can only cover an odd number of 1 1 by doing a simple case-bashing (I leave the reader to convince himself). So there must be an even number of tile \rightarrow 4m 4 \mid m (WLOG).

Now, let us summarise what we have:

  • 12mn 12 \mid mn

  • 4m 4 \mid m

  • m,n1,2,5 m,n \neq 1,2,5 (do you see why?)

(i) So if 3n 3 \mid n then we can clearly tile the whole board using the 3×4 3 \times 4 rectangles formed from the pair of hooks.

(ii) If 12m 12 \mid m and by point 3 3 , m6 m \geq 6 then by a simple induction we can show that m m can be represented in the form 3a+4b 3a + 4b . The motivation behind this step is that we want to be able to split up the board into smaller sections of case (i) above, because intuitively the 3×4 3 \times 4 rectangles is more predictable than the second kind of pairing. Then all we do is that we split up the board into a a strips of 3×m 3 \times m and b b strips of 4×m 4 \times m which both can be tiled. □

Example 5: (IMO shortlist 1998) A solitaire game is played on an m×n m \times n regular board, using mn mn markers that are white on one side and black on the other. Initially, each square of the board contains a marker with its white side up, except for one corner square, which contains a marker with its black side up. In each move, one may take away one marker with its black side up but must then turn over all markers that are in squares having an edge in common with the square of the removed marker. Determine all pairs (m,n) (m,n) of positive integers such that all markers can be removed from the board.

Solution: This is a particularly annoying problem. It is extremely long and difficult to understand. As such, let us employ the technique of trying small cases to perhaps find a pattern.

  1. m,n=1 m,n = 1 . This is boring. Just remove the "corner square" marker.

  2. WLOG m=2,n=1 m=2, n =1 . This is boring too. Remove any "corner square" marker. The other will be black. Remove both.

  3. m=2,n=2m = 2, n=2 . Just do the operations and you will find that you end up with a sole white marker that cannot be removed.

  4. m=2,n=3m = 2, n =3 . Just remove the first row one by one and leave the following scenario, it is clear that all markers can be removed.

  5. m=2,n=4 m = 2, n = 4 . Playing around shows that this case is impossible.

Diagram 1 Diagram 1

These observations motivate us to conjecture that if either m,n m,n is odd then we can remove all markers (using the 44 th case as a hint). WLOG, let us write m=2k+1 m = 2k+1 . For easy reference, we assign the markers a position (i,j) (i,j) as the i i th row and j j th column. So now, again, WLOG, (1,1) (1,1) is that with the black side up. We remove (1,1) (1,1) and in sequential from top to bottom, remove all (k,1) (k,1) for 2km 2≤ k ≤ m . We have something as in the following diagram:

tagtext tagtext

So in our mathematical language, each marker (k,2) (k,2) now has its black side up (sounds like backside up). Anyways, the next thing is to sequentially (which means in the order of q=1,,m12 q = 1, \ldots , \frac{m-1}{2} ) remove the markers (2q+1,2) (2q+1,2) . The cute thing here is that each with (2q,2) (2q,2) is actually flipped twice, which means it turn from blackwhiteblack \text{black} \rightarrow \text{white} \rightarrow \text{black} , which is nice. So we have the following diagram:

tagtext tagtext

Now by removing the markers (2q,2) (2q,2) sequentially, we end up with the following diagram. It is clear now that by using this procedure we can remove all markers given that m m is odd (so that the final row would be black).

tagtext tagtext

To show that if (m,n) (m,n) are both even then we cannot remove all the markers, we need to find an invariance. Here are 2 2 approaches, as we will see, the first approach stems from the fact that empty squares without markers are useless, so the idea of removing empty squares. The second one is more well-known, as assigning weights of 1,1 -1,1 allows one to consider sums and products (as in this case).

Consider the perimeter of the board. We consider removing a black marker as removing the edges that the cell it is in shares with the perimeter of the board. This is a bit ambiguous and requires the formal definition of perimeter. With that in mind, we will refer to removing a black marker as removing the cell it is in. Consider removing a cell that shares k k edges with the perimeter of the board, then k k is lost and 4k 4 -k is gained for the perimeter. The presence of 4 4 suggests taking (mod4) \pmod 4 which is a considerably good strategy. So, we have a net gain of 42k 4 - 2k for the perimeter, which is 2k(mod4) 2k \pmod 4 .

We want to eliminate the variable k k , so let's give it a physical meaning first. Well, except for the first black marker and its cell, k k is actually # of adjacent markers removed+# of edges shared with the perimeter of the board \text{\# of adjacent markers removed} + \text{\# of edges shared with the perimeter of the board} . Notice that the former is always odd, since if we consider the cycle whiteblackBlack \text{white} \rightarrow \text{black} \rightarrow \ldots \rightarrow \text{Black} , we would always need an odd number of manipulations/arrows, as desired. This implies that the total sum is odd, and we see that no matter whether k1,3(mod4) k \equiv 1,3 \pmod 4 , 2k2(mod4) 2k \equiv 2 \pmod 4 .

However, this means the perimeter changes (n2)(m2)+3 (n-2)(m-2)+3 times from 2(m+n) 2(m+n) which is the original perimeter. By assumption 2(m+n)0(mod4) 2(m+n) \equiv 0 \pmod 4 , which means that the final perimeter is 2(mod4) 2 \pmod 4 . It is clear that a contradiction arises since we need it to be 0(mod4) 0 \pmod 4 . □

Example 6: (IMO shortlist 2005) There are n n markers, each with one side white and the other side black, aligned in a row with their white sides up. At each step, if possible, we choose a marker with the white side up (but not one of the outermost markers), remove i, and reverse the two neighbouring markers. Prove that one can reach a configuration with only two markers left if and only if 3n1 3 \nmid n-1 .

Solution: Just playing around with small examples can lead to one trivial observation: the parity of the number of black markers remains unchanged during the game. Hence if only two markers are left, they must have the same colour.

As with what was written in Example 5 5 , we can see that we can assign "weights". Well, here the best thing to encode would be the number of black markers. Remember that (1)n (-1)^n for some n n provides lots of information by encoding the parity(when we consider sums), let us define assign to a white marker with n n black markers to its left the value (1)n (-1)^n . We only assign values to the white markers. Denote S \mathbb{S} as the sum of all numbers assigned to the white markers.

Consider an arbitrary white marker with both of its neighbours initially white and with k k black markers to its left. We perform an operation on that marker and see how it affects (1)n (-1)^n . Clearly, if we turn both of its neighbouring markers black and remove it, then S \mathbb{S} decreases by (1)k+(1)k1+(1)k1=3(1)k1 -(-1)^k + (-1)^{k-1} + (-1)^{k-1} = 3 (-1)^{k-1} . Therefore, we have just shown that S(mod3) \mathbb{S} \pmod 3 is invariant.

If the game ends with two black markers then S0(mod3) \mathbb{S} \equiv 0 \pmod 3 and if it ends with two white markers then S2(mod3) \mathbb{S} \equiv 2 \pmod 3 . 3n1 \rightarrow 3 \nmid n-1 .

To show that if we start with n5 n ≥ 5 markers and n0,2(mod3) n \equiv 0,2 \pmod 3 satisfies the conditions. By removing the 3 3 leftmost white markers (that do not violate the conditions), we obtain a row of n3 n-3 markers. By working backwards, we can reach 2 2 or 3 3 white markers. We are done with the former and for the latter we can reach 2 2 black markers. □


Practice Problems

  1. Five identical empty buckets of 2 2 -liter capacity stand at the vertices of a regular pentagon. Cinderella and her wicked Stepmother go through a sequence of rounds: At the beginning of every round, the Stepmother takes one liter of water from the nearby river and distributes it arbitrarily over the five buckets. Then Cinderella chooses a pair of neighbouring buckets, empties them to the river and puts them back. Then the next round begins. The Stepmother goal's is to make one of these buckets overflow. Cinderella's goal is to prevent this. Can the wicked Stepmother enforce a bucket overflow?

  2. Let S S be a finite set of at least two points in the plane. Assume that no three points of S\mathcal S are collinear. A windmill is a process that starts with a line \ell going through a single point P P \in S \mathcal S The line rotates clockwise about the pivot P P until the first time that the line meets some other point belonging to S \mathcal S . This point, Q Q , takes over as the new pivot, and the line now rotates clockwise about Q Q , until it next meets a point of S \mathcal S . This process continues indefinitely. Show that we can choose a point P P in S \mathcal S and a line \ell going through P P such that the resulting windmill uses each point of S \mathcal S as a pivot infinitely many times.

  3. At the vertices of a regular hexagon are written six nonnegative integers whose sum is 20032003 2003^{2003} . Bert is allowed to make moves of the following form: he may pick a vertex and replace the number written there by the absolute value of the difference between the numbers written at the two neighboring vertices. Prove that Bert can make a sequence of moves, after which the number 0 0 appears at all six vertices.

  4. (Optional) (a) Find a monovariant for Example 3 3 using absolute values.

(b) Solve Example 5 5 by assigning the weights as suggested as a second approach.


Hints:

  1. Well, since we cannot spam this directly, consider working backwards. Clearly, Cinderella needs to ensure that the buckets have a1,,a51 a_1,\ldots,a_5\le 1 or else the bucket would overflow on Stepmother's turn. Suppose then that the stepmother adds w1,,w5 w_1,\ldots,w_5 to the buckets, where w1++w5=1 w_1+\cdots+w_5=1 . So if we think about it further, we can see that if there are 2 2 nonadjacent buckets (we are trying to make the stepmother win now), the stepmother wins if we have ai+wi>1 a_i + w_i > 1 and ai+2+wi+2>1 a_{i+2} + w_{i+2} > 1 . Cinderella needs to prevent the stepmother from setting (wi,wi+2)=(1+ϵai,1+ϵai+2) (w_i,w_{i+2})=(1+\epsilon-a_i,1+\epsilon-a_{i+2}) , so all she does is to ensure that 2+2ϵaiai+2>1=w1++w5 2+2\epsilon-a_i-a_{i+2}>1=w_1+\cdots+w_5 for all ϵ>0ai+ai+21 \epsilon>0 \rightarrow a_i+a_{i+2}\le 1 . Now it is just your job to prove that these invariants hold at every step.

  2. There isn't a really detailed hint for this question. Remark first that: If we start with a point on the convex hull of S \mathcal{S} and a line \ell that is “tangent” to the convex hull then we will only iterate over the points from the convex hull. The key motivation behind the solution is the fact that in rotations there are some really important angles such as π,π2 \pi, \frac{\pi}{2} . Also think, if we draw a line \ell , then the plane is split into two sections and there is one point only on \ell , how do we know that we can iterate? Maybe we can see what happens if we swap the two sections? Do you see the invariance?

  3. Clearly we need to construct a monovariant. Think: Is 20032003 2003^{2003} purposely there to put you off? Try some small cases. It becomes apparent that we need an alternating odd even structure. Prove that this is possible. Try casework if everything else fails. We need a monovariance that looks something like: max{a,b,c}g(a,b,c) max\{ a,b,c \} - g(a,b,c) Here we define g(a,b,c)=# of a,b,c that are equal to max{a,b,c} g(a,b,c) = \text{\# of} \space a,b,c \space \text{that are equal to} \space \max \{ a,b,c \} . The alternating structure suggests strongly to use 3max{a,b,c}g(a,b,c) 3 max\{ a,b,c \} - g(a,b,c) . Use induction to prove that this invariance holds a every step.

  4. (a) Consider including pairwise sums then testing and etc.

(b) Refer to Example 6 6 .


Sources: IMO problems and my SIMO senior training notes.

Anqi Li - 7 years, 6 months ago

Note : Practice Problem 1 is from IMO 2009 Shortlist Problem C5 and Practice Problem 2 is from IMO 2011 Problem 2.

Zi Song Yeoh - 7 years, 6 months ago

Some more invariance questions:

One: Is it possible to move a knight on a 5×55 \times 5 chessboard so that it returns to its original position after having visited each square of the board exactly once?

Two: Prove that if we remove two opposite unit square corners from the usual 8×88 \times 8 chessboard, the remaining part cannot be covered with 2×12 \times 1 dominoes.

Three: On every square of a 1997×19971997 \times 1997 board is written either +1+1 or 1-1. For every row we compute the product RiR_i of all numbers written in that row, and for every column we compute the product CiC_i of all numbers written in that column. Prove that i=11997(Ri+Ci) \sum_{i=1}^{1997} (R_i+C_i) is never equal to zero.

Four: There is one stone at each vertex of a square. We are allowed to change the number of stones according to the following rule: We may take away any number of stones from one vertex and add twice as many stones to the pile at one of the adjacent vertices. Is it possible to get 19891989, 19881988, 19901990, and 19891989 stones at consecutive vertices after a finite number of moves?

Five: Given a circle of nn lights, exactly one of which is initially on, it is permitted to change the state of a bulb, provided that one also changes the state of every dthd^{th} bulb after it (where dd is a divisor of nn strictly less than nn), provided that before the move, all these n/dn/d bulbs were in the same state as another. For what values of nn is it possible to turn all the bulbs on by making a sequence of moves of this kind?

Six: Given a stack of 2n+12n+1 cards, we can perform the following two operations: (a) Put the first kk at the end, for any kk. (b) Put the first nn in order in the spaces between the other n+1n+1. Prove that we have exactly 2n(2n+1)2n(2n+1) distinct configurations.

Seven: Three piles of stones are given. Sisyphus carries the stones one by one from one pile to another. For each transfer of a stone, he receives from Zeus a number of coins equal to the number of stones from the pile from which the stone is drawn minus the number of stones in the recipient pile (with the stone Sisyphus just carried not counted). If this number is negative, Sisyphus pays back the corresponding amount (the generous Zeus allows him to pay later if he is broke). At some point, all stones have been returned to their piles. What is the maximum possible income for Sisyphus at this moment?

Eight: In the sequence 1,0,1,0,1,0,3,5,0,1,0,1,0,1,0,3,5,0, \ldots , each term starting with the seventh is equal to the last digit of the sum of the preceding six terms. Prove that this sequence does not contain six consecutive terms equal to 0,1,0,1,0,10, 1, 0, 1, 0, 1, respectively.

Nine: At a round table are 1994 girls playing a game with a deck of nn cards. Initially, one girl holds all the cards. At each turn, if at least one girl holds at least two cards, one of these girls must pass a card to each of her two neighbors. The game ends when and only when each girl is holding at most one card. (a) Prove that if n1994n \geq 1994, then the game cannot end. (b) Prove that if n<1994n < 1994 , then the game must end.

Ten: A solitaire game is played on an m×n m \times n regular board, using mn markers that are white on one side and black on the other. Initially, each square of the board contains a marker with its white side up, except for one corner square, which contains a marker with its black side up. In each move, one may take away one marker with its black side up but must then turn over all markers that are in squares having an edge in common with the square of the removed marker. Determine all pairs (m,n)(m,n) of positive integers such that all markers can be removed from the board.

Eleven: Three numbers are written on a blackboard. We can choose one of them, say cc, and replace it by 2a+2bc2a+2b-c, where aa and bb are the other two numbers. Can we reach the triple 11,12,1311,12,13 from the triple 20,21,2420,21,24?

Twelve: The sides of a polygon are colored in three colors: red, yellow, and blue. Initially, their colors read in the clockwise direction: red, blue, red, blue, ... , red, blue, yellow. We are allowed to change the color of a side, but we have to ensure that no two adjacent sides are colored by the same color. Is it possible that after some operations, the colors of the sides are in the clockwise order: red, blue, red, blue, ... , red, yellow, blue?

Thirteen: The numbers 1,2,,1001, 2, \ldots , 100 are arranged in the squares of an 10×1010 \times 10 table in the following way: the numbers 1,,101, \ldots , 10 are in the bottom row in increasing order, numbers 11,,2011, \ldots , 20 are in the next row in increasing order, and so on. One can choose any number and two of its neighbors in two opposite directions (horizontal, vertical, or diagonal). Then either the number is increased by 22 and its neighbors are decreased by 11, or the number is decreased by 22 and its neighbors are increased by 11. After several such operations the table again contains all the numbers 1,2,,1001, 2, \ldots , 100. Prove that they are in the original order.

Pi Han Goh - 7 years, 6 months ago

Great list!

Calvin Lin Staff - 7 years, 6 months ago

This looks good, but it's too long (and hence scary) in its current form.

I would suggest breaking it up into 5+ different posts / problems, so that the bite-sized chunks are more easily digestible over a period of time, and your audience would not be put off by the length of it.

You could call them Invariants 1, Invariants 2, etc, so that others who enter halfway can still find your other posts.

After you have published the entire series, I would be interested in converting what you have into a post in the Techniques Trainer :)

Calvin Lin Staff - 7 years, 6 months ago

Ok the diagrams might have some problems. I'll fix them as soon as I have time.

Anqi Li - 7 years, 6 months ago

Well, recently at my SIMO training we did combi, so I read up a bit more and tried some imo problems. So I can probably write a while or then about combi.

EDIT: In fact, what are we gonna focus on? Olympiad or general math? Or both?

EDIT again: Yup I went to read, so can I write more primarily on Olympiad? :D

Anqi Li - 7 years, 6 months ago

Write what you are interested in.

There is less of a distinction between Olympiad and 'General', and it mainly arises from the exposure of the individual. For example, to someone learning about combinations, the Catalan numbers could be an amazing unexplainable fact. However, by the time you get to statistics in University, the reflection principle would be just another basic fact.

Calvin Lin Staff - 7 years, 6 months ago

Looking at the main body of this discussion, I guess both. :)

Edit: I guess that's your decision. ;)

Sreejato Bhattacharya - 7 years, 6 months ago

Anqi,

This the Titu Lemma part you wanted :

Titu's lemma

The Inequality

Let x1,x2,...,xnx_1, x_2, ..., x_n be real numbers and y1,y2,...,yny_1, y_2, ..., y_n be positive real numbers.

Then, the following inequality holds,

x12y1+x22y2+...+xn2yn(x1+x2+...+xn)2y1+y2+...+yn\frac{x_1^2}{y_1} + \frac{x_2^2}{y_2} + ... + \frac{x_n^2}{y_n} \ge \frac{(x_1 + x_2 + ... + x_n)^2}{y_1 + y_2 + ... + y_n}

Why is this true? Actually, this inequality follows from the Cauchy-Schwarz Inequality.

(x12y1+x22y2+...+xn2yn)(y1+y2+...+yn)(x1+x2+...+xn)2(\frac{x_1^2}{y_1} + \frac{x_2^2}{y_2} + ... + \frac{x_n^2}{y_n})(y_1 + y_2 + ... + y_n) \ge (x_1 + x_2 + ... + x_n)^2

Examples

1.1. Prove Nesbitt Inequality :

ab+c+ba+c+cb+a32\frac{a}{b + c} + \frac{b}{a + c} + \frac{c}{b + a} \ge \frac{3}{2}

Solution :

We can't see any squares terms on the numerators, so wishful thinking motivates us to create them.

How can we create the square terms? Squaring the whole left hand side is very messy, and a much simpler way is to multiply the numerators and denominators of the fractions by a,b,ca, b, c respectively.

Now, the way to proceed is clear, as now by Titu's Lemma we get

a2ab+ac+b2ab+bc+c2bc+ac\frac{a^2}{ab + ac} + \frac{b^2}{ab + bc} + \frac{c^2}{bc + ac}

(a+b+c)22(ab+bc+ca)\ge \frac{(a + b + c)^2}{2(ab + bc + ca)}

Now, we just have to prove that 2(a+b+c)26(ab+bc+ca)2(a + b + c)^2 \ge 6(ab + bc + ca), which can be rewritten as

(a+b+c)23(ab+bc+ca)(a + b + c)^2 \ge 3(ab + bc + ca), which can be rewritten as a2+b2+c2ab+bc+caa^2 + b^2 + c^2 \ge ab + bc + ca,

The last inequality follows from 12[(ab)2+(bc)2+(ac)2]0\frac{1}{2}[(a - b)^2 + (b - c)^2 + (a - c)^2] \ge 0.

2.2. (TOT 1998) Prove that for any positive real numbers a,b,ca, b, c,

a3a2+ab+b2+b3b2+bc+c2+c3a2+ac+c2a+b+c3\frac{a^3}{a^2 + ab + b^2} + \frac{b^3}{b^2 + bc + c^2} + \frac{c^3}{a^2 + ac + c^2} \ge \frac{a + b + c}{3}

Solution :

Again, we want to make the numerators on the left hand side be squares.

So, we again multiply the numerators and denominators of the fractions by a,b,ca, b, c respectively.

By Titu's Lemma,

a4a(a2+ab+b2)+b3b(b2+bc+c2)+c3c(a2+ac+c2)\frac{a^4}{a(a^2 + ab + b^2)} + \frac{b^3}{b(b^2 + bc + c^2)} + \frac{c^3}{c(a^2 + ac + c^2)}

(a2+b2+c2)2a(a2+ab+b2)+b(b2+bc+c2)+c(a2+ac+c2)\ge \frac{(a^2 + b^2 + c^2)^2}{a(a^2 + ab + b^2) + b(b^2 + bc + c^2) + c(a^2 + ac + c^2)}

But the denominator is equivalent to (a+b+c)(a2+b2+c2)(a + b + c)(a^2 + b^2 + c^2).

Thus, we the inequality becomes

a4a(a2+ab+b2)+b3b(b2+bc+c2)+c3c(a2+ac+c2)a2+b2+c2a+b+c\frac{a^4}{a(a^2 + ab + b^2)} + \frac{b^3}{b(b^2 + bc + c^2)} + \frac{c^3}{c(a^2 + ac + c^2)} \ge \frac{a^2 + b^2 + c^2}{a + b + c}

Finally, we have to prove that a2+b2+c2a+b+ca+b+c3\frac{a^2 + b^2 + c^2}{a + b + c} \ge \frac{a + b + c}{3}, which is true. (The proof is similar to the last problem.))

3.3. (IMO 1995) Let a,b,ca, b, c be positive real numbers such that abc=1abc = 1. Prove that

1a3(b+c)+1b3(a+c)+1c3(b+a)32\frac{1}{a^3(b + c)} + \frac{1}{b^3(a + c)} + \frac{1}{c^3(b + a)} \ge \frac{3}{2}.

Solution : Direct application of Titu's Lemma is unfortunately doomed to failure. We divide the numerator and denominator by a2,b2a^2, b^2 and c2c^2 respectively.

Now, we have by Titu's Lemma,

1a3(b+c)+1b3(a+c)+1c3(b+a)=1a2a(b+c)+1b2b(a+c)+1c2c(b+a)\frac{1}{a^3(b + c)} + \frac{1}{b^3(a + c)} + \frac{1}{c^3(b + a)} = \frac{\frac{1}{a^2}}{a(b + c)} + \frac{\frac{1}{b^2}}{b(a + c)} + \frac{\frac{1}{c^2}}{c(b + a)}

(1a+1b+1c)22(ab+bc+ca)=(ab+bc+ca)22(ab+bc+ca)\ge \frac{(\frac{1}{a} + \frac{1}{b} + \frac{1}{c})^2}{2(ab + bc + ca)} = \frac{(ab + bc + ca)^2}{2(ab + bc + ca)}

ab+bc+ca23(abc)232=32\ge \frac{ab + bc + ca}{2} \ge \frac{3\sqrt[3]{(abc)^2}}{2} = \frac{3}{2}

where the last inequality holds by AM-GM.

This proves the inequality.

Problems

1.1. Prove that for all positive real numbers x,y,zx, y, z

2x+y+2y+z+2z+x9x+y+z\frac{2}{x + y}+\frac{2}{y + z}+\frac{2}{z + x} \ge \frac{9}{x + y + z}

2.2. Prove that for all positive real numbers a,b,c,da, b, c, d

ab+2c+3d+bc+2d+3a+cd+2a+3b+da+2b+3c23\frac{a}{b + 2c + 3d} + \frac{b}{c + 2d + 3a} + \frac{c}{d + 2a + 3b} + \frac{d}{a + 2b + 3c} \ge \frac{2}{3}

3.3. Problem link

4.4. (IMO 2005)

Prove that for all positive real numbers x,y,zx, y, z such that xyz1xyz \ge 1, then

x2+y2+z2x5+y2+z2+x2+y2+z2y5+x2+z2+x2+y2+z2z5+y2+x23\frac{x^2 + y^2 + z^2}{x^5 + y^2 + z^2} + \frac{x^2 + y^2 + z^2}{y^5 + x^2 + z^2} + \frac{x^2 + y^2 + z^2}{z^5 + y^2 + x^2} \le 3

Zi Song Yeoh - 7 years, 6 months ago

To add, here will be the "normal" Cauchy Schwarz: (I will be adding more stuff)

Cauchy Schwarz Inequality: Let (a1,a2,,an) (a_1, a_2, \ldots , a_n) and (b1,b2,,bn) (b_1, b_2, \ldots, b_n) be two sequences of real numbers, then we have:

(a12+a22++an2)(b12+b22++bn2)(a1b1+a2b2++anbn)2 (a_1^2 + a_2^2 + \ldots + a_n^2)(b_1^2 + b_2^2 + \ldots + b_n^2) \geq (a_1b_1 + a_2b_2 + \ldots + a_nb_n)^2

In particular, equality holds iff there exists kR k \in \mathbb{R} for which ai=kbi a_i = k b_i for i=1,,n i = {1, \ldots, n} .

Proof: We will present 2 2 proofs, one originating from analysis on the equality case, the other by wishful thinking on small cases of n=2,3 n = 2,3 .

(i) Consider defining the following function f f :

f(x)=(a1xb1)2+(a2xb2)2++(anxbn)2 f(x) = (a_1x - b_1)^2 + (a_2x - b_2)^2 + \ldots + (a_nx - b_n)^2 .

We will expand this to get:

f(x)=(a12+a22++an2)x22(a1b1+a2b2+anbn)x+(b12+b22++bn2) f(x) = (a_1^2 + a_2^2 + \ldots + a_n^2)x^2 - 2(a_1b_1 + a_2b_2 + \ldots a_nb_n)x + (b_1^2 + b_2^2 + \ldots + b_n^2)

From our first way of representing f(x) f(x) , we can conclude that f(j)0f0 f(j) ≥ 0 \leftrightarrow ∆_f \leq 0 or

(a12+a22++an2)(b12+b22++bn2)(a1b1+a2b2++anbn)2 (a_1^2 + a_2^2 + \ldots + a_n^2)(b_1^2 + b_2^2 + \ldots + b_n^2) \geq (a_1b_1 + a_2b_2 + \ldots + a_nb_n)^2

Equality holds if the equation f(x)=0 f(x) = 0 has one root.■

(ii) Just remark that:

(a12+a22++an2)(b12+b22++bn2)(a1b1+a2b2++anbn)2=i,j=1n(aibj+ajbi)20 (a_1^2 + a_2^2 + \ldots + a_n^2)(b_1^2 + b_2^2 + \ldots + b_n^2) - (a_1b_1 + a_2b_2 + \ldots + a_nb_n)^2 = \sum_{i,j=1}^n (a_ib_j + a_jb_i)^2 ≥ 0

Let us note the following positive things regarding Cauchy-Schwarz:

  • it is effective in proving symmetric inequalities

  • Try to form squares

  • Helps to clear up square roots


Example 1: (Iran 1998) Suppose that x,y,z1 x,y,z \geq 1 and 1x+1y+1z=2 \frac{1}{x} + \frac{1}{y} + \frac{1}{z} = 2 . Prove that:

x+y+zx1+y1+z1 \sqrt{x+y+z} \geq \sqrt{x-1} + \sqrt{y-1} + \sqrt{z-1} .

Solution: The condition given is considerably weird. In a sense, we would like to involve the variables more than just on the denominators. We have 2 2 approaches, either use a substitution or try to rewrite it in a nicer form. It seems that the latter works. We notice that most conditions have the constant given as 1 1 so it is pretty motivated to write the hypothesis as:

x1x+y1y+z1z=1 \frac{x-1}{x} + \frac{y-1}{y} + \frac{z-1}{z} = 1 .

Now notice how "magically" we have (x1),(y1), (x-1), (y-1), \ldots on the numerator. In fact, due to the fact that we can square both sides, we can immediately see how to apply Cauchy:

cycx=(cycx)(cycx1x)(cycx1)2 \sum_{cyc}x = ( \sum_{cyc}x)( \sum_{cyc} \frac{x-1}{x}) \geq ( \sum_{cyc} \sqrt{x-1} )^2 . ■

Example 2: (Japan 2004) Let a,b,c a,b,c be positive real numbers with sum 1 1 . Prove that

1+a1a+1+b1b+1+c1c2ab+2bc+2ca \frac{1+a}{1-a} + \frac{1+b}{1-b} + \frac{1+c}{1-c} \leq \frac{2a}{b} + \frac{2b}{c} + \frac{2c}{a} .

Solution: With a little experience in inequalities, we see some use for a+b+c=1 a + b + c = 1 :

  1. Substitute into the question

  2. Substitue as a=xx+y+z,b=yx+y+z,etc a = \frac{x}{x+y+z}, b = \frac{y}{x+y+z}, etc

Now, also note that we do NOT want to make the inequality in question more complicated, so we opt to using the former. Also with some experience we see that we do not like fractions such as 1+a1a \frac{1+a}{1-a} or 1a1+a \frac{1-a}{1+a} for the matter. We like to only have the variable and no constants (or vice versa) on the denominator so that we can easily form squares. Therefore, by substituting and dividing both sides by 2 2 to make the RHS ab, \frac{a}{b} , \ldots, we rewrite the inequality as:

32+ab+c+ba+b+ca+bab+bc+ca \frac{3}{2} + \frac{a}{b+c} + \frac{b}{a+b} + \frac{c}{a+b} \leq \frac{a}{b} + \frac{b}{c} + \frac{c}{a}

We isolate the constant and rearrange to get:

cycacb(b+c)32 \sum_{cyc} \frac{ac}{b(b+c)} \geq \frac{3}{2}

Intuitively, we multiply both numerator and denominator of the LHS by ac ac (taken cyclically), and directly apply Cauchy Schwarz,

cycacb(b+c)=cyca2c2abc(a+c)(ab+bc+ca)22abc(a+b+c)32 \sum_{cyc} \frac{ac}{b(b+c)} = \sum_{cyc} \frac{a^2c^2}{abc(a+c)} \geq \frac{(ab+bc+ca)^2}{2abc(a+b+c)} \geq \frac{3}{2}

Example 3: (IMO SL 2011) Given arbitrary real numbers x1,x2,,xn x_1, x_2, \ldots, x_n , prove that:

x11+x12+x21+x12+x22++xn1+x12+x22++xn2 \frac{x_1}{1+x_1^2} + \frac{x_2}{1+x_1^2+x_2^2} + \ldots + \frac{x_n}{1+x_1^2 + x_2^2 + \ldots + x_n^2} .

Solution: We recall the extremely useful variant of Cauchy:

n(a12+a22++an2)(a1+a2++an)2 n(a_1^2 + a_2^2 + \ldots + a_n^2) \geq (a_1 + a_2 + \ldots + a_n)^2

So, what we do is that, we apply the above inequality directly to the given inequality in question. The motivation behind this step is to generate an n n term. So,

(x11+x12+x21+x12+x22++xn1+x12+x22++xn2)2[(x11+x12)2++(xn1+x12+x22++xn2)2]×n (\frac{x_1}{1+x_1^2} + \frac{x_2}{1+x_1^2 + x_2^2} + \ldots + \frac{x_n}{1+x_1^2 + x_2^2 + \ldots + x_n^2})^2 \leq [ (\frac{x_1}{1+x_1^2})^2 + \ldots + (\frac{x_n}{1+x_1^2+x_2^2 + \ldots + x_n^2} )^2 ] \times n .

Notice also that for k2 k \geq 2 , we have:

(xk1+x12+x22++xk2)2=xk21+x12+x22++xk2)2 (\frac{x_k}{1+x_1^2+x_2^2 + \ldots + x_k^2})^2 = \frac{x_k^2}{1+x_1^2+x_2^2 + \ldots + x_k^2 )^2}

xk2(1+x12+x22++xk2)(1+x12+x22++xk12) \leq \frac{x_k^2}{(1+x_1^2+x_2^2 + \ldots + x_k^2)(1+x_1^2+x_2^2 + \ldots + x_{k-1}^2)}

11+x12+x22++xk1211+x12+x22++xk2 \leq \frac{1}{1+x_1^2+x_2^2 + \ldots + x_{k-1}^2} - \frac{1}{1+x_1^2+x_2^2 + \ldots + x_k^2} .

The idea here is that in order to generate n n we might as well try to eliminate the variables by telescoping. Observe finally, that for k=1 k = 1 , we have:

(x11+x12)2x121+x12=111+x12 (\frac{x_1}{1+x_1^2})^2 \leq \frac{x_1^2}{1+x_1^2} = 1 - \frac{1}{1+x_1^2}

I leave my reader to finish the argument.■

Anqi Li - 7 years, 6 months ago

Anqi, are you satisfied?

Zi Song Yeoh - 7 years, 6 months ago

Yup nice :) Thanks!

Anqi Li - 7 years, 6 months ago

Note also that we can prove Nesbitt's in another way. Essentially we generalise to get the following:

Given positive reals a1,a2,a3,,an a_1, a_2, a_3, \ldots, a_n , denote S=a1+a2++an S = a_1 + a_2 + \ldots + a_n , then prove that:

k=1naknaknn1 \sum_{k=1}^n \frac{a_k}{n-a_k} \geq \frac{n}{n-1} .

I remember seeing this somewhere, but I forgot the exact source. Eitherways, it can be seen that n=3 n = 3 corresponds to Nesbitt's.

Proof: Let us rewrite:

(n1)S=nSS=nS(a1+a2++an)=(Sa1)+(Sa2)++(San) (n-1)S = nS - S = nS -(a_1+a_2 + \ldots + a_n) = (S-a_1) + (S-a_2) + \ldots + (S - a_n) and by noticing the trivial n2=(1+1++1)2 n^2 = (1+1+ \ldots + 1)^2 where there are n n 1s 1s , then by Cauchy:

k=1n(Sak)k=1n1Sakn2 \sum_{k=1}^n(S-a_k)\sum_{k=1}^{n}\frac{1}{S-a_k} \geq n^2

After substituting in our observation and rearranging,

k=1n(1+akSak)n2n1 \sum_{k=1}^{n}(1+\frac{a_k}{S-a_k}) \geq \frac{n^2}{n-1} .

We are done. ■

Anqi Li - 7 years, 6 months ago

Problem 2 2 is from IMO 1993. Here is another problem that I came up that has a strong correlation with that question:

Problem: Given a positive integer n3 n \geq 3 , choose arbitrary a1,a2,,an a_1, a_2, \ldots, a_n , find the minimum value of:

i=1naiai+2xi+2++(n1)xi+n1 \sum_{i=1}^{n} \frac{a_i}{a_i+2x_{i+2} + \ldots + (n-1)x_{i+n-1}}

where indices are taken (modn) \pmod n .

We can see that the IMO 1993 problem is just n=4 n=4 .

Anqi Li - 7 years, 6 months ago

I'll give it a try:

Question: We know that i=1ni=12n(n+1) \displaystyle \sum_{i=1}^n i = \frac {1}{2} n (n + 1) , i=1ni2=16n(n+1)(2n+1) \displaystyle \sum_{i=1}^n i^2 = \frac {1}{6} n (n + 1)(2n+1) , i=1ni3=14n2(n+1)2 \displaystyle \sum_{i=1}^n i^3 = \frac {1}{4} n^2 (n + 1)^2 . We can find i=1nik \displaystyle \sum_{i=1}^n i^k , for k=4,5,k=4,5, \ldots . But we need to know the previous sums of power. That is, for example, if we want to find the closed form of i=1ni7 \displaystyle \sum_{i=1}^n i^7 , we must first know i=1nij \displaystyle \sum_{i=1}^n i^j for j=1,2,3,4,5,6j=1,2,3,4,5,6 . Is there an alternative way to determine a sum of certain power without knowing their preceding sums?

Pi Han Goh - 7 years, 6 months ago

Question 2: If the divisors of natural number nn are a1,a2,a3,,aja_1, a_2, a_3, \ldots , a_j arranged in ascending order, then why is it (usually) the median of these numbers is close to n \sqrt{n} ?

Pi Han Goh - 7 years, 6 months ago

This follows trivially if the number is a square (and thus has an odd number off divisors). If the number is not a square then it has an even number of divisors half of which are more than its square root and half of which are less than it. If we want to find the median we must add the 2 numbers (say aandba and b) which are just before and after the square root of the number and divide by 2. Now we use the AM-GM inequality (or equality in this case) for 2 numbers. As the 2 numbers approach each other in value the AM and GM come close together. aandba and b are more close to each other than any of the other divisors of nn. We also have [ab]1/2=n1/2[a * b]^{1/2} = n^{1/2}. Hence [a+b]/2[a+b]/2 is close to n1/2n^{1/2}

A Former Brilliant Member - 7 years, 6 months ago

I can't figure out why the editing is coming out like this ><

A Former Brilliant Member - 7 years, 6 months ago

@A Former Brilliant Member Thanks. I couldn't explain it in words.

Try:

a \space \text{and} \space b

Pi Han Goh - 7 years, 6 months ago

Question 3: It's been proven that for any configurations for a Rubik's Cube, the least number of moves to solve it is 20. Let GnG_n denote the most number of moves for any configuration for a n×n×nn \times n \times n cube (so G3=20G_3=20). How do we evaluate G2,G4,G5,G6,G_2, G_4, G_5, G_6, \ldots ?

Pi Han Goh - 7 years, 6 months ago

But the article says that with optimal play the MAX number of moves should be 20...

A Former Brilliant Member - 7 years, 6 months ago

I didn't see that... FIXED.

Pi Han Goh - 7 years, 6 months ago

Question 4: Mathematicians are always interested in the finding the largest prime number, the current record is a Mersenne Prime. But it appears that there are only few primes pp such that Mp=2p1M_p = 2^p - 1 is also a prime. Don't you think there's a better way of finding prime numbers? Like applying Mill's constant, because it is GUARANTEED a prime number?

Pi Han Goh - 7 years, 6 months ago

Prove Riemann Hypothesis. :D

Zi Song Yeoh - 7 years, 6 months ago

Alright, give me 15748 years.

Pi Han Goh - 7 years, 6 months ago

@Pi Han Goh Is 15748 random?

Zi Song Yeoh - 7 years, 6 months ago

@Zi Song Yeoh Totally.

Pi Han Goh - 7 years, 6 months ago

Question 5: There's plenty of ways to prove that a harmonic series diverge. Do you have your own proof that's not listed here?

Pi Han Goh - 7 years, 6 months ago

Question 6: We denote SOD(n)SOD(n) as the sum of digits of positive integer nn. Is there a formula to determine i=1nSOD(i)  \displaystyle \sum_{i=1}^n SOD(i) \space ? What if the integer is written in other base representation (i.e: binary, hexadecimal)?

Pi Han Goh - 7 years, 6 months ago

Posts will happen from an individuals account, with the tag of "Torque Group". This way, others will be able to identify who the originator is, and also find similar interesting material through the tags.

As such, you do not need to choose 1 area to focus on. In fact, having a variety of posts would be preferable, so that you get a broad coverage. I anticipate that different people will focus on specific topics that interest them, and there isn't a requirement for cohesion as a group.

It would be good to think about how you want to structure the timing of the posts. Having 1-2 posts a day would be great, but would of course depend on your availability as a group. I would also expect that other members would be interested in contributing similar posts, though at a lower frequency.

Calvin Lin Staff - 7 years, 6 months ago

Hmm if you refer to my draft post below, then you will see that it contains quite a lot of material - in fact, it does contain a lot of examples from varying sources such as IMO and my training notes. As such, since I'm still terrible at LaTeX, it takes me quite some time to type this out. So probably I can do up to 2 posts per week until end of december and when my new school term starts, probably 1 post per week. How about the other members?

EDIT: I mean my draft post above.

Anqi Li - 7 years, 6 months ago

2 posts per week is perfect. I meant 1-2 posts a day as a group, and so with 10 members it averages out to 1+ post per week per person.

Calvin Lin Staff - 7 years, 6 months ago

I came across this interesting problem :

There are 3030 people in a party. Each of them has exactly one favorite chess variant and exactly one favorite classical inequality. Each person lists this information in a survey. Among the survey responses, there are exactly 2020 different favorite chess variant and exactly 1010 different favorite inequalities. Let nn be the number of people M such that the number of people who listed M's favorite inequality is greater than the number of people who listed M's favorite chess variant. Prove that n11n \ge 11.

Zi Song Yeoh - 7 years, 6 months ago

Nice problem! Because I am quite bored, let me give it a try.

Let the 20 20 different chess variant be c1,,c20c_1, \ldots, c_{20} and also let the 10 10 different classical inequalities be e1,,e10 e_1, \ldots, e_{10} (I chose e e instead of i i to avoid ii i_i ). We will define, intuitively, the sets Pi P_i (ok, note that clearly 1i20 1 \leq i \leq 20 ) that chose ci c_i as their favourite chess variant and Qi Q_i (again, obviously 1i10 1 \leq i \leq 10 ) that chose ei e_i as their favourite classical inequality.

Well, the only way that I can think to proceed with 2 2 variables and we want to associate the things together, is to sort of try a coordinate approach. So we will assign a value (Xk,Yk)( X_k, Y_k) to each party-goer k k . So let kPi k \in P_i , then we will let Xk=1Pi X_k = \frac{1}{|P_i|} (where absolute value denotes the cardinality as usual), similarly, if kQj k \in Q_j then we will let Yk=1Qj Y_k = \frac{1}{|Q_j|} . Well, the beauty of taking coordinates now reduce the problem to finding party-goers k k such that Xk>Yk X_k > Y_k . And talking about motivation, we did not take Xk=Pi X_k = |P_i| because we want to use all the conditions in the problem, we should try to sum up the coordinates, and taking reciprocals make it more predictable.

So now, consider the sum of the coordinates of all the party-goers. The x x coordinates sum to 20 20 and the y y coordinates sum to 10 10 . So:

kXkYk=10 \sum_k {X_k - Y_k} = 10 .

At this point I thought the answer was 10 10 , but that was seriously naive. Because I forgot about the reciprocals, so if we recall the fractions, we in fact have: XkYk<Xk1 X_k - Y_k < X_k \leq 1 . So at least 11 11 terms in the summation needs to be positive, or in the question, n11 n \geq 11 .

EDIT: Btw, where did u get this nice problem? And the people at the party must all be very mathy!

Anqi Li - 7 years, 6 months ago

This is from the book "102 Problems In Combinatorics".

By the way, your solution is almost the same as the solution in the book.

Zi Song Yeoh - 7 years, 6 months ago

@Zi Song Yeoh Is that a good thing? Haha

Anqi Li - 7 years, 6 months ago

Problem 2 : A finite set of (distinct) positive integers is called a DS-set if each of the integers divides the sum of all the numbers in the set. Prove that every finite set of positive integers is a subset of some DS-set.

Zi Song Yeoh - 7 years, 6 months ago

Sorry, I was bored again, so I'll attempt this problem too. (Just to see whether I improved in combi/number theory)

Consider rephrasing this problem in set notation for easier reference:

Restatement of problem: We are given a finite set of positive integers, which we will denote as X X . Prove that we can always find a superset of X X , let's call it Y Y (or in set notation YX Y ⊇ X ), that satisfies the conditions: every element of Y Y divides the sum of the elements in Y Y .

Normally, when we consider combinatorics problem regarding sets, we can always try to sort the elements, or in our case, we shall use the extremal principle. Consider the maximum element in X X , let's denote it as n n . We will construct a set T T that contains 1n 1 \ldots n . EDIT: Right, I forgot to mention that the most key idea of all is to realise the trivial lcm(1,,n)=n! lcm(1, \ldots, n )= n! so that we try to make the sum n! n! . The motivation behind this construction is that 1+2++n=n(n+1)2 1+2+\ldots + n = \frac{n(n+1)}{2} and then try to telescope the others, and the other main idea is to work backwards. In a sense by our key method of telescoping, the last term should be something like n×(n1)×(n2)××3×1 n\times(n-1)\times(n-2)\times \ldots \times3 \times 1 we can then work backwards to find the previous term, etc.

In a nutshell, it should be clear that for n6 n \geq 6 , we should get the following sequence for Y Y :

1,2,,n,n(n3)2,n(n1)(n3),n(n1)(n2)(n4),,n(n1)(3)1 1, 2, \ldots, n, \frac{n(n-3)}{2}, n(n-1)(n-3), n(n-1)(n-2)(n-4), \ldots, n(n-1)\ldots(3)1

By construction, these sum to n! n! , and all the elements are distinct and divide n!n! .

However, for the remaining case n<6 n < 6 by the sole definition of superset we can see that we just take the construction of n=6 n = 6 . □

EDIT: Perhaps a more "direct" approach is using induction with the following lemma in mind:

Lemma: Given arbitrary x,y x,y we can construct a set satisfying the conditions listed in the problem that contains x,yx ,y as its smallest element.

The motivation for considering smallest element is because we add in larger elements, etc.

Anqi Li - 7 years, 6 months ago

Problem 6 :

Let a,b,ca, b, c be positive real numbers with product 11. Prove that

1a+b+1+1b+c+1+1c+a+11\frac{1}{a + b + 1} + \frac{1}{b + c + 1} + \frac{1}{c + a + 1} \le 1.

Zi Song Yeoh - 7 years, 6 months ago

This looks really symmetric, so there should be no harm in clearing the denominators. In fact, we get something quite neat:

Σcyca2(b+c)+2abc2+2(a+b+c) \Sigma_\text{cyc} a^2(b+c) + 2abc \geq 2 + 2(a+b+c)

so now, in this reduced form, we see that we need to bound the sum and product of a,b,c a,b,c , one of which is given. So, subbing in 2abc2 2abc \geq 2 and cyca3 \sum_\text{cyc} a \geq 3 :

cyca2(b+c)2cyca \sum_\text{cyc} a^2(b+c) \geq 2 \sum_\text{cyc} a

Ok.. this looks terrible in its current form, let me expand it:

a2b+a2c+b2a+b2c+c2a+c2b2(a+b+c) a^2b+a^2c + b^2a+b^2c + c^2a+c^2b \geq 2(a+b+c)

Suppose we directly apply AM-GM (by spamming on a2(b+c) a^2(b+c) is bad because then we get a bound in the opposite direction):

(a2b+a2c)2a4bc2a3 \sum (a^2b + a^2c) \geq \sum 2\sqrt{a^4bc} \geq \sum 2 \sqrt{a^3} (here \sum denotes cyclic sum)

which sucks since we can't square root a third power. So darn. But we can easily patch up by introducing a new variable that does not affect the product - the mightiest 1 1 ! So, this time, we have:

(a2b+a2c+1)33a4bc33 \sum (a^2b + a^2c + 1) -3 \geq \sum 3 \sqrt[3]{a^4bc} - 3

3a333=3(a+b+c)3=2(a+b+c)+(a+b+c3) \geq ∑3 \sqrt[3]{a^3} - 3 = 3(a+b+c) - 3 = 2(a+b+c) + (a+b+c-3)

2(a+b+c) \geq 2(a+b+c)

as desired. □

Note: this can be simplified at least 10 10 times but with motivation, the solution becomes more instructive. I wonder if a substitution such as a=xy a = \frac{x}{y} and it's cyclic counterparts will work.

Anqi Li - 7 years, 6 months ago

There is a more elegant way. :)

Zi Song Yeoh - 7 years, 6 months ago

@Zi Song Yeoh (In fact, it uses almost the same idea as IMO 1996 Shortlist A1)

Zi Song Yeoh - 7 years, 6 months ago

@Zi Song Yeoh The idea for that A1, if I am not wrong, is to use the fact that (a3b3)(a2b2)0 (a^3 - b^3)(a^2-b^2) \geq 0 , right?

Anqi Li - 7 years, 6 months ago

@Anqi Li Ok, I found one more solution, not necessarily any more elegant IMO but it uses a substitution widely seen in such inequalities, and again I considered cubes as a hindsight in case something such as the one that happened in my other solution occurs.

Well, the first step is to let abc=c3 abc = c^3 (ok c1 c \geq 1 by definition) so that we can in fact sub in a=c3x a = c^3 x and cyclically for the rest. Clearly, xyz=1 xyz = 1 (this is one of reasons to do such a substitution \rightarrow to force out more conditions). Just sub everything in and a few manipulation would give:

11+a+b=11+k(x3+y3) ∑\frac{1}{1+a+b} = ∑ \frac{1}{1+k(x^3+y^3)}

11+(x3+y3) \leq \frac{1}{1+(x^3+y^3)} (the beauty of such a substitution is that we can reduce the number of variables and give ourselves more conditions to work with)

1xyz+x2y+xy2=1xy×1x+y+z=1 \leq ∑\frac{1}{xyz + x^2y + xy^2} = ∑\frac{1}{xy} \times \frac{1}{x+y+z} = 1

as desired. □

EDIT: Oops, instead of using the condition xyz=1 xyz = 1 I used xyz1 xyz \geq 1 in my workings. Actually, it is the same thing, just ignore some parts of the definition.

Anqi Li - 7 years, 6 months ago

@Anqi Li Yes

Zi Song Yeoh - 7 years, 6 months ago

Problem 8 :

The positive integers from 10001000 to 29992999 (inclusive) are written on a board.

Each second, one is allowed to erase two numbers aa and bb on the board, and replace them by min(a,b)2\frac{min(a, b)}{2}.

After 19991999 seconds, one obtains a number cc on the board. Prove that c<1c < 1.

Zi Song Yeoh - 7 years, 6 months ago

Question 12: If α,β,γ\alpha, \beta, \gamma are the roots to the equation 3x21=2x3x^2 - 1 = \frac {2}{x} , without combining the three fractions, evaluate 3α2+α+3β2+β+3γ2+γ \frac {3- \alpha}{2+\alpha} + \frac {3- \beta}{2+\beta} + \frac {3- \gamma}{2+\gamma}

Pi Han Goh - 7 years, 6 months ago

Question 13: Prove that 1cos6+1sin24+1sin48=1sin12 \large \frac {1}{\cos 6^\circ} + \frac {1}{\sin 24^\circ} + \frac {1}{\sin 48^\circ} = \frac {1}{\sin 12^\circ}

Pi Han Goh - 7 years, 6 months ago

Nice. I wasn't aware of this identity.

Calvin Lin Staff - 7 years, 6 months ago

Question 14: Find the sixth digit from the end of the number 666666 \large 6^{6^{6^{6^{6^6}}}}

Pi Han Goh - 7 years, 6 months ago

Question 15: Evaluate limx01+tanx1+sinxcosx1 \displaystyle \lim_{x \to 0} \frac { \sqrt{1+\tan x} - \sqrt{1 + \sin x} }{ \sqrt {\cos x} - 1 }

Pi Han Goh - 7 years, 6 months ago

Problem: Given positive real numbers x,y,z x,y,z that satisfy x+y+z=1 \sqrt{x} + \sqrt{y} + \sqrt{z} = 1 . Prove that

x2+yz2x2(y+z)+y2+zx2y2(z+x)+z2+xy2z2(x+y)1 \frac{x^2+yz}{\sqrt{2x^2(y+z)}} + \frac{y^2+zx}{\sqrt{2y^2(z+x)}} + \frac{z^2+xy}{\sqrt{2z^2(x+y)}} \geq 1 .

Anqi Li - 7 years, 6 months ago

Here's another inequality from Iran 1998, that I particularly relish.

Problem: Prove that if x,y,z>0 x,y,z > 0 satisfy 1x+1y+1z=2 \frac{1}{x} + \frac{1}{y} + \frac{1}{z} = 2 , then:

x1+y1+z1x+y+z \sqrt{x-1} + \sqrt{y-1} + \sqrt{z-1} \leq \sqrt{x+y+z}

Hint : Use Cauchy. However, just to give the interested reader a clue, let us apply Cauchy in the most obvious way:

x1+y1+z13(x+y+z2) \sqrt{x-1} + \sqrt{y-1} + \sqrt{z-1} \leq \sqrt{3(x+y+z-2)}

Then the final step would be to prove 3(x+y+z2)x+y+zx+y+z=92 \sqrt{3(x+y+z-2)} \leq \sqrt{x+y+z} ⇔ x+y+z = \frac{9}{2} . This restated form is not true since we can easily verify that the reverse holds. To find the correct "coefficients" (this is much like matching coefficients in polynomial problems), try the method in Sequential Roots.

Anqi Li - 7 years, 6 months ago

Recursion


Recursion is using smaller cases to construct larger cases.

Here are some signs that recursion might be a good method to attack a problem:

  1. The problem asks for the value of a large case, and you can determine small values or they are given.

  2. There is a clear connection between small cases and large cases.

Here are some steps helpful when applying recursion to a problem:

  1. Analyze small cases.

  2. Try to construct larger cases using smaller cases.

  3. Make a conjecture about a connection between a larger case and the case[s] smaller than it.

  4. Prove your conjecture.

  5. Determine the answer using the connection you found.

Let us begin with a simple example:


A collection of 8 cubes consists of one cube with edge-length kk for each integer kk, 1k81\le k\le 8. A tower is to be built using all 8 cubes according to the rules:

  • Any cube may be the bottom cube in the tower.

  • The cube immediately on top of a cube with edge-length kk must have edge-length at most k+2k+2.

Let TT be the number of different towers than can be constructed. What is the remainder when TT is divided by 1000? (AIME)


Your initial instinct may be to try casework based on which position a certain block is in, or maybe you thought that complementary counting was a good approach. However, recursion turns out to be a very fruitful approach to solve this problem. Looking back at our signs:

The problem asks for the value of a large case, and you can determine small values or they are given.

Yes, the problem asks about a tower with 8 cubes, and finding the number of towers of 1, 2 and even 3 is very simple, as the restriction doesn't matter.

There is a clear connection between small cases and large cases.

Yes, to get from 4 cubes to 5 cubes, simply add a cube, although the method of doing that may be slightly trickier.

Let TnT_n be the number of towers of nn cubes. Let us apply our steps above:

Analyze small cases.

With 1 cube, there is clearly only 1 possible tower, so T1=1T_1=1. With 2 cubes, there are 22 possible towers, and T2=2T_2=2. With 3 cubes, there are 66 possible towers, and T3=6T_3=6.

Try to construct larger cases using smaller cases.

If we have 3 cubes, and want to place the 4th, where can we put it? We can clearly put it on the bottom by the first rule in the problem. Following that thought, we can put it on top of the 2 or the 3, but not the 1. Then, we have 3 places we can put the 4th cube, and so T4=T33=63=18T_4=T_3\cdot 3=6\cdot 3=18.

If we have 4 cubes, and want to place the 5th, where can we put it? We can put it on the bottom, or we can put it on top of the 3 or the 4. Therefore, there are 3 places we can put the 5th cube, and T5=T43=183=54T_5=T_4\cdot 3=18\cdot 3=54.

Make a conjecture about a connection between a larger case and the case[s] smaller than it.

We can conjecture that Tk=3Tk1T_k=3T_{k-1} for k3k\ge 3. Luckily, this connection only depends on the previous term, so the work is easier.

Prove your conjecture.

If k3k\ge 3, then the kthk^{th} cube can go on the bottom, or on top of the (k1)th(k-1)^{th} cube or the (k2)th(k-2)^{th} cube. Then, we conclude that Tk=3Tk1T_k=3T_{k-1}, as for each tower with k1k-1 cubes, the kthk^{th} cube can go in 3 places.

Determine the answer using the connection you found.

Finally, T2=2T_2=2, and T8=3(T7)=32(T6)==36(T2)=1458T_8=3(T_7)=3^2(T_6)=\cdots=3^6(T_2)=1\boxed{458}.

Well, that wasn't that bad, was it? I guarantee casework and other methods would have taken longer. Now that we have seen a more basic application of recursion, let us dive in deeper with another problem.


In how many ways can 7 teams place in a tournament if ties are allowed?


First, let us try to understand the problem, and I think a good way to go about that is by listing some possible orderings. Let the teams be numbered 1 through 7. We could have 1 be first, 2 be second, and so on till 7 which is last, or we could have 1 and 3 and 6 tie for first, and the other four teams tie for second, or we could... You know what, I'm starting to think that there might be a few too many possibilities to list. In fact, even without ties, there are 7!=50407!=5040 possibilities.

Now, let us try casework. If there are no ties, there are 50405040 possibilities. lf there is one tie between two teams for first, we first pick the two teams that tie, and then order the remaining five teams. In fact, the number of possible placements, assuming teams are indistinguishable, is equal to the number of ordered partitions of 77, which you will soon see in problem number 1 below. I'll tell you this much: it is way too large to do by hand.

As this post is about recursion, I hope you are now thinking about how to apply recursion to this problem. Sign number 1 (asks for a large case, small cases are determinable) is satisfied. Number 2 (connect larger cases with smaller cases) is also satisfied, as all we do is add a team. Now, let us try to think about how a recursion would work...

If we have 6 teams, and want to place the 7th, where can be put it? If there are no ties in the 6 teams, this question is not so difficult. We can have 7 tie with any of the other 6 teams, or we can have it not tie, and be first, second, third, ..., or last. But what if there are ties? Say there is one tie. Then, we can have 7 tie with any of the 5 (do you see why 5 now?) other places, or it can not tie, being first, second, third, ..., or last. Continuing this train of thought, if we knew how many possibilities there were for 6 teams in 4 "groups," then we could place the 7th team tying with one of the 4 groups, or it could be alone in 5 places. This starts to sound like a recursion we can do!

To generalize, say we have nn teams in kk groups in xx different ways. We can have n+1n+1 teams in kk groups by adding a team to any of the kk existing groups, giving kxkx ways, and we can have n+1n+1 teams in k+1k+1 groups by adding a team alone in k+1k+1 different locations, giving (k+1)x(k+1)x ways.

Now, let us start a recursion. Let f(n,k)f(n,k) be the number of ways nn teams can place into kk spots, and define f(n,0)=0f(n,0)=0 and f(n,k)=0f(n,k)=0 if k>nk>n. By our earlier logic, f(n+1,k)=(k)f(n,k1)+(k)f(n,k)=k(f(n,k1)+f(n,k))f(n+1,k)=(k)f(n,k-1)+(k)f(n,k)=k(f(n,k-1)+f(n,k)) For the base case, we can see that f(1,1)=1f(1,1)=1. Let us make a table, where nn goes down the side and kk is on the top: 12345671f(1,1)0000002f(2,1)f(2,2)000003f(3,1)f(3,2)f(3,3)00004f(4,1)f(4,2)f(4,3)f(4,4)0005f(5,1)f(5,2)f(5,3)f(5,4)f(5,5)006f(6,1)f(6,2)f(6,3)f(6,4)f(6,5)f(6,6)07f(7,1)f(7,2)f(7,3)f(7,4)f(7,5)f(7,6)f(7,7)\begin{array}{| l | l | l | l | l | l | l | l |} \hline & 1 & 2 & 3 & 4 & 5 & 6 & 7 \\ \hline 1 & f(1,1) & 0 & 0 & 0 & 0 & 0 & 0 \\ \hline 2 & f(2,1) & f(2,2) & 0 & 0 & 0 & 0 & 0 \\ \hline 3 & f(3,1) & f(3,2) & f(3,3) & 0 & 0 & 0 & 0 \\ \hline 4 & f(4,1) & f(4,2) & f(4,3) & f(4,4) & 0 & 0 & 0 \\ \hline 5 & f(5,1) & f(5,2) & f(5,3) & f(5,4) & f(5,5) & 0 & 0 \\ \hline 6 & f(6,1) & f(6,2) & f(6,3) & f(6,4) & f(6,5) & f(6,6) & 0 \\ \hline 7 & f(7,1) & f(7,2) & f(7,3) & f(7,4) & f(7,5) & f(7,6) & f(7,7) \\ \hline \end{array}

To finish, we simply fill in values (don't mess up here!): 1234567110000002120000031660000411436240005130150240120006162540156018007200711261806840016800151205040\begin{array}{| l | l | l | l | l | l | l | l |} \hline & 1 & 2 & 3 & 4 & 5 & 6 & 7 \\ \hline 1 & 1 & 0 & 0 & 0 & 0 & 0 & 0 \\ \hline 2 & 1 & 2 & 0 & 0 & 0 & 0 & 0 \\ \hline 3 & 1 & 6 & 6 & 0 & 0 & 0 & 0 \\ \hline 4 & 1 & 14 & 36 & 24 & 0 & 0 & 0 \\ \hline 5 & 1 & 30 & 150 & 240 & 120 & 0 & 0 \\ \hline 6 & 1 & 62 & 540 & 1560 & 1800 & 720 & 0 \\ \hline 7 & 1 & 126 & 1806 & 8400 & 16800 & 15120 & 5040 \\ \hline \end{array} and the answer is 1+126+1806+8400+16800+15120+5040=472931+126+1806+8400+16800+15120+5040=\boxed{47293}.


Problems:

  1. Find the number of ordered partitions of 1010 where an ordered partition of nn is a tuple of positive integers (a1,a2,,ak)(a_1,a_2,\cdots,a_k) such that a1+a2++ak=na_1+a_2+\cdots+a_k=n.

  2. A mail carrier delivers mail to the nineteen houses on the east side of Elm Street. The carrier notices that no two adjacent houses ever get mail on the same day, but that there are never more than two houses in a row that get no mail on the same day. How many different patterns of mail delivery are possible? (AIME)

  3. In how many ways can 7 teams place in a tournament if ties are allowed? Try this problem with a single recursion that doesn't depend on groups. Hint: use more than one previous value in the recursion

  4. See here.


Next week, I will write a post about recursion in computer science.

In two weeks, we will learn how to solve expressions such as Tk=3Tk1T_k=3T_{k-1}, which are called recurrence relations.

Daniel Chiu - 7 years, 5 months ago

Oh yeah sorry the numbering is not working correctly since I have words in between.

Daniel Chiu - 7 years, 5 months ago

Problem 3 : The sequence given by x0=a,x1=bx_0 = a, x_1 = b, and xn+1=12(xn1+1xn)x_{n + 1} = \frac{1}{2}\left(x_{n - 1} + \frac{1}{x_n}\right) for all n1n \ge 1 is periodic. Prove that ab=1ab = 1.

Zi Song Yeoh - 7 years, 6 months ago

Problem 4 :

Suppose that ff is a decreasing function from positive reals to positive reals such that for all positive reals x,yx, y,

f(x+y)+f(f(x)+f(y))=f(f(x+f(y))+f(y+f(x)))f(x + y) + f(f(x) + f(y)) = f(f(x + f(y)) + f(y + f(x))).

Prove that f(f(x))=xf(f(x)) = x.

Zi Song Yeoh - 7 years, 6 months ago

Problem 5 :

Find all functions f:QQf : \mathbb{Q} \rightarrow \mathbb{Q} such that

f(x+y)+f(xy)=2(f(x)+f(y))f(x + y) + f(x - y) = 2(f(x) + f(y)) for all rational numbers x,yx, y.

Zi Song Yeoh - 7 years, 6 months ago

Problem 7 :

Find all functions ff, defined on the set of ordered pairs of positive integers, satisfying the following properties.

f(x,x)=x,f(x,y)=f(y,x),(x+y)f(x,y)=yf(x,x+y)f(x, x) = x, f(x, y) = f(y, x), (x + y)f(x, y) = yf(x, x + y)

Zi Song Yeoh - 7 years, 6 months ago

Just a note : Our group currently has the most number of comments among the 3 groups.

Zi Song Yeoh - 7 years, 6 months ago

True that is and it seems that we have been posting quite a lot of problems and ideas compared with some of the other groups :P And also Zi Song, do you have any nice invariant problems that I can include in my invariant post?

Anqi Li - 7 years, 6 months ago

Problem 8. (Actually, I created an invariant problem, but I'm going to save that for other uses.)

Zi Song Yeoh - 7 years, 6 months ago

@Zi Song Yeoh Do you mind if I include them in the practice section of my "article"?

Anqi Li - 7 years, 6 months ago

@Anqi Li No, I don't. It is from the book '101 Problems in Algebra' :)

Zi Song Yeoh - 7 years, 6 months ago

Well, that's partly because you guys have the most members, and also the most active members. This is why I said I have a lot of confidence in this group and will check in occasionally :)

Calvin Lin Staff - 7 years, 6 months ago

Random problem I saw: Determine all positive integers n n for which there exists a polynomial P(x) P(x) with real coefficients, with the following properties:

(1) for each integer k k , we have P(k)Znk P(k) \in \mathbb{Z} \leftrightarrow n \nmid k ;

(2) degf<n \deg f < n .

The key idea here is to notice that if we can somehow find a recursion then we can apply certain coprime arguments, so we think of newtonian interpolation which in a form easy to use, states:

f(j+n)=i=0n1(1)n1i(ni)f(j+i) f(j+n) =\sum_{i = 0}^{n-1}(-1)^{n-1-i}\binom{n}{i}f(j+i) .

Remark: This is from the RMM.

EDIT: There are other solutions using the fact that f(0) f(0) is not an integer (for obvious reasons).

Anqi Li - 7 years, 6 months ago

Problem 9 :

In triangle ABCABC,

3sinA+4cosB=6,4sinB+3cosA=13sinA + 4cosB = 6, 4sinB + 3cosA = 1

Find angle CC.

Zi Song Yeoh - 7 years, 6 months ago

This is a little bit... too extremely easy. Don't you think?

Pi Han Goh - 7 years, 6 months ago

No worries about the difficulty, you can always cross post into another group :)

Calvin Lin Staff - 7 years, 6 months ago

Yes, it is. :)

Zi Song Yeoh - 7 years, 6 months ago

Problem 10 : Find all primes pp such that p2+11p^2 + 11 has exactly 66 positive divisors.

Zi Song Yeoh - 7 years, 6 months ago

10 10 is a nice number, so let me attempt this question.


I see no clear clue on how to proceed, so I shall employ 2 2 strategies:

  • Recall Useful Formulas: Remember that if the prime factorisation of an integer n n is p1e1p2e2pnen p_1^{e_1}p_2^{e_2} \ldots p_n^{e_n} , then the number of prime factors that it has is given by (e1+1)(e2+1)(en+1) (e_1+1)(e_2+1) \ldots (e_n + 1) .

  • Mess around with small values: In this case, let us list out: - (we compute the number of divisors using the formula given above)

  1. p=2 p = 2 . The expression equates to 15 15 which has 4 4 divisors, which is bad.

  2. p=3 p = 3 . The expression equates to 20 20 which indeed has 6 \fbox{6} divisors, as we wanted.

  3. p=5 p = 5 . The expression equates to 36 36 which has 9 9 divisors.

  4. p=7 p = 7 . The expression equates to 60 60 which has too many divisors.

These give us information to motivate a conjecture that the only answer is p=3 p = \fbox{3} .


Well, clearly in most number theory problems we like to use mods. Intuitively, in most cases, a small mod is used, and I feel particularly inclined to consider 3 3 and 4 4 due to the proximity of 11 11 in question to 12 12 .

Now recall that all primes >3 > 3 is odd. We would like to prove that p2+11 p^2 + 11 for p>3 p > 3 has lots of factors. (motivated by the observations) However, one can easily verify that an odd square satisfies p21(modi) p^2 \equiv 1 \pmod i for i=3,4 i = 3,4 .

Now, since 111(mod12) 11 \equiv -1 \pmod {12} , we see that 12p2+11 12 \mid p^2 + 11 for all primes p>3 p > 3 . But 12 12 has 6 6 factors, so any multiple of 12 12 has >6 > 6 factors. We have successfully proven our conjecture. □

Anqi Li - 7 years, 6 months ago

Problem 11 : Determine whether it's possible to find a cube and a plane such that the distances from the vertices of the cube to the plane are 0,1,2,...,70, 1, 2, ..., 7.

Zi Song Yeoh - 7 years, 6 months ago

Question 7: What is the best estimate for positive integer nn such that 203+213+223++2100032n3 \large \lfloor{\frac{2^0}{3}} \rfloor + \lfloor{\frac{2^1}{3}} \rfloor + \lfloor{\frac{2^2}{3}} \rfloor + \ldots + \lfloor{\frac{2^{1000}} {3}} \rfloor \approx \frac {2^n}{3}

Pi Han Goh - 7 years, 6 months ago

Question 8: Let a>0a>0 and let P(x) P(x) be a polynomial with integer coefficients such that for positive integers n50n \leq 50, P(n)=aP(n) = a when nn is odd; and P(n)=a P(n) = -a when nn is even. What is the last three digits of the smallest value of aa?

Pi Han Goh - 7 years, 6 months ago

Question 9: For every integer n2n \geq 2 , let pow(n) pow(n) be the largest power of the largest prime that divides nn. For example pow(144)=pow(2432)=32 pow(144) = pow(24 \cdot 32) = 32 . What is the largest integer mm such that 2010m2010^m divides n=25300pow(n) \displaystyle \prod_{n=2}^{5300} pow(n) ?

Pi Han Goh - 7 years, 6 months ago

Question 10: Let NN be the number of xx-intercepts on the graph y=sin(1x)y=\sin( \frac {1}{x} ) is in the interval (0.0001,0.001) (0.0001, 0.001) . What is NN rounded up to the nearest hundred digit?

Pi Han Goh - 7 years, 6 months ago

Question 11: If a polynomial P(x)P(x) satisfies P(2x21)=(P(x))22 P(2x^2 - 1) = \frac { (P(x))^2}{2} , evaluate (P(2012))7+(P(2013))7(P(2014))7(P(2015))7 (P(2012))^7 + (P(2013))^7 - (P(2014))^7 - (P(2015))^7

Pi Han Goh - 7 years, 6 months ago

Problem: Let p p , be an odd prime. The sequence (an)n0 (a_n)_{n \geq 0} is defined as follows:

  • a0=0,a1=1,,ap2=p2 a_0 = 0, a_1 = 1, \ldots, a_{p-2} = p-2

  • for all np1, n \geq p-1, an a_n is the least positive integer that does not form an arithmetic sequence of length p p with any of the preceding terms.

Prove that, for all n n , an a_n is the number obtained by writing n n in base p1 p-1 and reading the result in base p p .

Source: USAMO

Hint: Induction.

Anqi Li - 7 years, 6 months ago

This is from the book "104 Problems In Number Theory" :) Anqi, do you know where to find the Raffles Invitational Mathematical Olympiad (RIMO) problems?

Zi Song Yeoh - 7 years, 6 months ago

I came across this randomly when I was flipping through past USAMO problems :P Wait for a while, let me ask my trainer. Will update you as soon as he replies.

Anqi Li - 7 years, 6 months ago

@Anqi Li Thanks!

Zi Song Yeoh - 7 years, 6 months ago

@Zi Song Yeoh Ok I asked him about it and he said sample papers were supposed to be sent to the schools (at least to my school) and not available online. I think my school will probably lend me the papers at the start of the school year in January (to assist me in preparing slides for our math club (?)) so if u need I should be able to scan (?) then.

Anqi Li - 7 years, 6 months ago

@Anqi Li I just received the sample problems.

Zi Song Yeoh - 7 years, 6 months ago

@Zi Song Yeoh But, I was looking for last year's problems.

Zi Song Yeoh - 7 years, 6 months ago

@Zi Song Yeoh Hmm let me ask him.

Anqi Li - 7 years, 6 months ago

@Anqi Li Wait, my friend posted it in a group long ago. I just found it. (Do you want them?)

Zi Song Yeoh - 7 years, 6 months ago

@Zi Song Yeoh Yup but how can I contact you? :P

Anqi Li - 7 years, 6 months ago

@Anqi Li By Facebook? But I don't have your account name. Mine is Zi Song Yeoh. Or should I send you by email?

Zi Song Yeoh - 7 years, 6 months ago

@Zi Song Yeoh Sheesh I have no facebook :-/ but ok, I don't mind people knowing my email address (just don't spam :P): math4everanqi@gmail.com

Anqi Li - 7 years, 6 months ago

@Anqi Li Oh I see, haha. Ok, I'll send you the problems. But for Day 1 Problem 3, there was a typo, and my friend tried to correct it. It should be correct, but I'm not sure.

Edit : I won't spam your email.

Zi Song Yeoh - 7 years, 6 months ago

@Zi Song Yeoh It's ok :) Thanks!

Anqi Li - 7 years, 6 months ago

@Anqi Li I just sent it. The pdf is attached to the mail. Good luck!

Zi Song Yeoh - 7 years, 6 months ago

Problem: Suppose that in a certain society, each pair of persons can be classified as either amicable or hostile. We shall say that each member of an amicable pair is a friend of the other, and each member of a hostile pair is a foe of the other. Suppose that the society has n n persons and q q amicable pairs, and that for every set of three persons, at least one pair is hostile. Prove that there is at least one member of the society whose foes include q(14q/n2) q(1 - 4q/n^2) or fewer amicable pairs.

Source: USAMO

Hints: Try either:

  • Using graphs

  • The "adjacency matrix" method (as we call here in trainings), i.e. consider a table having aij=0 or 1 a_{ij} = 0 \space \text{or} \space 1

Anqi Li - 7 years, 6 months ago

Given the inequalities questions, can someone do a simple writeup for Cauchy Schwarz?

There are several ways of using it, like Titu's Lemma.

Calvin Lin Staff - 7 years, 6 months ago

Sure I wouldn't mind. I will write one up after my invariance has been posted.

Anqi Li - 7 years, 6 months ago

I'm sorry I haven't been able to comment sooner - I've been studying for my finals. I would love to do a series of posts on game theory, which I plan to research over holiday break. I'm also going to think about some geometry concepts that could be introduced. Regarding the group leader thing, I think that we should rotate people as leaders every month or every couple of months. Do people think that a post on math resources (other websites, books, lectures, youtube channels, etc.) would be fun? I think that we, as the Torque Group, could compile a pretty good one. Your ideas for posts look really great. I can't wait to start publishing things with all of you! Regarding my publishing frequency, I could probably publish something 1-2 times a week.

Nina Singh - 7 years, 6 months ago

Oh oops, didn't see this here... I'll get on it :P

though my activity during this month will depend a lot on whether I get into school (hearing friday) -- if yes, then I'll have more free time, if not I'll be slaving over applications. Sorry!

Also by olympiad problems.. what are we talking here. USAMO? IMO? Putnam? Right now I plan on just posting problems I find that I think are cool (and at that level).

Michael Tong - 7 years, 6 months ago

Problem: Show that for all primes p p ,

f(p)=k=1p1k2kp1 f(p) = \prod_{k=1}^{p-1} k^{2k-p-1}

is an integer.

Note: Do NOT use Legendre's Formula.

Anqi Li - 7 years, 6 months ago

Why?

Zi Song Yeoh - 7 years, 6 months ago

Because, there's a neater way to solve it. Hint: Consider f(p) f'(p) .

Anqi Li - 7 years, 6 months ago

I'm working on creating a list of mathematical resources (books, websites, youtube channels, programs, etc.) Would anyone be interested in helping? If so, please reply with your email address and I'll share the google doc with you.

Nina Singh - 7 years, 5 months ago

Yes I'm interested.

EDITED: thanks

Pi Han Goh - 7 years, 5 months ago
×

Problem Loading...

Note Loading...

Set Loading...