Let $N$ random variable taking positive integer values, with mean $a$ and variance $r$. Let $X_i$ i.i.d. random variables with mean $b$ and variance $s$. Let $Y_i$ i.i.d random variables with mean $c$ and variance $t$. Let $N$, $X_i$, $Y_i$ independent. Let $A = \sum_{i=1}^NX_i$ Let $B = \sum_{i=1}^NY_i$
What is $\mathbb{V}ar(A + B)$?
I reason as follows:
$\mathbb{V}ar(A + B) = \mathbb{V}ar(A) + \mathbb{V}ar(B)$
It can be shown that the variance of a random sum of independent random variables $X_i$ ($i = 1,...,N$) is:
$$ \mathbb{V}ar(A) = E[N]*\mathbb{V}ar(X) + (E[X])^2 * \mathbb{V}ar(N) = a * s + b^2 * r$$ similarly $$ \mathbb{V}ar(B) = \mathbb{E}[N] * \mathbb{V}ar(Y) + (\mathbb{E}[Y])^2 * \mathbb{V}ar(N) = a * t + c^2 * r$$
Therefore, $$\mathbb{V}ar(A + B) = \mathbb{V}ar(A) + \mathbb{V}ar(B) = a * s + a * t + b^2 * r + c^2 * r = a * (s + t) + r * (b^2 + c^2)$$ However, this is not the right answer. Could you help me understand what I am doing wrong? Your advice will be appreciated.