Question 1092717
If you have 23 heads and 72 total legs, How many cows and roosters do you have? 
(A cow has 4 legs and a rooster has 2)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


You can solve this problem in three different ways. 
If you are familiar with systems of linear equations,  you can reduce the problem to the system of two linear equations in two unknowns and solve it.
This way is implemented in the &nbsp;<B>Solution 1</B>&nbsp; below.
You can also reduce the problem to one equation with one unknown and solve it. &nbsp;This is done in the &nbsp;<B>Solution 2</B>&nbsp; below.
Alternatively, &nbsp;you can solve the problem simply applying logical reasoning and not using equations at all. &nbsp;This is done in the &nbsp;<B>Solution 3</B>&nbsp; below.


<B>Solution 1</B>


Let &nbsp;<B>x</B>&nbsp; be the number of cows and &nbsp;<B>y</B>&nbsp; be the number of roosters at the farm.
If you count the heads you get the equation
x + y = 23.
If you count the legs you get the equation 
4x + 2y = 72.


So you have the system of two equations with two unknowns
{{{system (x + y = 23,
4x + 2y = 72)
}}}


To solve this system of equations multiply the first equation by &nbsp;2&nbsp; and subtract the obtained equation from the second one. 
You will get, step by step,
{{{system (2x + 2y = 46,
4x + 2y = 72)
}}}


4x - 2x = 72 - 46,
2x = 26,
x = 13.


So, &nbsp;there are &nbsp;13&nbsp; cows in the farm. 
Hence, &nbsp;the number of roosters is &nbsp;23 - 13 = 10.


Let us check the total number of legs. &nbsp;You have altogether
4*13 + 2*10 = 52 + 20 = 72 legs.


<B>Answer</B>. &nbsp;There are &nbsp;13&nbsp; cows and &nbsp;10&nbsp; roosters at the farm.



<B>Solution 2</B>


Let &nbsp;<B>x</B>&nbsp; be the number of cows at a farm.
Then the number of roosters is &nbsp;23 - x&nbsp; in accordance with the condition.
If you count the legs you get the equation 
4x + 2*(23-x) = 72.


To solve this equation open the brackets and combine like terms, &nbsp;step by step:
4x + 2*23 - 2x = 72,
2x + 46 = 72,
2x = 72 - 46,
2x = 26,
x = 13.


So, &nbsp;there are &nbsp;13&nbsp; cows at the farm. 
Hence, &nbsp;the number of roosters is &nbsp;23 - 13 = 10.


Let us check the total number of legs. &nbsp;You have altogether
4*13 + 2*10 = 52 + 20 = 72 legs.


You get the same answer as in the <B>Solution 1</B>.


<B>Answer</B>. &nbsp;There are &nbsp;13&nbsp; cows and &nbsp;10&nbsp; roosters at the farm.



<B>Solution 3</B>


Let us suppose for a moment that all the animals at the farm have two legs each.
Under this assumption, the total number of legs is &nbsp;23*2 = 46 legs.


This number is &nbsp;26 = 72 - 46&nbsp; less than &nbsp;72 &nbsp;legs given by condition. 
Certainly, &nbsp;these &nbsp;26&nbsp; legs belong to cows in the number of &nbsp;2&nbsp; legs to each cow &nbsp;(in addition to that two legs we just counted under the assumption). 
This means that the number of cows is &nbsp;26/2 = 13.
Hence, &nbsp;the number of roosters is &nbsp;23 - 13 = 10.


You get the same answer as in the solutions &nbsp;<B>1</B>&nbsp; and &nbsp;<B>2</B>&nbsp; above.


<B>Answer</B>. &nbsp;There are &nbsp;13&nbsp; cows and 10 roosters at the farm.



This kind of problems are traditionally considered as entertainment problems. 
And they traditionally are used to show the students all three approaches.


To see more similar problems of this kind and their solutions, look into the lessons 

&nbsp;&nbsp;&nbsp;&nbsp;- <A HREF=https://www.algebra.com/algebra/homework/word/misc/Problem-on-animals-at-a-farm.lesson>Problem on animals at a farm</A>  (*)

&nbsp;&nbsp;&nbsp;&nbsp;- <A HREF=http://www.algebra.com/algebra/homework/word/misc/Problem-on-two-wheels-and-three-wheels-bicycles-in-a-sale.lesson>Problem on two-wheel and three-wheel bicycles</A>  

&nbsp;&nbsp;&nbsp;&nbsp;- <A HREF=http://www.algebra.com/algebra/homework/word/misc/Problem-on-tablets-in-containers.lesson>Problem on pills in containers</A> &nbsp;&nbsp;&nbsp;&nbsp;and

&nbsp;&nbsp;&nbsp;&nbsp;- <A HREF=http://www.algebra.com/algebra/homework/word/misc/What-type-of-problems-are-these.lesson>What type of problems are these?</A> 

in this site.


Notice that the lesson (*) has practically identical problem.
It is because of tradition again.
For this post, I simply made the global replacement "rabbits ---> cows" and "turkey ---> roosters" in that text file 
(and changed the numbers respectively).



Ha-ha-ha.



&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;H&nbsp;a&nbsp;p&nbsp;p&nbsp;y &nbsp;&nbsp;l&nbsp;e&nbsp;a&nbsp;r&nbsp;n&nbsp;i&nbsp;n&nbsp;g &nbsp;!&nbsp;!