My question is on Exercise 1.4 of Neal Madras' "Lectures on Monte Carlo Methods" (problem pictured below). My current work is as follows:
Method 1: Let $X_1,X_2,\ldots,X_N$ be i.i.d. uniform on the set $A$. Define \begin{align*} Y_i = \begin{cases} 1 & \text{if } X_i \in B \\ 0 & \text{otherwise}, \end{cases} \qquad \text{for } i = 1,2,\ldots,N. \end{align*}
Our estimator in this case is $I_N = \frac{1}{N} \sum_{i=1}^{N} Y_i.$ To compute $\text{var}(I_N)$, note that $Y_i \overset{\text{iid}}{\sim} \text{Bernoulli}(p)$, where $p = \frac{\text{vol}(B)}{\text{vol}(A)}$. Then \begin{align*} \text{var}(I_N) = \text{var} \bigg(\frac{1}{N} \sum_{i=1}^{N} Y_i \bigg) = \frac{1}{N^2} \sum_{i=1}^{N} \text{var}(Y_i) = \frac{1}{N^2} \cdot N \text{var}(Y_1) = \frac{\text{Var}(Y_1)}{N} = \frac{p(1-p)}{N}. \end{align*}
Method 2: Since vol$(B) = \text{vol}(B \cap D) + \text{vol}(B \cap D^c)$ (this book does not deal with measure theory) and we know $\text{vol}(D \cap B)$, we only need to estimate vol$(D \cap B^c)$. So our second estimator for vol$(B)$ is $$\hat{I}_N = \text{vol}(D \cap B) + \frac{1}{N} \sum_{i=1}^{N} Z_i,$$
where the $Z_i$'s are i.i.d. uniform on $A \cap D^c$. Clearly, $Z_i \overset{\text{iid}}{\sim} \text{Bernoulli}(\hat{p})$ where $\hat{p} = \text{vol}(B \cap D^c)/ \text{vol}(A \cap D^c)$. Thus, $$\text{var}(\hat{I}_N) = \frac{\text{var}(Z_1)}{N} = \frac{\hat{p}(1-\hat{p})}{N}.$$ So now I need to show that $$\frac{\text{vol}(B \cap D^c)}{\text{vol}(A \cap D^c)} \bigg(1 - \frac{\text{vol}(B \cap D^c)}{\text{vol}(A \cap D^c)} \bigg) \leq \frac{\text{vol}(B)}{\text{vol}(A)} \bigg(1 - \frac{\text{vol}(B)}{\text{vol}(A)} \bigg).$$
This is where I am stuck; I don't see any clear way of getting to the above inequality. Clearly, $p(1-p)$ is maximized at $p = 1/2$, so $\hat{p}$ should be farther from $1/2$ than $p$ to make $\text{var}(\hat{I}_N) \leq \text{var}(I_N)$, but this still doesn't seem to get me anywhere. Any help would be greatly appreciated.