Question
Use structural induction to show that $l(T),$ the number of leaves of a full binary tree $T,$ is 1 more than $i(T),$ the number of internal vertices of $T .$
Step 1
The root is a leaf, but not an internal vertex. Therefore, the number of leaves of T is one and the number of internal vertices of T is zero. This gives us $l(T) = 1 = i(T) + 1$, which verifies the base case. Show more…
Show all steps
Your feedback will help us improve your experience
Chris Trentman and 86 other Precalculus educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Use structural induction to show that $n(T) \geq 2 h(T)+1$ where $T$ is a full binary tree, $n(T)$ equals the number of vertices of $T,$ and $h(T)$ is the height of $T$.
Induction and Recursion
Recursive Definitions and Structural Induction
Transcript
Watch the video solution with this free unlock.
EMAIL
PASSWORD