Home page for accesible maths 8 Bivariate Transformations

Style control - access keys in brackets

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

8.2 Use of Dummy Variables

Often we are interested in not two new variables, S and T, but in just one, S say. To obtain the pdf of S alone we have to create a dummy variable T, obtain the joint pdf of S and T, then integrate to get the marginal distribution of S.

  1. 1.

    Define a new variable T which makes a one-to-one bivariate transformation between (X,Y) and (S,T). The choice of T is essentially arbitrary and can be made for convenience. Sometimes some trial and error is required.

  2. 2.

    Find the joint pdf fS⁢T⁢(s,t) of S and T.

  3. 3.

    Find the marginal pdf of S:

    fS⁢(s)=∫fS⁢T⁢(s,t)⁢dt

    taking care with the range of integration.

Example 8.2.1.

Example 8.1.1 showed that if (X,Y) are independent 𝖭⁡(0,1) then S=X+Y and T=X-Y are both marginally 𝖭⁡(0,2) (also S and T are independent, but that is irrelevant to what follows). Ignoring T we see that S=X+Y∼𝖭⁡(0,2).

Example 8.2.2.

If (X,Y) have joint pdf

fX⁢Y⁢(x,y)=1x2⁢y2

for x>1 and y>1, find the pdf of S=X⁢Y.

With S=X⁢Y put T=X. Clearly S>1 and T>1. However Y>1, so S/T>1, so S>T. So the joint range is S>T>1.

Unnumbered Figure: Link

The inverse is

  1. X=T,

  2. Y=SX=ST.

so that

[∂⁡s∂⁡x∂⁡s∂⁡y∂⁡t∂⁡x∂⁡t∂⁡y]=[yx10]

and |det⁡J|=1/x.

The joint pdf of (S,T) is

fS⁢T⁢(s,t) =fX⁢Y⁢(x,y)⁢1/x|x=t,y=s/t
=1x3⁢y2|x=t,y=s/t
=1s2⁢t

for 1<t<s<∞. The marginal pdf of S is

fS⁢(s) =∫t=1s1s2⁢t⁢dt
=[log⁡(t)s2]t=1s
=log⁡(s)s2

for 1<s<∞. To check this integrates to 1:

∫1∞log⁡(s)s2⁢ds =[-log⁡(s)s]1∞+∫1∞1s2⁢ds
=[-1s]1∞=1.

Convolution

A transformation of general interest is S=X+Y. We use the dummy variable method to obtain the pdf of S. We make the transformation

  1. S=X+Y,

  2. T=X,

with T as the dummy variable. It follows that the inverse transformation is

  1. X=T,

  2. Y=S-T,

so

|det⁡∂⁡(x,y)∂⁡(s,t)|=|det⁡[011-1]|=∣-1∣=1.

Thus

fS⁢T⁢(s,t)=fX⁢Y⁢(t,s-t),

so the marginal pdf of S=X+Y is

fS⁢(s)=∫-∞∞fX⁢Y⁢(t,s-t)⁢dt.

This formula is known as the convolution formula. It is finding the probability of S=X+Y by summing the probabilities, over all possible t, for the pairs (t,s-t) in (X,Y).

Example 8.2.3.

Let X∼𝖴𝗇𝗂𝖿⁡(0,1) and Y∼𝖴𝗇𝗂𝖿⁡(0,1), find the density of S=X+Y using the convolution formula.

Solution.  For 0≤x≤1, 0≤y≤1,

fX⁢Y⁢(x,y)=1.

The range restrictions on x and y imply that fX,Y⁢(t,s-t) is only non-zero when 0≤t≤1 and 0≤s-t≤1. The latter implies s-1≤t≤s. S can only be between 0 and 2. When s≤1 the restrictions simplify to 0≤t≤s, whereas when s>1 they simplify to s-1≤t≤1. Denote the lower and upper bounds for t by as and bs for now.

