Brilli the ant decides to have a walk along an infinitely long 1D line. For each step he takes, he would either walk forward or backwards by a distance of 1 with equal probability. Given that the expected displacement Brilli the ant would travel after k steps is E k , find
k → ∞ lim E k 2 2 k
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
( ∗ )
j = 1 ∑ k j ( 2 k k + j ) = ( 2 k ) ! j = 1 ∑ k ( k + j ) ! ⋅ ( k − j ) ! j = S 2 S = ( 2 k ) ! j = 1 ∑ k ( k + j ) ! ⋅ ( k − j ) ! ( j + k ) − ( k − j ) = ( 2 k ) ! j = 1 ∑ k ( k + j ) ! ⋅ ( k − j ) ! j + k − ( k + j ) ! ⋅ ( k − j ) ! k − j = ( 2 k ) ! j = 1 ∑ k ( k + j − 1 ) ! ⋅ ( k − j ) ! 1 − ( k + j ) ! ⋅ ( k − j − 1 ) ! 1 = ( 2 k ) j = 1 ∑ k ( 2 k − 1 k + j − 1 ) − ( 2 k − 1 k + j )
The last sum is a telescoping series which gives
2 S = k ( 2 k k )
Credit: Jack D'Aurizio
Log in to reply
There is a much easier approach in understanding the expected value.
Claim: E 2 n + 1 = E 2 n + ( n 2 n ) and E 2 n + 2 = E 2 n + 1 . This follow directly by considering that the average displacement doesn't change from one step to the next unless you are at the origin.
(Note: Ignore the n = 0 case. To me, there is 1 way of being at 0, instead of 0 ways. Still, E 0 = 0 so that doesn't make a difference.)
Log in to reply
Wow, thanks!
Log in to reply
@Julian Poon – You mug math every day
but Calvin mugs math twice daily
The ant wouldn't have gotten far because I would have sprayed it with pesticide.
Log in to reply
Wow, you would kill one of your kind.
Log in to reply
I wouldn't kill a human, but I'd willingly spray your superior (the ant) with pesticide. Like at least when you double an ant's IQ it increases right?
Log in to reply
@Lee Isaac – Hi Lee, please be respectful of the community. Negative behavior will not be tolerated.
@Lee Isaac – Hey, actually I have to admit, that was a good one.
Problem Loading...
Note Loading...
Set Loading...
Consider this table:
The 0 in the first row represents the starting position of Brilli the Ant.
The numbers in the boxes represent the number of ways to that Brilli the Ant can land in that spot after a number of steps. The numbers in each row total to 2 n , where n is the number if steps taken.
Using this way to calculate, you can see that what I'm doing is basically: Where there's a 0, add the previous 2 numbers adjacent to it. For example:
This is very similar to the Pascal's triangle , whose coefficients for each row is ( n k ) , { 0 ≥ k ≥ n } .
Now,
E n = 2 n ∑ ( Distance from starting point ) ( Number of ways to get to that distance away )
This is where I would split E n into 2 different cases, where n is even and where n is odd.
So when n = 2 k is even,
E 2 k = 2 2 k 2 ∑ j = 1 k ( 2 j ) ( 2 k k + j ) = 2 2 k − 2 ∑ j = 1 k j ( 2 k k + j ) = 2 2 k − 2 2 1 k ( 2 k k ) ( * )
As k → ∞ , we can use Stirling's Approximation to get:
E 2 k = 2 π k , E k = π 2 k
A similar method can be used to show that when n is odd, E n can also be approximated as such.
Hence, the answer to this problem is:
E k 2 2 k = π
Feel free to ask any questions if this solution is vague.