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 (8-Mar-2021) (Shift 2)
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. What will come in the place of the question mark (?) in the following equation, if ‘+’ and ‘−’ are interchanged and ‘×’ and ‘÷’ are interchanged?

    25 − 9 × 3 + 4 ÷ 2 = ?
  9. What will come in place of the question mark (?) in the following equation, if ‘+’ and ‘−’ are interchanged and ‘×’ and ‘÷’ are interchanged?

    12 ÷ 6 + 28 × 4 − 11 = ?
  10. If '+' means 'subtraction', '$\div$' means 'addition', '$-$' means 'multiplication' and '$\times$' means 'division', then what is the value of $15 \div (5 + 8)$?

Important Questions from Mathematical Operations

  1. Select the set, from the given options, in which the numbers are related in the same way as are the numbers of the following sets.

    (NOTE: Operations should be performed on the whole numbers, without breaking down the numbers into its constituent digits. E.g. 13 – Operations on 13 such as adding/subtracting/multiplying etc. to 13 can be performed. Breaking down 13 into 1 and 3 and then performing mathematical operations on 1 and 3 is not allowed.)

    (6, 13, 78)

    (5, 22, 110)

  2. If + means -, - means ×, × means ÷, ÷ means +, then what will come in place of the question mark (?) in the following equation?

    28 - 6 ÷ 4 + 14 × 14 = ?

  3. In the following number-pairs, the second number is obtained by applying certain mathematical operations to the first number. Which numbers should replace X and Y so that the pattern followed by the two numbers on the left side of :: is the same as that on the right side of :: ?

    (NOTE: Operations should be performed on the whole numbers, without breaking down the numbers into its constituent digits. E.g. 13 Operations on 13 such as adding/subtracting /multiplying etc. to 13 can be performed. Breaking down 13 into 1 and 3 and then performing mathematical operations on 1 and 3 is not allowed.)

    X : 649 :: 956 : Y

  4. Which two numbers should be interchanged to make the given equation correct?

    75 ÷ 5 + 15 × 4 - 17 × 3 + (60 ÷ 6) × 10 = 100

    (Note: Interchange should be done of the entire number and not individual digits of a given number.)

  5. If '+' means minus, '-' means multiplication, '÷' means plus, and 'x' means division, then solve the equation: 
    15 - 3 + 10 x 5 ÷ 5

Need Expert Advice?
Upcoming Exams
RRB Technician
October 06, 2026
RRB JE
October 27, 2026
RRB ALP
November 03, 2026
Test Series
RRB NTPC img
Railways
RRB NTPC Under Graduate 2026 New Mock Test Series
1580 Tests 2 Tests Free
542 Attempts
4.3(498)
English, Hindi, Telugu +7 More

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