A stick of length $L$ is broken at a random point. Let the break point be $X$, which is a random variable uniformly distributed on the interval $[0, L]$. The probability density function (PDF) is $f(x) = 1/L$ for $0 \le x \le L$.
This random break results in two pieces with lengths $X$ and $L - X$.
We need to find the average length of the smaller piece. Let $S$ denote the length of the smaller piece. Mathematically, this is defined as:
$S = \min(X, L - X)$
The value of $S$ depends on where the break occurs:
The average length of the smaller piece is its expected value, denoted by $E[S]$. We calculate this using the definition of expected value for a continuous random variable:
$E[S] = \int_{0}^{L} \min(x, L - x) f(x) dx$
Substitute the PDF $f(x) = 1/L$ and split the integral into two parts based on the definition of $S$:
$E[S] = \int_{0}^{L/2} x \cdot \frac{1}{L} dx + \int_{L/2}^{L} (L - x) \cdot \frac{1}{L} dx$
We evaluate each integral separately:
Add the results from the two integrals to find the total expected value:
$E[S] = \frac{L}{8} + \frac{L}{8} = \frac{2L}{8} = \frac{L}{4}$
Thus, the average length of the smaller piece is $L/4$.
The following bus schedule is seen at a bus stop located somewhere in between town A and town B.
Town A-00:10, then every 20 mins
Town B-00:15, then every 20 mins
If a person arrives at this bus stop at some random time, the probability that the next bus is for town B is