There are $2n$ people on a social media platform, where any pair of them may or may not be friends. For any group of $n$ people, there are at least $n$ pairs of them that are friends. What is the least number of friendships, that is, the least number of pairs of people that are friends, that must be among the $2n$ people?
This a problem from last year Canadian national competition. Offical solution is $5n$.
Here is what I did: For every $n$ vertices we have $n$ edges so $${2n\choose n} \cdot n \leq \varepsilon \cdot {2n-2\choose n-2} \implies \varepsilon\geq {2n(2n-1)\over n-1} $$ So, by this to naive method we get: $$\varepsilon \geq 4n+3$$ I also wonder if this is doable with the probabilistic method?
(This is just a hint.)
Hint: Split the 2n people into 2 groups A and B with $n$ people each.
Place some conditions on the groups so that the number of $A-B$ friends is at least 3n.
Then, the total number of friends is at least $5n$.
I've listed out the motivation / reasoning for the hint below. It is still not a full solution as it's missing the crux.
This was my approach, which felt quite natural.
It's conversational / train of thought / pursuing possible leads, as opposed to a properly written solution. My solution would be drastically different from what is presented.
Parts which I claim are "reasonable (?)" may not be reasonable to most other people, and could be considered magic / leaps of faith. It comes from experience / guessing / wishful thinking. If they didn't lead to a result, then I would have gone back to fiddle with them.
The first part motivates Aqua's claim that "the official solution is $5n$".
If you're willing to accept it (and not care about the construction), skip down to the next list of bullet points.
(I wanted a way to motivate it, not just assume it is true. Knowing that the answer is $5n$ is crucial to my process.)
The second part shows that we need at least $5n$ people.
Solution to the hint:
Let $A$ be the group of $n$ people that minimizes the total number of friendships within $n$ people.
Let $B$ be the other $n$ people.
Claim 1: Given $a \in A$ and $b \in B$,
Proof: If the claim isn't true, swapping $a$ and $b$ results in fewer friendships within $A$, contradicting the minimality.
Claim 2 : Each person in $B$ is friends with at least 3 people in $A$.
Proof: Suppose not.
If some $b\in B$ is friends with 0 (resp. 1) people in $A$, then the number of friends in $A$ is at most 0 (resp. $n/2$). This contradicts the condition than $A$ contains at least $n$ friendships.
If some $b \in B$ is friends with 2 people in $A$, then everyone in $A$ has at most 2 friends in $A$. Since there are $n$ friendships, this means that everyone in $A$ has exactly 2 friends in $A$. However, then $b$, along with (either of) their friend in $A$ contradicts claim 1.
Corollary: The number of $A-B$ friendships is at least $3n$.