Finding the Quickest Route During Rush Hour Traffic

  • Thread starter Thread starter temaire
  • Start date Start date
Click For Summary

Homework Help Overview

The problem involves determining the number of different routes a taxi can take from a train station to a football stadium during rush hour traffic, with the constraint that the taxi must always move closer to the destination at each intersection.

Discussion Character

  • Exploratory, Assumption checking, Problem interpretation

Approaches and Questions Raised

  • Participants discuss various methods for solving the problem, including the use of permutations and Pascal's triangle. Some express curiosity about the feasibility of using permutations, while others suggest that the teacher's solution is effective.

Discussion Status

The discussion is ongoing, with participants exploring different interpretations and approaches. Some have provided insights into the complexity of the problem, noting that not all intersections allow for equal moves, which complicates the use of a simple formula. There is no explicit consensus on a single method, but several participants have shared their reasoning and calculations.

Contextual Notes

Participants mention the challenge of applying a fixed formula due to varying possible moves at intersections. There is also a reference to the need for algebraic backing in solutions, highlighting the participants' desire for a deeper understanding of the problem's structure.

temaire
Messages
275
Reaction score
0

Homework Statement


A taxi company is trying to find the quickest route during rush hour traffic from the train station to the football stadium. How many different routes must be considered if at each intersection the taxi must always move closer to the football stadium?

http://img179.imageshack.us/img179/4730/pathwayjh2.png​
[/URL]


Homework Equations


[tex]n_{P}_r=\frac{n!}{(n-r)!}[/tex]


The Attempt at a Solution


My teacher told us that he didn't know how to solve this problem using permutations, and therefore solved it using pascal's triangle. This is what he did:
http://img81.imageshack.us/img81/162/pathway2oh6.png​
[/URL]
As you see, he got the answer of 119, which is correct. However, I was wondering, is there a way of doing this question using the permutations equation? If not, is there another way of approaching this problem?
 
Last edited by a moderator:
Physics news on Phys.org
There's a lot of ways to do the problem by splitting it into a bewildering variety of cases and subcases. Your teachers solution is probably the best. In fact it's actually really nice. I might have tried to do it a harder way.
 
Could you show me how you would have solved this using the perms. formula?
 
There is no way to solve it using the permutations formula with a single n and r. I.e. there is not an easy way to solve it using a fixed formula. That's why your teachers solution is good. Why do you want to solve it with the 'perms' formula?
 
Dick said:
There is no way to solve it using the permutations formula with a single n and r. I.e. there is not an easy way to solve it using a fixed formula.

Well now that you have said that, I guess I will stick with my teacher's solution. It's just that I like having algebraic work backing up a solution when there can be one. I did not initially think it would be so difficult to solve this problem using the formula, as it is quite simple.
 
The reason why it is difficult with a formula is because not every intersection has an equal number of possible moves. That's why other ways to do it involve cases and subcases.
 
It's not that difficult. If the map was a complete 4x5 rectangle there would be 9C4 = 9!/(4!5!) = 126 paths. Only one path goes through the upper left point, and 6C1 = 6 paths going through the point 3 left of the football stadium.
The total number is 9C4 - 1 - 6C1 = 119
 
kamerling said:
It's not that difficult. If the map was a complete 4x5 rectangle there would be 9C4 = 9!/(4!5!) = 126 paths. Only one path goes through the upper left point, and 6C1 = 6 paths going through the point 3 left of the football stadium.
The total number is 9C4 - 1 - 6C1 = 119

Very clever.
 
Thanks for the help kamerling.

I also realized that you could do [tex]126-2!-(\frac{3!}{2!}+2!)=119[/tex]
There are [tex]2![/tex] ways of getting through the top right box, and there are [tex](\frac{3!}{2!}+2!)[/tex] of getting through the two bottom left boxes. Therefore, you just subtract these seven ways from the total, 126, to get 119.

See Dick, it's not that difficult.:approve:
 
  • #10
temaire said:
See Dick, it's not that difficult.:approve:

Point taken.
 
  • #11
temaire said:
Thanks for the help kamerling.

I also realized that you could do [tex]126-2!-(\frac{3!}{2!}+2!)=119[/tex]
There are [tex]2![/tex] ways of getting through the top right box, and there are [tex](\frac{3!}{2!}+2!)[/tex] of getting through the two bottom left boxes. Therefore, you just subtract these seven ways from the total, 126, to get 119.

See Dick, it's not that difficult.:approve:

I don't understand this. What are the 2 ways of getting through top right box? There's only one path there that shouldn't be counted.
 
  • #12
kamerling said:
I don't understand this. What are the 2 ways of getting through top right box? There's only one path there that shouldn't be counted.

Sorry if I confused you. What I meant to say is if there was a box in the top right corner, there would be two ways of getting from point A to point B, as shown below. As you can see, there is a red and blue path.

http://img234.imageshack.us/img234/8017/pathway3nv0.png​
[/URL]
 
Last edited by a moderator:
  • #13
Sorry, I see that this works, and I had thought about completing the map before, but I couldn't quite get to the 9C4. Can someone quickly explain to me how it works?
 
  • #14
Tedjn said:
Sorry, I see that this works, and I had thought about completing the map before, but I couldn't quite get to the 9C4. Can someone quickly explain to me how it works?

You have 9 turns to make during the trip, anyone can be to the left or down. To get to the destination you need to make 4 left turns and 5 down turns. How many ways?
 
  • #15
119 = 6!/3! - 1 ;)
 
  • #16
Ah, I see. That's pretty nice :)
 
  • #17
temaire said:
Sorry if I confused you. What I meant to say is if there was a box in the top right corner, there would be two ways of getting from point A to point B, as shown below. As you can see, there is a red and blue path.

http://img234.imageshack.us/img234/8017/pathway3nv0.png​
[/URL]

Does this mean that if you had a rectangle where only the top right corner was missing, you'd say that there were 126 - 2! = 124 paths? That answer is wrong.
 
Last edited by a moderator:
  • #18
What I should have drawn is this:

http://img223.imageshack.us/img223/9485/pathway3jq9.png​
[/URL]

This is because what I previously had as the blue path, is accessible with or without the top right square being there. Therefore, it would be 126-1=125, which, I believe, is the right answer.
 
Last edited by a moderator:

Similar threads

  • · Replies 33 ·
2
Replies
33
Views
14K