Why a Difference Has Its Own Distribution
Subtracting two independent counts produces an integer-valued random variable that can be positive, negative, or zero. Its distribution is not generally Poisson: even when both counts have simple Poisson laws, their difference has probability on every integer when both rates are positive. Characteristic functions are especially useful here because independence turns the transform of the difference into a product, and the resulting Fourier series reveals each probability mass.
Work on a probability space \((\Omega,\mathcal{F},\mathbb{P})\). Let \(X\) and \(Y\) be independent random variables with Poisson distributions of rates \(\lambda\) and \(\mu\), where \(\lambda,\mu\ge0\). Thus, for \(r=0,1,2,\ldots\), \(\mathbb{P}(X=r)=e^{-\lambda}\lambda^r/r!\), with the rate-zero distribution interpreted as mass one at zero; the same convention applies to \(Y\). Set \(D=X-Y\), whose state space is the integers \(\mathbb{Z}\). The characteristic function of a real-valued random variable \(Z\) is \(\phi_Z(t)=\mathbb{E}[e^{itZ}]\), for real \(t\).
The probability mass formula comes from taking Fourier coefficients of the characteristic function. This approach both derives the distribution and makes the role of the difference’s negative sign explicit.
Proof. For a Poisson random variable \(X\) of rate \(\lambda\), summing its defining probabilities gives \(\mathbb{E}[e^{itX}]=e^{-\lambda}\sum_{a=0}^{\infty}(\lambda e^{it})^a/a! =\exp(\lambda(e^{it}-1))\). Since \(D=X-Y\), we have \(e^{itD}=e^{itX}e^{-itY}\). Independence therefore gives \(\phi_D(t)=\mathbb{E}[e^{itX}]\mathbb{E}[e^{-itY}] =\exp(\lambda(e^{it}-1)+\mu(e^{-it}-1))\).
Expand both exponentials in their power series: \[ \phi_D(t)=e^{-(\lambda+\mu)} \sum_{a=0}^{\infty}\sum_{b=0}^{\infty} \frac{\lambda^a\mu^b}{a!b!}e^{i(a-b)t}. \] The sum of the absolute values of the coefficients before the constant factor is \(e^\lambda e^\mu\), so this double series is absolutely convergent. We may group its terms by the integer \(a-b\). For each integer \(k\), the coefficient of \(e^{ikt}\) is the sum over \(a-b=k\). If \(k\ge0\), put \(a=r+k\) and \(b=r\), giving \[ e^{-(\lambda+\mu)} \sum_{r=0}^{\infty} \frac{\lambda^{r+k}\mu^r}{(r+k)!r!}. \] If \(k<0\), put \(q=|k|\), \(a=r\), and \(b=r+q\), giving \[ e^{-(\lambda+\mu)} \sum_{r=0}^{\infty} \frac{\lambda^r\mu^{r+q}}{r!(r+q)!}. \] These are the probability masses as well as the Fourier coefficients: for an integer-valued \(D\), \(\phi_D(t)=\sum_{j\in\mathbb{Z}}\mathbb{P}(D=j)e^{ijt}\), and integrating \(\phi_D(t)e^{-ikt}\) over \([-\pi,\pi]\), divided by \(2\pi\), selects the \(j=k\) term because the integral of \(e^{i(j-k)t}\) is zero for \(j\ne k\) and \(2\pi\) for \(j=k\). The exchange of sum and integral is justified by \(\sum_j\mathbb{P}(D=j)=1\).
For \(k\ge0\), factor \((\lambda/\mu)^{k/2}\) from the coefficient sum; its remaining terms are \((\lambda\mu)^{r+k/2}/(r!(r+k)!)\), precisely the series for \(I_k(2\sqrt{\lambda\mu})\). For \(k<0\), with \(q=|k|\), the corresponding factor is \((\mu/\lambda)^{q/2}=(\lambda/\mu)^{k/2}\), and the remaining series is \(I_q(2\sqrt{\lambda\mu})\). This proves the stated mass formula in both cases. Finally, independence gives \(\mathbb{E}[X-Y]=\lambda-\mu\) and \(\operatorname{Var}(X-Y)=\operatorname{Var}(X)+\operatorname{Var}(Y)=\lambda+\mu\), using the Poisson mean and variance. \(\square\)
Reading the Formula and Checking Moments
The factor \(I_{|k|}\) depends on the magnitude of the integer, while \((\lambda/\mu)^{k/2}\) records the direction of the difference. When the rates are equal, this directional factor is one and the mass function is symmetric about zero. When the rates differ, the mean is shifted toward the count with the larger rate. A useful independent check comes directly from differentiating the characteristic function; the sign in the second derivative matters.
Write \(a=\lambda-\mu\) and \(s=\lambda+\mu\). Differentiating the displayed characteristic function gives \(\phi_D'(0)=ia\) and \(\phi_D''(0)=-a^2-s\). For any random variable with finite second moment, differentiating under the expectation yields \(\phi_D'(0)=i\mathbb{E}[D]\) and \(\phi_D''(0)=-\mathbb{E}[D^2]\). Here the moments are finite because \(X\) and \(Y\) are Poisson. Thus \(\mathbb{E}[D]=a\), \(\mathbb{E}[D^2]=a^2+s\), and \(\operatorname{Var}(D)=\mathbb{E}[D^2]-(\mathbb{E}[D])^2=s\). In particular, the second derivative is the negative, not the positive, of the second moment.
Worked Example: Rates Two and One
Let \(X\) have Poisson rate \(2\), let \(Y\) have Poisson rate \(1\), independently, and set \(D=X-Y\). The characteristic function is \[ \phi_D(t)=\exp\!\bigl(2(e^{it}-1)+(e^{-it}-1)\bigr) =e^{-3}\exp(2e^{it})\exp(e^{-it}). \] The coefficient for \(D=1\) has \(a-b=1\), so \(a=r+1\), \(b=r\). Therefore \[ \mathbb{P}(D=1)=e^{-3}\sum_{r=0}^{\infty} \frac{2^{r+1}}{(r+1)!r!} =e^{-3}\left(2+2+\frac{2}{3}+\frac{1}{9}+\cdots\right). \] The first four terms follow by substituting \(r=0,1,2,3\): they are \(2\), \(4/(2\cdot1)=2\), \(8/(6\cdot2)=2/3\), and \(16/(24\cdot6)=1/9\). In Bessel notation this is \(e^{-3}\sqrt{2}\,I_1(2\sqrt{2})\), since the \(r\)-th term of \(\sqrt{2}I_1(2\sqrt{2})\) is \(2^{r+1}/((r+1)!r!)\).
Moment check: The mean is \(2-1=1\), and the variance is \(2+1=3\). Hence \(\mathbb{E}[D^2]=3+1^2=4\). Differentiating the characteristic function gives \(\phi_D'(0)=i\) and \(\phi_D''(0)=-4\), consistent with \(\phi_D'(0)=i\mathbb{E}[D]\) and \(-\phi_D''(0)=\mathbb{E}[D^2]\).
Worked Example: Equal Rates and Symmetry
Let \(X\) and \(Y\) be independent Poisson variables, each with rate \(1\). Then \[ \phi_D(t)=\exp(e^{it}+e^{-it}-2). \] The mass formula gives \[ \mathbb{P}(D=0)=e^{-2}I_0(2) =e^{-2}\sum_{r=0}^{\infty}\frac{1}{(r!)^2} =e^{-2}\left(1+1+\frac14+\frac1{36}+\frac1{576}+\cdots\right). \] For \(D=1\), \[ \mathbb{P}(D=1)=e^{-2}I_1(2) =e^{-2}\sum_{r=0}^{\infty}\frac{1}{r!(r+1)!} =e^{-2}\left(1+\frac12+\frac1{12}+\frac1{144}+\cdots\right). \] The same expression gives \(\mathbb{P}(D=-1)=\mathbb{P}(D=1)\). More generally, for any integer \(k\), replacing \(k\) by \(-k\) leaves the mass formula unchanged because the rates are equal and \(I_{|k|}\) uses the absolute value.
Moment and symmetry check: The mean is \(1-1=0\), as symmetry requires, and the variance is \(1+1=2\). The characteristic function has \(\phi_D'(0)=0\) and \(\phi_D''(0)=-2\), so \(-\phi_D''(0)=\mathbb{E}[D^2]=2\), agreeing with \(\operatorname{Var}(D)=2\) when the mean is zero.
Worked Example: One Rate Is Zero
Let \(X\) have rate \(0\), let \(Y\) have rate \(3\), independently, and set \(D=X-Y\). Then \(X=0\) with probability one, so \(D=-Y\). Its characteristic function is \[ \phi_D(t)=\mathbb{E}[e^{-itY}] =\exp(3(e^{-it}-1)). \] For an integer \(k\le0\), put \(m=-k\), so \(m\ge0\). Directly from the Poisson probabilities, \[ \mathbb{P}(D=k)=\mathbb{P}(Y=m)=e^{-3}\frac{3^m}{m!} =e^{-3}\frac{3^{-k}}{(-k)!}. \] For \(k>0\), \(\mathbb{P}(D=k)=0\), since \(D=-Y\le0\). These masses sum to \(e^{-3}\sum_{m=0}^{\infty}3^m/m!=1\), checking normalization.
Moment check: Since \(D=-Y\), its mean is \(-3\) and its variance is \(3\). The general characteristic function derivative calculation gives \(\phi_D'(0)=-3i\) and \(\phi_D''(0)=-((-3)^2+3)=-12\). Thus \(-\phi_D''(0)=12=\mathbb{E}[D^2]\), and \(12-(-3)^2=3\) is the variance. The positive-rate Bessel formula is not applied here because it contains \(\lambda/\mu\) and assumes both rates are positive.
Common Errors and a Reliable Check
A frequent mistake is to identify the second derivative of a characteristic function with the second moment without its minus sign. For the rates \(2\) and \(1\), that incorrect calculation would say \(\mathbb{E}[D^2]=\phi_D''(0)=-4\), which is impossible for a square. The correction is \(\mathbb{E}[D^2]=-\phi_D''(0)=4\); subtracting the squared mean gives \(4-1^2=3\).
A second error is to use \(e^{it}\) for both Poisson factors. The difference is \(X-Y\), so the \(Y\) contribution is \(\mathbb{E}[e^{-itY}]=\exp(\mu(e^{-it}-1))\). Replacing it by \(\exp(\mu(e^{it}-1))\) instead derives the characteristic function of the sum \(X+Y\), not the difference. A final check is to inspect the mean: the correct difference has mean \(\lambda-\mu\), while the mistaken sum has mean \(\lambda+\mu\).
The distribution is often called the Skellam distribution. Its mass formula is useful whenever a model compares two independent Poisson counts, such as counts of events in two categories or arrivals from two sources. The characteristic function compactly records the distribution, while coefficient extraction gives individual probabilities and the moment calculation provides a quick consistency check.
Check Your Understanding
Use the characteristic function and coefficient formula, keeping track of the sign in \(D=X-Y\).
- For independent Poisson variables with rates \(4\) and \(2\), write \(\phi_D(t)\), and state the mean and variance of \(D\).
- For positive rates \(\lambda,\mu\), identify the indices \(a,b\) in the double exponential expansion that contribute to \(\mathbb{P}(D=-2)\).
- When the two rates are equal, explain from the mass formula why \(\mathbb{P}(D=k)=\mathbb{P}(D=-k)\) for every integer \(k\).
- If \(\lambda=0\) and \(\mu>0\), which integers can have positive probability under \(D=X-Y\)? Write their masses directly from the Poisson law.
- For rates \(2\) and \(1\), use \(\phi_D''(0)\) to find \(\mathbb{E}[D^2]\). Explain why the second derivative must be negated.