+ Reply to Thread
Results 1 to 2 of 2

Thread: expectation of the distance between two points in a square

  1. #1
    Points: 116, Level: 2
    Level completed: 32%, Points required for next Level: 34

    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    expectation of the distance between two points in a square



    Hi all,

    how can I find the expectation of the distance between any two points uniformly distributed in a square of side L.
    I need a mathematical prove.

    Thank in advance.

    With best regards.

  2. #2
    TS Contributor
    Points: 14,791, Level: 78
    Level completed: 86%, Points required for next Level: 59

    Posts
    2,292
    Thanks
    8
    Thanked 371 Times in 351 Posts

    Re: expectation of the distance between two points in a square


    Let X, Y, U, V be 4 independent random variables with the identical distribution \text{Uniform}(0, L) such that the points (X, Y) and (U, V) represent the Cartesian coordinates of the two required points which uniformly distributed in a square of side L, with the bottom left vertex is the origin.

    The Euclidean distance between these two random points are
    \sqrt{(X - U)^2 + (Y - V)^2}

    and thus the expectation is given by

    \int_0^L\int_0^L\int_0^L\int_0^L \sqrt{(x - u)^2 + (y - v)^2} \frac {1} {L^4} dxdudydv

    This is the most obvious formulation only. Not sure this integral have an explicit solution or not.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts








Advertise on Talk Stats