Original Question:
Every morning, Milly walks from her home H(0, 0) to the gym G(6, 6) along city streets that are laid out in a square grid as shown. She always takes a path of shortest distance. On her way to the gym, she often purchases a coffee at a café located at point C(2, 2). A new café opens up at point B(4, 4). How many paths can Milly take, assuming that she buys coffee at either café?
My workings:
From H (0,0) to café (2,2), then to G (6,6), # of ways X= [math]\frac{4!}{2!2!}\times \frac {8!}{4!4!} = 420[/math]From H (0,0) to café (4,4), then to G (6,0), # of ways Y = 420 [same as above]
The question asks how many paths when she buys coffee at either café.
I would take [imath]X \cup Y = X + Y - X \cap Y = 420+420- X\cap Y[/imath]
I don't know how to work out the intersection between X and Y.
FYI: the final answer is 624.
Thank you so much for your help.
Every morning, Milly walks from her home H(0, 0) to the gym G(6, 6) along city streets that are laid out in a square grid as shown. She always takes a path of shortest distance. On her way to the gym, she often purchases a coffee at a café located at point C(2, 2). A new café opens up at point B(4, 4). How many paths can Milly take, assuming that she buys coffee at either café?
My workings:
From H (0,0) to café (2,2), then to G (6,6), # of ways X= [math]\frac{4!}{2!2!}\times \frac {8!}{4!4!} = 420[/math]From H (0,0) to café (4,4), then to G (6,0), # of ways Y = 420 [same as above]
The question asks how many paths when she buys coffee at either café.
I would take [imath]X \cup Y = X + Y - X \cap Y = 420+420- X\cap Y[/imath]
I don't know how to work out the intersection between X and Y.
FYI: the final answer is 624.
Thank you so much for your help.