Jacobian Transform
Jacobian Transform
Jacobian Transform
Dear students,
1
Because 𝐹𝑌 (𝑦) = 𝑦 for 0 < y < 1; i.e., for u > 0, we have
𝐹𝑈 (𝑢) = 1 − 𝐹𝑌 (𝑒 −𝑢 ) = 1 − 𝑒 −𝑢
𝑑 𝑑
𝑓𝑈 (𝑢) = 𝐹𝑈 (𝑢) = (1 − 𝑒 −𝑢 ) = 𝑒 −𝑢
𝑑𝑢 𝑑𝑢
Summarizing,
𝑒 −𝑢 , 𝑢>0
𝑓𝑈 (𝑢) = {
0, otherwise
1
This is an exponential pdf with mean λ = 1; that is, U ~
exponential(λ = 1). □
0, 𝑦 ≤ − 𝜋⁄2
𝑦 + 𝜋⁄2
𝐹𝑌 (𝑦) = , − 𝜋⁄2 < 𝑦 ≤ 𝜋⁄2
𝜋
{ 1, 𝑦 ≥ 𝜋⁄2
= 𝑃[𝑌 ≤ tan−1(𝑢)]
= 𝐹𝑌 [tan−1(𝑢)]
𝑦+𝜋⁄2
Because 𝐹𝑌 (𝑦) = for − 𝜋⁄2 < 𝑦 < 𝜋⁄2 ; i. e. , for 𝑢 ∈ ℛ ,
𝜋
we have
tan−1(𝑢) + 𝜋⁄2
𝐹𝑈 (𝑢) = 𝐹𝑌 [tan−1 (𝑢)] =
𝜋
The pdf of U, for 𝑢 ∈ ℛ, is given by
𝑑 𝑑 tan−1 (𝑢) + 𝜋⁄2 1
𝑓𝑈 (𝑢) = 𝐹𝑈 (𝑢) = [ ]= .
𝑑𝑢 𝑑𝑢 𝜋 𝜋(1 + 𝑢2 )
Summarizing,
2
1
, −∞<𝑢 <∞
𝑓𝑈 (𝑢) = {𝜋(1 + 𝑢2 )
0, otherwise.
𝑑 𝑑
𝑓𝑈 (𝑢) = 𝐹𝑈 (𝑢) = 𝐹 [𝑔−1 (𝑢)]
𝑑𝑢 𝑑𝑢 𝑌
𝑑 −1
= 𝑓𝑌 [𝑔−1 (𝑢)] 𝑔 (𝑢) (by chain rule)
𝑑𝑢
𝑑
Now as 𝑔 is increasing, so is 𝑔−1 ; thus, 𝑑𝑢 𝑔−1 (𝑢) > 0. If 𝑔(𝑦) is
strictly decreasing, then
𝑑
𝐹𝑈 (𝑢) = 1 − 𝐹𝑌 [𝑔−1 (𝑢)] and 𝑑𝑢 𝑔−1 (𝑢) < 0, which gives
3
𝑑 𝑑
𝑓𝑈 (𝑢) = 𝐹𝑈 (𝑢) = {1 − 𝐹𝑌 [𝑔−1 (𝑢)]}
𝑑𝑢 𝑑𝑢
𝑑 −1
= −𝑓𝑌 [𝑔−1 (𝑢)] 𝑔 (𝑢)
𝑑𝑢
Combining both cases, we have shown that the pdf of U, where
nonzero, is given by
𝑑
𝑓𝑈 (𝑢) = 𝑓𝑌 [𝑔−1 (𝑢)] | 𝑔−1 (𝑢) |.
𝑑𝑢
1 −𝑦/𝛽
𝑒 , 𝑦>0
𝑓𝑌 (𝑦) = { 𝛽
0, otherwise.
4
𝑑 −1 𝑑
𝑔 (𝑢) = (𝑢2 ) = 2𝑢.
𝑑𝑢 𝑑𝑢
Thus, for u > 0,
𝑑 −1
𝑓𝑈 (𝑢) = 𝑓𝑌 [𝑔−1 (𝑢)] | 𝑔 (𝑢) |
𝑑𝑢
2 2
1 −𝑢 2𝑢 −𝑢𝛽
= 𝑒 𝛽 × |2𝑢| = 𝑒 .
𝛽 𝛽
Summarizing,
2
2𝑢 −𝑢𝛽
𝑓𝑈 (𝑢) = { 𝛽 𝑒 , 𝑢>0
0, otherwise.
𝑑 −1 𝑑
𝑔 (𝑢) = (1 − 𝑢) = −1.
𝑑𝑢 𝑑𝑢
Thus, for 0 < u < 1,
𝑑 −1
𝑓𝑈 (𝑢) = 𝑓𝑌 [𝑔−1 (𝑢)] | 𝑔 (𝑢) |
𝑑𝑢
5
= 42(1 − 𝑢)5 [1 − (1 − 𝑢)] × |−1| = 42𝑢(1 − 𝑢)5 .
Summarizing,
𝑘
𝑑
∑ 𝑓𝑌 [𝑔𝑖 −1 (𝑢)] | 𝑔𝑖 −1 (𝑢) | , 𝑢 ∈ 𝑅𝑈
𝑓𝑈 (𝑢) = { 𝑑𝑢
𝑖=1
0, otherwise.
That is, writing the pdf of U can be done by adding up the terms
𝑑
𝑓𝑌 [𝑔𝑖 −1 (𝑢)] |𝑑𝑢 𝑔𝑖 −1 (𝑢) | corresponding to each disjoint set Ai,
i = 1, 2,…,k.
6
Example 5. Suppose that Y ~ N(0, 1); that is, Y has a standard
normal distribution; i.e.,
1 −𝑦 2/2
𝑒 , −∞ < 𝑦 < ∞
𝑓𝑌 (𝑦) = {√2𝜋
0, otherwise.
7
That is, U ~ gamma(1/2, 2). Recall that the gamma(1/2, 2)
distribution is the same as a 𝜒 2 distribution with 1 degree of
freedom; that is, 𝑈 ~ 𝜒 2 (1). □
𝑑 √𝑢 𝑑 √𝑢
𝑓𝑈 (𝑢) = 𝑓𝑌 (√𝑢) + 𝑓𝑌 (−√𝑢)
𝑑𝑢 𝑑𝑢
2 2
1 (−√𝑢) 1 1 (√𝑢) 1
= − −
𝑒 2 ( )+ 𝑒 2 ( )
√2𝜋 2 √𝑢 √2𝜋 2√𝑢
1 1 𝑢 1 1 𝑢
= 𝑢2−1 𝑒 − 2 = 𝑢 −1 −
2 𝑒 2, 𝑢 > 0
√2𝜋 1 1
Γ (2) 22
8
one vector-valued mapping from 𝑅𝑌1 ,𝑌2 to 𝑅𝑈1 ,𝑈2 , where 𝑈1 =
𝑔1 (𝑌1 , 𝑌2 ) and 𝑈2 = 𝑔2 (𝑌1 , 𝑌2 ), and where 𝑅𝑌1 ,𝑌2 and 𝑅𝑈1 ,𝑈2
denote the two-dimensional domain of 𝒀 = (𝑌1 , 𝑌2 ) and 𝑼 =
(𝑈1 , 𝑈2 ), respectively. If 𝑔1 −1 (𝑢1 , 𝑢2 ) and 𝑔2 −1 (𝑢1 , 𝑢2 ) have
continuous partial derivatives with respect to both 𝑢1 and 𝑢2 ,
and the Jacobian, J, where, with “det” denoting “determinant”,
𝜕𝑔1 −1 (𝑢1 , 𝑢2 ) 𝜕𝑔1 −1 (𝑢1 , 𝑢2 )
𝜕𝑢1 𝜕𝑢2
𝐽 = det || −1 (𝑢 −1 (𝑢
| ≠ 0,
|
𝜕𝑔2 1 , 𝑢2 ) 𝜕𝑔2 1 , 𝑢2 )
𝜕𝑢1 𝜕𝑢2
then
𝑓𝑈1 ,𝑈2 (𝑢1 , 𝑢2 )
−1 −1
𝑓 [𝑔 (𝑢1 , 𝑢2 ), 𝑔2 (𝑢1 , 𝑢2 )]|𝐽|, (𝑢1 , 𝑢2 ) ∈ 𝑅𝑈1 ,𝑈2
= { 𝑌1 ,𝑌2 1
0, otherwise,
where |J| denotes the absolute value of J.
9
Solutions. (a) Since 𝑌1 and 𝑌2 are independent, the joint
distribution of 𝑌1 and 𝑌2 is
𝑓𝑌1 ,𝑌2 (𝑦1 , 𝑦2 ) = 𝑓𝑌1 (𝑦1 )𝑓𝑌2 (𝑦2 )
1 1 𝛽−1 −𝑦2
= 𝑦1𝛼−1 𝑒 −𝑦1 × 𝑦 𝑒
Γ(𝛼) Γ(𝛽) 2
1 𝛽−1
= 𝑦1𝛼−1 𝑦2 𝑒 −(𝑦1 +𝑦2 ) ,
Γ(𝛼)Γ(𝛽)
for 𝑦1 > 0, 𝑦2 > 0, and 0, otherwise. Here, 𝑅𝑌1 ,𝑌2 =
{(𝑦1 , 𝑦2 ): 𝑦1 > 0, 𝑦2 > 0}. By inspection, we see that 𝑢1 = 𝑦1 +
𝑦
𝑦2 > 0, and 𝑢2 = 𝑦 +1𝑦 must fall between 0 and 1.
1 2
Thus, the domain of 𝑼 = (𝑈1 , 𝑈2 ) is given by
𝑅𝑈1 ,𝑈2 = {(𝑢1 , 𝑢2 ): 𝑢1 > 0, 0 < 𝑢2 < 1}.
The next step is to derive the inverse transformation. It follows
that
𝑢1 = 𝑦1 + 𝑦2
𝑦1 𝑦1 = 𝑔1 −1 (𝑢1 , 𝑢2 ) = 𝑢1 𝑢2
𝑢2 = ⇒ −1
𝑦1 + 𝑦2 𝑦2 = 𝑔2 (𝑢1 , 𝑢2 ) = 𝑢1 − 𝑢1 𝑢2
The Jacobian is given by
𝜕𝑔1 −1 (𝑢1 , 𝑢2 ) 𝜕𝑔1 −1 (𝑢1 , 𝑢2 )
𝐽 = det ||
𝜕𝑢1 𝜕𝑢2 | = det | 𝑢2 𝑢1
|
−1 (𝑢 −1 | 1 − 𝑢 −𝑢
𝜕𝑔2 1 , 𝑢2 ) 𝜕𝑔2 (𝑢1 , 𝑢2 ) 2 1
𝜕𝑢1 𝜕𝑢2
= −𝑢1 𝑢2 − 𝑢1 (1 − 𝑢2 ) = −𝑢1 .
We now write the joint distribution for 𝑼 = (𝑈1 , 𝑈2 ). For 𝑢1 >
0 and 0 < 𝑢2 < 1, we have that
𝑓𝑈1 ,𝑈2 (𝑢1 , 𝑢2 ) = 𝑓𝑌1 ,𝑌2 [𝑔1 −1 (𝑢1 , 𝑢2 ), 𝑔2 −1 (𝑢1 , 𝑢2 )]|𝐽|
1
= (𝑢 𝑢 )𝛼−1 (𝑢1 − 𝑢1 𝑢2 )𝛽−1 𝑒 −[(𝑢1 𝑢2 )+(𝑢1 −𝑢1𝑢2 )]
Γ(𝛼)Γ(𝛽) 1 2
× | − 𝑢1 |
10
1
𝑓𝑈1 (𝑢1 ) = ∫ 𝑓𝑈1 ,𝑈2 (𝑢1 , 𝑢2 ) 𝑑𝑢2
𝑢2 =0
1
𝑢2 𝛼−1 (1 − 𝑢2 )𝛽−1 𝛼+𝛽−1 −𝑢
=∫ 𝑢1 𝑒 1 𝑑𝑢2
𝑢2 =0 Γ(𝛼)Γ(𝛽)
1
1 𝛼+𝛽−1 −𝑢1
= 𝑢 𝑒 ∫ 𝑢2 𝛼−1 (1 − 𝑢2 )𝛽−1 𝑑𝑢2
Γ(𝛼)Γ(𝛽) 1 𝑢2 =0
(𝑢2 𝛼−1 (1−𝑢2 )𝛽−1 is beta(𝛼,𝛽) kernel) 1
⇔ 𝑢 𝛼+𝛽−1 𝑒 −𝑢1
Γ(𝛼)Γ(𝛽) 1
Γ(𝛼)Γ(𝛽)
×
Γ(𝛼 + 𝛽)
1
= 𝑢 𝛼+𝛽−1 𝑒 −𝑢1
Γ(𝛼 + 𝛽) 1
Summarizing,
1
𝑢 𝛼+𝛽−1 𝑒 −𝑢1 , 𝑢1 > 0
𝑓𝑈1 (𝑢1 ) = {Γ(𝛼 + 𝛽) 1
0, otherwise.
We recognize this as a gamma(𝛼 + 𝛽, 1) pdf; thus, marginally,
𝑈1 ~gamma(𝛼 + 𝛽, 1).
(c) To obtain the marginal distribution of 𝑈2 , we integrate the
joint pdf 𝑓𝑈1 ,𝑈2 (𝑢1 , 𝑢2 ) over 𝑢2 . That is, for 0 < 𝑢2 < 1,
∞
𝑓𝑈2 (𝑢2 ) = ∫ 𝑓𝑈1 ,𝑈2 (𝑢1 , 𝑢2 ) 𝑑𝑢1
𝑢1 =0
∞
𝑢2 𝛼−1 (1 − 𝑢2 )𝛽−1 𝛼+𝛽−1 −𝑢
=∫ 𝑢1 𝑒 1 𝑑𝑢1
𝑢1 =0 Γ(𝛼)Γ(𝛽)
𝑢2 𝛼−1 (1 − 𝑢2 )𝛽−1 ∞
= ∫ 𝑢1 𝛼+𝛽−1 𝑒 −𝑢1 𝑑𝑢1
Γ(𝛼)Γ(𝛽) 𝑢1 =0
Γ(𝛼 + 𝛽) 𝛼−1
= 𝑢 (1 − 𝑢2 )𝛽−1 .
Γ(𝛼)Γ(𝛽) 2
Summarizing,
Γ(𝛼 + 𝛽) 𝛼−1
𝑢 (1 − 𝑢2 )𝛽−1 , 0 < 𝑢2 < 1
𝑓𝑈2 (𝑢2 ) = {Γ(𝛼)Γ(𝛽) 2
0, otherwise.
Thus, marginally, U2 ~ beta(𝛼, 𝛽). □
11
the marginal distribution of 𝑈1 by integrating 𝑓𝑈1 ,𝑈2 (𝑢1 , 𝑢2 ) out
over the dummy variable 𝑢2 . While the choice of 𝑈2 is arbitrary,
there are certainly bad choices. Stick with something easy;
usually 𝑈2 = 𝑔2 (𝑌1 , 𝑌2 ) = 𝑌2 does the trick.
12
(a) 𝑓𝑈1 ,𝑈2 (𝑢1 , 𝑢2 ), the joint distribution of 𝑈1 and 𝑈2 ,
(b) 𝑓𝑈1 (𝑢1 ), the marginal distribution of 𝑈1 .
Solutions. (a) Since 𝑌1 and 𝑌2 are independent, the joint
distribution of 𝑌1 and 𝑌2 is
𝑓𝑌1 ,𝑌2 (𝑦1 , 𝑦2 ) = 𝑓𝑌1 (𝑦1 )𝑓𝑌2 (𝑦2 )
1 −𝑦 2/2 −𝑦2 /2
= 𝑒 1 𝑒 2
2π
Here, 𝑅𝑌1 ,𝑌2 = {(𝑦1 , 𝑦2 ): −∞ < 𝑦1 < ∞, −∞ < 𝑦2 < ∞}.
𝑓𝑈1 ,𝑈2 (𝑢1 , 𝑢2 ) = ∑ 𝑓𝑌1 ,𝑌2 [𝑔1𝑖 −1 (𝑢, 𝑣), 𝑔2𝑖 −1 (𝑢, 𝑣)]|𝐽𝑖 |
𝑖=1
Plugging in, we have:
1 −(𝑢 𝑢 )2 /2 −𝑢2 /2
𝑓𝑈1 ,𝑈2 (𝑢1 , 𝑢2 ) = 𝑒 1 2 𝑒 2 |𝑢2 |
2π
1 −(−𝑢 𝑢 )2 /2 −(−𝑢 )2 /2
+ 𝑒 1 2 𝑒 2 |𝑢2 |
2π
Simplifying, we have:
𝑢2 2 2
𝑓𝑈1 ,𝑈2 (𝑢1 , 𝑢2 ) = 𝑒 −(𝑢1 +1)𝑢2 /2 , −∞ < 𝑢1 < ∞, 𝑢2 > 0
π
(b) To obtain the marginal distribution of 𝑈1 , we integrate the
joint pdf𝑓𝑈1 ,𝑈2 (𝑢1 , 𝑢2 )
over 𝑢2 . That is,
∞
𝑓𝑈1 (𝑢1 ) = ∫ 𝑓𝑈1 ,𝑈2 (𝑢1 , 𝑢2 ) 𝑑𝑢2
0
13
1
= , −∞ < 𝑢1 < ∞
𝜋(𝑢12
+ 1)
Thus, marginally, U1 follows the standard Cauchy distribution.
□
14
Now, we have
1 1 −𝑢 ≤ 𝑣 ≤ 𝑢, 0 ≤ 𝑢 ≤ 1
𝑓𝑈,𝑉 (𝑢, 𝑣) = 1 ∗ = , {
2 2 𝑢 − 2 ≤ 𝑣 ≤ 2 − 𝑢, 1 ≤ 𝑢 ≤ 2
The importance of having the range space correct is seen when
we find marginal pdf of 𝑈.
∞
𝑓𝑈 (𝑢) = ∫−∞ 𝑓𝑈,𝑉 (𝑢, 𝑣)𝑑𝑣
𝑢 1
∫−𝑢 2 𝑑𝑣, 0≤𝑢≤1
= { ∫2−𝑢 1 𝑑𝑣, 1≤𝑢≤2
𝑢−2 2
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
𝑢, 0≤𝑢≤1
={
2 − 𝑢, 1 ≤ 𝑢 ≤ 2
𝑥 ≥ 0 ⇒ 2𝑢 + 𝑣 ≥ 0 , that is 𝑣 ≥ −2𝑢
𝑥 < ∞ ⇒ 2𝑢 + 𝑣 < ∞
𝑦≥0 ⇒ 𝑣≥0
𝑦<∞ ⇒ 𝑢<∞
So ℬ is as indicated in the diagram below.
Now, we have
1 −2𝑢+𝑣+𝑣 1
𝑓𝑈,𝑉 (𝑢, 𝑣) = 𝑒 2 ∗ 2 = 𝑒 −(𝑢+𝑣) , (𝑢, 𝑣) ∈ ℬ.
4 2
16
The marginal pdf of 𝑈 is obtained by integrating 𝑓𝑈,𝑉 (𝑢, 𝑣) with
respect to𝑣, giving
∞
1 −(𝑢+𝑣)
∫ 𝑒 𝑑𝑣, 𝑢 < 0
−2𝑢 2
𝑓𝑈 (𝑢) = ∞
1 −(𝑢+𝑣)
∫ 𝑒 𝑑𝑣, 𝑢 > 0
{ 0 2
1 𝑢
𝑒 , 𝑢<0
={ 2
1 −𝑢
𝑒 , 𝑢>0
2
1
= 𝑒 −|𝑢| , − ∞ < 𝑢 < ∞
2
17
Homework #3.
Question 1 is the exercise on page 9 of this handout.
Questions 2-9 (from our textbook): 2.9, 2.15, 2.24, 2.30, 2.31,
2.32, 2.33, 2.34
18