Answers:
- 23 blue monsters
- 1 purple monster
- 27 yellow polka-dotted monsters
================================================
Step-by-step explanation:
x = number of blue monsters
y = number of purple monsters
z = number of yellow polka-dotted monsters
x,y,z are positive whole numbers
Let's count the number of heads. We can say
x+y+z = 51
because there are 51 heads from all the monsters combined, and each monster has 1 head.
Now to the number of arms.
- 5x = number of arms from the blue monsters (5 arms each)
- 4y = number of arms from the purple monsters (4 arms each)
- 2z = number of arms from the yellow monsters (2 arms each)
Gracie counted 173 arms in total, so,
5x+4y+2z = 173
Lastly, the number of feet
- 4x = number of feet from the blue monsters (4 feet each)
- 2y = number of feet from the purple monsters (2 feet each)
- 3z = number of feet from the yellow monsters (3 feet each)
She counted 175 feet in total, giving us this third equation
4x+2y+3z = 175
---------------
We have this system of three equations and three unknowns.
which honestly seems really tricky to solve.
There are a number of approaches we could take. I'll use substitution.
Let's solve for z in the first equation
which we can then plug into the other equations.
Plug it into the second equation to get
Repeat for the third original equation mentioned
---------------
We have this reduced system of equations with two unknowns and two equations this time
We'll use the same idea as earlier: Solve for one variable, then plug it into the other equation.
Let's solve for x in this new equation 2
Then plug this into the first equation. Afterward, solve for y.
Then we'll use this y value to find x
Lastly, we'll use those x and y values to find z
---------------
To summarize, we found
This means there are
- 23 blue monsters
- 1 purple monster
- 27 yellow polka-dotted monsters
There's probably a (much) faster way to solve this, but it's not coming to mind at the moment.