All Exams Test series for 1 year @ ₹349 only
Question

In a farmer's house, there are Chickens and goats. The total number of their heads is 42 and the total number of their legs is 138. Find the number of Chickens.

This question was previously asked in
RRB NTPC 2019 CBT 1 Question Paper PDF (31-Jan-2021) (Shift 1)
The correct answer is
15

Solving the Chickens and Goats Riddle

This problem involves setting up and solving a system of linear equations based on the given information about heads and legs.

Setting Up the Equations

Let $C$ represent the number of chickens and $G$ represent the number of goats.

  • Heads Equation: Each animal has one head. $ C + G = 42 $
  • Legs Equation: Chickens have 2 legs and goats have 4 legs. $ 2C + 4G = 138 $

Solving for the Number of Chickens ($C$)

We can use the substitution method. First, express $G$ in terms of $C$ using the heads equation:

From $C + G = 42$, we get $G = 42 - C$.

Now, substitute this expression for $G$ into the legs equation:

$ 2C + 4(42 - C) = 138 $

Simplify and solve for $C$:

  1. Distribute the 4: $2C + 168 - 4C = 138$
  2. Combine the $C$ terms: $168 - 2C = 138$
  3. Subtract 168 from both sides: $-2C = 138 - 168$
  4. Calculate the difference: $-2C = -30$
  5. Divide by -2: $C = \frac{-30}{-2}$
  6. Result: $C = 15$

Therefore, there are 15 chickens.

Verification (Optional)

If $C = 15$, then $G = 42 - 15 = 27$.

Check the total legs: $(2 \times 15) + (4 \times 27) = 30 + 108 = 138$. The calculation is correct.

Was this answer helpful?

Similar Questions

  1. What will come in the place of the question mark (?) in the following equation, if '+' and '−' are interchanged and '×' and '÷' are interchanged?
    65 × 5 − 19 ÷ 3 + 25 = ?
  2. What will come in place of the question mark (?) in the following equation if '×' and '+' are interchanged and '−' and '÷' are interchanged?
    32 ÷ 2 × 72 − 9 + 5 = ?
  3. If '+' means '$\div$', '$-$' means '$\times$', '$\div$' means '+' and '$\times$' means '$-$', then find the value of $2 - 1 \times 4 \div 4 + 2$?
  4. Study the given pattern carefully and select the numbers from among the options that can replace the question marks (?).

  5. If $\nabla$ stands for operation "adding the first number to thrice the second number", then the value of $(4 \nabla 5) \nabla 6$ will be:
  6. Study the given pattern carefully and select the number from among the given option that can replace the question mark (?).
     

  7. If '+' means 'division', '-' means 'addition', '$\times$' means 'subtraction' and '$\div$' means 'multiplication', then what will be the value of the following expression?
    $\frac{[ \{ (20 \times 18) - (9 \div 3) \} + (5 - 2) ]}{1}$
  8. If '+' means 'subtraction', '$\div$' means 'addition', '$-$' means 'multiplication' and '$\times$' means 'division', then what is the value of $15 \div (5 + 8)$?
  9. If '$+$' means 'subtraction', '$\div$' means 'addition', '$-$' means 'multiplication' and '$\times$' means 'division', then what is the value of $(8 + 2 - 19) - (4 + 27 \times 3)$?

  10. Select the combination of mathematical symbols from among the given options that when sequentially placed in the blank boxes will result in a balanced equation.

    57 $\square$ 3 $\square$ 2 $\square$ 2 $\square$ 15 $\square$ 25

Important Questions from Mathematical Operations

  1. If '+' means 'subtraction', '-' means 'multiplication', 'x' means 'division' and '÷' means 'addition', then what will come in place of the question mark (?) in the following equation?
    $9 - 5 + 82 \times 2 \div 17 = ?$

  2. What will come in place of the question mark (?) in the following equation, if '+' and '-' are interchanged and '$\times$' and '$\div$' are interchanged? $28+125\times5-12\div3= ?$

  3. What will come in place of the question mark (?) in the following equation, if '+' and '-' are interchanged and '$\times$' and '$\div$' are interchanged?
    $26\times2-21+7\div4=?$

  4. If '+' means 'subtraction', '-' means 'multiplication', 'x' means 'division' and '÷' means 'addition', then what will come in place of the question mark (?) in the following equation?
    12 + 105 \(\times\) 3 \(\div\) 14 - 3 = ?

  5. What will come in place of the question mark (?) in the following equation, if ‘+’ and ‘×’ are interchanged and ‘−’ and ‘÷’ are interchanged? 
    38 ÷ 7 + 5 × 20 − 4 = ?

Need Expert Advice?
Upcoming Exams
RRB Staff Nurse
November 23, 2026
RRB Paramedical
November 23, 2026
Test Series
RRB NTPC img
Railways
RRB NTPC Under Graduate 2026 New Mock Test Series
1612 Tests 1 Tests Free
1318 Attempts
4.3(520)
English, Hindi, Telugu +7 More
More Questions from RRB NTPC

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App