A Pet shop has only pigeons and cats for sale. I'm not gonna tell you how many of them are there but let me give you a hint . There is a total of 30 heads and 80 legs in that shop. Find the number of pigeons in that shop. ( Lets suppose there are no humans there for a while )
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Let c = Cats , p = Pigeons , h = Head & l = Leg
Cats have one head and four legs, pigeons however have one head and two legs, there are a total of thirty heads and eighty legs. Put this into equation form and you get
3 0 h + 8 0 l = c ( h + 4 l ) + p ( h + 2 l )
Since heads and legs don't mix we can split it into two equations
3 0 h = c ( h ) + p ( h )
8 0 l = c ( 4 l ) + p ( 2 l )
These can now be used as simultaneous equations but first let's simplify and re-arrange
c = 3 0 − p
8 0 = 4 c + 2 p
Next we substitute to get
8 0 = 4 ( 3 0 − p ) + 2 p
This expands and simplifies into
8 0 = 1 2 0 − 2 p
Re-arranging this gives us a value for p
p = 2 0
So there are 2 0 pigeons in the shop