The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+27 votes
4k 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 ________ .
asked in Probability by Veteran (355k points) | 4k views

1 Answer

+39 votes
Best answer
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$
answered by Boss (11.2k points)
edited by
0
@Happy mittal... can you please explain how did you calculated probability density function...??
0
In all of the links you provided, stick/rope is broken into 3 pieces, but here in question, it is broken into 2 pieces.
+3
@Vicky : pdf of a uniform distribution from a to b is 1/(b-a).
+1
How could someone figure out  that it could be solved using Uniform Distribution unless there is tag !? Oops
+1
question directly taken from sheldon ross
+2
@sushmita See Cormen, Rosen, Ross, Dragon book, Korth etc.: many questions will be directly taken in GATE. Even same examples in text they use in GATE.
0
yes arjun sir. i wish i had time to see all those problems. But i lack time. Getting super nervous. :-(((((((.
0
@Arjun Sir, I also have same doubt as pC. How to know whether the question has to be solve by Uniform Distribution function or some else?,
+7

Because question says so

at a point chosen uniformly at random

In GATE all information and hints will always be there in question. But many aspirants are used to solving substandard questions prepared in test series and hence skip those vital information.

+2

For better intuition ..:)

+1
Don't it should be 0 to 0.49 because they are asking about shorter stick length. but if we take 0 to 0.5 then it includes shorter as well as equal length?
0

What if the stick is broken randomly at two points? My approach:

To be shortest: length < 1/3

Pdf = 3 (using 1/b-a)

$3 \int_{0}^{1/3} L dx = 1/6$

Is 1/6 correct? Below link says it is 1/9:

https://math.stackexchange.com/questions/13959/if-a-1-meter-rope-is-cut-at-two-uniformly-randomly-chosen-points-what-is-the-av



Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

37,939 questions
45,453 answers
131,190 comments
48,203 users