Save this video — free

Induction and recursion

Kent Quanrud · 1:21:56 · Watch on YouTube

Induction and recursion Watch on YouTube →

Overview

Kent Quanrud develops induction and recursion as complementary tools for algorithm design: first specify clearly what a recursive procedure takes in and guarantees, then use induction to justify its calls on smaller inputs. Examples progress from Tower of Hanoi and the Euclidean GCD algorithm to a proof of König’s theorem for bipartite graphs, connecting correctness, running-time analysis, and matching–vertex-cover duality.

Key takeaways

Chapters

0:00 Recursive Specifications Set Up Algorithm Design
3:00 Stair Climbing as an Inductive Argument
7:00 Tower of Hanoi: Why Brute-Force Moves Become Confusing
11:00 Specify and Implement Recursive Tower of Hanoi
18:00 Prove Hanoi Correctness and Strengthen the Specification
25:00 From a Valid Hanoi Solution to a Minimum-Move Solution
34:45 Define the Greatest Common Divisor Problem
38:00 Subtraction-Based GCD and a Decreasing Induction Measure
46:00 Why Subtraction GCD Is Exponential in Input Bit Length
53:00 Euclid’s Remainder Identity Produces a Faster GCD Algorithm
58:00 Bound Euclid’s Algorithm by Halving Every Two Steps
1:04:00 Bipartite Matching and Vertex Cover
1:10:00 Why Every Matching Is No Larger Than Every Vertex Cover
1:13:00 Set Up Induction for König’s Theorem
1:16:00 Combine Smaller Matchings When the Cover Uses Both Sides
1:19:00 Handle Lopsided Covers to Complete König’s Theorem

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Kent Quanrud.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.