803 views

1 Answer

1 1 vote
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
Position:
Show:

Related questions

0 0 votes
0 0 answers
528
528 views
dd asked Apr 27, 2018
528 views
Consider the set of all subsets of a set S. A chain is a collection of subsets $P_1 \subset P_2 \subset P_3 \subset P_4 \dots \subset P_k$. A symmetric chain is one wh...
0 0 votes
0 0 answers
656
656 views
dd asked Apr 27, 2018
656 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 0 votes
1 1 answer
828
828 views
dd asked Apr 27, 2018
828 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 6 votes
4 answers 4 answers
4.0k
4.0k views
dd asked Apr 27, 2018
4,014 views
Show that, in a grid, the number of paths from $(0,0)$ to $(n,n)$ which does not cross ( it could touch ) the line $x = y$ is \begin{align*} \frac{1}{1+n}\binom{2\cdot n...