When several operations change an inventory, let a variable count each operation. The final amount of one item and the total number of operations give equations for those variables.
An exchange booth offers two trades: give 2 gold coins to receive 3 silver coins and 1 copper coin, or give 5 silver coins to receive 3 gold coins and 1 copper coin. A person starts with only silver coins. After several trades, they have no gold coins, 50 copper coins, and fewer silver coins than at the start. How many silver coins were lost?
Let be the number of gold-to-silver trades and the number of silver-to-gold trades. Every trade produces one copper coin, so .
The person starts and ends with no gold. The first trade uses 2 gold coins and the second creates 3, so . Substituting into gives . Hence and .
The 20 silver-to-gold trades use silver coins. The 30 gold-to-silver trades return . The net loss is silver coins.
Screenshot any problem on your screen and get the steps. Chrome on a computer; free.