How many routes from X to Y

This topic has expert replies
Master | Next Rank: 500 Posts
Posts: 114
Joined: Tue Mar 24, 2009 9:19 am
Thanked: 1 times

How many routes from X to Y

by kobel51 » Mon Mar 03, 2014 2:56 pm
Image
Pat will walk from intersection X to intersection Y along a route that is confined to the square grid of four streets and three avenues shown in the preceding map. How many routes form X to Y can Pat take that have the minimum possible length?

A) 6
B) 8
C) 10
D) 14
E) 16
Source: — Problem Solving |

User avatar
GMAT Instructor
Posts: 1052
Joined: Fri May 21, 2010 1:30 am
Thanked: 335 times
Followed by:98 members

by Patrick_GMATFix » Mon Mar 03, 2014 3:10 pm
To go from X to Y, we need to go right twice (2 R's) and up three times (3 U's). Think of this question as how many ways you can order RRUUU. The answer is C. I go through the question in detail in the full solution below (taken from the GMATFix App).

Image

-Patrick
  • Ask me about tutoring.

User avatar
GMAT Instructor
Posts: 15539
Joined: Tue May 25, 2010 12:04 pm
Location: New York, NY
Thanked: 13060 times
Followed by:1906 members
GMAT Score:790

by GMATGuruNY » Mon Mar 03, 2014 4:50 pm
kobel51 wrote:Image
Pat will walk from intersection X to intersection Y along a route that is confined to the square grid of four streets and three avenues shown in the preceding map. How many routes form X to Y can Pat take that have the minimum possible length?

A) 6
B) 8
C) 10
D) 14
E) 16
Let E = traveling one block eastward and N = traveling one block northward.
To travel from X to Y by a route of minimum length, Pat must travel exactly 2 blocks eastward and exactly 3 blocks northward:
EENNN.
Any arrangement of the letters EENNN will yield a viable route.

The number of ways to arrange 5 DISTINCT elements = 5!.
But the elements above are not distinct: there are 2 identical E's and 3 identical N's.
When an arrangement includes IDENTICAL elements, we must DIVIDE by the number of ways to arrange the identical elements.
The reason is that the arrangement doesn't change when the identical elements swap positions, REDUCING the number of unique arrangements:

To illustrate:
The number of ways to arrange the letters in the word SPEED = 5!/2! = 60.
We divide by 2! to account for the 2 E's.
The number of ways to arrange the letters in the word RADAR = 5!/(2!*2!) = 30.
We divide by 2! to account for the 2 A's and by another 2! to account for the 2 R's.
The number of ways to arrange the letters in the word MISSISSIPPI = 11!/(4!*4!*2!).
We divide by 4! to account for the 4 S's, by another 4! to account for the 4 I's, and by 2! to account for the 2 P's.

In the problem at hand:
The number of ways to arrange EENNN = 5!/(2!*3!) = 10.

The correct answer is C.

Check here for a similar -- but trickier -- problem:

https://www.beatthegmat.com/different-routes-t93698.html
Private tutor exclusively for the GMAT and GRE, with over 20 years of experience.
Followed here and elsewhere by over 1900 test-takers.
I have worked with students based in the US, Australia, Taiwan, China, Tajikistan, Kuwait, Saudi Arabia -- a long list of countries.
My students have been admitted to HBS, CBS, Tuck, Yale, Stern, Fuqua -- a long list of top programs.

As a tutor, I don't simply teach you how I would approach problems.
I unlock the best way for YOU to solve problems.

For more information, please email me (Mitch Hunt) at [email protected].
Student Review #1
Student Review #2
Student Review #3

GMAT/MBA Expert

User avatar
Elite Legendary Member
Posts: 10392
Joined: Sun Jun 23, 2013 6:38 pm
Location: Palo Alto, CA
Thanked: 2867 times
Followed by:511 members
GMAT Score:800

by [email protected] » Tue Mar 04, 2014 12:27 am
Hi kobel51,

There are a couple of ways that you can approach this question....

Since the answers are relatively small, there are at least 6 ways to get from X to Y, but no more than 16 ways to get from X to Y. In a pinch, you could draw pictures and physically find all of the possibilities.

If you're more interested in a "math" approach, you'll see that to get from X to Y you'll need to go 3 blocks "up" and 2 blocks "over" no matter how you get from X to Y.

Since you have to make 5 "moves" and 3 of them have to be "up", you have a combination formula situation....In other words...

5c3

5!/[3!2!] = 10

You COULD also say that to make 5 "moves" and 2 of them have to be "over", you could also use the combination formula in this way...

5c2

5!/[2!3!] = 10

It's the same answer because 5c3 is the same as 5c2.

Final Answer: C

GMAT assassins aren't born, they're made,
Rich
Contact Rich at [email protected]
Image

GMAT/MBA Expert

User avatar
GMAT Instructor
Posts: 8088
Joined: Sat Apr 25, 2015 10:56 am
Location: Los Angeles, CA
Thanked: 43 times
Followed by:29 members

by Scott@TargetTestPrep » Fri Dec 13, 2019 1:03 pm
kobel51 wrote:Image
Pat will walk from intersection X to intersection Y along a route that is confined to the square grid of four streets and three avenues shown in the preceding map. How many routes form X to Y can Pat take that have the minimum possible length?

A) 6
B) 8
C) 10
D) 14
E) 16
Let V denote a step in the vertical direction and H denote a step in the horizontal direction. For instance, V-V-V-H-H denotes the path of walking along Avenue A until the intersection of 4th street and walking along 4th street until the point Y. Similarly, V-H-V-H-V denotes the path of walking along Avenue A, then walking along 2st street, then walking along Avenue B, then walking along 3rd street and, finally, walking along Avenue C to reach point Y.

We notice that a shortest path between point X and Y must include three V's and two H's. Further, any arrangement of three V's and two H's (i.e., any arrangement of the letters V-V-V-H-H) gives us a shortest path between X and Y. Using the permutations with indistinguishable objects formula, we see that there are 5! / (3!*2!) = (5 x 4)/2 = 10 such arrangements. Thus, there are 10 shortest paths between points X and Y.

Answer: C

Scott Woodbury-Stewart
Founder and CEO
[email protected]

Image

See why Target Test Prep is rated 5 out of 5 stars on BEAT the GMAT. Read our reviews

ImageImage