[Math] The distance between two points given distances that bees meet in two different time intervals

algebra-precalculus

The original question, actually from a Intro Comp Sci course.

Two bees, named romeo and juliet, live in different hives but have met and fallen in love. On a windless spring morning, they simultaneously leave their respective hives to visit each other. Their routes meet at a point 50 meters from the closest hive, but they fail to see each other and continue on to their destinations. At their destinations, they spend the same amount of time to discover that the other is not home and begin their return trips. On their return trips, they meet at a point that is 20 meters from the closest hive. This time they see each other and have a picnic lunch before returning home. How far apart are the two hives?

Best Answer

Let the slower bee is called $A$, while the faster bee is called $B$. Let the whole distance is $X$. And let they first meet after time $t$.

This means that for time $t$ both bees together travel distance $X$. It's given $A$ has traveled $50m$ for time $t$. Both bees cover distance of $2X$ from the time they meet for the first time to the time they meet for the second time. This means that $A$ traveled $100m$ and it's also given that $A$ is at distance $20m$ from the other hive. Thus $100 = (X-50) + 20$.

Thus $X=130$.

Related Question