Gọi số viên bi xanh, đỏ. vàng lần lượt là x, y, z ( x, y, z ∈ N* )
Ta có : \(\dfrac{x}{2}\) = \(\dfrac{y}{3}\)
\(\dfrac{y}{4}\) = \(\dfrac{z}{5}\)
⇒ \(\dfrac{x}{8}\) = \(\dfrac{y}{12}\) ; \(\dfrac{y}{12}\) = \(\dfrac{z}{15}\) ⇒ \(\dfrac{x}{8}\) = \(\dfrac{y}{12}\) = \(\dfrac{z}{15}\)
Theo tính chất của dãy tỉ số bằng nhau ta có :
\(\dfrac{x}{8}\) = \(\dfrac{y}{12}\) = \(\dfrac{z}{15}\) = \(\dfrac{x+y+z}{8+12+15}\) = \(\dfrac{35}{35}\) = \(1\)
⇒ \(\dfrac{x}{8}\) = \(1\) ⇒ x = 8 . 1 = 8
\(\dfrac{y}{12}\) = \(1\) ⇒ y = 12 . 1 = 12
\(\dfrac{z}{15}\) = \(1\) ⇒ z = 15 . 1 = 15
Vậy số bi xanh, đỏ, vàng lần lượt là 8, 12, 15.