SE 500 Mathematics for Software Engineering
Fall 2026
HW #9: Mathematical Induction
Due: 4pm, Friday November 20

1. Prove by (weak) mathematical induction that  (+i | 1≤i≤n : 4i - 2) = 2n2  for all n ≥ 0.

2. Prove by (weak) mathematical induction that  (+i | 1≤i≤n : 1/2i) = 1 - 1/2n  for all n ≥ 0.

3. Define f : ℕ → ℕ as follows:

f.0 = 1
f.1 = 5
f.n =  7·f(n-1) − 10·f(n-2)    (for n≥2)

Prove by (strong) mathematical induction that f.n = 5n  for all n ≥ 0.


4. In a rooted binary tree, each node has either two, one, or zero children. A node with zero children is called a leaf. Prove by (strong) mathematical induction that every rooted binary tree has exactly one more leaf nodes than nodes having two children. That is, if #0(T) is the number of leaves in binary tree T and #2(T) is the number of nodes in T having two children, then #0(T) = #2(T) + 1.

Hint: If T is a binary tree, it has one of three forms:

Root is
a leaf
Root has
one child
Root has
two children
   *
    *
    |
    |
    *
   / \
  /   \
 +-----+
   TC
        *
       / \
      /   \
     /     \
    *       *
   / \     / \
  /   \   /   \
 +-----+ +-----+
   TL       TR


5. Prove by (weak) mathematical induction that a rooted binary tree having at least 2n nodes has height at least n, for all n≥0.

The height of a rooted tree is equal to the length of a longest path among all paths from the root to the leaves. Recursively, the height of a rooted tree is zero if the root is its only node and, otherwise, the height is one plus the height of its "taller" subtree.

Hint: If a rooted binary tree has at least 2n+1 nodes, how many nodes are in its larger subtree?


The next two problems pertain to the Fibonacci sequence of numbers, defined as follows:

F0 = 0
F1 = 1
Fn =  Fn-1 + Fn-2   (for n>1)

6. Prove (by mathematical induction) that (+i | 0≤i≤n : Fi)  =  Fn+2 − 1 for all n≥0.

7. Prove (by mathematical induction) that (+i | 0≤i≤n : Fi2)  =  Fn × Fn+1 for all n≥0.


8. In class (also see web page) we proved a result by Euler that says that in a planar embedding of a connected planar graph G, the sum of the numbers of vertices and faces equals two more than the number of edges:

V(G) + F(G) = E(G) + 2

Let us broaden the domain by considering not just connected planar graphs but also planar graphs that are not connected. A connected component of a graph is defined to be a maximal set of vertices such that, for every pair of them, there is a path connecting them. Let C(G) refer to the number of connected components in graph G. By definition, G is connected iff C(G) = 1, Prove by mathematical induction on the number of connected components (with respect to a planar embedding of a planar graph G) that

V(G) + F(G) = E(G) + C(G) + 1

Note: You are allowed to make use of Euler's theorem, which is to say that you need not repeat our proof in the case that C(G) = 1 (the base case).