2024 AMC 8 Problems/Problem 21
Problem
A group of frogs (called an army) is living in a tree. A frog turns green when in the shade and turns yellow when in the sun. Initially, the ratio of green to yellow frogs was . Then green frogs moved to the sunny side and yellow frogs moved to the shady side. Now the ratio is . What is the difference between the number of green frogs and the number of yellow frogs now?
Solution 1
Let the initial number of green frogs be and the initial number of yellow frogs be . Since the ratio of the number of green frogs to yellow frogs is initially , . Now, green frogs move to the sunny side and yellow frogs move to the shade side, thus the new number of green frogs is and the new number of yellow frogs is . We are given that , so , since , we have , so and . Thus the answer is .