Graphs with N Nodes: Proving Cliques and Anti-Cliques

  • MHB
  • Thread starter mathmari
  • Start date
  • Tags
    Graph Nodes
In summary: This is because the product of two numbers is larger than the sum of the two numbers, if one of the numbers is smaller than the other.
  • #1
mathmari
Gold Member
MHB
5,049
7
Hey! :eek:

Let $G$ be a graph. A clique in $G$ is a subgraph in which every two nodes are connected by an edge. An anti-clique, also called an independent set, is a subgraph in which every two nodes are not connected by an edge. Show that every graph with $n$ nodes contains either a clique or an anti-clique with at least $\frac{1}{2} \log_2 n$ nodes.

Could you give me some hints how we could show this?? (Wondering)
 
Physics news on Phys.org
  • #2
Apply Ramsey's theory. Let $R(m,n)$ be the least integer $s$ where a graph $G$ with $s$ vertices contain either a $m$-clique or an $n$-independent set.

Then, use the properties of $R(\cdot, \cdot)$ to show that $R(n,n) \leq 2^{2n}$.
 
  • #3
magneto said:
Apply Ramsey's theory. Let $R(m,n)$ be the least integer $s$ where a graph $G$ with $s$ vertices contain either a $m$-clique or an $n$-independent set.

Then, use the properties of $R(\cdot, \cdot)$ to show that $R(n,n) \leq 2^{2n}$.

Could you explain to me further what I have to do?? (Wondering) I got stuck right now...
 
  • #4
When we have graphs with $3$ nodes:

View attachment 4021

doesn't the graphs have cliques or anti-cliques with at least $2$ nodes??

But $\frac{1}{2} \log_2 3=0.7924 \dots $. So have I done something wrong?? (Wondering)
 

Attachments

  • (Anti-)Clique.png
    (Anti-)Clique.png
    11.1 KB · Views: 48
  • #5
You want to use (or proof) the result:

\[
R(r,s) \leq \binom{r+s-2}{r-1}.
\]

In your example, $R(2,2) = 2$, in other words, any graph that has $2$ or more vertices, you are going to find a $2$-clique or $2$-independent set. But that's not what the actual statement you want to prove. In the case $\nu = 3$,
the statement in fact promises a $0$-clique or a $0$-independent set, which is vacuously true.
 
  • #6
magneto said:
You want to use (or proof) the result:

\[
R(r,s) \leq \binom{r+s-2}{r-1}.
\]

In your example, $R(2,2) = 2$, in other words, any graph that has $2$ or more vertices, you are going to find a $2$-clique or $2$-independent set. But that's not what the actual statement you want to prove. In the case $\nu = 3$,
the statement in fact promises a $0$-clique or a $0$-independent set, which is vacuously true.

I got stuck right now... To show that every graph with $n$ nodes contains either a clique or an anti-clique with at least $\frac{1}{2} \log_2 n$ nodes why do we have to show that $R(n, n) \leq 2^{2n}$ ??

$$R(n, n) \leq \binom{n+n-2}{n-1}=\binom{2n-2}{n-1}=\frac{(2(n-1))!}{(n-1)!(n-1)!}$$ How could we continue?? (Wondering)
 
  • #7
The equation follows from the definition of $R$ and the problem statement.

The inequality follows from the fact that, for $m \geq n$

\[
\binom mn < \sum_k \binom mk = 2^m.
\]
 

Related to Graphs with N Nodes: Proving Cliques and Anti-Cliques

1. What is a graph with N nodes?

A graph with N nodes is a mathematical representation of a network or system. The nodes are represented by points or vertices, and the connections between them are represented by lines or edges. It is often used to model relationships, connections, and patterns in various fields, including computer science, social sciences, and biology.

2. What is a clique in a graph?

A clique in a graph is a subset of nodes where every node is directly connected to every other node in the subset. In other words, every node in a clique is connected to every other node, and there are no unconnected nodes within the subset. Cliques are used to represent highly connected groups or communities within a network.

3. What is an anti-clique in a graph?

An anti-clique in a graph is a subset of nodes where no two nodes are connected. In other words, there are no edges between any nodes in an anti-clique. Anti-cliques are used to represent disconnected or isolated nodes within a network.

4. How do you prove the existence of a clique in a graph with N nodes?

To prove the existence of a clique in a graph with N nodes, you can use the definition of a clique and check if every node within a subset is directly connected to every other node in the subset. If this is the case, then the subset is a clique and proves the existence of a clique in the graph.

5. How do you prove the existence of an anti-clique in a graph with N nodes?

To prove the existence of an anti-clique in a graph with N nodes, you can use the definition of an anti-clique and check if there are no edges between any nodes within a subset. If this is the case, then the subset is an anti-clique and proves the existence of an anti-clique in the graph.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
899
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
3K
  • Programming and Computer Science
Replies
1
Views
2K
  • Programming and Computer Science
Replies
1
Views
3K
  • Programming and Computer Science
Replies
9
Views
3K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
2K
  • General Math
Replies
8
Views
1K
Back
Top