• edited by
16,597 views
50 50 votes

A point is randomly selected with uniform probability in the $X-Y$ plane within the rectangle with corners at $(0,0), (1,0), (1,2)$ and $(0,2).$ If $p$ is the length of the position vector of the point, the expected value of $p^{2}$ is

  1. $\left(\dfrac{2}{3}\right)$
  2. $\quad 1$
  3. $\left(\dfrac{4}{3}\right)$
  4. $\left(\dfrac{5}{3}\right)$

7 Answers

Best answer
121 121 votes

Above diagram depicts the scenario of our Question.

The length $p$ of our point $(x,y)$ selected randomly in $XY$ plane, from origin is given by

$p=\sqrt{x^{2} + y^{2}}$

$p^{2} = x^{2} + y^{2}$

Expected value of $p^{2}$ is given by

$E[p^{2}]=E[x^{2} + y^{2}]$

By linearity of expectation

$E[x^{2} + y^{2}]=E[x^{2}]+E[ y^{2}]$

Now we need to calculate the probability density function of $X$ and $Y.$

Since, distribution is Uniform

$X$ goes from $0$ to $1,$ so $\textsf{PDF}(x) = \frac{1}{1-0}=1$

$Y$ goes from $0$ to $2$ so $\textsf{PDF}(y) = \frac{1}{2-0}=\frac{1}{2}$

Now we evaluate

$E[X^2]= \int_{0}^{1}x^{2}.1dx = \frac{1}{3}$

$E[Y^2]=\int_{0}^{2}y^{2}\times(1/2)dy = \frac{4}{3}$

$E[P^2]=E[X^2] + E[Y^2]= \frac{5}{3}$

Correct Answer: $D$

• edited by
59 59 votes

answer = option D

24 24 votes

Let A = (x,y) be any point in that rectangular plane. The length of the position vector p is $p = \sqrt{x^{2} + y^{2}}$

Therefore,

$E(p^{2}) = E(x^{2}+y^{2}) = E(x^{2})+E(y^{2})$              ...........(1)

Now, x and y are random variables distributed uniformly over (0,1) and (0,2) respectively.

We know, that for a random variable X distributed uniformly over (a,b),

$E(X) = \frac{a+b}{2}$ and $Var(X) = \frac{(b-a)^{2}}{12}$

Also, for any random variable, in general, $Var(X) = E(X^{2}) - E(X)^{2}$

For the random variable x,

$E(x) = \frac{0+1}{2} = \frac{1}{2}$

$Var(x) = \frac{(1-0)^{2}}{12} = \frac{1}{12}$

$\therefore E(x^{2}) = Var(x) + E(x)^{2} = \frac{1}{12}+\frac{1}{4} = \frac{1}{3}$              ...........(2).

 

For the random variable y,

$E(y) = \frac{0+2}{2} = 1$

$Var(y) = \frac{(2-0)^{2}}{12} = \frac{1}{3}$

$\therefore E(y^{2}) = Var(x) + E(x)^{2} = \frac{1}{3}+1 = \frac{4}{3}$              ...........(3)

Using (2) and (3) in (1), we get:-

$E(p^{2}) = E(x^{2}) + E(y^{2}) = \frac{1}{3} + \frac{4}{3} = \frac{5}{3}$

Hence, the answer is D.

19 19 votes
0 0 votes

The correct answer is D. (5/3).

 

Step-by-Step Solution

 

  1. Define the Variables and Goal

    • A point $(X, Y)$ is chosen uniformly from the rectangle defined by $0 \le x \le 1$ and $0 \le y \le 2$.

    • This means $X$ and $Y$ are independent random variables.

      • $X$ is uniformly distributed on $[0, 1]$.

      • $Y$ is uniformly distributed on $[0, 2]$.

    • $p$ is the length of the position vector, so $p = \sqrt{X^2 + Y^2}$.

    • We need to find the expected value of $p^2$.

       

      $$p^2 = \left(\sqrt{X^2 + Y^2}\right)^2 = X^2 + Y^2$$

  2. Use Linearity of Expectation

    The goal is to find $E[p^2] = E[X^2 + Y^2]$.

    A key property of expectation is $E[A + B] = E[A] + E[B]$. Therefore:

     

    $$E[X^2 + Y^2] = E[X^2] + E[Y^2]$$

     

    We can solve for $E[X^2]$ and $E[Y^2]$ separately.

  3. Calculate $E[X^2]$

    For a continuous variable $X$ with probability density function (PDF) $f(x)$, $E[X^2] = \int x^2 f(x) \,dx$.

    • The PDF for $X$ (uniform on $[0, 1]$) is $f(x) = \frac{1}{1-0} = 1$.

    • $E[X^2] = \int_{0}^{1} x^2 \cdot 1 \,dx = \left[ \frac{x^3}{3} \right]_{0}^{1} = \frac{1^3}{3} - \frac{0^3}{3} = \frac{1}{3}$

  4. Calculate $E[Y^2]$

    • The PDF for $Y$ (uniform on $[0, 2]$) is $f(y) = \frac{1}{2-0} = \frac{1}{2}$.

    • $E[Y^2] = \int_{0}^{2} y^2 \cdot \frac{1}{2} \,dy = \frac{1}{2} \left[ \frac{y^3}{3} \right]_{0}^{2} = \frac{1}{2} \left( \frac{2^3}{3} - \frac{0^3}{3} \right) = \frac{1}{2} \left( \frac{8}{3} \right) = \frac{8}{6} = \frac{4}{3}$

  5. Sum the Results

    Now we add the two expected values together:

     

    $$E[p^2] = E[X^2] + E[Y^2] = \frac{1}{3} + \frac{4}{3} = \frac{5}{3}$$

Answer:
Position:
Show:

Related questions

42 42 votes
7 answers 7 answers
13.6k
13.6k views
Kathleen asked Sep 18, 2014
13,607 views
Two $n$ bit binary strings, $S_1$ and $S_2$ are chosen randomly with uniform probability. The probability that the Hamming distance between these strings (the number of b...
59 59 votes
8 answers 8 answers
15.5k
15.5k views
Kathleen asked Sep 18, 2014
15,483 views
An examination paper has $150$ multiple choice questions of one mark each, with each question having four choices. Each incorrect answer fetches $-0.25$ marks. Suppose $1...
83 83 votes
8 answers 8 answers
27.5k
27.5k views
Arjun asked Sep 26, 2014
27,524 views
Suppose you break a stick of unit length at a point chosen uniformly at random. Then the expected length of the shorter stick is ________ .