Re: A Line
RK4 wrote:A line has formed at a box office to buy tickets. The first person in the line is a woman and the last person is a man. Prove that somewhere in the line there is a woman immediately in front of a man. (This is intuitively obvious, but give a careful proof using induction on the length of the line.)
If person n in the line is a woman, and there is never an instance of a woman being positioned directly in front of a man, it follows that person n+1 is also a woman. Since the first person in the line is a woman, it follows by inference that all persons in the line are women, including the last person in the line, should there be such a person. This is not compatible with the last person in the line being a man. Thus the conditions of the first person in the line being a woman, the last being a man, and there being no man in the line directly behind a women, gives rise to a contradiction.