27,311 views
83 83 votes
Suppose you break a stick of unit length at a point chosen uniformly at random. Then the expected length of the shorter stick is ________ .

8 Answers

Best answer
133 133 votes
The length of the shorter stick can be from $0$ to $0.5$ (because if it is greater than $0.5,$ it is no longer a shorter stick).

 This random variable $L$ (length of shorter stick) follows a uniform distribution, and hence probability density function of $L$ is $\dfrac{1}{0.5-0}= 2$ for all lengths in range $0$ to $0.5$

Now expected value of $L = \int_{0}^{0.5} L*p(L) dL = \int_{0}^{0.5} L*2 dL = 2*\left[\dfrac{L^2}{2}\right]^{0.5}_0 = 0.25$
edited by
50 50 votes

Answer = $0.25$

Let $X$ = Length of Shorter Stick

$\implies 0<X<\frac{1}{2}\implies X$ follows Uniform Distribution over $(0,\frac{1}{2})$

We know, In uniform distribution, the mean (first moment) of the distribution is:

${\displaystyle E(X)={\frac {1}{2}}(b+a).}$   Link : Continuous uniform distribution - Wikipedia

Hence, the expected length of the shorter stick is = $Mean$ = $E[X] = \frac{b+a}{2} = \frac{0+\frac{1}{2}}{2} = \frac{1}{4} = 0.25$

8 8 votes

Expectation in case of a Uniform Random Variable = $\frac{b-a}{2}$

https://www.ucd.ie/msc/t4media/Uniform%20Distribution.pdf

As shorter length stick is specified in question, take a=0 and b=0.5

$\frac{0.5}{2}$ = ¼ = 0.25

1 flag:
✌ Edit necessary (S_Sandeep “Expectation formula for Uniform distribution is (a + b)/2”)
4 4 votes
Firstly lets calculate probability density function of chosing a point on a unit length stick -- the point has a constant probability between 0 and 1 (uniform distribution) and 0 otherwise.

so

$$
\int_1^0 c \, dx
$$
 

which makes c=1

 

Now lets say i break a stick at x, then stick is divided into two parts of length x and 1-x.

but i want the shorter stick, upto 0 to 0.5 the shorter length is x and from 0.5 to 1 the shorter length is 1-x.

so integration of cx from 0 to 0.5 + c(1-x) from 0.5 to 1

$$
\int_0^{0.5} c x \, dx + \int_{0.5}^1 c(1 - x) \, dx
$$
 

substitute c=1, and this uses lotus (law of unconscious statistician) and ans = 1/4 or 0.25
1 1 vote

The expected length is 0.25 (or 1/4).

Here is the step-by-step reasoning:

  1. Define the Break Point: Let $X$ be the random variable representing the point where the stick is broken. Since the stick has unit length 1 and the point is chosen uniformly, $X$ is a uniform random variable on the interval $[0, 1]$.

  2. Define the Stick Lengths: When the stick is broken at point $X$, the two pieces have lengths:

    • Piece 1: $X$

    • Piece 2: $1 - X$

  3. Define the Shorter Stick: We are interested in the length of the shorter stick. Let's call this new random variable $L$.

     

    $$L = \min(X, 1 - X)$$

  4. Calculate the Expected Value: The expected value of $L$ is found by integrating $L(x)$ over the range of $X$, which is from 0 to 1.

     

    $$E[L] = \int_{0}^{1} \min(x, 1-x) \,dx$$

  5. Solve the Integral: To solve this, we must determine where $\min(x, 1-x)$ changes. The two terms are equal when $x = 1 - x$, which means $2x = 1$, or $x = 0.5$.

    • If $0 \le x \le 0.5$, the shorter piece is $x$.

    • If $0.5 \le x \le 1$, the shorter piece is $1-x$.

    We split the integral at this point:

     

    $$E[L] = \int_{0}^{0.5} x \,dx + \int_{0.5}^{1} (1-x) \,dx$$

    • First part:

       

      $$\int_{0}^{0.5} x \,dx = \left[ \frac{x^2}{2} \right]_{0}^{0.5} = \frac{(0.5)^2}{2} - 0 = \frac{0.25}{2} = 0.125$$

    • Second part:

       

      $$\int_{0.5}^{1} (1-x) \,dx = \left[ x - \frac{x^2}{2} \right]_{0.5}^{1} = \left(1 - \frac{1}{2}\right) - \left(0.5 - \frac{(0.5)^2}{2}\right) = 0.5 - (0.5 - 0.125) = 0.125$$

    • Total Expected Value:

       

      $$E[L] = 0.125 + 0.125 = 0.25$$

Answer:
Position:
Show:

Related questions

78 78 votes
11 answers 11 answers
33.3k
33.3k views
go_editor asked Sep 28, 2014
33,262 views
Consider a $6$-stage instruction pipeline, where all stages are perfectly balanced. Assume that there is no cycle-time overhead of pipelining. When an application is exec...
49 49 votes
7 answers 7 answers
16.4k
16.4k views
Kathleen asked Sep 18, 2014
16,403 views
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 t...
56 56 votes
9 answers 9 answers
16.0k
16.0k views
go_editor asked Sep 28, 2014
16,028 views
Four fair six-sided dice are rolled. The probability that the sum of the results being $22$ is $\dfrac{X}{1296}$. The value of $X$ is _______