Let \(f:[0,\infty)\to \mathbb{R}\) be defined by
\begin{equation*}
f(x)= \begin{cases}1 \amp \text{ if } x=0,\\ 1/2 \amp \text{ if } x=1,\\ \frac{x\ln(x)-x+1}{(x-1)^2} \amp \text{ otherwise } . \end{cases}
\end{equation*}
We start by making some observations about \(f\text{.}\) By taking a couple of derivatives, it is not hard to that \(f\) satisfies
\begin{equation}
1-f(x)(x+1)+f'(x)(x-x^2)=0\tag{6.1.1}
\end{equation}
and that
\(f\) is convex (see
Appendix C). Therefore, it satisfies
\begin{equation}
f(x)\geq f(y) + f'(y)(x-y)\tag{6.1.2}
\end{equation}
for every \(x,y\in [0,1]\text{.}\)
We show that every triangle-free graph \(G\) on \(n\) vertices has an independent set of cardinality at least \(f(2|E(G)/n)n\text{.}\) We will do this by induction on \(n\text{,}\) where the case \(n=1\) is trivial.
Define
\begin{equation*}
d=2|E(G)|/n = \sum_{v\in V(G)}d(v)/n\text{.}
\end{equation*}
That is, \(d\) is the average degree of \(G\text{.}\) What we are trying to prove is that \(\alpha(G)\geq f(d)n\text{.}\) For each vertex \(v\text{,}\) let
\begin{equation*}
d_2(v) := \sum_{u\in N(v)}d(u)
\end{equation*}
and let \(G_v\) be the graph obtained from \(G\) by deleting \(v\) and all of its neighbours. Note that the number of vertices in \(G_v\) is \(n-d(v)-1\text{.}\) Define
\begin{equation*}
d_v:=2|E(G_v)|/(n-d(v)-1)\text{.}
\end{equation*}
That is, \(d_v\) is the average degree of \(G_v\text{.}\)
Since \(G\) is triangle-free, we have that, for every \(v\in V(G)\text{,}\)
\begin{equation}
|E(G)| = |E(G_v)| + d_2(v)\tag{6.1.3}
\end{equation}
Also, for any independent set
\(S\) in
\(G_v\text{,}\) the set
\(S\cup\{v\}\) is independent in
\(G\text{.}\) Therefore,
\(\alpha(G) \geq \alpha(G_v)+1\text{.}\) Applying this bound for every
\(v\in V(G)\text{,}\) induction on
\(|V(G)|\) and
(6.1.2), we get
\begin{equation*}
n\cdot \alpha(G) \geq \sum_{v\in V(G)}\left(\alpha(G_v)+1\right) \geq n + \sum_{v\in V(G)}f(d_v)(n-d(v)-1)
\end{equation*}
\begin{equation*}
\geq n+\sum_{v\in V(G)}[f(d) + f'(d)(d_v-d)](n-d(v)-1)\text{.}
\end{equation*}
Doing a bit of rearranging on the right side (and using the fact that \(\sum_{v\in V(G)}d(v) = dn\)) yields
\begin{equation*}
n+\sum_{v\in V(G)}[f(d) + f'(d)(d_v-d)](n-d(v)-1)
\end{equation*}
\begin{equation*}
=n + \sum_{v\in V(G)}[f(d) - f'(d)d](n-d(v)-1) + \sum_{v\in V(G)}f'(d)d_v(n-d(v)-1)
\end{equation*}
\begin{equation*}
=n+(f(d)-f'(d)d)(n^2-dn-n) + f'(d)\sum_{v\in V(G)}d_v(n-d-1)\text{.}
\end{equation*}
By definition, we have
\(d_v(n-d-1)= 2|E(G_v)|\) for all
\(v\in V(G)\text{.}\) Combining this with
(6.1.3) and the fact that
\(|E(G)|=nd\text{,}\) we get that the above expression is equal to
\begin{equation*}
n+(f(d)-f'(d)d)(n^2-dn-n) + f'(d)\sum_{v\in V(G)}(nd - 2d_2(v))
\end{equation*}
\begin{equation*}
= n+f(d)(n^2-dn-n) +f'(d)(d^2n+dn) - 2f'(d)\sum_{v\in V(G)}d_2(v)\text{.}
\end{equation*}
Now, \(\sum_{v\in V(G)}d_2(v)\) precisely counts the number of ways to choose a vertex \(v\) of \(G\text{,}\) choose a neighbour \(u\) of \(v\) and then choose a neighbour \(w\) of \(u\text{.}\) This is the same as the number of ways to simply choose the vertex \(u\) first and choose two of its neighbours, \(v\) and \(w\text{.}\) Thus,
\begin{equation*}
\sum_{v\in V(G)}d_2(v) = \sum_{u\in V(G)}d(u)^2 \geq \frac{1}{n}\left(\sum_{u\in V(G)}d(u)\right)^2 = nd^2
\end{equation*}
by
Corollary C.0.6. So, putting everything together (and dividing by
\(n\)) we get that
\begin{equation*}
\alpha(G)\geq f(d)n +1- f(d)(d+1) + f'(d)(d-d^2)
\end{equation*}
\begin{equation*}
= f(d)n
\end{equation*}
Recall that \(G\) has an independent set of cardinality \(d(v)\) for any \(v\in V(G)\text{.}\) So, it has an independent set of cardinality at least the average degree \(d\text{.}\) So, by the result above,
\begin{equation*}
\alpha(G)\geq \max\{d,f(d)n\}\text{.}
\end{equation*}
If \(d\geq \sqrt{\frac{n\ln(n)}{2}}\text{,}\) then we are done. Otherwise, \(d\lt \sqrt{\frac{n\ln(n)}{2}}\text{,}\) and plugging this into \(f(d)n\) yields a lower bound of roughly
\begin{equation*}
\approx \left(\frac{\ln(d)}{d}\right) n\geq\left(\frac{\ln\left(\sqrt{\frac{n\ln(n)}{2}}\right)}{\sqrt{\frac{n\ln(n)}{2}}}\right)n \geq\sqrt{\frac{n\ln(n)}{2}}
\end{equation*}
(since \(\ln\left(\sqrt{\frac{n\ln(n)}{2}}\right)\geq \frac{1}{2}\ln(n)\)).