Paper 4, Section II, F
Part II, 2009
Let denote the number of triangles in a random graph chosen from . Find the mean and variance of . Hence show that is a threshold for the existence of a triangle, in the sense that if then almost surely does not contain a triangle, while if then almost surely does contain a triangle.
Now let , and let denote the number of edges of (chosen as before from . By considering the mean of , show that for each there exists a graph on vertices with at least edges that is triangle-free. Is this within a constant factor of the best-possible answer (meaning the greatest number of edges that a triangle-free graph on vertices can have)?