- #1
Mr Davis 97
- 1,462
- 44
Homework Statement
If ##v## is an integer greater than or equal to ##2##, then ##P_v## is the graph having vertex set ##\{1,2,3, \dots, v \}## and edge set ##\{\{1,2 \}, \{2,3 \}, \{3,4 \}, \dots, \{v-1,v \} \}##. Prove that this graph has ##v-1## edges.
Homework Equations
The Attempt at a Solution
Induction:
With ##P_2##, we have ##\{1,2\}## and ##\{ \{1,2\} \}##, so there is ##2-1 = 1## edge.
Suppose that ##P_k## has ##k-1## edges. Then ##P_{k+1}## has ##k## edges because its edge set is ##\{\{1,2 \}, \{2,3 \}, \{3,4 \}, \dots, \{k-1,k \}, \{k,k+1\} \}##.I feel like I'm doing something wrong, but I'm not sure. Is this induction right? Is there a way to do it without induction?