The number of purple pen is 2
Step-by-step explanation:
Number of red pens = 3
Number of black pens = 3
Number of blue pens = 2
Number of purple pens = ?
Probability =
![(1)/(15)](https://img.qammunity.org/2021/formulas/mathematics/high-school/pa98mkhpre2f3niaquqal2aiqnyrydzr00.png)
Total number of pens = 3 + 3 + 2 + x
= 8 + x
The probability of pulling out a red pen =
![(3)/(8+x)](https://img.qammunity.org/2021/formulas/mathematics/high-school/bh7nvxan1358ogxyjfj3o01dt154jj6clv.png)
Total number of pens become = 8 + x - 1
= 7 + x
Probability of pulling out a purple pen =
![(x)/(7+x)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/6t86z1h07ldc4n11u5mvzcyjrl8zemhxia.png)
According to the question:
![(3)/(8+x) X(x)/(7+x) = (1)/(15)](https://img.qammunity.org/2021/formulas/mathematics/high-school/sk1kyfbuntsf86rbexgi5us9sq92lun32y.png)
Solving the equation:
![(3x)/(8(7+x) + x (7+x)) = (1)/(15) \\\\(3x)/(56 + 8x + 7x + x^2) = (1)/(15) \\](https://img.qammunity.org/2021/formulas/mathematics/high-school/zsrj6jh18dpwqj04piwsk4nui7mjakds95.png)
![(3x)/(56+ 15x + x^2) = (1)/(15) \\\\45x = 56 + 15x + x^2\\\\x^2 - 30x + 56 = 0\\\\x = 28, 2](https://img.qammunity.org/2021/formulas/mathematics/high-school/wimre10answ55s306ra3ldxuw2u9fpspp5.png)
If x = 2 then,
![(3)/(8 +2) X (2)/(7+2) = (3)/(10) X (2)/(9) = (1)/(15)](https://img.qammunity.org/2021/formulas/mathematics/high-school/cznco14f5t5c5a25fx6ae250sqg9auqq7o.png)
Therefore, the number of purple pen is 2