The number of purple pen is 2
Explanation:
Number of red pens = 3
Number of black pens = 3
Number of blue pens = 2
Number of purple pens = ?
Probability = ![\frac{1}{15}](/tpl/images/0592/6896/340eb.png)
Total number of pens = 3 + 3 + 2 + x
= 8 + x
The probability of pulling out a red pen = ![\frac{3}{8+x}](/tpl/images/0592/6896/c24b7.png)
Total number of pens become = 8 + x - 1
= 7 + x
Probability of pulling out a purple pen = ![\frac{x}{7+x}](/tpl/images/0592/6896/cbca1.png)
According to the question:
![\frac{3}{8+x} X\frac{x}{7+x} = \frac{1}{15}](/tpl/images/0592/6896/30c37.png)
Solving the equation:
![\frac{3x}{8(7+x) + x (7+x)} = \frac{1}{15} \\\\\frac{3x}{56 + 8x + 7x + x^2} = \frac{1}{15} \\](/tpl/images/0592/6896/ef2b6.png)
![\frac{3x}{56+ 15x + x^2} = \frac{1}{15} \\\\45x = 56 + 15x + x^2\\\\x^2 - 30x + 56 = 0\\\\x = 28, 2](/tpl/images/0592/6896/242ab.png)
If x = 2 then,
![\frac{3}{8 +2} X \frac{2}{7+2} = \frac{3}{10} X \frac{2}{9} = \frac{1}{15}](/tpl/images/0592/6896/78b33.png)
Therefore, the number of purple pen is 2