To solve this problem, we need to analyze the given transformations and their effects on the number of animals in the garden. Let's denote the number of hares by ( H ), the number of wolves by ( W ), and the number of lions by ( L ). Initially, we have ( H = 30 ), ( W = 20 ), and ( L = 10 ).
The transformations are:
- A wolf eats a hare and turns into a lion: ( W \to L ) and ( H \to H-1 ).
- A lion eats a hare and turns into a wolf: ( L \to W ) and ( H \to H-1 ).
- A lion eats a wolf and turns into a hare: ( L \to H ) and ( W \to W-1 ).
We need to determine the maximum and minimum number of animals left in the garden after any sequence of these transformations.
Maximum Number of Animals
The maximum number of animals will be achieved if we can avoid any transformations that reduce the total number of animals. This happens if we can only perform transformations that do not change the total number of animals, such as the third transformation where a lion eats a wolf and turns into a hare. However, since there are no animals left that can eat each other, the maximum number of animals is simply the initial number of animals, which is 60.
Minimum Number of Animals
The minimum number of animals will be achieved if we can perform transformations that reduce the total number of animals as much as possible. This happens if we can perform the first and second transformations, which reduce the number of animals by one each time they are performed. The minimum number of animals will be achieved if we can reduce the number of hares to zero, because once there are no hares left, no more transformations can occur.
Let's see how this can be done:
- If we perform the first transformation 30 times (since there are 30 hares), we will have 0 hares, 0 wolves, and 40 lions. This is because each transformation reduces the number of hares by 1 and increases the number of lions by 1, and we start with 30 hares and 10 lions.
- Now, we can perform the second transformation 40 times (since there are 40 lions), which will reduce the number of lions to 0 and increase the number of wolves to 40. This is because each transformation reduces the number of lions by 1 and increases the number of wolves by 1, and we start with 40 lions and 0 wolves.
- Finally, we can perform the third transformation 40 times (since there are 40 wolves), which will reduce the number of wolves to 0 and increase the number of hares to 40. This is because each transformation reduces the number of wolves by 1 and increases the number of hares by 1, and we start with 40 wolves and 0 hares.
However, we need to check if we can do better. Notice that if we perform the first transformation 20 times (since there are 20 wolves), we will have 10 hares, 0 wolves, and 30 lions. Then, we can perform the second transformation 30 times, which will reduce the number of lions to 0 and increase the number of wolves to 30. Finally, we can perform the third transformation 30 times, which will reduce the number of wolves to 0 and increase the number of hares to 40. But this is not better than the previous scenario.
The best we can do is to reduce the number of animals to 30 by performing the first transformation 30 times, which will leave us with 0 hares, 0 wolves, and 40 lions, and then reduce the number of lions to 0 by performing the second transformation 40 times, which will leave us with 0 hares, 40 wolves, and 0 lions, and finally reduce the number of wolves to 0 by performing the third transformation 40 times, which will leave us with 40 hares, 0 wolves, and 0 lions. But the minimum number of animals is actually 0, because we can perform the first transformation 30 times, then the second transformation 30 times, and then the third transformation 30 times, which will leave us with 0 hares, 0 wolves, and 0 lions.
Therefore, the minimum number of animals left in the garden is 0.
The final answer is:
[
\boxed{60 \text{ and } 0}
]