Poisson process: Solving differential-difference equations by an iterative method

We consider a stochastic process {N(t)} that assumes random non-negative integer values N(t)=0,1, with continuous time t0. In a previous post, we derived the following differential-difference equations from a few simple assumptions:

(DD0)dp0(t)dt=λp0(t),(DDn)dpn(t)dt=λpn1(t)λpn(t),  (n1).

Now, let's solve these equations with the initial condition (Init)p0(0)=1. This initial condition means that N(0)=0 almost surely. It also means that pn(0)=0,  (n1).

We first solve them by the iterative method.

For n=0, Eq. (DD0) is easy to solve. Together with the initial condition Eq. (Init), we immediately have

(Sol0)p0(t)=eλt.

For n=1, we have

dp1(t)dt=λp0(t)λp1(t),

or, using Eq. (Sol0),

dp1(t)dt+λp1(t)=λeλt.

This is an inhomogeneous linear differential equation and can be solved by using, for example, the method of variation of parameters. But here, we employ a more heuristic approach. Multiply both sides of the above equation by eλt, and we have

eλtdp1(t)dt+λeλtp1(t)=λ,

which can be rearranged into

ddt[eλtp1(t)]=λ.

Solving this, we have eλtp1(t)=λt+C where C is a constant. With the initial condition p1(0)=0, we have (Sol1)p1(t)=λteλt.

Similarly, for n=2, Eq. (DDn) can written as dp2(t)dt+λp2(t)=λp1(t)=λ2teλt.

Using the same technique as with n=1, we have 

ddt[eλtp2(t)]=λ2t.

Solving this with the initial condition p2(0)=0, we have

(Sol2)p2(t)=(λt)22!eλt.

Why the factorial (2!) rather than just 2? To answer this, we need to continue the same process for n=3,4,, and then we begin to see some patterns.

For n=3, applying the same method, we have

p3(t)=(λt)33!eλt.

Now, you get the idea. We prove the general solution by mathematical induction. Suppose that we have, for n=k,

(Solk)pk(t)=(λt)kk!eλt.

Then, Eq. (DDn) for n=k+1 becomes

dpk+1(t)dt+λpk+1(t)=λ(λt)kk!eλt,

which can be rearranged into

ddt[eλtpk+1(t)]=λk+1tkk!.

Solving this with the initial condition pk+1(0)=0, we have

pk+1(t)=(λt)k+1(k+1)!eλt.

Therefore, the general solution is given by

pn(t)=(λt)neλtn!,  (n0).

This is indeed the Poisson distribution (with parameter λt).

Related videos



Comments

Popular posts from this blog

Birth process

Branching processes: Mean and variance

Informal introduction to formal logic