A pet store currently has a total of 45 cats and dogs. There are 7 more cats than dogs. How do you find the number of cats and dogs in the store?

1 Answer
Nov 20, 2016

In the store there are currently 19 dogs and 26 cats.

Explanation:

We are looking for the number of cats and dogs so let's call cc the number of cats and dd the number of dogs.

Now we are told there are 7 more cats (cc) than dogs (dd) so we can write this in mathematical terms as:

c = d + 7c=d+7

We are also told there is a total of 45 cats (cc) and dogs (dd). So we can write this as:

c + d = 45c+d=45

We can now substitute, from the first equation, d + 7d+7 for cc in the second equation and solve for dd:

(d + 7) + d = 45(d+7)+d=45

d + 7 + d = 45d+7+d=45

2d + 7 = 452d+7=45

2d + 7 - 7 = 45 - 72d+77=457

2d = 382d=38

(2d)/2 = 38/22d2=382

d = 19d=19

Now that we have dd, or the number of dogs, we can substitute this back into the first equation to calculate cc, or the number of cats:

c = 19 + 7c=19+7

c = 26c=26