recategorized by
502 views

1 Answer

Best answer
3 votes
3 votes
let $x_1$ be the number of green balls

let $x_2$ be the number of yellow balls

let $x_3$ be the number of blue balls

$x_1 + x_2 + x_3 = 10                       ,$         $0 \leq x_1<11, \ \ 0 \leq x_2<6, \ \ \ 0 \leq x_3<4$

Total possible solutions without any restriction = $\binom{12}{2} = 66$

Now let's calculate number of invalid solutions,

Total solutions when $\color{red}{x_2 \geq 6,}$

$x_1 + x_2 + 6 + x_3 = 10$

 $x_1 + x_2 + x_3 = 4$

$ = \binom{6}{2} = 15$

 

Total solutions when $\color{red}{x_3 \geq 4,}$

$x_1 + x_2 + x_3 + 4 = 10$

 $x_1 + x_2 + x_3 = 6$

$ = \binom{8}{2} = 28$

 

Total solutions when both $\color{red}{x_3 \geq 4}$ and $\color{red}{x_2 \geq 6,}$

$x_1 + x_2+  6 + x_3 + 4 = 10$

$x_1 + x_2 + x_3 = 0$

$ = \binom{2}{2} = 1$

 

Total invalid solutions $= 15 + 28 - 1 = 42$

Total valid solutions = $66 - \color{red}{42} = 24$
selected by

Related questions

5 votes
5 votes
1 answer
2
dd asked Jun 8, 2020
1,177 views
How many pairs $(x,y)$ such that $x+y <= k$, where x y and k are integers and $x,y>=0, k 0$.Solve by summation rules.Solve by combinatorial argument.
1 votes
1 votes
1 answer
3
Lakshman Bhaiya asked Oct 24, 2018
515 views
A number of ways we can arrange letters of the word " TESTBOOK " such that E always comes between O's is ___________