Solution (source code)

= Solution

Independence makes <varentropy> additive. For a Bernoulli variable,
$$
V_H(X_i)=p_i(1-p_i)
\left(\log\frac{p_i}{1-p_i}\right)^2.
$$
Part (c) bounds the logarithm by $|\log\delta_i|$, while $p_i(1-p_i)\leq1/4$. Therefore
$$
V_H(X_1,\ldots,X_n)=\sum_iV_H(X_i)
\leq\frac14\sum_{i=1}^n(\log\delta_i)^2.
$$