Processing math: 0%
Skip to main content

Some problems in Olympiad Graph theory!

Hello there! It has been a long time since I uploaded a post here. I recently took a class at the European Girls' Mathematical Olympiad Training Camp 2024, held at CMI. Here are a few problems that I discussed! My main references were Po-Shen Loh's Graph theory Problem set (2008), Adrian tang's Graph theory problem set (2012) and Warut Suksompong's Graph Cycles and Olympiad Problems Handout and AoPS. I also referred to Evan Chen's Graph theory Otis Problem set for nice problems!

Text Book Problems which are decent

A connected graph G is said to be k-vertex-connected (or k-connected) if it has more than k vertices and remains connected whenever fewer than k vertices are removed. Show that every k-connected graph of order atleast 2k contains a cycle of length at least 2k.
We begin with a lemma.
Prove that a graph G of order n \geq 2k is k connected then every 2 disjoint set V_1 and V_2 of k distinct vertices each, there exist k pairwise disjoint paths connecting V_1 and V_2
Actually the lemma is an iff condition. Let k \ge 2. As G is k-connected, it is connected and by problem 2, it must contain a cycle. Consider a maximal cycle C. If |C|\ge 2k we are done. Again, by problem 2, the cycle's lenght is atleast k. Also, note that each vertex has degree atleast k. So, there is v\in G/C. Consider A=N(v) ( neighbour of v) and B=C. There are atleast k disjoint path between A and B. By pigeonhole principle, \exists two vertices in A say v_1,v_2 which have distinct path to C. So we get a bigger cycle, v-v_1-P_{v_1,C}-C-P_{v_2,C}-v_2-v, where P_{v_i,C} denotes the path from v_i to C which is distinct.
This is a nice result which uses a lot of new ideas. Constructing a bigger cycle is actually a very useful and intuitive idea.
If every vertex of an undirected graph G has at least d \ge 2 neighbors, then G contains a cycle of length at least d.
Start with any vertex v. Since each vertex has degree atleast d, we get that \exists v_1 such that v is adjacent to v_1. Similarly, since degree d\ge 2, there exists a vertex v_2\ne v such that v_2 is adjacent to v_1. Continue this process. We will get a path v-v_1-\dots-v_{d}. Note that if there is no other new vertex v_{d} is adjacent to then it is adjacent to v and hence we get a d lenght cycle. If not then v_{d} is adjacent to a vertex v_{d+1}\ne v,\dots, v_{d-1}. Now, look at v_{d+1} and consider v_1,\dots, v_{d}. Note that if there is no other vertex apart from the above vertices to which v_{d+1} is neighbour of then consider v_1-\dots-v_d-v_{d+1}-v_1 which is a d lenght cycle. Else, v_{d+1} is adjacent to v_1 ( so we get a d+1 cycle) or it is adjacent to a new vertex. Continue this process. Eventually it has to stop as the graph is finite. And we will be done!
So the idea here was to continue adding more and more and more vertices whenever we can. So in a sense, this is a greedy problem. The idea also comes from DFS because in a sense we are trying to go as much depth as we can.
Prove that the sum of all of the degrees is equal to twice the number of edges. Deduce that the number of odd-degree vertices is always an even number.
Let G be a graph with 'e' edges and 'n' vertices v_1,v_2,v_3,...,v_n. Since each edge is incident on two vertices, it contributes 2to the sum of degree of vertices in graph G. Thus the sum of degrees of all vertices in G is twice the number of edges in G. Hence, \sum_{i=1}^n\text{degree}(v_i)= 2e. The second part follows by parity.
A very simple result in Graph theory but the idea ( which is double counting) is pretty useful! Keep it in mind!
Prove that every tree contains a vertex of degree exactly 1
Follows from the problem 2.
Note that by problem 3, there will be atleast 2 vertices with degree exactly 1.
The diameter of a connected, undirected graph G = (V, E) is the length (in number of edges) of the longest shortest path between two nodes. Show that if the diameter of a graph is d then there is some set S \subset V with |S| \le n/(d - 1) such that removing the vertices in S from the graph would break it into several disconnected pieces.
I do not know why I added this in the set, but here we go. It uses the menger's theorem's max-cut- min-flow version.
Let G be a finite undirected graph and x and y two nonadjacent vertices. Then the theorem states that the size of the minimum vertex cut for x and y (the minimum number of vertices whose removal disconnects x and y) is equal to the maximum number of pairwise vertex-independent paths from x to y.
So, take x and y such that they are diameter. So d(x, y) = d. Let k be the minimum number of vertices whose removal disconnects x and y. By Menger's theorem, there are k vertex disjoint paths from x to y. Note that each path contains at least d - 1 distinct vertices. So the number of vertices of G is n \geq k(d - 1) = |S|(d - 1). So, |S| \leq \frac{n}{d-1} and S disconnects G.
Let G be a regular bipartite graph (that is, a graph with all the vertices having the same degree). Prove that G has a perfect matching.
We use hall's theorem here. Let the vertex set be X and Y. Every edge with an endpoint in A has an endpoint in N(A), let E_A and E_{N(A)} denote the respective edge sets. Then since G is k-regular (k is the degree of each vertex), |E_A| = k |A| and |E_{N(A)}| = k |N(A)|. But E_A \subseteq E_{N(A)}, hence |A| \leq |{N(A)}|. By Hall’s theorem there is a complete matching. But note that The number of edges from X to Y is k|X| and the number of edges from Y to X is k|Y|. As G is bipartite we have k|X|=k|Y|. So every vertex in Y is also matched to a vertex in X, which together match every vertex in the graph. Thus the complete matching is a perfect matching.
Again, double counting helped a lot! Hall's is also something we should keep in mind.
We define the Ramsey Number R(s, t) to be the minimum integer n for which every red-blue coloring of the edges of K_n contains either a completely red K_s or a completely blue K_t. Prove that R(s, t)\le \binom{s+t-2}{s-1}.
Note that R(s, t) \le R(s-1, t)+R(s, t-1), because if we have that many vertices, then when we select one vertex, then it will atleast have \ge R(s-1, t) red neighbors or \ge R(s, t-1) blue neighbors, so we will have red K_s or a blue K_t. By induction, we get \binom{s-1+t-2}{s-2}+\binom{s+t-1-2}{s-1}=\binom{s+t-2}{s-1}
If G is a connected, planar, simple graph, then E \le 3V - 6.
We begin with another double counting argument which is used a lot!
For a planar graph G = (V, E), 3f \leq 2|E| where f is the number of faces in the planar drawing of G.
Each face has at least 3 edges, and each edges is in (at most) 2 faces as planar.
By Euler's formula, f = 2 - |V| + |E|. Thus, \begin{align*} 3f = 6 - 3|V| + 3|E| &\leq 2|E| \\ 3|E| - 2|E| &\leq 3|V| - 6 \\ |E| &\leq 3|V| - 6 \: \end{align*}
I have not seen this criterion being used in olympiad problems but the double counting argument is simple and nice.
Prove that a graph is bipartite if and only if it has no odd cycles.
If G is bipartite with vertex sets V_1 and V_2. If there is an odd cycle, then there must be an edge between two vertices of the same vertex set. Conversely, suppose that every cycle of G is even. Then We consider the following algorithm. - pick a vertex ( say v) and colour it red. - consider all the vertices v is adjacent to and colour them blue - consider all the blue vertices and consider all the vertices adjacent to the blue vertices and colour them red - consider all the red vertices and consider all the vertices adjacent to the red vertices and colour them blue - repeat step 3 and 4 untill all vertices are coloured Note that this will give a valid colouring ( red vertices will be one vertex set and blue vertices will be another vertex set). We will not get any ambiguous colouring because then it would imply that there is some odd cycle.
This is a very simple yet powerful result. Most of the times the bipartite graph is hidden in the problem. But once you recognise that there are only even cycles, life becomes easier!
Prove that every connected graph contains a spanning tree
Besically whenever you see a cycle, remove one edge. It would keep the graph connected but decrease the number of edges. This process will terminate and we will get our spanning tree.
The idea to find a cycle and remove only 1 edge is pretty common.

