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.
![\begin{cases}x+y+z = 51\\5x+4y+2z = 173\\4x+2y+3z = 175\end{cases}](https://img.qammunity.org/2023/formulas/mathematics/high-school/3ecnqj635nywfy8iipwhkvrcz4oaebfs9q.png)
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
![x+y+z = 51\\z = 51-x-y\\](https://img.qammunity.org/2023/formulas/mathematics/high-school/vvxwr75a2l6vz2kxgvzgkbv89xknzwjq8q.png)
which we can then plug into the other equations.
Plug it into the second equation to get
![5x+4y+2z = 173\\5x+4y+2(51-x-y) = 173\\5x+4y+102-2x-2y = 173\\3x+2y+102 = 173\\3x+2y = 173-102\\3x+2y = 71\\](https://img.qammunity.org/2023/formulas/mathematics/high-school/a5hlxgze8mvd716p7hjotkc2jq0kzyln97.png)
Repeat for the third original equation mentioned
![4x+2y+3z = 175\\4x+2y+3(51-x-y) = 175\\4x+2y+153-3x-3y = 175\\x-y+153 = 175\\x-y = 175-153\\x-y = 22\\](https://img.qammunity.org/2023/formulas/mathematics/high-school/el73m9l7xegi6sp0hidsfo8lraegmcv8ng.png)
---------------
We have this reduced system of equations with two unknowns and two equations this time
![\begin{cases}3x+2y = 71\\x-y = 22\end{cases}](https://img.qammunity.org/2023/formulas/mathematics/high-school/tyivi6nqgiy0m0awifqthxi5ho6vtj0kaw.png)
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
![x-y = 22\\x = 22+y](https://img.qammunity.org/2023/formulas/mathematics/high-school/yu8w4f3e0lq8s3i186h83qvn0nhqehbn7l.png)
Then plug this into the first equation. Afterward, solve for y.
![3x+2y = 71\\3(22+y)+2y = 71\\66+3y+2y = 71\\66+5y = 71\\5y = 71-66\\5y = 5\\y = 5/5\\y = 1\\](https://img.qammunity.org/2023/formulas/mathematics/high-school/5eu7572nfzw962lbikjc3pbdsj8o4xxevg.png)
Then we'll use this y value to find x
![x = 22+y\\x = 22+1\\x = 23\\](https://img.qammunity.org/2023/formulas/mathematics/high-school/x0c6khspgshvenwugrgpz5cwtu7cw04h1i.png)
Lastly, we'll use those x and y values to find z
![z = 51-x-y\\z = 51-23-1\\z = 27\\](https://img.qammunity.org/2023/formulas/mathematics/high-school/97dmgof63xwf8kydcz59gzeohjh4pn6cej.png)
---------------
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.