1,787 views
1 votes
1 votes
In X+y+z<=12 , X,y,z>=1  

How to find total no of integral solutions ?If you are introducing any dummy variable for solving , please do explain the logic behind this .

1 Answer

Best answer
3 votes
3 votes
$x+y+x <= 12, \ \ \  \ \ \ \ \ \ \  x,y,z >0$  

to solve this problem with less steps we will introduce a dummy variable $w$ which will hold the value $12 - (x+y+z)$ so that RHS of equation becomes stable and we can solve this question easily.

so our new equation will be

$x + y  + z + w = 12, \ \ \ x,y,z >0$

now the constrain is $x,y,z>0$

so first we'll calculate all possible solutions then subtract the invalid solutions.

All possible solutions without any restriction = $\large \binom{15}{3}$ = $455$

Now calculating invalid solutions,

when $x$ is $0$,

$y+z+w = 12$

$= \large \binom{14}{2}$

 when $y$ is $0$,

$= \large \binom{14}{2}$

when $z$ is $0$,

$= \large \binom{14}{2}$

when both x and y are $0$,

z + w = 12

$= \large \binom{13}{1}$

similarly there are 2 more possibilities (x and z are 0 and z and y are 0),

when x,y and z (all 3) are 0,

$w = 12$

$= \large \binom{12}{0}$

So total invalid solutions = $ \large 3 \times \binom{14}{2} - 3 \binom{13}{1} + 1 \binom{12}{0}  = 235$

Total solutions = $455 - 235 =220 $
selected by

Related questions

3 votes
3 votes
4 answers
1
pankaj9310 asked Jan 29, 2015
8,250 views
How many solutions are there to the equation x+y+z=17 ?They are non-negative integers A) 120 B)171 C)180 D)121
2 votes
2 votes
1 answer
2
Sanjay Sharma asked Mar 9, 2017
7,398 views
how many solutions are there to equationx1+x2+x3 =11with conditions x1<= 1 ,x2<=2 ,x3<=3
4 votes
4 votes
2 answers
4