# A Note on Graph Connectivity :author: { :name: Prof. Alice Mathematician :affiliation: Institute of Pure Mathematics } :: :abstract: We present a short proof of a classical result in graph theory, demonstrating RSM's structured proof capabilities. :: ## Introduction :let: $G = (V, E)$ be an undirected graph::. We say $G$ is **connected** if there exists a path between any two vertices. :definition: { :label: def-component } A **connected component** of $G$ is a maximal connected subgraph. :: ## Main Result :theorem: { :title: Component Bound :label: thm-main } :let: $G$ be a graph with $n$ vertices and $m$ edges::. Then :claim:{:label:goal} $G$ has at most $n - m$ connected components::. :: :proof: :step: {:label:base-case} For the base case, :assume: $m = 0$ (no edges)::. :p: Then each vertex is its own component, so there are exactly $n$ components. The bound holds with equality. :: :: :step: {:label:induction-step} For the inductive step, :assume: the theorem holds for graphs with $m - 1$ edges::. :p: :step: :let: $e = \{u, v\}$ be any edge in $G$::, and :write: $G' := G - e$ for the graph with $e$ removed::. :: :step: By the induction hypothesis, $G'$ has at most $n - (m-1) = n - m + 1$ components. :: :step: Adding $e$ back either merges two components (decreasing the count by 1) or leaves the count unchanged. :: :step: Therefore, $G$ has at most $(n - m + 1) - 1 = n - m$ components. :: :: :: :step: :ref:goal, The claim:: follows by induction. :qed: :: :: ## Remarks The bound in :ref:thm-main:: is tight: the complete graph on $n$ vertices achieves equality when $m = \binom{n}{2}$.
Title
Source

A Note on Graph Connectivity

Author
Source

Prof. Alice Mathematician

Institute of Pure Mathematics

Abstract
Source

Abstract

Paragraph
Source

We present a short proof of a classical result in graph theory, demonstrating RSM's structured proof capabilities.

Section 1
Source

1. Introduction

Paragraph
Source

LET \(G = (V, E)\) be an undirected graph. We say \(G\) is connected if there exists a path between any two vertices.

Definition 1.1
Source

Definition 1.1.

Paragraph
Source

A connected component of \(G\) is a maximal connected subgraph.

Section 2
Source

2. Main Result

Theorem 2.1
Source

Theorem 2.1: Component Bound

Paragraph
Source

LET \(G\) be a graph with \(n\) vertices and \(m\) edges. Then \(G\) has at most \(n - m\) connected components.

Proof
Collapse all
Source

Proof.

Step ⟨1⟩
Collapse
Collapse all
Source
Paragraph
Source

For the base case, ASSUME \(m = 0\) (no edges).

Paragraph
Source

Then each vertex is its own component, so there are exactly \(n\) components. The bound holds with equality.

⟨1⟩

Step ⟨2⟩
Collapse
Collapse all
Source
Paragraph
Source

For the inductive step, ASSUME the theorem holds for graphs with \(m - 1\) edges.

Step ⟨2.1⟩
Collapse
Collapse all
Source
Paragraph
Source

LET \(e = \{u, v\}\) be any edge in \(G\), and WRITE \(G' := G - e\) for the graph with \(e\) removed.

⟨2.1⟩

Step ⟨2.2⟩
Collapse
Collapse all
Source
Paragraph
Source

By the induction hypothesis, \(G'\) has at most \(n - (m-1) = n - m + 1\) components.

⟨2.2⟩

Step ⟨2.3⟩
Collapse
Collapse all
Source
Paragraph
Source

Adding \(e\) back either merges two components (decreasing the count by 1) or leaves the count unchanged.

⟨2.3⟩

Step ⟨2.4⟩
Collapse
Collapse all
Source
Paragraph
Source

Therefore, \(G\) has at most \((n - m + 1) - 1 = n - m\) components.

⟨2.4⟩

⟨2⟩

Step ⟨3⟩
Collapse
Collapse all
Source
Paragraph
Source

The claim follows by induction. QED

⟨3⟩

Section 3
Source

3. Remarks

Paragraph
Source

The bound in Theorem 2.1 is tight: the complete graph on \(n\) vertices achieves equality when \(m = \binom{n}{2}\).