Home page for accesible maths 5 Bivariate Distributions

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

5.4 Continuous Random Variables

If X and Y are both continuous random variables their joint probability density function (pdf) is defined from

FX⁢Y⁢(x,y)=∫-∞y∫-∞xfX⁢Y⁢(s,t)⁢ds⁢dt=∫-∞x∫-∞yfX⁢Y⁢(s,t)⁢dt⁢ds.

Equivalently

fX⁢Y⁢(x,y)=∂2⁡FX⁢Y⁢(x,y)∂⁡x⁢∂⁡y=∂2⁡FX⁢Y⁢(x,y)∂⁡y⁢∂⁡x.

For simplicity, we usually only state FX⁢Y⁢(x,y) for values of (x,y) such that fX⁢Y⁢(x,y)>0. So if FX⁢Y is not defined for a particular (x,y) pair, then fX⁢Y⁢(x,y)=0 at that point.

Properties of fX⁢Y⁢(x,y):

  1. 1.

    Positivity: fX⁢Y⁢(x,y)≥0 for all (x,y),

  2. 2.

    Summability: ∫-∞∞∫-∞∞fX⁢Y⁢(s,t)⁢ds⁢dt=1.

  3. 3.

    Just as for a univariate random variable, we can find the probability of event A, i.e. 𝖯⁡((X,Y)∈A), by integrating the pdf over the event A:

    𝖯⁡((X,Y)∈A)=∫∫AfX⁢Y⁢(s,t)⁢ds⁢dt.

For a univariate rv X it is sometimes helpful to think the probability that it is in a region A as the area under the density curve.

For a bivariate rv (X,Y) it is sometimes helpful to think the probability that it is in a region A as the volume under the density surface.

In particular

𝖯⁡(X∈[x,x+δ⁢x],Y∈[y,y+δ⁢y])≈fX⁢Y⁢(x,y)⁢δ⁢x⁢δ⁢y.
Example 5.4.1.

The random variables (X,Y) have joint distribution function

FX⁢Y⁢(x,y)=x2⁢y+y2⁢x16

for 0<x<2, 0<y<2. Recall that, for simplicity of presentation, we only specify the cdf where the density is non-zero. Obtain:

  1. (a)

    the joint pdf,

  2. (b)

    𝖯⁡(X<1,Y<1),

  3. (c)

    𝖯⁡(X<1),

  4. (d)

    𝖯⁡(X2+Y2≤1),

  5. (e)

    𝖯⁡(X>Y),

and explain how you could have obtained the answer to (e) without any calculation.

Solution. 

  1. (a)

    The joint pdf is

    fX⁢Y⁢(x,y) =∂2∂⁡x⁢∂⁡y⁢FX⁢Y⁢(x,y)
    =116⁢∂2∂⁡x⁢∂⁡y⁢(x2⁢y+y2⁢x)

    for 0<x<2, 0<y<2. So

    fX⁢Y⁢(x,y)={(x+y)/80<x<2, 0<y<20otherwise
  2. (b)

    𝖯⁡(X<1,Y<1), two approaches: cdf and pdf.

    cdf: 𝖯⁡(X<1,Y<1)=FX⁢Y⁢(1,1)=(12×1+12×1)/16=1/8.

    pdf: (draw picture)

    𝖯⁡(X<1,Y<1) =∫t=-∞1∫s=-∞1fX⁢Y⁢(s,t)⁢ds⁢dt
    =18⁢∫t=01∫s=01s+t⁢d⁢s⁢d⁢t
    =18⁢∫t=01[12⁢s2+s⁢t]s=01⁢dt
    =18⁢∫t=0112+t⁢d⁢t
    =18⁢[12⁢(t+t2)]t=01
    =18
  3. (c)

    𝖯⁡(X<1), two approaches: cdf and pdf.

    cdf: because Y<2,

    𝖯⁡(X<1) =FX,Y⁢(1,∞)=FX,Y⁢(1,2)
    =12×2+22×116=38

    pdf: (draw picture) Using calculations from part (b),

    𝖯⁡(X<1) =18⁢∫t=02∫s=01s+t⁢d⁢s⁢d⁢t
    =18⁢∫t=0212+t⁢d⁢t
    =18⁢[12⁢(t+t2)]t=02
    =38.
  4. (d)

    𝖯⁡(X2+Y2<1), pdf:

    Unnumbered Figure: Link

    𝖯⁡(X2+Y2<1) =18⁢∫s=01∫t=01-s2s+t⁢d⁢t⁢d⁢s
    =18⁢∫01[s⁢t+12⁢t2]t=01-s2⁢ds
    =18⁢∫01s⁢1-s2+12-12⁢s2⁢d⁢s
    =18⁢[-13⁢(1-s2)3/2+12⁢s-16⁢s3]01⁢by inspection
    =18⁢(-0+12-16)-(-13+0-0)
    =112.
  5. (e)

    𝖯⁡(X>Y), pdf:

    𝖯⁡(X>Y) =18⁢∫s=02∫t=0ss+t⁢d⁢t⁢d⁢s
    =18⁢∫s=02[s⁢t+12⁢t2]t=0s⁢dx
    =18⁢∫s=0232⁢s2⁢ds
    =18⁢[12⁢s3]s=02
    =1/2.

    Without integration? 𝖯⁡(Y=X=0), and by symmetry of fX⁢Y⁢(x,y) about the x=y line there is equal chance of X>Y and Y>X.

Example 5.4.2.

The joint distribution (in years) for the lifetimes X and Y of two computer components has joint pdf

fX⁢Y⁢(x,y)={β⁢exp⁡(-β⁢x)⁢exp⁡(-y)0<x<∞, 0<y<∞0 otherwise

Find the probabilities of the following events:

  1. (a)

    Both components have lifetimes exceeding one year.

  2. (b)

    Component Y has a longer lifetime than component X.

Solution. 

  1. (a)
    𝖯⁡(X>1,Y>1) =∫t=1∞∫s=1∞β⁢exp⁡(-β⁢s)⁢exp⁡(-t)⁢ds⁢dt
    =∫1∞[-exp⁡(-β⁢s)⁢exp⁡(-t)]s=1∞⁢dt
    =∫1∞exp⁡(-β)⁢exp⁡(-t)⁢dt
    =[-exp⁡(-β)⁢exp⁡(-t)]1∞
    =exp⁡(-β)⁢exp⁡(-1)=exp⁡(-[β+1]).

    Unnumbered Figure: Link

  2. (b)
    𝖯⁡(Y>X) =∫s=0∞∫t=s∞β⁢exp⁡(-β⁢s)⁢exp⁡(-t)⁢dt⁢ds
    =∫0∞[-β⁢exp⁡(-β⁢s)⁢exp⁡(-t)]t=s∞⁢ds
    =∫0∞β⁢exp⁡(-β⁢s)⁢exp⁡(-s)⁢ds
    =∫0∞β⁢exp⁡(-[β+1]⁢s)⁢ds
    =ββ+1.