Problem on Graph Theory and Algorithms

In summary, the conversation discusses a graph G with V = {1, . . . , n} and a function f : V → V defined as f (v) = min{u|u ∈ V, dG (v, u) ≤ 2}. The task is to prove that if vw ∈ E(G) and f (v) != f (w), then G has a P4 subgraph induced. This question has been previously asked on Stack Exchange.
  • #1
iany00
1
0
G = (V, E) a graph with V = {1, . . . , n}. We have the function f : V → V defined
f (v) = min{u|u ∈ V, dG (v, u) ≤ 2}.Demostrate that vw ∈ E(G) with f (v) != f (w) then G has the
P4 subgraph induced

I don;t understand what to demostrate/to do. Any advice?
 
Physics news on Phys.org
  • #2
iany00 said:
G = (V, E) a graph with V = {1, . . . , n}. We have the function f : V → V defined
f (v) = min{u|u ∈ V, dG (v, u) ≤ 2}.Demostrate that vw ∈ E(G) with f (v) != f (w) then G has the
P4 subgraph induced

I don;t understand what to demostrate/to do. Any advice?

Hi iany00, :)

I don't know the answer to your question, but the exact same question (although differently worded), is asked at Stack Exchange.

graph theory - Prove that if $G$ is P4-free then any two vertices $u$ and $v$ are in the same connected component if and only if $f(u) = f(v)$ - Mathematics

Hope this helps.

Kind Regards,
Sudharaka.
 

Related to Problem on Graph Theory and Algorithms

1. What is graph theory and why is it important?

Graph theory is a branch of mathematics that deals with the study of graphs, which are mathematical structures used to model relationships between objects. It is important because it has numerous real-world applications in fields such as computer science, engineering, social sciences, and biology.

2. What are the basic elements of a graph?

The basic elements of a graph are vertices (also known as nodes) and edges. Vertices represent the objects in the graph, while edges represent the relationships or connections between them.

3. What is the difference between a directed and undirected graph?

In a directed graph, edges have a specific direction, meaning they can only be traversed in one direction. In an undirected graph, edges have no specific direction and can be traversed in both directions.

4. What are some common algorithms used in graph theory?

Some common algorithms used in graph theory include Dijkstra's algorithm for finding the shortest path between two vertices, Kruskal's algorithm for finding the minimum spanning tree of a graph, and Breadth-First Search (BFS) and Depth-First Search (DFS) for traversing a graph.

5. How is graph theory used in computer science?

Graph theory is used in computer science for tasks such as network routing, data compression, and social network analysis. It is also used in the design and optimization of data structures and algorithms, and in the analysis of algorithms for their time and space complexity.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
22
Views
1K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
2K
  • Introductory Physics Homework Help
Replies
12
Views
295
  • Calculus and Beyond Homework Help
Replies
0
Views
491
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
2K
Back
Top