# What distributional forms yield the “Pythagorean expectation”?

Let $X \sim \text{Dist}(\theta_X)$ and $Y \sim \text{Dist}(\theta_Y)$ be independent continuous random variables generated from the same unspecified distributional form but with allowance for different parameter values. I am interested in finding a parametric distribution form for which the following sampling probability holds for all allowable parameter values:

My question: Can anyone tell me a continuous distributional form for which this holds? Are there any (non-trivial) general conditions that lead to this?

My preliminary thoughts: If you multiply both parameters by any non-zero constant then the probability remains unchanged, so it makes sense for $\theta$ to be some kind of scale parameter.

A more interesting question is whether or not this is the only possible case of distribution for which it works. (For instance, this is the only element of the Gamma family for which it works.) Assuming a scale family structure, a necessary and sufficient on the underlying density $f$ of $X$ and $Y$ is that
But the generic answer is no: as noted in the answer by @soakley, this also works for Weibulls which is not a surprise sincefor all $\alpha>0$ (and Weibulls are powers of exponentials). A more general class of examples is thus provided byfor all strictly increasing functions $\phi$, where $X,Y$ are exponentials as above, since then we have