428 views
8 votes
8 votes
Number of positive integer solutions to the equation $4x+y+z = 21$ is $\_\_\_\_$

2 Answers

Best answer
12 votes
12 votes
$4x + y + z = 21,\qquad x,y,z > 0$

$\implies 4x + y + z = 15, \qquad x,y,z \geq 0$

Here, the possible values of $4x$ are $0,4,8,12.$ For each of these possible values we can find the number of possible values of $y+z$ as follows

1. $y+z = 15.$

This can be solved by stars-and-bars technique with $15$ stars and $1$ bar giving ${}^{16}C_1 = 16$ ways.

2.$y + z = 11.$

$12$ ways

3. $y+z = 7.$

$8$ ways

4. $y+z = 3.$

$4$ ways

So, totally we get $16+12+8+4 = 40$ ways.
selected by
7 votes
7 votes

Here Number of positive integer solutions is asked. So, the minimum values of x,y,z must be greater than or equal to 1.

The possible values of x are 1,2,3,4.

Note:

“The value of x cannot be equal to 5 because if x=5 the given equation becomes 4(5)+y+z=21 => y+z =1 (in order to satisfy this equation either y or z must be 0(not a positive integer solution).”

So, by now you are convinced that x can take values 1,2,3,4.

 

if x=1,

the given equation becomes 4(1)+y+z=21 => y+z=17

Now the possible values y and z such that y+z = 17 is

(1,16),(2,15),(3,14),(4,13),(5,12),(6,11),(7,10),(8,9) = 8 ways.

The above, each pair of values for y and z can be allocated in 2 ways so the number of solutions

= 2*8 =16 ways.

 

if x=2,

the given equation becomes 4(2)+y+z=21 => y+z=13

Now the possible values y and z such that y+z = 13 is

(1,12),(2,11),(3,10),(4,9),(5,8),(6,7) = 6 ways.

The above, each pair of values for y and z can be allocated in 2 ways so the number of solutions

= 2*6 =12 ways.

 

 

if x=3,

the given equation becomes 4(3)+y+z=21 => y+z=9

Now the possible values y and z such that y+z = 13 is

(1,8),(2,7),(3,6),(4,5) = 4 ways.

The above, each pair of values for y and z can be allocated in 2 ways so the number of solutions

= 2*4 =8 ways.

 

 

if x=4,

the given equation becomes 4(4)+y+z=21 => y+z=5

Now the possible values y and z such that y+z = 13 is (1,4),(2,3) = 2 ways.

The above, each pair of values for y and z can be allocated in 2 ways so the number of solutions = 2*2 =4 ways.

 

Adding the above values when x=1,2,3,4 is 16+12+8+4 = 40. 

 

 

 

 

Answer:

Related questions

2 votes
2 votes
1 answer
1
gatecse asked Jun 28, 2020
202 views
The minimum number of people that must be in a room to ensure that at least three were born on the same day of the week is $\_\_\_\_\_$
4 votes
4 votes
1 answer
2
gatecse asked Jun 28, 2020
290 views
Consider a set $A$ with $6$ elements. Let $N_1$ denote the number of bijective functions from $A$ to $A$ and let $N_2$ denote the number of onto (surjective) functions fr...
4 votes
4 votes
1 answer
3
gatecse asked Jun 28, 2020
187 views
Number of bit strings of length $10$ that do not end in “$111$” is $\_\_\_\_$
7 votes
7 votes
1 answer
4
gatecse asked Jun 28, 2020
390 views
The number of bit strings of length $6$ that do not contain “$1111$” as a substring is $\_\_\_\_$