We will show that although the garden originally had 60 creatures, after a (finite) series of “eating‐events” (each of which reduces the total by one) the garden may “freeze” in one of several “stable” configurations. (By “stable” we mean that no animal can eat any other because only one species survives.) In fact, one may end up with as many as 40 animals remaining, or (by “using up” many animals via a long cycle of events) with none at all. (In other words, the maximum final total is 40 and the minimum is 0.)
In what follows we describe one way to arrive at this answer.
The Situation
A year ago the magical garden contained:
- 30 hares,
- 20 wolves, and
- 10 lions.
The only events that change the numbers occur when:
- A wolf eats a hare: then the wolf “upgrades” to a lion.
- A lion eats a hare: then the lion “downgrades” to a wolf.
- A lion eats a wolf: then the lion “transmutes” into a hare.
It is given that each such “eating‐event” reduces the overall count by one.
Finally, the condition for “stability” is that no animal can eat any other. (Note that in any pair of different species one is a predator of the other.) Hence a stable state is reached if and only if only one species remains.
Setting Up the Equations
Let
- ( X ) = number of events of type 1 (“wolf eats hare”),
- ( Y ) = number of events of type 2 (“lion eats hare”), and
- ( Z ) = number of events of type 3 (“lion eats wolf”).
Since every event reduces the total by one, after
[
E = X+Y+Z
]
events the total number of animals will be
[
T = 60 - E.
]
We can also “track” the three populations. (A change by “–1” means that one individual is “used up” in that event; a “+1” is the “transmutation”.)
-
Hares: Initially 30.
- They are eaten in events of type 1 and 2 (each subtracts 1).
- They are “created” in event 3 (adds 1).
- So the final hare count is
[
H = 30 - X - Y + Z.
]
-
Wolves: Initially 20.
- In event 1, a wolf is used up (–1).
- In event 2 the lion that eats a hare becomes a wolf (+1).
- In event 3 a wolf is eaten (–1).
- So the final wolf count is
[
W = 20 - X + Y - Z.
]
-
Lions: Initially 10.
- In event 1 a wolf turns into a lion (+1).
- In event 2 a lion is used up (–1).
- In event 3 a lion is used up (–1).
- So the final lion count is
[
L = 10 + X - Y - Z.
]
Because we end when no creature can eat another, the final state must consist of only one species. (Any pair from different species would allow a reaction.) There are three cases:
Case 1. Final State “All Hares”
Then
[
W=0\quad\text{and}\quad L=0.
]
Setting these to zero we have:
- (W =20 - X + Y - Z=0) → (Z = 20 - X + Y).
- (L =10 + X - Y - Z=0) → (Z = 10 + X - Y).
Since both expressions equal (Z,) equate them:
[
20 - X + Y = 10 + X - Y.
]
Solve for (X) and (Y):
[
20 - 10 = X + X - Y - Y,\quad\text{or}\quad 10 = 2X - 2Y,
]
so that
[
X - Y = 5.
]
It is also convenient to “fix” (Z.) For example, using the second expression:
[
Z = 10 + X - Y = 10 + 5 = 15.
]
Now the final hare number is
[
H = 30 - X - Y + Z = 30 - (X+Y) + 15 = 45 - (X+Y).
]
But we can rewrite (X+Y) in terms of (Y) since (X = Y+5):
[
X+Y = (Y+5)+Y = 2Y+5.
]
Thus
[
H = 45 - (2Y+5)=40 - 2Y.
]
On the other hand, since the total number of animals is
[
T = 60 - (X+Y+Z)= 60 - (2Y+5+15) =60 - (2Y+20)=40-2Y,
]
we see that in this case (H=T) (and, as required, (W=L=0)).
Now, as (Y) can be any nonnegative integer for which the populations stay nonnegative (and in particular, (40-2Y\ge0)) we have
[
0\le Y \le 20.
]
Thus in an “all hares” end‐state the final total can be
[
T=40,38,36,\dots,0.
]
In particular, the maximum possible final total in this branch is (40) (when (Y=0)) and the minimum is (0) (when (Y=20)).
Case 2. Final State “All Lions”
Now we require
[
H=0\quad\text{and}\quad W=0.
]
Setting
- (H = 30 - X - Y + Z=0) → (Z = X + Y - 30.)
- (W = 20 - X + Y - Z=0) → (Z = 20 - X + Y.)
Equate these two expressions for (Z):
[
X + Y - 30 = 20 - X + Y.
]
Solve:
[
X + Y - 30 = 20 - X + Y \quad\Longrightarrow\quad 2X = 50,\quad X = 25.
]
Then from (2),
[
Z = 20 - 25 + Y = Y - 5.
]
For (Z) to be nonnegative we must have (Y\ge5).
The final number of lions is then
[
L = 10 + X - Y - Z = 10+25 - Y - (Y-5)=40-2Y.
]
Also, the total animals are
[
T = L=40-2Y.
]
Since here (Y\ge5) (and must be at most 20 so that (T\ge0)), the possible totals in an “all lions” outcome are (T=40-2Y) with (Y=5,6,\dots,20). Hence the maximum total in an all‐lions outcome is (40-2\cdot5=30,) and the minimum is (40-2\cdot20=0).
Case 3. Final State “All Wolves”
Now we require
[
H=0\quad\text{and}\quad L=0.
]
So:
- (H = 30 - X - Y + Z=0) → (Z = X + Y - 30.)
- (L = 10 + X - Y - Z=0) → (Z = X - Y + 10.)
Equate these two:
[
X + Y - 30 = X - Y + 10.
]
Solve:
[
X + Y - 30 = X - Y + 10 \quad\Longrightarrow\quad 2Y = 40,\quad Y = 20.
]
Then we have from either equation:
[
Z = X + 20 - 30 = X - 10.
]
(So we need (X\ge10) so that (Z\ge0).)
The final wolf number is
[
W = 20 - X + Y - Z= 20 - X + 20 - (X - 10)=50 - 2X.
]
And the total is
[
T = 50-2X.
]
To keep (T\ge 0) we must have (X\le 25.) Hence in an “all wolves” final state, the total can be any even number
[
T =50-2X,\quad \text{with } 10\le X\le 25.
]
Thus the maximum in this branch is when (X) is as small as possible, namely with (X=10) giving (T=50-20=30,) and the minimum is (T=0) (if (X=25)).
Putting It All Together
We see that by an appropriate choice of the numbers of events (which we denote by the non‐negative integers (X,Y,Z) satisfying the “end‐state” equations) one may “freeze” the system in any one–species configuration with total
[
T=40-2k\quad\text{or}\quad T=50-2X,
]
with the following possibilities:
- All hares: (T=40,,38,,36,\dots,0.) (Maximum 40.)
- All lions: (T=30,,28,\dots,0.)
- All wolves: (T=30,,28,\dots,0.)
Thus, if one wishes to have as many animals remaining as possible (i.e. to “spare” as many as possible) the best is to end with an all–hares state with no lion–eats–hare events (i.e. (Y=0)) leading to (T=40.) On the other hand, one may “waste” as many animals as possible by running a long cycle of events until all are “consumed” (so that (T=0)).
Final Answer
- Maximum number of animals left: 40
- Minimum number of animals left: 0
Thus, the garden can finish with as many as 40 animals or as few as 0 animals.