Docsity

Worksheet 3: Applications in Probability, Assignments of Calculus

Toggle sidebar
bg1
National Taiwan University - Calculus 2 for Class 10-13 (Year 113)
Worksheet 3: Applications in Probability
Name: ID: Department:
Introduction.
•Given a continuous random variable Xwhose domain is the whole real line, a probability density
function (p.d.f.) of Xis a non-negative function f(x) defined on Rsuch that
(i) Z∞
−∞
f(x)dx = 1,
(ii) For any interval [a, b], the probability of X∈[a, b] is given by P(X∈[a, b]) = Zb
a
f(x)dx.
•Given a probability density function f(x) of a continuous random variable X, we define its expected
value E(X), its variance var(X) and its standard deviation σ(X) by
E(X) = Z∞
−∞
xf(x)dx ; var(X) = Z∞
−∞
(x−E(X))2f(x)dx ;σ(X) = pvar(X).
In particular, these definitions are defined by improper integrals.
Question 1. Many random variables Xare modelled by a normal distribution whose probability density func-
tion equals
fX(x) = 1
√2πσ e−(x−µ)2
2σ2,where µ,σare constants and σ > 0.
(a) It is known that Z∞
−∞
e−x2dx =√π. By a suitable substitution, deduce that Z∞
−∞
1
√2πσ e−(x−µ)2
2σ2dx = 1.
(b) Compute the expected value and standard deviation of X.
(c) Let f(x) = ce−x2
8+x
4where cis a constant. Complete the square and rewrite f(x) in the form of 1
√2πσ e−(x−µ)2
2σ2.
Find cso that f(x) is a probability density density function (i.e. Z∞
−∞
f(x)dx = 1) and find its expected
value and standard deviation by just reading the simplified form of f(x).
1
pf3
pf4

Partial preview of the text

Download Worksheet 3: Applications in Probability and more Assignments Calculus in PDF only on Docsity!

National Taiwan University - Calculus 2 for Class 10-13 (Year 113) Worksheet 3: Applications in Probability

Name: ID: Department:

Introduction.

  • Given a continuous random variable X whose domain is the whole real line, a probability density function (p.d.f.) of X is a non-negative function f (x) defined on R such that (i)

Z ∞

−∞

f (x) dx = 1,

(ii) For any interval [a, b], the probability of X ∈ [a, b] is given by P(X ∈ [a, b]) =

Z (^) b a

f (x) dx.

  • Given a probability density function f (x) of a continuous random variable X, we define its expected value E(X), its variance var(X) and its standard deviation σ(X) by E(X) =

Z ∞

−∞

xf (x) dx ; var(X) =

Z ∞

−∞

(x − E(X))^2 f (x) dx ; σ(X) =

p var(X). In particular, these definitions are defined by improper integrals.

Question 1. Many random variables X are modelled by a normal distribution whose probability density func- tion equals

fX (x) = √^1 2 πσ e−^ (x 2 −σμ 2 ) 2 , where μ, σ are constants and σ > 0.

(a) It is known that

Z ∞

−∞

e−x^2 dx =

π. By a suitable substitution, deduce that

Z ∞

−∞

√^1

2 πσ e−^ (x 2 −σμ 2 ) 2 dx = 1. (b) Compute the expected value and standard deviation of X. (c) Let f (x) = ce−^ x 82 +^ x 4 where c is a constant. Complete the square and rewrite f (x) in the form of √^1 2 πσ e−^ (x 2 −σμ 2 ) 2 . Find c so that f (x) is a probability density density function (i.e.

Z ∞

−∞

f (x) dx = 1) and find its expected value and standard deviation by just reading the simplified form of f (x).

Distribution Function. For a random variable X with p.d.f. f (x), we define its distribution function F (x) by F (x) = P(X ≤ x) =

Z (^) x −∞

f (t) dt. Using the Fundamental Theorem of Calculus (F.T.C.), we have that F ′(x) = f (x). This provides us a way to recover the probability density function from its distribution function.

For example, if we define a new random variableY = aX + b where a > 0, then its distribution function is

F (y) = P(Y ≤ y) = P(aX + b ≤ y) = P

X ≤ y^ −a^ b

Z y−ab −∞

f (x)dx and hence the p.d.f of Y is given by

F ′(y) = (^) dyd

Z y−ab −∞

f (x)dx F.T =.C.^1 a f

 (^) y − b a

Question 2. Suppose that a random variable X has probability density function

fX (x) = √^1 2 πσ e−^ (x 2 −σμ 2 ) 2 , where μ, σ are constants and σ > 0.

Define Y = aX + b where a, b are constants and a > 0.

(a) Write down the distribution function of Y , F (y) = P(Y ≤ y), as an integration of fX (x). (b) Apply the Fundamental Theorem of Calculus and find the probability density function of Y. What is the expected value and standard deviation of Y? (c) Find constants c and d such that the random variable Z = cX + d has expected value 0 and standard deviation 1. (In this case, Z is called to have the standard normal distribution.)

Question 4. Suppose X is a continuous random variable with standard normal distribution and set Y = X^2. (a) Write down the distribution function of Y as an integral. (You don’t need to evaluate it.) (b) Find the probability density function of Y. This probability density function is called the Chi squared distribution. (c) Compute the expected value and variance of Y.