Bad Tomatoes

Authors Avatar

Bad Tomatoes


Bad Tomatoes

Identical good tomatoes are placed in a box (see example).

Each tomato is a sphere. Each tomato just touches all the other tomatoes next to it as shown in the diagram. Tomato five goes bad. This is counted as the first hour. One hour later, all the tomatoes it touches go bad (now tomatoes 5,1,6 and 9 are bad). This continues every hour untill all the tomatoes in the box are bad.

I aim to investigate how tomatoes go bad in the above tray, and in trays of different sizes.


How do tomatoes go bad in trays?

In this investigation, I aim to find a formula for calculating the total time required for all tomatoes to go bad in a rectangular tray of any rectangular size, and with any bad tomato starting position. To achieve this, I will first need to explain with the use of diagrams, how I arrived at a formula for the total time required for the tray to go bad. This will be done in three stages, followed by a worked example, which will answer both part 1 of the investigation, and part 2. Part 3 is an extension of the investigation concerned with the average total time required a tray to go bad starting from one single tomato.

The problem of calculation the total time required for all tomatoes to go bad is the same as the problem of calculating the time needed for bad tomatoes to reach the corner which is most remote from the starting position. If we can calculate the time required for the bad tomatoes to reach the most distant corner from the starting position, we can safely say that the rest of the tray has gone bad as well.  

Stage one of the analysis

We will first consider the easiest case, when the initial bad tomato is at equal distance from both sides of the tray extract, spaced by ‘n’ rows and ‘n’ columns from corresponding walls. Here we can see an extract of a complete square tray. The shaded cell represents the first tomato to go bad.

Join now!

Here we can see that after ‘n’ hours bad tomatoes reach both walls, and the border of bad tomatoes is represented by a thick line on the diagram. However, the whole square extract from a tray is not completely infected yet.  Exactly the same time is required for the rest of the extract to go bad. So the time needed for the whole tray extract to go bad becomes:

T = 2n (hours)


Stage two of the analysis

We should now consider a more ...

This is a preview of the whole essay