Olympiad Problems

Let n be a positive integer. Prove that the edges of the complete graph on n vertices can be decomposed into n - 1 paths of lengths 1, 2, \dots , n - 1.
We begin with following lemma.
Show that K_n, n is even can be decomposed into \frac{n}{2} disjointed Hamiltonian paths on edges.
If the vertices are numbered 0, 1, \dots, 2k-1 modulo 2k, where 2k=n, then the i^{\text{th}} Hamiltonian path is (i, i+1, i-1, i+2, i-2, i+3, i-3, \dots, i + (k-1), i - (k-1), i+k).
K_n for odd n is disjoint union of Hamiltonian cycles.
First consider then n-1 vertices and decompose the K_{n-1} graph into disjoint union of hamiltonian paths. Now, from the nth vertex( say v), consider the cycle xPx. Essentially connecting the end points with v and forming a cycle.
In both cases, we can seperate the cycle into paths of lenght i, n-i for odd n and for n even, seperate the paths into i,(n-1)-i and n-1. So done.
The fact that K_n can be decomposed was the crucial hint. Essentially induction worked though!
[IMO 1991] Let G be a connected graph with m edges. Prove that the edges can be labelled with the positive integers 1, 2, \dots , m such that for each vertex with degree at least two, the greatest common divisors amongst the labels on the edges incident to this vertex, is 1.
Consider longest possible tour in the graph. Lable the edges in the tour from 1,\dots k in that order. Note that except the end points, all other vertex in the tour have edges such that gcd is 1. If not all edges are covered, repeat the same process again. Note that since we consider longest path, there is no edge adjacent to the endpoints. Continue this process.
Atleast, after doing so many algorithm problems, I do think very algorithmically. So while seeing this problem, thinking greedily helps!
[Iran MO] Let n\ge 3 be a positive integer. Let G be a grid whose entries are all 0, 1 or -1 such that each row and each column contains exactly one 1 and one -1. Prove that the rows and the columns of the grid can be re-ordered such that the resulting grid is the negative of G.
Consider a directed graph G whose vertices correspond to the rows of the table. For each column, add an edge to G pointing from the row in which the column has a 1 to the row in which the column has a -1. Note that this graph will be composed of disjoint directed cycles. Now, consider the graph G' in which all the edges are fliped. The matrix corresponding to this graph G' is negative of the grid. Consider the cycle v_1-v_2-\dots-v_k-v_1. We switch rows corresponding to v_2,v_k, v_3,v_{k-1} and so on. And then we switch columns corresponding to v_2,v_k, v_3,v_{k-1} and so on. So we have flipped the cycle. And hence we get negative of the graph.
Whenever I see a grid, I now think of graphs! (Thanks to network flows). Here we had a matrix with 1,-1,0 as coefficients. So directed graphs were the first thing to think of! Here the disjoint cycles idea was pretty useful!
[Canada 2006] In a rectangular array of nonnegative real numbers with m rows and n columns, each row and each column contains at least one positive element. Moreover, if a row and a column intersect at a positive element, then the sums of their elements are the same. Prove that m = n.
Consider bipartite graph G with vertex sets R,C. R is the row set with m vertices being the m rows and C is the column set with n columns being the n vertices. Make edge r_i between c_j if the entry at (i,j) is positive. Consider any sub-vertex set of R. Let it be X. Consider N(W). Note that \forall c_i\in N(X)\exists r_j\in X\text{ such that } r_jc_i\in G. Since each row has atleast one postive element, every r_i\in X\exists c_j\in N(X)\text{ such that } r_ic_j\in G. This satisfies hall condition. So m\le n. Similarly n\le m. And we get n=m.
I think whenever we have a grid, it is nice to intepret it in graphical way. Note that the condition that every row and column has a positive element is needed in order to say m\le n.
[Iran 2005] Each edge of a tournament is coloured red or blue. Prove that there exists a vertex v in the tournament such that for every other vertex w, there exists a directed path from v to w of the same colour.
Say T is a minimal counterexample. Then, for each vertex x of T we can choose a vertex f(x)\ne x such that there is a monochromatic path from f(x) to every vertex of T-x but there is no monochromatic path from f(x) to x. We can say this because of minimality. Note there is edge x\to f(x) as tournament. So there is a cycle x_1,\dots,x_n,x_1 such that f(x_i)=x_{i+1} for i=1,2,\dots,n-1, and f(x_n)=x_1. If the edges x_1x_2,x_2x_3,\dots,x_nx_1 are the same color, we get contradiction as there is monochromatic path from x_2 to x_1, but there is edge from x_1 to x_2. This contradicts minimality. Therefore the cycle must contain two consecutive edges of different colors. WLOG say x_1x_2 is red and x_2x_3 is blue. Now there is a monochromatic path from x_3 to x_1. If there is a red path from x_3 to x_1, then there is a red path from x_3 to x_2. Contradiction as there is no monochromatic path from x_3 to x_2. if there is a blue path from x_3 to x_1, then there is a blue path from x_2 to x_1. Contradiction.
In general, taking extremal cases helps a lot! They simplify things a lot more!
[2017 ISL N3] Determine all integers n\geq 2 having the following property: for any integers a_1,a_2,\ldots, a_n whose sum is not divisible by n, there exists an index 1 \leq i \leq n such that none of the numbersa_i,a_i+a_{i+1},\ldots,a_i+a_{i+1}+\ldots+a_{i+n-1}is divisible by n. Here, we let a_i=a_{i-n} when i >n.
Note, if n is composite, then n = ab for integers a, b \ge 2, then take (a_1, a_2,\dots,a_{n-1}, a_n) = (a, a, \dots , a, 0) If n is prime. Say the statement does not hold. Then, construct a directed graph G with vertices 1, 2,\dots,n. For each a_i, there exists 1 \le j \le n - 1 such that a_i + a_{i+1} +\dots+ a{j-1} is divisible by n. Make directed edge from i to j. Note that every vertex has out degree 1. So G is union of directed cycles. When we total sum the terms from each vertex, we get it to be divisible by n. Each a_i would appear equal amount of times. (that would be less than n-1). But the total sum is divisible by n. So n|a_1+\dots+a_n. Contradiction.
The idea for constructing a graph was very new and something to keep in mind!
[ISL 2012 A5] An integer n \geq 3 is given. We call an n-tuple of real numbers (x_1, x_2, \dots, x_n) Shiny if for each permutation y_1, y_2, \dots, y_n of these numbers, we have \sum \limits_{i=1}^{n-1} y_i y_{i+1} = y_1y_2 + y_2y_3 + y_3y_4 + \cdots + y_{n-1}y_n \geq -1.Find the largest constant K = K(n) such that \sum \limits_{1 \leq i \le j-1 \leq n} x_i x_j \geq Kholds for every Shiny n-tuple (x_1, x_2, \dots, x_n).
Construct a graph G=K_n on the x_i. Label each edge x_i \sim x_j with a weight x_ix_j. We have to show that if sum of the weights in any Hamiltonian path is at least -1, then the sum of all weights is at least \tfrac{1-n}{2}. Take x_1 = x_2 = \dots = x_{n-1} = \varepsilon, x_n = -\frac{1}{2\varepsilon}. Then we get that \sum_{1 \le i \le j-1 \le n} x_ix_j = \varepsilon^2 \cdot \frac{(n-1)(n-2)}{2} - \frac{n-1}{2} which approaches -\frac{n-1}{2} as \varepsilon approaches 0. For odd n: Decompose K_n into \frac{n-1}{2} hamiltonian cycles. Note that the weights of each path is at least -1. For even n: WLOG x_1\le x_2\dots \le x_k\le 0\le x_{k+1}\dots \le x_n. Note that 2(x_1x_2+\dots x_{n-1}x_n)\ge (x_2x_3\dots x_{n-1}x_n)+x_kx_{k-1}\ge (x_2x_3\dots x_{n-1}x_n)+x_{n}x_1\ge -1\implies x_1x_2+\dots x_{n-1}x_n=-1/2. Now, just choose a suitable permutation.
Yeah! That is it! I will try to post more some time soon. I have an undergraduate math blog now, where I upload more of undergraduate math content!

