Week5 Notes
Week5 Notes
5. Week 5
Definition 5.1 (Support of a Continuous RV). Let X be a continuous RV with DF FX . The set
S := {x ∈ R : FX (x + h) − FX (x − h) > 0, ∀h > 0}
Remark 5.2. The support S of a continuous RV X can be expressed in terms of the law/distribution
of X as follows.
Remark 5.3. The support S of a continuous RV X can be expressed in terms of the p.d.f. fX as
follows. Z x+h
S = {x ∈ R : fX (t) dt > 0, ∀h > 0}.
x−h
Note 5.4. If x ∈
/ S, where S is the support of a continuous RV X, then there exists h > 0 such
that FX (x + h) = FX (x − h). By the non-decreasing property of FX , we conclude that FX remains
a constant on the interval [x − h, x + h]. In particular, fX (t) = FX′ (t) = 0, ∀t ∈ (x − h, x + h).
Note 5.6. Cantor function (also known as the Devil’s Staircase) is an example of a continuous dis-
tribution function, which is not absolutely continuous. In this case, the DF F is not representable
Rx
as −∞ f (t) dt for any non-negative integrable function. In fact, in this example, F ′ (x) = 0 at
‘almost all points x’. We do not discuss these types of examples in this course.
Definition 5.7 (Quantiles and Median for an RV). Let X be an RV with DF FX . For any
p ∈ (0, 1), a number x ∈ R is called a quantile of order p if the following inequalities are satisfied,
viz.
p ≤ FX (x) ≤ p + P(X = x).
1
A quantile of order 2
is called a median.
1 3
Notation 5.10. The quantiles of order 4
and 4
for an RV X are referred to as the lower and
upper quartiles of X, respectively.
P(X ≤ x) ≥ p, P(X ≥ x) ≥ 1 − p.
For any p ∈ (0, 1), the solution to FX (x) = p is given by x = p, i.e. zp (X) = p. Moreover, the
median is z 1 (X) = 12 .
2
Notation 5.15. In the setting of the above remark, we shall write h(X) to denote h ◦ X.
Example 5.16. Let X be an RV defined on a probability space (Ω, F, P) and consider the function
h : R → R defined by h(x) = 3x2 + sin x + 1, ∀x ∈ R. Then h(X) = h ◦ X defined by (h ◦ X)(ω) :=
3X(ω)2 + sin(X(ω)) + 1, ∀ω ∈ Ω is an RV.
Remark 5.17 (DF of a function of an RV). We continue with the notations of Remark 5.14 and
are interested in computing the law/distribution of Y = h(X). Using Remark 3.20, we may
equivalently, compute the DF of Y and that will identify the required law. Then for any y ∈ R,
we have
FY (y) = P(Y ≤ y) = P(h(X) ≤ y) = P(h(X) ∈ (−∞, y]) = P(X ∈ h−1 ((−∞, y])),
where h−1 ((−∞, y]) denotes the pre-image of (−∞, y] under h (see Notation 2.39).
46
From the structure of the DF we conclude that the RV is discrete. The p.m.f. may be computed
using the techniques discussed in earlier lectures.
47
0, if y < 0,
= P(X = 0), if y = 0,
√ √
P({− y ≤ X ≤ y}), if y > 0.
0, if y < 0,
= 0, if y = 0,
√
R y
√ fX (x) dx, if y > 0.
− y
48
0, if y < 0,
0, if y = 0,
√
R y |x|
= − y 2 dx, if 0 ≤ y < 1
√
R √y x
R 1 |x|
dx + dx, if 1 ≤y<4
−1 2 1
3
1, if y ≥ 4
0, if y ≤ 0,
y, if 0 ≤ y < 1
2
=
y+2
, if 1 ≤ y < 4
6
1, if y ≥ 4.
From the structure of the DF we conclude that the RV is continuous. The p.d.f. may be computed
using the techniques discussed in earlier lectures.
Note 5.20. We continue the discussion in Remark 5.17. In general, we may not be able to
reduce/simplify the expression h−1 ((−∞, y]) further, without additional information about h or
X. In what follows, we shall consider the cases where X is discrete or continuous and then attempt
to obtain the DF of h(X).
and DF FY given by
X X X
FY (y) = P(Y ≤ y) = fY (t) = fX (x) = fX (x).
t∈SY ∩(−∞,y] x∈SX x∈SX ∩h−1 ((−∞,y])
h(x)≤y
49
Proof. Since SX is a finite or a countably infinite set, the set h(SX ) is also finite or countably
infinite. Now,
P(h(X) ∈ h(SX )) = P(X ∈ h−1 (h(SX ))) ≥ P(X ∈ SX ) = 1
and hence P(h(X) ∈ h(SX )) = 1. Here, we have used the fact that h−1 (h(SX )) ⊇ SX . Moreover,
for any x ∈ SX ,
and hence Y = h(X) is discrete with support SY = h(SX ). The expressions for fY and FY follows
from standard arguments. □
Note 5.22. As a consequence of Theorem 5.21, we conclude that the functions of discrete RVs are
also discrete RVs.
Note 5.23. In Theorem 5.21, the function h need not be one-to-one or onto and therefore need
not have an inverse. This was the same problem encountered in Remark 5.17, which stops us in
computing the DF of h(X) for a general RV X.
As a special case of Remark 5.17, we get the next result. We do not give a separate proof, for
brevity.
Corollary 5.24. Continue with the notations of Theorem 5.21. Assume that h : SX → R is
one-to-one. Then we have
−1
X (h (y)), if y ∈ SY ,
f
fY (y) =
0, otherwise
Consider the RV Y = X 2 . Here SX = {−2, −1, 0, 1, 2, 3} and SY = {0, 1, 4, 9}. Observe that,
P(Y = 0) = P (X 2 = 0) = P(X = 0) = 71 ,
1 1
P(Y = 1) = P (X 2 = 1) = P(X ∈ {−1, 1}) = 7
+ 7
= 27 ,
1 3 5
P(Y = 4) = P (X 2 = 4) = P(X ∈ {−2, 2}) = 7
+ 14
= 14
3 3
P(Y = 9) = P (X 2 = 9) = P(X ∈ {−3, 3}) = 0 + 14
= 14 .
and the DF of Y is
0, if y < 0
1
if 0 ≤ y < 1
,
7
FY (y) = 3
7
, if 1 ≤ y < 4
11
if 4 ≤ y < 9
14
,
1, if y ≥ 9.
and the p.m.f. fY from FY using standard techniques discussed in earlier lectures.
51
The DF FY can now be computed from the p.m.f. fY using standard techniques.
and let Y = [X], where [x] denotes the largest integer not exceeding x for x ∈ R. Note that
SX = [0, ∞). Moreover,
P(Y ∈ {0, 1, 2, . . .}) = P(X ∈ SX ) = 1
hence Y is a discrete RV with support SY = {0, 1, 2, . . .} and the above p.m.f. fY . Therefore, a
function of a continuous RV need not be a continuous RV.
Remark 5.28. Given any continuous RV X and a constant function h : R → R given by h(x) :=
c, ∀x ∈ R for some c ∈ R, the RV h(X) is discrete. Together with the above example, we
may conclude that additional information on h is required before we can conclude that h(X) is
continuous.