Lecture 2
Learning objectives
After this class, you should be able to:
- Define the problems of intersecting lines and intersecting Vs (or zigs).
- Formulate the maximum number of regions for the above problems as recurrences.
- Determine closed form expressions for the solutions of the above recurrences, and prove their correctness using induction.
- Given a variant of the above problems, derive a recurrence for the maximum number of regions, and determine a closed form solution to it.
Reading assignment
- Sec 1.2.
- Pages 8 and 9.
Exercises and review questions
- Questions on current lecture's material
- Exercises 1.6, 1.14 (also derive a closed for expression for the number of cheese cubes,
P(n)
).
- Questions on next lecture's material
- Determine
J(8)
in the Josephus problem.
Last modified: 18 Jan 2006