# Ergodic Grasshopper II

Here is a proof that the ratio of the probability density in the middle of the beam must be equal to 2x the probability density at the end of the beam assuming a trapezoidal from of the pdf and the particular “soft reflection” jump pdf near the ends of the beam.

We first note that the steady state condition implies zero net probability flux into and out of any region on the beam. We examine the flux at an infinitesimal region dx’ from the left end of the beam. The jump pdf half width is w. The grasshopper’s steady state probability density at the end of the beam is p(e) and in the middle region it is p(m). $\text{Probability flux out} = p(e) * dx'$ $\text{Probability flux in} = \int_{0}^{w} [p(e) +(p(m)-p(e))\cdot \dfrac{x}{w} ]\cdot \dfrac{dx'}{w+x} \,dx \$

Evaluating the second integral and setting in and out flux equal: $\big|_{0}^{w} [ (2\cdot p(e)-p(m)) \cdot log(x+w) + ((p(m)-p(e))\cdot \dfrac{x}{w}] \cdot dx' = p(e) \cdot dx'$

Simplifying and eliminating dx’^2 terms: $[(2\cdot p(e)-p(m)) \cdot log(2) + p(m)-p(e)] \cdot dx' = p(e) \cdot dx'$

And we see that the probability flux conservation condition is met when: $p(m) = 2 \cdot p(e)$