804 Probability Theory
cor(X
α
,X
β
)=
cov(X
α
,X
β
)
σ(X
α
)σ(X
β
)
. (32.55)
The “strongest” correlation occurs when α = β,inwhichcase
cor(X
α
,X
α
)=
cov(X
α
,X
α
)
σ
2
(X
α
)
= 1 by (32.54).
The “weakest” correlation occurs when α = β and x
α
is independent of the
rest of the variables, in which case cor(X
α
,X
β
) = 0. Thus, cor(X
α
,X
β
)
indeed measures how much x
α
and x
β
are correlated. Problem (32.22) shows
that |cor(X
α
,X
β
|≤1.
32.4.1 Transformation of Variables
Sometimes it is necessary or convenient to change a given set of random
variables to another set. Suppose that x = {x
i
}
m
i=1
is a set of variables, and
u = {u
i
}
m
i=1
are new variables of which the x
i
are functions. Given a density
f(x), the probability of finding x in an infinitesimal volume d
m
x is f (x)d
m
x.
What is the corresponding probability in terms of the u variables? What is
the probability density g(u)sothatg(u)d
m
u is the probability that u lies in
the infinitesimal volume d
m
u?Theansweris
g(u)=f
x
1
(u),x
2
(u),...,x
m
(u)
!
J(x, u), (32.56)
where J(x, u) is the Jacobian of the x-to-u transformation, whose special cases
in two and three dimensions were given in (6.65) and (6.66). Equation (32.56)
is obtained from f (x)d
m
x by writing x’s in terms of u’s, keeping in mind that
d
m
x = J(x, u)d
m
u.
In most cases, there are only two variables x and y, which are transformed
into u and v. Then (32.56) yields
g(u, v)=f
x(u, v),y(u, v)
!
∂x
∂u
∂y
∂u
∂x
∂v
∂y
∂v
. (32.57)
Example 32.4.2.
The random variables x and y have the density function
f(x, y)=
0
c(x + y)e
−x
if 0 <x,0<y<1;
0otherwise,
(32.58)
where c is a positive constant. What is the density function h(u)forthesum
u = x + y?
As will become clear below, it is convenient to write f(x, y) in terms of the θ
function introduced in Section 5.1.3 Equation (5.18):
f(x, y)=cθ(x)θ(y)θ(1 − y)(x + y)e
−x
. (32.59)