fS⁢(s) =∫-∞∞fX⁢Y⁢(t,s-t)⁢dt
=∫asbs1⁢dt
=bs-as
={0s≤0s0<s≤12-s1<s≤20s>2

The density is a triangle.

Example 8.2.4.

Exam2016 Let X∼𝖡𝖾𝗍𝖺⁡(α,1) (α≠1) and Y∼𝖴𝗇𝗂𝖿⁡(0,1) be independent of each other. The point (X,Y) defines the top-right corner of a rectangle whose bottom-left corner is at the origin, as shown in the figure below. Let 𝒜 be this rectangle, let A be its area and let V=X.

Unnumbered Figure: Link

  1. (a)

    Without performing any calculation, write down the conditional distribution of A given X=x.

    Solution.  A|X=x∼𝖴𝗇𝗂𝖿(0,x) (since A=X⁢Y and Y∼𝖴𝗇𝗂𝖿⁡(0,1).)

  2. (b)

    Derive the joint density of A and V, fA,V⁢(a,v); be sure to state clearly the joint range of A and V.

    Solution.  The range (which most students got wrong) is 0<a<v<1 since 0<y<1 but y=a/v. The inverse map is X=V, Y=A/V, so

    J=∂⁡(x,y)∂⁡(a,v)=[011/v-a/v2]

    Then |det⁡J|=1/v, so with the range as defined above,

    fA,V⁢(a,v) =fX,Y⁢(x,y)⁢1v
    =α⁢xα-1⁢1v
    =α⁢vα-2.
  3. (c)

    Show that the marginal density of A is fA⁢(a)=αα-1⁢(1-aα-1) for (0<a<1) and 0 elsewhere.

    Solution.  For 0<a<1,

    fA⁢(a)=∫a1α⁢vα-2⁢dv=αα-1⁢[vα-1]a1,

    which simplifies to the required expression. A must be between 0 and 1 since it is the product of two rvs which have these bounds.

  4. (d)

    Find the conditional density of V given A=a.

    Solution. 

    fV|A(v|a)=α⁢vα-2αα-1⁢(1-aα-1)=α-11-aα-1vα-2

    for a<v<1.

  5. (e)

    A new co-ordinate pair (X′,Y′) is chosen, where X′∼𝖴𝗇𝗂𝖿⁡(0,1) and Y′∼𝖴𝗇𝗂𝖿⁡(0,1) are independent of each other and of X and Y. Show that the probability that (X′,Y′) is in the (random) rectangle 𝒜 is pα=α2⁢(α+1).

    Solution.  The point (X′,Y′) has a uniform distribution in the unit square. So, conditional on knowing 𝒜, 𝖯⁡((X′,Y′)∈𝒜|𝒜)=𝖯⁡((X′,Y′)∈𝒜|A)=A, the area of 𝒜. Since for any event B, 𝖯⁡(B,A∈(a,a+d⁢a])=𝖯⁡(B|a)⁢fA⁢(a)⁢d⁢a, exactly as for any joint probability, we can marginalise by integrating out a:

    𝖯⁡((X′,Y′)∈𝒜) =∫a=01𝖯⁡((X′,Y′)∈𝒜|a)⁢fA⁢(a)⁢da
    =αα-1⁢∫01(a-aα)⁢da
    =αα-1⁢[12⁢a2-aα+1α+1]01,

    which simplifies to the required expression.

  6. (f)

    Note that limα→1⁡pα=1/4. Provide a derivation of this particular value using simple probability calculations (i.e. without resorting to the calculations similar to those in Parts (b)-(e)).

    Solution.  When α=1, X and X′ have the same distribution, so 𝖯⁡(X′<X)=1/2. Similarly 𝖯⁡(Y′<Y)=1/2 thus

    𝖯⁡((X′,Y′)∈𝒜)=𝖯⁡(X′<X,Y′<Y)=𝖯⁡(X′<X)⁢𝖯⁡(Y′<Y)

    by independence . So 𝖯⁡((X′,Y′)∈𝒜)=1/4.