There were 820 orange buttons in a container. The number of orange buttons was 160 fewer than the number of yellow buttons and 210 more than the number of green buttons. 1/3 of the total number of buttons in the container were blue buttons. How many buttons were there altogether?

Respuesta :

Answer: There are 3615 buttons

Step-by-step explanation:

From this situation we can write a system of equations if we tag the orange buttons with [tex]o[/tex], the yellow buttons with [tex]y[/tex], the green buttons with [tex]g[/tex] and the blue buttons with [tex]b[/tex]:

There were 820 orange buttons:

[tex]o=820[/tex] (1) Number of orange buttons

The number of orange buttons was 160 fewer than the number of yellow buttons:

[tex]o=y-160[/tex] (2)

The number of orange buttons was 210 more than the number of green buttons:

[tex]o=g+210[/tex] (3)

1/3 of the total number of buttons in the container were blue buttons:

If the total is the sum of the buttons of each color, we have:

[tex]\frac{1}{3}(o+y+g+b)=b[/tex] (4)

At this point we have our system with 4 equations and 4 unknowns.

Let's begin by substituting (1) in (2):

[tex]820=y-160[/tex] (5)

Isolating [tex]y[/tex]:

[tex]y=980[/tex] (6) Number of yellow buttons

Subsituting (1) in (3):

[tex]820=g+210[/tex] (7)

Isolating [tex]g[/tex]:

[tex]g=610[/tex] (8) Number of green buttons

Substituting (1), (6) and (8) in (4):

[tex]\frac{1}{3}(820+980+610+b)=b[/tex] (9)

Isolating [tex]b[/tex]:

[tex]b=1205[/tex] (10) Number of blue buttons

Now we can find the total number of buttons:

[tex]o+y+g+b=820+980+610+1205=3615[/tex] (11) This is the total number of buttons