Algebra

This topic has expert replies
Master | Next Rank: 500 Posts
Posts: 304
Joined: Wed Jan 27, 2010 8:35 am
Location: International Space Station
Thanked: 11 times
Followed by:3 members

Algebra

by Aman verma » Fri Apr 05, 2013 2:42 am
Q: The number of integral solutions for the equation a+b+c+d = 12 , where ( a,b,c,d ) >= -1 is :

a) 19C3

b) 18C4

c) 20C4

d) 16C2

e) 17C1
800. Arjun's-Bird-Eye

GMAT/MBA Expert

User avatar
GMAT Instructor
Posts: 511
Joined: Wed Aug 11, 2010 9:47 am
Location: Delhi, India
Thanked: 344 times
Followed by:86 members

by Anju@Gurome » Fri Apr 05, 2013 3:03 am
Aman verma wrote:Q: The number of integral solutions for the equation a+b+c+d = 12 , where ( a,b,c,d ) >= -1 is :
Let us assume new variables p, q, r, and s such that, p = (a + 1), q = (b + 1), r = (c + 1) and s = (d + 1). (Why I did it? See note.)
Hence, p, q, r, s ≥ 0
And, (a + b + c + d) = 12 ---> (p + q + r + s) = 16

So, we need to find out the number of integral solutions for the equation (p + q + r + s) = 16, where p, q, r, s ≥ 0

Now, the problem can be rephrased as "In how many ways sixteen 1s and three +s can be arranged in a row?"

Number of way to do so = (16 + 3)!/[(16!)*(3!)] = 19!/[(19 - 3)!*3!] = 19C3

The correct answer is A.

Note #1: I changed the variables to make them countable items. It is difficult to interpret negative values as countable items.

Note #2: In general the formula to determine number of non-negative integral solutions of the equation (a + b + c + d + ...) = n is (n + r - 1)C(r - 1), where r is the number of variables. Here, n = 16 and r = 4.

Note #3: This method is popularly known as the "inserting stick" or "separator" method which is very useful for a large number of complex combinatorics problems. For more use cases of this method, read the following posts made by Rahul,
https://www.beatthegmat.com/12-t70715.html#319654
https://www.beatthegmat.com/12-t70715.html#319982
https://www.beatthegmat.com/oranges-t70953.html#320828
Anju Agarwal
Quant Expert, Gurome

Backup Methods : General guide on plugging, estimation etc.
Wavy Curve Method : Solving complex inequalities in a matter of seconds.

§ GMAT with Gurome § Admissions with Gurome § Career Advising with Gurome §

Master | Next Rank: 500 Posts
Posts: 304
Joined: Wed Jan 27, 2010 8:35 am
Location: International Space Station
Thanked: 11 times
Followed by:3 members

by Aman verma » Sat Apr 06, 2013 6:34 am
Hi Anju,

Thanks for the response. That link to the Rahul's thread was very helpful !
800. Arjun's-Bird-Eye

GMAT/MBA Expert

User avatar
GMAT Instructor
Posts: 16207
Joined: Mon Dec 08, 2008 6:26 pm
Location: Vancouver, BC
Thanked: 5254 times
Followed by:1268 members
GMAT Score:770

by Brent@GMATPrepNow » Sat Apr 06, 2013 7:49 am
If you're interested, here's another practice question along the same lines: https://www.beatthegmat.com/very-tricky- ... 25349.html

Cheers,
Brent
Brent Hanneson - Creator of GMATPrepNow.com
Image

Master | Next Rank: 500 Posts
Posts: 468
Joined: Mon Jul 25, 2011 10:20 pm
Thanked: 29 times
Followed by:4 members

by vipulgoyal » Mon Apr 08, 2013 12:46 am
shouldnt be correct answer 19C3 - 2

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 Apr 08, 2013 1:27 am
Aman verma wrote:Q: The number of integral solutions for the equation a+b+c+d = 12 , where ( a,b,c,d ) >= -1 is :

