I am not a mathematician, just a user of mathematics, so perhaps this is the wrong place to ask, but there is a problem I need some help with.
You have a $n \times n$ grid, and you start at the $(1,1)$ square. You move randomly one square on the $x$ or $y$ axis (no diagonal movements allowed). You keep moving until you reach square $(n,n)$.
At that moment, the game ends. The variable of interest is $T$, the time it took you to reach the end position. It is clear to me that $T$ is always finite (just intuition: if you are not in $(n,n)$ you always have a chance to reach it, if you are there, you will never leave it, so if the game goes on for long enough you will end up there)
My question is about the distribution of $T$. I am interested in understanding how to define the distribution, and how to compute the expected value of $T$ as a function of $n$. Can you point me to something I could read about it?
Thanks in advance.
- grid has $n$ columns and $n$ rows. so, it is (arbitrarily) numbered from $(1,1)$ to $(n,n)$. Any other numbering convention would be OK too
- you never leava $(n,n)$ because this is how the game is defined. it ends at the moment you reach that point.
- The player can move in any direction, towards the goal or away from it
- When the player hits a corner, it has only two possible moves. When the player hits a wall (top, bottom, left or right) in a place that it is not a corner, it has three possible moves. At any other place it has four possiblities.
– user2345448 Jan 13 '17 at 11:46