Can someone tell me if this is a bipartite graph?

  • Thread starter Topgun_68
  • Start date
  • Tags
    Graph
That's the opposite of disconnected.In summary, a bipartite graph is a simple graph that can be divided into two distinct subsets in such a way that there are no edges connecting vertices within the same subset. This graph cannot contain any odd cycles or complete subgraphs.
  • #1
Topgun_68
34
0

Homework Statement



I know this is the description of a bipartite graph:

A bipartite graph G is a simple graph whose vertex set can be partitioned into two mutually disjoint nonempty subsets V1 and V2 such that vertices in V1 may be connected to vertices in V2, but no vertices in V1 are connected to other vertices in V1 and no vertices in V2 are connected to other vertices in V2


The Attempt at a Solution



Since a simple graph has no loops or parallel edges, than the attached photo must not be a bipartite graph, correct? Thanks for any feedback!

My scanner is broke so I apologize for the lame drawing :<)
 

Attachments

  • Is-bipartite-graph.jpg
    Is-bipartite-graph.jpg
    17.4 KB · Views: 493
Physics news on Phys.org
  • #2
Topgun_68 said:

Homework Statement



I know this is the description of a bipartite graph:

A bipartite graph G is a simple graph whose vertex set can be partitioned into two mutually disjoint nonempty subsets V1 and V2 such that vertices in V1 may be connected to vertices in V2, but no vertices in V1 are connected to other vertices in V1 and no vertices in V2 are connected to other vertices in V2


The Attempt at a Solution



Since a simple graph has no loops or parallel edges, than the attached photo must not be a bipartite graph, correct? Thanks for any feedback!

My scanner is broke so I apologize for the lame drawing :<)

You are correct: the graph is not bipartite. If it were bipartite, v1 would be in some subset A of nodes. Now v3 and v4 are connected to v1 by arcs, so {v3,v4} would have to be in another node subset B; but v3 and v4 are also connected by an arc, so we cannot have them in the same subset---contradiction.
 
  • #3
Thanks for your feedback!
 
  • #4
"Bipartite" means "two parts". Your graph is NOT bipartite because it does not consist of two separate parts. The fact that it would be possible to go from any vertex to any other vertex along edges is a clear sign of that.
 
  • #5
Notice that your graph on n vertices contains a complete (sub)graph on n vertices. A complete graph on n verices cannot be bipartite, almost by definition.
 
  • #6
Thanks for all the valuable insights. I have my final exam this Fri so I can use it :approve:
 
  • #7
HallsofIvy said:
"Bipartite" means "two parts". Your graph is NOT bipartite because it does not consist of two separate parts. The fact that it would be possible to go from any vertex to any other vertex along edges is a clear sign of that.
No, that's not what's meant by a bipartite graph. The key definition is the one Ray Vickson used: that the vertices can be partitioned into two sets such that no edges join two vertices in the same set. As far as I am aware, there is no requirement for the graph to be simple - it could have parallel edges, but no loops, of course.
An equivalent definition is that there are no odd cycles. Ray indicates a cycle length 3.
 
  • #8
haruspex said:
No, that's not what's meant by a bipartite graph. The key definition is the one Ray Vickson used: that the vertices can be partitioned into two sets such that no edges join two vertices in the same set. As far as I am aware, there is no requirement for the graph to be simple - it could have parallel edges, but no loops, of course.
An equivalent definition is that there are no odd cycles. Ray indicates a cycle length 3.

I think he meant that the graph _cannot be_ bipartite , because it contains a complete graph
( I basically repeated what he said without noticing --sorry HOIvy ), which makes it impossible to separate the vertices into two sets S1, S2 , so that there are no edges joining any s_i to s_i' in
S_i ; i=1,2. Equivalently,given any possible partition of the set S of vertices into S1,S2 , given
the existence of the complete subgraph K4 , there will necessarily be some edges joining _any_ two vertices vi,vj in either S1 and/or S2.

Good luck on the test, Top Gun.
 
  • #9
Bacle2 said:
I think he meant that the graph _cannot be_ bipartite , because it contains a complete graph
No, it's quite clear that HoI thought bipartite meant disconnected:. Note the plural 'edges':
it would be possible to go from any vertex to any other vertex along edges
 

FAQ: Can someone tell me if this is a bipartite graph?

1. What is a bipartite graph?

A bipartite graph is a graph where the vertices can be divided into two non-overlapping sets such that every edge connects a vertex from one set to a vertex from the other set.

2. How can I determine if a graph is bipartite or not?

A graph is bipartite if and only if it can be colored using only two colors, such that no adjacent vertices have the same color. This can be determined using various graph algorithms such as depth-first search or breadth-first search.

3. What is the significance of bipartite graphs in real-world applications?

Bipartite graphs are often used to model relationships between two different sets of objects, such as employees and projects in a company, or actors and movies in a film industry. They are also used in data mining and recommendation systems.

4. Can a graph be both bipartite and cyclic at the same time?

Yes, a graph can be both bipartite and cyclic at the same time. For example, a square or rectangle can be represented as a bipartite graph, where the vertices on one side represent the length and the vertices on the other side represent the width. This graph is both bipartite and cyclic.

5. How can I prove that a graph is bipartite?

To prove that a graph is bipartite, you can use a proof by contradiction. Assume that the graph is not bipartite and show that this leads to a contradiction. Another approach is to use the concept of a bipartite subgraph, which is a subgraph of the original graph that is also bipartite. If all connected components of the graph are bipartite, then the graph as a whole is also bipartite.

Similar threads

Replies
21
Views
1K
Replies
3
Views
3K
Replies
4
Views
8K
Replies
2
Views
1K
Replies
1
Views
1K
Back
Top