Maths Olympiad Prep

Library / /17 of 97

Combinatorics Difficulty 7.5 National olympiad, round 2 Find the answer

A graph G(V,E)G(V,E) is triangle-free, but adding any edges to the graph will form a triangle. It's given that V=2019|V|=2019, E>2018|E|>2018, find the minimum of E|E| .

A number or a short expression. Spacing and $ signs are ignored.

Solution

Given a graph G(V,E) G(V, E) that is triangle-free, but adding any edges to the graph will form a triangle, and with V=2019 |V| = 2019 and E>2018 |E| > 2018 , we need to find the minimum number of edges E |E| .

We claim that the minimum number of edges is 2n5 2n - 5 where n=2019 n = 2019 . This bound is attained for a graph constructed as follows: take a 5-cycle C5 C_5 , and replace one of the vertices with an independent set of n4 n - 4 vertices, each of which is adjacent to the two neighbors of the original vertex.

To prove this, consider the following:

1. Diameter Condition: The graph G G has diameter 2 because any two vertices with distance greater than 2 could have an edge added between them without forming a triangle. A diameter 1 graph is complete, which is not our case.

2. Minimum Degree Analysis:
- If d4 d \geq 4 , then G G has at least 4n2>2n5 \frac{4n}{2} > 2n - 5 edges.
- If d=1 d = 1 , let v v be a vertex connected only to w w . Then every other vertex must be connected to w w , making G G a star graph, which contradicts E>n1 |E| > n - 1 .
- If d=2 d = 2 , let v v be connected to w w and x x . By the diameter 2 condition, every other vertex is connected to w w , x x , or both. Let A A be the set of vertices adjacent to w w but not x x , B B be the set adjacent to both w w and x x , and C C be the set adjacent to x x but not w w . Then A+B+C=n2 |A| + |B| + |C| = n - 2 . The only edges we can add are between A A and C C , ensuring E2n5 |E| \geq 2n - 5 .
- If d=3 d = 3 , let v v be adjacent to w w , x x , and y y . Each vertex in S=V{v,w,x,y} S = V \setminus \{v, w, x, y\} is adjacent to one of w w , x x , or y y . The degree sum gives deg(w)+deg(x)+deg(y)n1 \deg(w) + \deg(x) + \deg(y) \geq n - 1 , leading to E2n5 |E| \geq 2n - 5 .

Thus, the minimum number of edges E |E| in such a graph is:
E=220195=4033. |E| = 2 \cdot 2019 - 5 = 4033.
The answer is: \boxed{4033}.

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: Omni-MATH, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.