a) 19C3

b) 18C4

c) 20C4

d) 16C2

e) 17C1
Since abcd ≥ -1:
a≥-1, b≥-1, c≥-1, and d≥-1.
Thus:
a+1≥0, b+1≥0, c+1≥0, and d+1≥0.

Since a+b+c+d = 12, the following must also be true:
(a + 1) + (b + 1) + (c + 1) + (d + 1) = 16.
Here, a sum of 16 must be DISTRIBUTED among 4 NONNEGATIVE integers: a+1, b+1, c+1, and d+1.

This question is no different from the following:
How many ways can 16 identical marbles be distributed among 4 children a+1, b+1, c+1, and d+1?

Use the SEPARATOR method.

16 identical marbles are to be separated into -- at most -- 4 groupings.
Thus, we need 16 marbles and 3 separators:
OOO|OO|OOOOO|OOOOOO

Each arrangement of the elements above represents one way to distribute the 16 marbles among 4 children a+1, b+1, c+1, and d+1:
OOOO|OOO|OOO|OOOOOO = a+1 gets 4 marbles, b+1 gets 3 marbles, c+1 gets 3 marbles, d+1 gets 6 marbles.
OOOOOOOOO|||OOOOOOO = a+1 gets 9 marbles, d+1 gets 7 marbles.
OOOOOOOOOOOOOOOO||| = a+1 gets all 16 marbles.
And so on.

To count all of the possible distributions, we simply need to count the number of ways to arrange the 19 elements above (the 16 identical marbles and the 3 identical separators).
The number of ways to arrange 19 elements = 19!.
But when an arrangement includes identical elements, we must divide by the number of ways to arrange the identical elements.
The reason:
When the identical elements swap positions, the arrangement doesn't change, reducing the total number of unique arrangements.
Thus, we must divide by 16! (the number of ways to arrange the 16 identical marbles) and by 3! (the number of ways to arrange the 3 identical separators):
19!/(16! 3!) = (19*18*17)/3! = 19C3.

The correct answer is A

Here's a similar problem:
Find the total number of ways in which 35 identical marbles can be distributed among 5 boys such that each boy gets odd number of marbles?

1) 39C4

2) 19C4

3) 15C4

4) 20C4

5) 25C4
An odd value can be represented as 2x + 1.

Since each of the 5 boys receives an ODD number of marbles, and the total number of marbles is 35, we can represent the sum as follows:
(2a + 1) + (2b + 1) + (2c + 1) + (2d + 1) + (2e + 1) = 35.
2(a+b+c+d+e) + 5 = 35
a+b+c+d+e = 15.

Now the question becomes:
How many ways can 15 identical marbles be distributed among 5 children a, b, c, d and e?

Here, we need 15 marbles and 4 separators:
OOO|OO|OOOOO|OO|OOO

Each arrangement of the elements above represents one way to distribute the 15 marbles among 5 children a, b, c, d and e:
OOOO|OOO|OOO|OO|OO = a gets 4 marbles, b gets 3 marbles, c gets 3 marbles, d gets 2 marbles, e gets 2 marbles.
OOOOOOOO||||OOOOOOO = a gets 8 marbles, e gets 7 marbles.
OOOOOOOOOOOOOOO|||| = a gets all 15 marbles.
And so on.

To count all of the possible distributions, we simply need to count the number of ways to arrange the 19 elements above (the 15 identical marbles and the 4 identical separators).
The number of ways to arrange 19 elements = 19!.
But when an arrangement includes identical elements, we must divide by the number of ways to arrange the identical elements.
The reason:
When the identical elements swap positions, the arrangement doesn't change, reducing the total number of unique arrangements.
Thus, we must divide by 15! (the number of ways to arrange the 15 identical marbles) and by 4! (the number of ways to arrange the 4 identical separators):
19!/(15! 4!) = = (19*18*17*16)/4! = 19C4.

The correct answer is B.

It should be noted that both of these problems are WAY beyond the scope of the GMAT.
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