There are some silver and pink balls in a box. If 4 silver balls are removed from the box, the total number of balls left will be 9 times the number of silver balls left. If 7 pink balls are removed from the box, the total number of balls left will be 6 times the number of silver balls. How many balls are there in the box?
|
Case 1 |
Case 2 |
|
Silver balls |
Pink balls |
Silver balls |
Pink balls |
Before |
1 u + 4 |
8 u |
1 p |
5 p + 7 |
Change |
- 4 |
|
|
- 7 |
After |
1 u |
8 u |
1 p |
5 p |
Number of pink balls in the end for Case 1
= 9 u - 1 u
= 8 u
Number of silver balls in the end for Case 2
= 6 p - 1 p
= 5 p
The number of silver balls at first is the same for Case 1 and Case 2.
The number of pink balls at first is also the same for Case 1 and Case 2.
1 u + 4 = 1 p --- (1)
8 u = 5 p + 7
8 u - 7 =
5 p --- (2)
Make p the same.
(1)
x5 5 u + 20 =
5 p --- (3)
(2) = (3)
8 u - 7 = 5 u + 20
8 u - 5 u = 20 + 7
3 u = 27
1 u = 27 ÷ 3 = 9
Number of balls in the box
= (1 u + 4) + 8 u
= 9 u + 4
= (9 x 9) + 4
= 81 + 4
= 85
Answer(s): 85