Home page for accesible maths C Proofs of additional results

Style control - access keys in brackets

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

3.4 The formula for a bivariate change of variable

We wish to show that given a 1-1 transformation from two continuous rvs X and Y to new rvs U(X,Y) and V(X,Y) the new density function is

fX,Y(x,y)=fU,V(u,v)|det(J)|,

where J is the Jacobian matrix, (u,v)/(x,y). We start with a simple geometric result.

Unnumbered Figure: First link, Second Link

Proposition 3.4.1.

The area of the filled diamond in the left hand figure is a1b2-a2b1.

Proof.

We use the contruction in the right hand figure, find the total shaded area B= (solid+hatched), subtract off the hatched area, C, and then double the result.

Dividing the total shaded region into two rectangles and a triangle we see that

B=a2b2+(a1-a2)b1+12(a1-a2)(b2-b1)=12(a2b2+a1b1+a1b2-a2b1).

However, the red hatched region is

C=12a1b1+12a2b2,

so the blue half-diamond has an area of

B-C=12(a1b2-a2b1).

Doubling gives the required result. ∎

Relabelling a1a2 and b1b2 in the figure would lead to an area of a2b1-a1b2=-(a1b2-a2b1), so the general formula is |a1b2-a2b1|.

We consider the small rectangular region rx,y with corners between (x,y) and (x+Δx,y+Δy). For any (x,y) in this region, Taylor’s theorem gives

[u(x,y)v(x,y)][u(x,y)v(x,y)]+[ux(x,y)(x-x)+uy(x,y)(y-y)vx(x,y)(x-x)+vy(x,y)(y-y)],

where ux(x,y) is shorthand for ux|x,y etc. Henceforth we abbreviate the derivatives to ux,uy,vy and vy with the fact that they are evaluated at (x,y) implicit. Similarly, we write u for u(x,y) and v for v(x,y). So the above formula is equivalent to

[u(x,y)v(x,y)][uv]+[ux(x-x)+uy(y-y)vx(x-x)+vy(y-y)]=[uv]+[uxuyvxvy][x-xy-y].

Locally, we have an affine transformation, and the multiplying matrix is the Jacobian matrix.

Our rectangle rx,y will therefore transform to a diamond du,v with corners at

[uv]+[uxuyvxvy][0Δx0Δx00ΔyΔy].

Setting a1=uxΔx, b1=vxΔx, a2=uyΔy and b2=vyΔy, and applying our proposition, we see that the area of du,v is |uxvy-uyvx|ΔxΔy.

Now (x,y)rx,y(u,v)du,v, so 𝖯((x,y)rx,y)=𝖯((u,v)du,v). But for small enough Δ, the density is almost constant over the region and so the probability is the height of the density curve multiplied by the area of the region. Thus

fX,Y(x,y)ΔxΔyfU,V(u,v)|uxvy-uyvx|ΔxΔy,

i.e.

fX,Y(x,y)fU,V(u,v)|uxvy-uyvx|.

Letting Δx0 and Δy0 gives the required result.

In higher dimensions, Taylor expansion still gives an affine transformation with the Jacobian as the multiplying matrix. That the ‘volume’ of the resulting ‘diamond’ is the determinant of the Jacobian can be shown using the Jordan canonical form, which you will cover in Math220: Linear Algebra.