Comments

Post a Comment

Popular posts from this blog

Solving Random ISLs And Sharygin Solutions! And INMO happened!!

Some of the ISLs I did before INMO :P  [2005 G3]:  Let ABCD be a parallelogram. A variable line g through the vertex A intersects the rays BC and DC at the points X and Y, respectively. Let K and L be the A-excenters of the triangles ABX and ADY. Show that the angle \measuredangle KCL is independent of the line g Solution: Note that \Delta LDK \sim \Delta XBK and \Delta ADY\sim \Delta XCY. So we have \frac{BK}{DY}=\frac{XK}{LY} and \frac{DY}{CY}=\frac{AD}{XC}=\frac{AY}{XY}. Hence \frac{BK}{CY}=\frac{AD}{XC}\times \frac{XK}{LY}\implies \frac{BK}{BC}=\frac{CY}{XC}\times \frac{XK}{LY}=\frac{AB}{BC}\times \frac{XK}{LY} \frac{AB}{LY}\times \frac{XK}{BK}=\frac{AB}{LY}\times \frac{LY}{DY}=\frac{AB}{DL} \implies \Delta CBK\sim \Delta LDK And we are done. We get that \angle KCL=360-(\angle ACB+\angle DKC+\angle BCK)=\angle DAB/2 +180-\angle DAB=180-\angle DAB/2 Motivation: I took a hint on this. I had other angles but I did...

