The Kelly criterion for the discrete case is: $$\tag{1}f=\frac{pW-(1-p)L}{LW}$$ where $f$ is the fraction of wealth to invest, $p$ the probability of winning, $(1-p)$ the probability of losing, $W$ the return if win, $-L$ the return if loss.
The continuous case is: $$\tag{2}f=\frac{E[r]}{V(r)}$$ where $E[r]$ is the expected return, and $V(r)$ is the variance of returns.
I am trying to derive the discrete case from the continuous case. So, the expected return $E[r]$ when the distribution of returns is discrete (it takes two values $W$ and $-L$) is actually equal to $pW-(1-p)L$, which is the numerator in the discrete case. So far so good. However, $V(r)$ should be equal to $pq(W-L)^2$, which is quite different from $LW$ in formula 1. Why is it so?