A probability problem by Achal Jain

x 1 + x 2 + x 3 + 4 x 4 = 20 \large x_{1}+x_{2}+x_{3}+4x_{4}=20

Find the number of non-negative integral solution to the equation above.


The answer is 536.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Freddie Hand
Feb 26, 2017

x 1 + x 2 + x 3 + 4 x 4 = 20 \large x_{1}+x_{2}+x_{3}+4x_{4}=20 so

( x 1 + 1 ) + ( x 2 + 1 ) + ( x 3 + 1 ) + 4 x 4 = 23 \large (x_{1}+1)+(x_{2}+1)+(x_{3}+1)+4x_{4}=23

If x 4 = 0 x_{4}=0 , then we can imagine that we have 23 stones, and we have to put in two sticks to divide them up. (to find the values of x 1 x_{1} , x 2 x_{2} and x 3 x_{3} )

The first stick has 22 possible positions, and the second has 21 possible positions, so there are 21 × 22 = 462 21\times 22=462 possible ways.

If x 4 = 1 x_{4}=1 , then there are 18 × 17 = 306 18\times 17=306 ways.

In total, there are k = 1 6 ( 4 k 2 ) ( 4 k 3 ) = 1072 \displaystyle\sum_{k=1}^{6} (4k-2)(4k-3)=1072 ways.

However, we must divide by two to get rid of repeats, so the answer is 536.

Nice Solution , but instead of adding 3 3 on the sides, you can easily substitute x 4 x_{4} as 0,1,2,3,4 and 5. I did this cause 20 20 is a small number. I wanted to know about UK's Educational System, is there any way you can tell me about it?

Achal Jain - 4 years, 3 months ago

Log in to reply

I added three to both sides so the sticks and stones method works more easily, as two sticks cannot then be in the same position because x 1 + 1 x_{1}+1 , x 2 + 1 x_{2}+1 and x 3 + 1 x_{3}+1 are positive.

Freddie Hand - 4 years, 3 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...