Can You Estimate The Distance?

Riddler Express

Amare the ant is back! This week, he’s trying to escape from a spider web.

Starting at the very center of the web, he crawls 1 inch radially away in a random direction. From there, he randomly chooses between crawling in the radial or tangential directions, with a 50 percent chance of each. When he crawls radially, he moves another inch from his current position directly away from the center of the web. When he crawls tangentially, he moves another inch in one of the two directions perpendicular to the radial direction. (To be clear, when Amare moves tangentially, he is still moving farther away from the center of the web, at least a little bit.)

After Amare has crawled a total of 4 inches, how far away from the center of the web should he expect to be on average?

Solution

I started with a point 1 away from the center, (0,1). This was the sole stop in the first stops. The weight, or probability of this stop is 1. I ran some code:

Answer

The following animation follows all possible stops Amare could end up at. The area of the stop corresponds with the weight or probability.

After Amare has traveled 4 inches, he is on average 2.95 inches away from the center.

Rohan Lewis

2022.05.23

Code can be found here.