Skip to content
START WITH A QUESTION

What would you like to understand?

Find an answer. See the moment it becomes clear. Follow the idea further.

← Concept directory

Answers for “为什么具有 n 个顶点的连通无向图至少需要 n-1 条边?”

5 keyword matches

Understanding your question. You can explore the search results below now.

Understand why

↗

To ensure that any two vertices are reachable from each other, the graph must have at least n-1 edges. This minimum is achieved when the graph forms a tree-like structure, such as a star graph, where edges connect vertices without forming cycles.

Conditions: G is an undirected graph.; G has n vertices.; G is a connected graph.

Understand why

↗

In an undirected graph, there can be at most one edge between any pair of distinct vertices. The maximum number of edges is achieved by a complete graph, which equals the total number of unordered pairs of vertices, calculated as n(n−1)/2n(n-1)/2.

Conditions: G is an undirected graph.; G has n vertices.; We seek the possible maximum number of edges.

Understand why

↗

To ensure mutual reachability between every pair of vertices, the directed graph must contain at least one directed cycle that covers all n vertices. A directed cycle with n vertices has exactly n edges, which is the minimum required for strong connectivity.

Conditions: G is a directed graph.; G has n vertices.; G is a strongly connected graph.

Understand why

↗

To maximize the number of edges while keeping the graph disconnected, the extremal construction isolates exactly one vertex and forms a complete graph with the remaining n-1 vertices. The number of edges is therefore the maximum for a complete graph on n-1 vertices, which is (n-1)(n-2)/2.

Conditions: G is an undirected graph.; G has n vertices.; G is a disconnected graph.

Understand why

↗

Unlike an undirected graph, a directed graph allows two oppositely directed edges between the same pair of distinct vertices. Therefore, the maximum number of edges is exactly twice the maximum number of edges in an undirected complete graph, yielding n(n−1)n(n-1).

Conditions: G is a directed graph.; G has n vertices.; We are seeking the maximum possible number of edges.