My experiences at EGMO, IMOTC and PROMYS experience

Yes, I know. This post should have been posted like 2 months ago. Okay okay, sorry. But yeah, I was just waiting for everything to be over and I was lazy. ( sorry ) You know, the transitioning period from high school to college is very weird. I will join CMI( Chennai Mathematical  Institue) for bsc maths and cs degree. And I am very scared. Like very very scared. No, not about making new friends and all. I don't care about that part because I know a decent amount of CMI people already.  What I am scared of is whether I will be able to handle the coursework and get good grades T_T Anyways, here's my EGMO PDC, EGMO, IMOTC and PROMYS experience. Yes, a lot of stuff. My EGMO experience is a lot and I wrote a lot of details, IMOTC and PROMYS is just a few paras. Oh to those, who don't know me or are reading for the first time. I am Sunaina Pati. I was IND2 at EGMO 2023 which was held in Slovenia. I was also invited to the IMOTC or International Mathematical Olympiad Training Cam...

Introduction

  Hey Everyone!! This is my first Blog post. So let me give a brief introduction about myself. I am Sunaina Pati. I love solving Olympiad math problems,  learning crazy astronomical facts , playing hanabi and anti-chess, listening to Kpop , love making diagrams in Geogebra and  teaching other people maths 😊 . I love geometry , number theory and Combinatorics . I am starting this blog to keep myself a bit motivated in doing studies 😎 . Right now, I am planning to write walkthroughs on some of the best problems I tried over the week which can refer for hints 'cause solutions contain some major spoilers and one learns a lot while solving the problem on his own rather than seeing solutions . Also, there will be some reviews about Kpop songs, study techniques, my day to day lifestyles,exam reviews and ofc some non-sense surprises 😂.  I am planning to  try  posting every week on Sundays or Saturdays ( most probably) ! Though there is no guarantee about when I ...

