225k views
5 votes
A bag is filled with green and blue marbles. There are 59 marbles in the bag. If there are 23 more green marbles than blue marbles, find the number of green marbles and the number of bluemarbles in the bag.

User Kakiang
by
4.0k points

1 Answer

3 votes

Let G be the number of green marbles and B the number of blue marbles. With the data given we can set the following system of equations:


\begin{gathered} G+B=59, \\ G=B+23. \end{gathered}

Substituting the second equation in the first one, and solving for B we get:


\begin{gathered} (B+23)+B=59, \\ 2B+23=59, \\ 2B=59-23=36, \\ B=(36)/(2)=18. \end{gathered}

Substituting B=18 in the second equation on the board we get:


G=18+23=41.

Answer: The number of green marbles is 41, and the number of blue marbles is 18.

User Nilesh Gule
by
4.3k points