Suppose we start in the Cartesian plane with coordinates $(x, y)$ such that $x^2 + y^2 < 1$ (lies in the unit circle). There are $2$ variations to my question:
- A step is defined as picking a random direction (not necessarily cardinal) and moving exactly $1$ unit in said direction. For example, if we were to start at $(1, 0)$, an example of where we might end up after a step is $(1, -1)$.
- Define a step the same way as aforementioned except the length of the step is a random number from $0$ to $1$.
What is the expected absolute distance from the origin after performing a step given a starting position as defined at the top?
I've read this SE thread, and I suppose it was pretty interesting and insightful (even though I understood nothing). Is it somehow related to my question?