Bio is Love..

Adios, everyone! Boards preparation at its peak :(  However, I am not able to study how I used to. Every time I try to study for boards, I just keep thinking much about a topic, stare at the book, jam a song or just start doing procrastination by bookmarking random cute problems in HSO. It's been more than a year I have studied like with a focus on a book. My lappy is being a big distraction tbh. So after INMO score come out, I will just give my lappy for repair and say papa to bring it back home after June 2.  Milk and Mocha I literally am taking 2 days to complete 1 bio chapter, some times even 3. The rate of my "slowness" is probably because I am like every 15 minutes checking discord to see if the INMO scores are out or not. So HBCSE, thank you for keeping me anxious.  Funfact:- we must be grateful that there is an organisation that is conducting these national Olys. There are some countries where no Olys are being conducted. ( Same dialogue which mumma uses, but in p...

New year with a new beginning! And a recap of 2024..and all the best for INMO 2025!

Hi everyone! Happy New Year :)  Thank you so much for 95k+ views!!! How was everyone's 2024? What are everyone's resolutions? ( Do write down in the comment section! And you can come back 1 year later to see if you made them possible!). And.. What about me?  A Better human being Well, I want to become a better human being this year compared to last year. From a very young age, my father has been saying to me, "It does not matter if you are a good mathematician, but you should be a nice human being." As a teenager, I never took the statement seriously. Well, all that mattered to me was to do good mathematically. Why should I care about other people's feelings? These were all my thoughts in high school.  So I ended up saying a few hurtful statements without realising that they were hurtful.  I never actually cared throughout my high school. You know, the world is too big, if I hurt person A, no worries, I will move on to person B and start a new friendship! As a res...

