Two trains, each having a speed of 30km/h, are headed at each other on the same straight track. A bird that can fly 60km/h flies off the front of one train when they are 60km apart and heads directly for the other train. On reaching the other train, the bird flies directly back to the first train, and so forth. What is the total distance the bird travels before the trains collide?
$D(t) = 60 - 60 t$ is the distance (km) between the two trains after $t$ hours.
$B(t) = {D(t) \over 90} = {2 \over 3} - {2 \over 3} t$ is the time (h) that takes for the bird to fly from one train to the other while the trains are moving, at the moment when $t$ hours has past.
$t_n$ is the time (h) elapsed when the bird has finished the $n$th flight.
We can define $t_n$ recursively as,
$$t_n = t_{n - 1} + B(t_{n - 1}) = {1 \over 3} t_{n - 1} + {2 \over 3}$$
$$t_n - 1 = {1 \over 3} (t_{n - 1} - 1)$$
$$t_0 = 0$$
Let $u_n = t_n - 1$
$$u_n = {1 \over 3} u_{n - 1} = ({1 \over 3})^n u_0$$
$$t_n - 1 = ({1 \over 3})^n (t_0 - 1)$$
$$\therefore t_n = 1 - ({1 \over 3})^n$$
The total distance the bird travels before the trains collide is,
$$\sum_{n = 1}^{\infty} D(t_n) = 60 \sum_{n = 1}^{\infty} ({1 \over 3})^n = 30$$
However, the result should be $60$ because the two trains collide after 1 hour and the bird travels 60km during 1 hour. Which part did I get wrong?