Let X be a continuous, positive random variable. We also have that $E(X−a|X≥a)$ does not depend on $a$. What's the distribution of $X$?
I think the expected value is $E(X−a|X≥a)=\int (x-a) f(x-a) dx$, and it's derivate w.r.t a is $\int x f(x-a) dx + \int(x-a)f(x-a) dx$, and it must be 0, so we have that $-\int x f(x-a) dx = \int(x-a)f(x-a) dx$, but I can do nothing with it. How should I do it?
BY definition of expected value in terms of the distribution function, $$ \frac{\int_a^\infty(x-a)f(x)\, dx}{\int_a^\infty f(x)\, dx} $$ is independent of $a$; say its value is the constant $k$. Then $$ \int_a^\infty(x-a)f(x)\, dx = k\int_a^\infty f(x)\, dx $$ $$ \int_a^\infty xf(x)\, dx = (k+a)\int_a^\infty f(x)\, dx $$ $$ \frac{d}{da}\int_a^\infty xf(x)\, dx = \frac{d}{da}\left[(k+a)\int_a^\infty f(x)\, dx\right] $$ $$ -af(a) = \frac{d}{da}\left[(k+a)\right]\int_a^\infty f(x)\, dx+(k+a) \frac{d}{da}\left[\int_a^\infty f(x)\, dx\right] $$ $$ -af(a) = \int_a^\infty f(x)\, dx - (k+a) f(a) $$ $$ \int_a^\infty f(x)\, dx = kf(a) $$ $$ \frac{d}{da}\int_a^\infty f(x)\, dx = k \frac{df(a)}{da} $$ $$ \frac{df(a)}{da} = -\frac1k f(a) $$ $$f(a) = \alpha e^{-a/k}$$ which is an exponential distribution.