Mathematics · lesson 3 of 3
Induction, graphs and discrete reasoning
Prove a base case and a step from n to n+1; neither alone suffices.
Learn the ideas
Prerequisites: Logic and integer arithmetic.
Induction
Prove a base case and a step from n to n+1; neither alone suffices.
Graph degrees
In a finite undirected graph, the sum of vertex degrees is twice the number of edges.
Trees
A finite connected acyclic graph with n vertices has n−1 edges.
Proof versus pattern
A pattern in numerical examples suggests a conjecture but does not prove it.
Worked examples
Prove 1+2+...+n=n(n+1)/2 by induction for n≥1.
Credit both the base and valid induction step.
The base n=1 holds. Assuming the formula for n, add n+1 to get n(n+1)/2+(n+1)=(n+1)(n+2)/2.
A finite undirected graph has degree sum 30. How many edges does it have?
Each edge contributes two to the degree sum.
15
Check your understanding
8 questionsDecimals or fractions are accepted for numeric answers. Proofs and written responses use sample answers and require human marking. This is practice, not a protected examination.
Further reading and review references
These are reference links, not copied exercises, institutional endorsement or proof of independent review.