Puzzle: Farmer Wolf-Goat-Cabbage problem

16792 views

A farmer is returning from market, where he bought a she-goat, a wolf and cabbage. On the way home he must cross a river. His boat is little, allowing him to take only one of the three things. He can’t keep the she-goat and the cabbage together (because the she-goat would eat it), nor the she-goat with the wolf (because the she-goat would be eaten). How shall the farmer get everything on the other side (without any harm)?

1 Vote Up   |   Post Answer

By  Shaan





Roshan Roshan   11 years ago

The first step must be to bring the Goat across the river, as any other will result in the Goat or the Cabbage being eaten. When the farmer returns to the original side, he has the choice of bringing either the Wolf or the Cabbage across. If he brings the Wolf across, he must then return to bring the Cabbage over, resulting in the Wolf eating the Goat. If he brings the Cabbage across, he will need to return to get the Wolf, resulting in the Cabbage being eaten. Here he has a dilemma, solved by bringing the Wolf (or the Cabbage) over and bringing the Goat back. Now he can bring the Cabbage (or the Wolf) over, leaving the Goat, and finally return to fetch the Goat.
His actions in the solution are summarized in the following steps:
-Bring Goat over
-Return
-Bring Wolf or Cabbage over
-Bring Goat back
-Bring Cabbage or Wolf over
-Return
-Bring Goat over
Thus there are seven crossings, four forward and three back.

Reply    7 Vote Up   0 Vote Up
Shaan Shaan   10 years ago

Thumbs up for the explanation.

Reply    0 Vote Up   1 Vote Up


Deepak Aggarwal Deepak Aggarwal   10 years ago

In first round,bring Goat,(Wolf couldnot eat cabbage)then In Second round,bring cabbage and return with goat(otherwise goat would eat cabbage)and In third round, bring wolf and keep goat on the original position then in last round round bring goat. Now farmer get everything in the other side.

Reply    1 Vote Up   0 Vote Up