An animal shelter has a total of three hundred and fifty animals comprised of
cats, dogs, and rabbits. If the number of rabbits is five less than half the number of cats, and
there are twenty more cats than dogs, how many of each are at the shelter?
Let’s first begin by letting
𝑥 be the number of cats, 𝑦 be the number of dogs, and 𝑧 be the number of rabbits.
So it says this animal shelter has a total of three hundred and fifty animals. So the number of cats plus the
number of dogs plus the number of rabbits, 𝑥 plus 𝑦 plus 𝑧, should equal three hundred and fifty. Next it says the
number of rabbits, 𝑧, is five less than half the number of cats, which would be one half 𝑥 minus
five: five less than half a number of cats. And lastly, there are twenty more cats than dogs. So
if there are more cats, then the number of cats would be the number of dogs plus twenty, because
there’s twenty more cats than dogs. So now we need to somehow take these three equations and solve for
𝑥, 𝑦, and 𝑧.
Notice the first, second, and third equation all have one common variable. They all have
an 𝑥. So it says that 𝑧 is equal to one half 𝑥 minus five, so we could plug that info into our
first equation. And then we could keep the very first 𝑥 from the first equation. And then if we
could somehow replace this 𝑦 with something in terms of 𝑥, then that first equation would be
completely in terms of 𝑥 and we could solve for 𝑥.
So our last equation, 𝑥 equals 𝑦 plus twenty, let’s solve it for 𝑦 and then it will be in terms of 𝑥. So if we would subtract twenty from both
sides, we will get that 𝑦 is equal to 𝑥 minus twenty. So taking our first equation will keep
the first 𝑥. And then instead of 𝑦, we are going to replace it with the 𝑥 minus twenty. Next,
instead of 𝑧, we will replace it with one half 𝑥 minus five, and then finally bring down the three
hundred and fifty. Now we can solve for 𝑥 by combining like terms: 𝑥 plus 𝑥 plus one half 𝑥 is two and
a half 𝑥. So let’s just go ahead and write it as two point five 𝑥. And then we have negative
twenty and negative five, which is negative twenty five.
So now let’s add twenty five to both sides of the equation. So we have two point five 𝑥 equals three hundred and seventy five. Now we divide both sides by two point five.
The two point five cancels on the left, and then three hundred and seventy five divided by two
point five is one hundred and fifty. So if 𝑥 is one hundred and fifty, there are one hundred and
fifty cats. Now that we know 𝑥, we can plug that in to find 𝑦 and 𝑧. So we can solve for 𝑦,
because 𝑦 is equal to 𝑥 minus twenty. And replacing 𝑥 with one hundred and fifty, one hundred and fifty minus
twenty means 𝑦 is one hundred and thirty. So there are one hundred and thirty dogs. And then
lastly, 𝑧 is equal to one half 𝑥 minus five, so we plug in one hundred and fifty. And half of one
hundred and fifty is seventy five. And seventy five minus five means 𝑧 is equal to seventy. So there are
seventy rabbits. So again there are seventy rabbits, one hundred and fifty cats, and one hundred and