456 views

1 Answer

1 votes
1 votes
A simple graph with no triangles can contain maximum edges if it contains cycles of 4 edges between vertices.

Making graph a complete bipartite graph. Maximum number of edges in a bipartite graph with n vertices = $\large \left \lfloor \frac{n^2}{4} \right \rfloor$

Now mentioned in the question that every graph must contain exactly one triangle.

Assuming a graph with n vertices.

$n-1$ vertices can be connected with maximum $\large \left \lfloor \frac{(n-1)^{2}}{4} \right \rfloor$
edges.

and for forming a triangle the remaining vertex can connect to any 2 adjacent vertices making maximum edges = $\large \left \lfloor \frac{(n-1)^{2}}{4} \right \rfloor + 2 $

Note: We can prove this by contradiction, assuming there exist a graph with exactly one triangle with edges > $\large \left \lfloor \frac{(n-1)^{2}}{4} \right \rfloor + 2 $ and then proving it wrong by above explanation. Most graph theory proofs can be proved with contradiction easily.
edited by

Related questions

0 votes
0 votes
0 answers
1
0 votes
0 votes
0 answers
2
dd asked Apr 27, 2018
368 views
Consider the sets $A_1, A_2, A_3 \dots A_m$ each a subset of size $k$ of $\{1,2,3, \dots , n\}$. If in a 2-colouring of $\{1,2,3, \dots , n\}$ no set $A_i$ is monoch...
0 votes
0 votes
1 answer
3
dd asked Apr 27, 2018
407 views
Consider the sets $A_1, A_2, A_3 \dots A_m$. Prove that the number of distinct sets of the form $A_i \oplus A_j$ is at least $m$.
6 votes
6 votes
4 answers
4