(Solved): discrete math A simple directed graph with vertices v1,v2,v3,v4,v5,v6,v7 has ad ...
discrete math
A simple directed graph with vertices v1?,v2?,v3?,v4?,v5?,v6?,v7? has adjacency matrix A=???0001011?1010101?1000110?0010000?1000001?0001100?0001010???? 1. What is the order of the graph? order = 2. How many edges does the graph have? answer = 3.What is the in-degree of vertex v3? ? in-degree = 4. What is the out-degree of vertex v3? ? out-degree = 5. What is the in-degres of vertex v5? ? in-degree = 6. What is the out-degree of vertex v5? ? out-degree =
1. The order of the graph is the number of vertices in the graph. From the adjacency matrix, we can see that the graph has 7 vertices labeled v1, v2, v3, v4, v5, v6, v7. Therefore, the order of the graph is 7.2. To list the edges, we can look at the positions of the nonzero entries in the adjacency matrix. If the entry in row i and column j is nonzero, then there is a directed edge from vertex i to vertex j. Let's list the edges:v1, v2)(v1, v3)(v1, v5)