Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a circular road that has n toll booths and n reward booths. At each toll both, you have to pay $1. If you have

Consider a circular road that has n toll booths and n reward booths. At each toll both, you have to pay $1. If you have no money, you are stuck and cant go. However, at each reward booth, you collect $1. You start out with no money, but you decide where to start. You have no choice of direction: you must move clockwise. Prove by mathematical induction that for every n image text in transcribed 0, no matter how the booths are arranged, there is always a starting point that will allow you to go all the way around.

HINTS: (1) To prove the inductive case, remove two carefully chosen booths (2) You have no choice of direction: you must move clockwise. Your only choice is the starting point. (3) Your predicate P(k+1) that you want to prove is that FORALL booth arrangements with k+1 tolls and k+1 rewards, EXISTS a starting point. So you are given such a road and you have to find a starting point. (4) By the inductive hypothesis P(k), you know that FORALL booth arrangement with k tolls and rewards, EXISTS a starting point. So think of an inductive hypothesis like an engineer you can query: if you give her a road with k tolls and k rewards, she'll tell you the starting point. But if you give her k+1 tolls and k+1 rewards, she says nothing. So you have to find a way to cover a toll booth and a reward booth, so that you can use her skills. She'll tell you the starting point for that road with covered up booths. Now you have to use that to find a starting point for the road you are given.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Constraint Databases

Authors: Peter Revesz

1st Edition

1441931554, 978-1441931559

More Books

Students also viewed these Databases questions