Let $n$ be an even positive integer, and let $G$ be an $n$-vertex graph with exactly $\tfrac{n^2}{4}$ edges, where there are no loops or multiple edges (each unordered pair of distinct vertices is joined by either 0 or 1 edge). An unordered pair of distinct vertices $\{x,y\}$ is said to be amicable if they have a common neighbor (there is a vertex $z$ such that $xz$ and $yz$ are both edges). Prove that $G$ has at least $2\textstyle\binom{n/2}{2}$ pairs of vertices which are amicable. Zoltán Füredi (suggested by Po-Shen Loh)
Problem
Source: USA December TST for IMO 2014, Problem 3
Tags: induction, inequalities, combinatorics proposed, combinatorics, graph theory, Extremal combinatorics
24.12.2013 09:14
Here are hints for the solutions I have seen.
Edit: This is a special case of Lemma 2.1 in this paper.
29.12.2013 02:55
Here's a nice solution I came up with - it's essentially knowing how to count things, counting in two ways, and Hall's marriage theorem.
30.12.2013 14:54
Does this not work?
30.12.2013 15:08
numbertheorist17 wrote: Since there are no loops in $G$, there is no triangle. Why that? What you have proved is that if $G$ is triangle-free, thus complete bipartite, there are exactly that bounding number of amicable pairs, and that's all - a very particular case. Maybe, one could extract a solution by proving this is the extremal case (a graph $G$ with triangle(s) contains more amicable pairs than a triangle-free one). I think you interpreted "no loops" as being "no cycles"; but that is clearly wrong, since $G$ cannot be acyclic, having $n^2/4 > n-1$ edges for $n>2$. The complete bipartite model you have used has tons of even-length cycles.
08.01.2014 21:00
In the definition of amicable, can $z=x$ or $z=y$. That is, if two vertices are joined by an edge, are they necessarily amicable?
08.01.2014 21:06
JuanOrtiz wrote: In the definition of amicable, can $z=x$ or $z=y$. No, since $xx$ and $yy$ are not edges.
12.01.2014 22:06
So we're done.
13.01.2014 18:35
JuanOrtiz wrote:
JuanOrtiz wrote:
26.01.2014 18:25
colinhy, that's a terrific proof! (I wish I had thought of it.) But perhaps there is a simpler way to prove Lemma 1. Let $i_{avg}$ be the average degree among the vertices neighboring vertex i. For any edge $E$ connecting vertices $i,j$, let $f(E)=\frac{d_i}{d_j}+\frac{d_j}{d_i}$. We have $\sum_{E\in G}f(E) \ge \sum_{E\in G}2=\sum_{i\in G}d_i $. But by counting by vertex instead of edge, we also have $\sum_{i\in G}i_{avg} = \sum_{E\in G}f(E)$.
20.02.2014 05:26
That's a much cleaner and better proof for lemma 1 - I was searching for one using double counting for a while but couldn't think of one (yours is really nice). Putting the two together basically kills the problem in two lines o.O
11.06.2016 13:19
26.09.2017 01:36
colinhy wrote: That's a much cleaner and better proof for lemma 1 - I was searching for one using double counting for a while but couldn't think of one (yours is really nice). Putting the two together basically kills the problem in two lines o.O I should point out that Lemma 1 is by no means new. If you spend enough time on Facebook, you might have even seen pop articles about it: on average your friends are more popular than you. (Or more boringly, the friendship paradox.) To be self-contained, the relevant claims are: Lemma: [On average, your friends are more popular than you] For a vertex $v$, let $a(v)$ denote the average degree of the neighbors of $v$ (setting $a(v) = 0$ if $\deg v = 0$). Then \[ \sum_v a(v) \ge \sum_v \deg v = 2 \# E. \] Proof. Ignoring isolated vertices, we can write \begin{align*} \sum_v a(v) &= \sum_v \frac{\sum_{w \sim v} \deg w}{\deg v} \\ &= \sum_{v} \sum_{w \sim v} \frac{\deg w}{\deg v} \\ &= \sum_{\text{edges } vw} \left( \frac{\deg w}{\deg v} + \frac{\deg v}{\deg w} \right) \\ &\overset{\text{AM-GM}}{\ge} \sum_{\text{edges } vw} 2 = 2\#E = \sum_{v} \deg v \end{align*}as desired. $\blacksquare$ Corollary: [On average, your most popular friend is more popular than you] For a vertex $v$, let $m(v)$ denote the maximum degree of the neighbors of $v$ (setting $m(v) = 0$ if $\deg v = 0$). Then \[ \sum_v m(v) \ge \sum_v \deg v = 2 \# E. \] All this is agnostic to the graph $G$, and then the problem dies upon realizing the number of amicable pairs is at least $\frac12 \sum_v (m(v)-1)$.
26.09.2017 04:21
v_Enhance wrote: If you spend enough time on Facebook, you might have even seen pop articles about it There goes my motivation
12.08.2018 14:57
math154 wrote: Here are hints for the solutions I have seen.
There is a similar problem which uses the same idea unfortunatly I don't know the source but I think it is well-known. If you replace the last $n$ with $1$ it is just Tooran's theorem. Problem:Let $G$ be a graph with $2n$ vertices and $n^2+1$ edges show that $G$ has at least $n$ triangles.
12.08.2018 19:18
Quote: Problem:Let $G$ be a graph with $2n$ vertices and $n^2+1$ edges show that $G$ has at least $n$ triangles. The theorem you're referring to is called Turan-Rademacher in the literature I think (see e.g. https://projecteuclid.org/download/pdf_1/euclid.ijm/1255631811 ).
30.12.2018 12:17
I've looked through the posts and thought this is a new idea.(Perhaps I'm wrong.) The proof is stated below.
My English and Latex skills are poor, so point out incorrect usages if possible.
21.04.2019 20:22
This looks significantly different from the other posts, can someone please verify its correctness?
05.06.2019 23:40
Let $A$ be the answer. Note that the number of amicable pairs with $x$ is at least one less than the degree of any neighbor, so it's actually at least one less than the average degree of all it's neighbors. Thus, \[2A\ge\sum_{x\in V}\left(-1+\sum_{z\sim x}\frac{d_z}{d_x}\right),\]so \[2A\ge -n+\sum_{\{x,z\}\in E}\left(\frac{d_z}{d_x}+\frac{d_x}{d_z}\right),\]which by AM-GM is at least \[2A\ge -n+2\frac{n^2}{4}\implies A\ge \frac{n}{2}\left(\frac{n}{2}-1\right)=2\binom{n/2}{2},\]as desired.
24.03.2020 01:04
Solved with Th3Numb3rThr33. Let $G$ have $E=\tfrac{n^2}4$ edges. For each $v\in G$, Let $N(v)$ be the set of vertices adjacent to $v$, so that $|N(v)|=\deg v$. The pith of this problem is this infamous paradox: Lemma: [Friendship paradox: On average, your friends are more popular than you] If a vertex $v$ is chosen from $G$, then \[\mathbb E\left[\frac1{\deg v}\sum_{u\in N(v)}\deg u\right]\ge\mathbb E[\deg v],\]with equality if and only if the connected components of $G$ are regular. Proof. The proof is by taking the sum over all $v$: \[\sum_{v\in G}\frac1{\deg v}\sum_{u\in N(v)}\deg u=\sum_{uv\in E}\left(\frac{\deg u}{\deg v}+\frac{\deg v}{\deg u}\right)\ge 2E=\sum_{v\in G}\deg v.\]Equality holds if and only if $\deg u=\deg v$ for all edges $uv$. $\blacksquare$ We use a much weaker form of the lemma: on average, your most popular friend is more popular than you. This gives \[\sum_{v\in G}\left\lvert N^2(v)\right\rvert\ge\sum_{v\in G}\left(\max_{u\in N(v)}\deg u-1\right)\ge\sum_{v\in G}(\deg v-1)=2E-n=4\binom{n/2}2,\]and we are done.
26.07.2021 19:29
Denote $N$ as our answer. It is easy to see that $2N \ge \sum_{v \in V} (\max{d(n) - 1)}$ where $\max(d(n))$ is the greatest degree of any neighbor of $v$. Since it is known that $\sum_{v \in V} \max(d(n)) \ge \sum_{v \in V} d(v)$ (On average, your most popular friend is more popular than you), we have that $2N \ge \sum_{v \in V} (\max{d(n) - 1)} \ge \sum_{v \in V} d(v) - n = \frac{n^2}{2} - n$. Dividing by $2$ we get the desired result. $\blacksquare$
05.09.2022 00:08
14.09.2022 19:45
Lemma. [Friendship Lemma; mentioned before in this thread] Let $G$ be a graph. For all $V \in V(G)$, let $a(V)$ be the average degree of the neighbors of $V$. Then we must have $$\sum_{V \in V(G)} a(V) \geq 2|E(G)|.$$ Proof. Delete any isolated vertices; thus, we can assume that $d(V) > 0$. Then, $$\sum_{V \in V(G)} a(V) = \sum_{V \in V(G)} \frac 1{d(V)} \sum_{W \in N(V)} d(W).$$We can rewrite this double sum as $$\sum_{VW \in E(G)} \left(\frac{d(W)}{d(V)} + \frac{d(V)}{d(W)}\right) \geq 2|E(G)|$$by AM-GM. $\blacksquare$ We can rewrite the problem as showing that the sum of the number of unordered pairs containing a vertex $V$ over all $V$ is at least $2n(n-1)$. Call this quantity $n_V$; I claim that $$n_V \geq \max_{W \in N(V)} d(W) - 1.$$Notice that for any $Z \in N(W)$ for some $W \in N(V)$, $\{Z, V\}$ is a nice pair containing $V$. This means that every one of the $d(W)$ edges emanating from $W$ not containing $V$ must create a valid $n_V$. Thus, $n_V \geq a(V) - 1$ as the maximum must be greater than the average, so we have $$\sum_V n_V \geq \sum_V a(V) - 2n \geq 2n^2 - 2n = 2n(n-1)$$by the previous lemma.
14.03.2023 20:25
I don't have friends, so I can't use the friendship lemma We will show the stronger statement: For even $n$, if graph $G$ has $\frac{n^2}{4} + a$ edges, then it has at least $\frac{n^2-2n}{4} + a$ amicable pairs. We will prove this with induction on $n$. Our base case of $n = 2$ is trivial: we have $a = 0$ or $a = -1$, both of which give $0\geq a$ amicable pairs. For our inductive hypothesis, assume the statement is true for $n-2$; we will show it for $n$. Let $G$ be a graph with $\frac{n^2}{4} + a$ edges and $n$ vertices. Consider some edge $AB\in G$, and let $\deg A + \deg B = x+2$. Then, $G\backslash A,B$ has $n-2$ vertices and $\frac{n^2}{4} + a - x = \frac{(n-2)^2}{4} + n-1 + a - x - 1$ edges. By our inductive hypothesis, there are $\frac{(n-2)(n-4)}{4} + n - 1 + a - x + 1 = \frac{n^2 - 2n}{4} + a-x$ amicable pairs in $G\backslash A,B$, or $\frac{n^2 - 2n}{4} + a-x$ amicable pairs in $G$ that do not include $A$ nor $B$. Now, for every vertex $C$ adjacent to $A$ such that $C\neq B$, we have $B,C$ is an amicable pair. Similarly, for every vertex $D$ adjacent to $B$ such that $D\neq A$, $D,A$ is an amicable pair. Since $A,B$ are adjacent and $\deg A + \deg B = x+2$, there are at least $x$ of such amicable pairs $(A,C$ or $(B,D)$. Thus, $G$ has at least $\frac{n^2 -2n}{4} + a$ amicable pairs, completing the induction. Plugging in $a = 0$ gives the desired result.
19.06.2023 06:33
Isn't this just induction? I might be crazy. For ease of writing, let $m = \frac{n}{2}$. I claim that given a graph on $n$ vertices with at least $m^2$ edges, the number of edges minus the number of amicable pairs is at most $m$. We induct from $m$ to $m+1$. Base case is trivial. Now to induct up, assume the contrary is true on a graph for $m+1$. Then there must be more edges than amicable pairs, so choose an edge where the two vertices $u, v$ are not amicable. Then their neighbor sets must be mutually disjoint, so let them cover $k$ other vertices. Then since $v$ is amicable with all the neighbors of $u$ and $u$ is amicable with all the neighbors of $v$, the addition of $u, v$ to the graph with those two vertices removed adds at least new $k$ amicable pairs. Also note that it adds exactly $k+1$ edges. Now since $(m+1)^2 - (k+1) \geq (m+1)^2 - (2m-1) = m^2$, we can apply the inductive hypothesis, so the number of edges minus amicable pairs in the graph with $u, v$ removed is at most $m$. Then this readdition of $u, v$ adds at most one to the difference, so the new difference is at most $m+1$ as desired. Now just apply this to the problem, finishing immediately.
13.07.2023 11:52
We will prove a stronger result. Claim: Suppose $G$ is a $2m-$vertex simple graph with $k$ edges, where $0\leq k\leq m^2$, then $G$ has at least $\text{max}\{0,k-m\}$ pairs of vertices which are amicable. We prove our claim by induction on $m$. The case $m=1,2$ is trivial. Now assume that the claims holds for $m-1$, where $m\geq 3$. Consider a graph $G=(V,E)$ with $|V|=2m$ and $|E|=k\leq m^2$. First notice that \begin{align*} &\frac{1}{k}\sum\limits_{\{u,v\}\in E}deg(u)+deg(v)\\ =&\frac{1}{k}\sum\limits_{v\in V}deg(v)^2 \\ \geq& \frac{1}{k}\cdot \frac{1}{2m}(\sum\limits_{v\in V}deg(v))^2 \\ =&\frac{2k}{m} \end{align*}Thus there exists an edge $uv$ of $G$, such that $t:=deg(u)+deg(v)\geq \frac{2k}{m}$. Set $G':=G-\{u,v\}$, we know that $G'$ has $2m-2$ vertices and $k-t+1$ edges. Since $k\leq m^2$, $G'$ has no more than $k\frac{m-2}{m}+1\leq (m-1)^2$ edges. Due to the inductive hypothesis, we conclude that $G'$ has at least $k-t-m+2$ pairs of vertices which are amicable. Observe that if $uw\in E$, then $\{v,w\}$ is amicable. Therefore there are at least $deg(u)-1+deg(v)-1=t-2$ amicable pairs in $G$ with one of the two vertices being either $u$ or $v$. In total, there are at least $(k-t-m+2)+(t-2)=k-m$ amicable pairs in $G$, completing our inductive step. Done!
22.08.2023 19:51
what the heck Let $n=2m$. I will prove that in a simple $2m$-vertex graph with $e$ edges, there are at least $e-m$ amicable pairs. This is by induction on $m$, with the base case of $m=1$ being obvious. Now, if $m \geq 2$, pick any (!) edge $\overline{vw}$ in the graph and delete $v,w$ (as well as the edges adjacent to them). It is easy to see that at least $\deg v-1$ amicable pairs other than $\{v,w\}$ (if it is amicable) contain $w$, and likewise at least $\deg w-1$ amicable pairs other than $\{v,w\}$ contain $v$. Since a total of $\deg v+\deg w-1$ edges are deleted, it follows that the number of amicable pairs deleted is at least $1$ greater than the number of edges deleted, and since $m$ also decreases by $1$ we are done by hypothesis. $\blacksquare$ Remark: I find it mildly amusing that this thread contains 1. generalized inductive approaches for any number of edges, 2. generalized inductive approaches for at most $m^2$ edges, and 3. generalized inductive approaches for at least $m^2$ edges
18.05.2024 03:50
trivel We claim that any graph $G$ has at least $||G||-\frac{1}{2}|G|$ amicable pairs. We proceed by induction on $||G||$ with the base case trivial. Let $G$ be a graph and assume the statement for smaller $||G||$. Trivially assume there exists an edge $vu\in E(G)$. Then any $w\in N(v)\setminus\{u\}$ is amicable with $u$ and any $w\in N(u)\setminus\{v\}$ is amicable with $v$. Thus there are at least $d(v)+d(u)-2$ amicable pairs containing $v$ or $u$. By the induction hypothesis, $G$ has at least \[ ||G-\{v,u\}||-\frac{1}{2}|G-\{v,u\}|+d(v)+d(u)-2=||G||-d(v)-d(u)+1-\frac{1}{2}|G|+1+d(v)+d(u)-2=||G||-\frac{1}{2}|G| \]amicable pairs, as desired. $\square$
30.07.2024 00:36
Let $N(v)$ be the neighborhood of vertices for some vertex $v \in G$, and let $d(v)$ be the degree of vertex $v$. Then we will prove the following lemma; \[\mathbb{E}_{x \in G} \left [\frac{1}{d(x)} \left( \sum_{y \in N(x)} d(y) \right )\right] \geq 2E\]We first note that \[\sum_{x \in G} \frac{1}{d(x)} \left( \sum_{y \in N(x)} d(y) \right ) = \sum_{\overline{xy} \in G} \frac{d(x)}{d(y)} + \frac{d(y)}{d(x)} \geq 2\]where the last $\geq$ is implied by AM-GM. Then, summing over all edges $\overline{xy}$ gives us $2 \cdot E$ as desired. Now note that the number of amicable pairs containing some vertex $x$ is at least $d(y) - 1$ for some $y \in N(x)$. Taking the $y$ with $d(y)$ maximal over all $x$, and summing $d(y)$ gives us \[\sum_{x \in G} d(y) - 1 \geq 2E - n\]from our lemma. Then $2E - n = \frac{n^2}{2} - n \geq 2\binom{\frac{n}{2}}{2}$ as desired.
23.10.2024 12:45
I will prove by induction that if a graph has $E$ edges and $V$ vertices that it has at least $\frac{2E+V}{2}$ amicable pairs. Suppose that for all graphs on $m<n$ vertices they have at least $\frac{2E+V}{2}$ pairs. Clearly the result holds if the graph is disconnected, now WLOG the graph is connected, clearly if the graph is not regular there exists two connected vertices of different degree, now call those vertices $x$ and $y$ and WLOG $d(x)>d(y)$, now from the induction we get that for the graph excluding $y$ that there are $\frac{2E+V}{2}$ pairs, and we have that $y$ is in at least $d(y)$ distinct pairs, which suffices. For a regular graph, if it has an even number of vertices the induct works as is because the inequality with $\frac{2E+V}{2}$ relating to the number of pairs is strict, and when the number of vertices is even we can remove another vertice which has a smaller degree than a neighboring vertice and we get the inequality become strict again so it works.