As the bag contains red, blue and green marbles.
∴ Probability of selecting a red marble + Probability of selecting a blue marble + Probability of selecting a green marble = 1
⇒ 31+51 + Probability of selecting a green marble = 1
⇒ 155+3 + Probability of selecting a green marble = 1
⇒ Probability of selecting a green marble = 1−158
⇒ Probability of selecting a green marble = 1515−8
⇒ Probability of selecting a green marble = 157.
∴Total no. of marblesNo. of green marbles=157⇒Total no. of marbles14=157⇒Total no. of marbles=715×14=30.
(a) Given,
⇒ Probability of selecting a red marble = 51.
∴Total no. of marblesNo. of red marbles=51⇒30No. of red marbles=51⇒No. of red marbles=530=6.
Hence, no. of red marbles = 6.
(b) Hence, total no. of marbles in the bag = 30.