I need to show that if I have $G(V, E)$ that is simple and undirected, such that $|V|=n$ and $|E|=m$ and $m>\frac{n^2}{4}$ then there is a triangle in the graph.
I started with induction : base cause for $0,1,2$. assume this works for $n$ and try to prove for $n+1$.
Now if I have graph with $|v|=n+1$ such that $m>\frac{(n+1)^2}{4}$. I randomly choose a vertice and remove it. the maximum amount of edges it could have is $n$ ($1$ for each other vertice).
Now I'm stuck, cause I got that in the new graph after removing $1$ vertice I have $\frac{(n-1)^2}{4}$ edges, and that's not greater than $\frac{n^2}{4}$ so I can't use the induction assumption.
Where is my mistake? Can I choose the vertice a better way? *my solution: In the end I proved by removing vertex. I sperated for $2$ cases : there is vertex such that $0\le$deg($v$)$\le n/2$ , and then the new graph have $|E|> \frac{n^2}{4}+\frac{1}{4}$ edges , so the induction assumtion works .
If there is no vertex that fits the condition ,then each vertex is :$\frac{n}{2}\lt$deg($v$)$\le n$ then I choose one and delete it. After I delete, I stay with $n$ vertices, where each have at least $\frac{n}{2}-1$ edges (minus $1$ cause they maybe were connected to the vertex I deleted). Now I demand that $n(\frac{n}{2}-1)$ will be greater then $\frac{n^2}{4}$ , and this holds for all $n\gt4$. so I prove base for $3$ and $4$ and then my induction is proven. Am I right?