Geometry ( Finally!!!)

 This is just such an unfair blog.  Like if one goes through this blog, one can notice how dominated  Algebra is!! Like 6 out of 9 blog post is Algebra dominated -_- Where as I am not a fan of Algebra, compared to other genres of Olympiad Math(as of now). And this was just injustice for Synthetic Geo. So this time , go geo!!!!!!!!!!!  These problems are randomly from A Beautiful Journey through Olympiad Geometry.  Also perhaps I will post geo after March, because I am studying combi.  Problem:  Let ABC be an acute triangle where \angle BAC = 60^{\circ}. Prove that if the Euler’s line of \triangle ABC intersects AB and AC at D and E, respectively, then \triangle ADE is equilateral. Solution:  Since \angle A=60^{\circ} , we get AH=2R\cos A=R=AO. So \angle EHA=\angle DOA. Also it's well known that H and O isogonal conjugates.\angle OAD =\angle EAH. By ASA congruence, we get AE=AD. Hence \triangle ADE is equilateral....

Let's complex bash Part 1

I have to learn complex bash. And almost everyone knows that I am notes taking girl so thought why not make a post on complex bash ( so that I don't get emotionally demotivated lol).😇 There wasn't any need for learning complex bash, but it was in my dream checklist i.e " To learn a bash." And since I am not loaded with exams, I think it's high time to learn Bash and new topics.  Also if anyone from the "anti-bash" community is reading, sorry in advance and R.I.P.  Notes:- 1. Complex numbers are of the form z=a+ib, where a and b are real numbers and i^2=-1. 2. In polar form, z=r(\cos \theta+~~i\sin\theta)=~~re^{i\theta}, where r=~~|z|=~~\sqrt{a^2+b^2}, which is called the magnitude. 3. Here we used euler's formula i.e \cos \theta+~~i\sin\theta=~~e^{i\theta}. 4. The \theta is called the argument of z, denored \arg z. ( \theta can be considered in \mod 360 and it is  measured anti-clockwise). 5. The complex conjugate of z is ...

How to prepare for INMO

Since INMO is coming up, it would be nice to write a post about it! A lot of people have been asking me for tips. To people who are visiting this site for the first time, hi! I am Sunaina Pati, an undergrad student at Chennai Mathematical Institute. I was an INMO awardee in 2021,2022,2023. I am also very grateful to be part of the India EGMO 2023 delegation. Thanks to them I got a silver medal!  I think the title of the post might be clickbait for some. What I want to convey is how I would have prepared for INMO if I were to give it again. Anyway, so here are a few tips for people! Practice, practice, practice!! I can not emphasize how important this is. This is the only way you can realise which areas ( that is combinatorics, geometry, number theory, algebra) are your strength and where you need to work on. Try the problems as much as you want, and make sure you use all the ideas you can possibly think of before looking at a hint. So rather than fixing time as a measure to dec...

Problems I did this week [Jan8-Jan14]

Yeyy!! I am being so consistent with my posts~~ Here are a few problems I did the past week and yeah INMO going to happen soon :) All the best to everyone who is writing!  I wont be trying any new problems and will simply revise stuffs :) Some problems here are hard. Try them yourself and yeah~~Solutions (with sources) are given at the end! Problems discussed in the blog post Problem1: Let ABC be a triangle whose incircle \omega touches sides BC, CA, AB at D,E,F respectively. Let H be the orthocenter of DEF and let altitude DH intersect \omega again at P and EF intersect BC at L. Let the circumcircle of BPC intersect \omega again at X. Prove that points L,D,H,X are concyclic. Problem 2: Let ABCD be a convex quadrangle, P the intersection of lines AB and CD, Q the intersection of lines AD and BC and O the intersection of diagonals AC and BD. Show that if \angle POQ= 90^\circ then PO is the bisector of \angle AOD ...