• No results found

Continuous random variables

N/A
N/A
Protected

Academic year: 2020

Share "Continuous random variables"

Copied!
30
0
0

Loading.... (view fulltext now)

Full text

(1)

12

12

Continuous random

variables

In the previous chapter we dealt with probability distributions of discrete random variables, their associated central values and measures of spread, and their applications. We will now consider the corresponding properties of continuous random variables. The distinction between discrete variables and continuous variables is that discrete variables can only take particular discrete values, whereas continuous variables can take any value in an interval of the set of real numbers. For example, the length of a foot is a continuous variable being able to take any value in some interval, but shoe size is a discrete variable being able to take only certain values.

As a rough guide, most variables which are measured are continuous; most variables

which are counted are discrete. For example, the waiting time for a train is a

(2)

MathsWorld Mathematical Methods Units 3 & 4

Continuous random

variables

We have established previously that for any probability distribution the probability of an event occurring must have a value between zero and 1 inclusive; a probability of zero indicates an event that is impossible, a probability of 1 indicates an event that is certain to occur. This can be written as 0 ≤ Pr(A) ≤ 1 for any event A.

A continuous random variable is one whose set of possible values is the set of real numbers R or a subset of R. The observed values of a continuous random variable contain rounding error or measurement error. For example, if X cm is the length of the foot of an individual in some population, the set of possible values may be [10, 60] for that population. When we record X= 28, it means that the actual foot length is in the vicinity of 28 cm, not that it is exactly 28 cm. Generally, we would measure a person’s foot length correct to the nearest centimetre, so the recorded value of 28 cm will actually mean any value between 27.5 cm and 28.5 cm.

What is the probability that X= 28 exactly? As there is an infinite number of real numbers in the interval [10, 60], if c is any number in this interval, Pr(X= c) must be 0, otherwise the sum of all the probabilities would be more than 1. This is a very important property of a continuous random variable X: for any possible value x, Pr(X=x) = 0. It only makes sense to consider the probability that X lies in an interval. Thus, although Pr(X= 28) = 0, the

probability given by Pr(27.5 ≤X< 28.5) will be greater than zero.

In chapter 11, we saw that the probability distribution of a discrete random variable is described by its probability function p(x) = Pr(X= x). This function is quite useless for a continuous random variable, as all such probabilities are zero. So the distribution of a continuous random variable is described by a different sort of function.

From our knowledge of calculus, we should recognise that the integral above gives the area below the graph of y=f(x) over the interval [x1, x2],

provided f(x) lies above the x-axis. As probabilities cannot be negative, and the total probability is 1, this leads to the following essential conditions for a function to be a probability density function.

What is a probability density function?

The probability density function of a continuous random variable X is a function f(x) with domain R so that the probability that X lies in the interval [x1, x2] is given by

Pr(x1≤Xx2) = ⌠ f(x)dx

x1 x2

x x1 x2 b a

0

y

y = f(x)

Pr(x1 X x2)

12 . 1

(3)

Continuous random variables

chapter

12

In many cases, the possible values of X lie in a closed interval such as [a, b]. In such cases, the probability density function f(x) is taken to be zero for all real numbers outside this

interval. The second property above is then equivalent to f(x)dx= 1, since:

f(x)dx= f(x)dx+ f(x)dx+ f(x)dx

= 0dx+ f(x)dx+ 0dx

= f(x)dx

E x a m p l e

1

Consider the function .

a Show that f(x) satisfies the conditions for it to be the probability density function of a random variable X.

b Find:

i Pr(0.2 ≤X≤ 0.4). ii Pr(0.2 <X< 0.4). iiiPr(X< 0.5).

S o l u t i o n

a It is helpful to sketch the graph of y= f(x). The graph is shown at the right on the interval [0, 1]; it is zero elsewhere. From the graph, we see that f(x) ≥ 0 for all real values of x, so the first condition is satisfied.

The area below the curve is given by:

f(x)dx= (1 −x2)dx

=

= = 1

The second condition is also satisfied, and so f(x) is the probability density function of a random variable X.

Conditions for a probability density function

For f(x) to be a probability density function of a continuous random variable X, we require:

.f(x) 0 for all real numbers x

.the total area under the graph of f(x) is 1, i.e. f(x)dx= 1

−∞ ∞

⌠ ⌡a

b

⌠ ⌡−∞

⌠ ⌡−∞

a

⌠ ⌡a

b

⌠ ⌡a

⌠ ⌡−∞

a

⌠ ⌡a

b

⌠ ⌡b

⌠ ⌡a

b

f x( ) 3 2 ---(1–x2)

0 ⎩ ⎪ ⎨ ⎪ ⎧

= 0≤ ≤x 1

otherwise

0.5

0 1 2

1.5

0.2 0.4 0.6

y

0.8 1 x

y= 3 (1 – x2), 0 ≤ x ≤ 1

2

The shadedarea is one square unit

⌠ ⌡−∞

∞ ⌠

⎮ ⌡0

1

3 2

---3x 2 --- x

3

2 ---–

0 1

3 2 --- 1

2 ---–

(4)

b i From the definition of a probability density function, Pr(0.2 ≤X≤ 0.4) is found by integrating f(x) between 0.2 and 0.4, i.e. it is given by the area below the curve between 0.2 and 0.4. Thus:

Pr(0.2 ≤X≤ 0.4) = (1 −x2)dx

=

= 0.272

ii Pr(0.2 <X< 0.4) = Pr(0.2 ≤X≤ 0.4) as Pr(X= 0.2) = Pr(X = 0.4) = 0. Thus Pr(0.2 <X< 0.4) = 0.272.

iiiPr(X< 0.5) is given by the area under the curve to the left of x= 0.5. As f(x) = 0 for x< 0, this is the same as the area below the graph of between x= 0 and x= 0.5. Hence:

Pr(X< 0.5) = (1 −x2)dx

=

= 0.6875

Discrete versus continuous random variables

It is useful to compare the methods used for discrete and continuous random variables. For any probability distribution, the probabilities cannot be negative and the sum of the probabilities of all possible outcomes is 1. Thus we have the following comparison.

Discrete case Continuous case

Probability function p(x) = Pr(X=x) Probability density function f(x)

p(x) ≥ 0 f(x) ≥ 0

p(x) = 1

f(x)dx= 1 Pr(x1≤Xx2) =∑p(x) for discrete

values of x between x1 and x2 inclusive. Pr(x1≤Xx2) = f(x)dx

⌠ ⎮ ⌡0.2

0.4

3 2

---3x 2 --- x

3

2 ---–

0.2 0.4

y 3 2

---(1–x2) =

⌠ ⎮ ⌡0

0.5

3 2

---3x 2 --- x

3

2 ---–

0 0.5

GC 5.5 CAS 5.5

The probabilities in example 1 part b can be easily found using a graphics calculator, either at the GRAPH screen or at the HOME screen. The screenshots below show the calculations at the HOME screen on the TI-83/84 and TI-89 calculators.

t i p

⌠ ⌡x1

(5)

In the discrete case, we find probabilities by summing (∑); in the continuous case, we find probabilities by integration ( ). The following summarises the key properties of a continuous random variable.

E x a m p l e

2

State whether each of the following functions could represent a probability density function.

a b

S o l u t i o n

a A sketch can assist. From the sketch, f(x) ≥ 0 for all real values of x. Also, the shaded area, A, is given by A= 0.2 × 2 + 0.3 × 2 = 1.

So f(x) could represent a probability density function.

b g(x) ≥ 0 for all real values of x.

If A is the area enclosed by the graph of y=g(x) and the x-axis, then

A= 0.6 × 2 + 0.4 × 1 = 1.6.

So g(x) could not represent a probability density function.

E x a m p l e

3

Show that the following functions are probability density functions.

a , 1 ≤x≤ 3

b , 0 ≤x≤ loge5

⌠ ⌡

Properties of a continuous random variable

If X is a continuous random variable with probability density function f(x), then:

.Pr(X=x) = 0 for any real number x .Pr(x1Xx2) = f(x)dx

.f(x) 0 for all real numbers x

. f(x)dx = 1, or equivalently f(x)dx= 1 if f(x) = 0 for all x<a and for all x>b .Pr(x1Xx2) = Pr(x1<X <x2) = Pr(x1X <x2) = Pr(x1<Xx2).

⌠ ⌡x1

x2

⌠ ⌡−∞

⌠ ⌡a

b

f x( )

0.2 0.3 0 ⎩ ⎪ ⎨ ⎪ ⎧ =

0≤ ≤x 2 2<x≤4 elsewhere

g x( )

0.6 0.4 0 ⎩ ⎪ ⎨ ⎪ ⎧ =

1≤ ≤x 3 3<x≤4 elsewhere

0.1

–0.1 0 0.2 0.3

0.5 1 1.5

y

2 2.5 3 3.5 4 x

t i p

It is understood that each function is zero for all other values of x, even if this is not explicitly stated.

f x( ) 1 6

---(7 2– x) =

g x( ) 1 12 ---e2x =

(6)

S o l u t i o n

a From the graph of y=f(x), f(x) ≥ 0 for all real values of x. Also:

(7 − 2x)dx =

= = 1

So f(x) is a probability density function.

bg(x) > 0 for 0 ≤x≤ loge5, as e2x> 0 for any real number x. Hence g(x) ≥ 0 for all real values

of x. Also:

e2xdx= =

=

= = 1

So g(x) is a probability density function.

E x a m p l e

4

Find the value of k if each of the following is a probability density function.

a b

S o l u t i o n

a First note that f(x) ≥ 0 provided k≥ 0.

Use f(x)dx = 1 to find k.

kx(8 − 3x)dx=k (8x− 3x2)dx

=

=k((16 − 8) − (0)) = 8k

Hence 8k= 1, so k= .

0.2

0 0.4 0.8 1

0.6

y

x

0.5 1 1.5 2 2.5 3 3.5 4

y = 1 (7 – 2x)

6

⌠ ⎮ ⌡1

3

1 6

--- 1

6

---[7x x– 2]13

1 6

---((21 9– )–(7 1– ))

0 1 2

x y

loge.5 (0, 1

12)

y = 1e2x

12

⌠ ⎮ ⌡0

loge5 1 12

--- 1 24 ---[e2x]

0 loge5

1 24

---(e2 loge51)

1 24

---(eloge251)

1 24

---(25 1– )

f x( ) kx(8 3– x) 0

⎩ ⎨ ⎧

= 0≤ ≤x 2

otherwise g x( )

k sin x 0 ⎩ ⎨ ⎧

= x∈[0,π] otherwise

b As sinx≥ 0 for 0 ≤x≤π, then g(x) ≥ 0.

Use g(x)dx = 1 to find k.

ksinx dx=

=−k(−1 − 1) = 2k

Hence 2k= 1, so k= . ⌠

−∞

⌠ ⌡0

π

k[–cos x]0π

1 2 ---⌠

−∞

⌠ ⌡0

2

⌠ ⌡0

2

k[4x2x3] 0 2

(7)

---E x a m p l e

5

Find the value of k if each of the following is a probability density function.

a b

S o l u t i o n

These functions cannot be integrated using the techniques in this course, so we use the integration features of a graphics calculator.

a As sinx> 0 and cosx> 0 for , then f(x) ≥ 0 provided k≥ 0.

Use f(x)dx= 1 to find k.

ksinxcosx dx=k sinxcosx dx

= 0.5k Hence k = 2.

The integrals in both parts a and b are shown in the screenshot to the right.

E x a m p l e

6

A continuous random variable X has its probability density function defined by

, and zero elsewhere. Use integration to find:

a Pr(0.5 <X≤ 1.5) b Pr(X < 1.5) c Pr(X ≥ 0.75) d Pr(X> 2.5)

S o l u t i o n

a Pr(0.5 <X≤ 1.5) = (2 −x)dx

=

= 0.5 f x( ) k sin x cos x 0 x π

2 ---< < ,

= f x( ) k

π(1+x2)

---,0≤ ≤x 1 =

b As the denominator is positive for all values of x, f(x) ≥ 0 provided k≥ 0.

Use f(x)dx= 1 to find k.

=k

= 0.25k Hence k= 4.

⌠ ⌡−∞

0 1

⌠ ⎮ ⌡

k

π(1+x2) ---dx

0 1

⌠ ⎮ ⌡

1 π(1+x2)

---0 x π

2 ---< ---<

⌠ ⌡−∞

⌠ ⌡0

π/2

⌠ ⌡0

π/2

GC 5.5 CAS 5.5

f x( ) = 12---(2–x),0≤ ≤x 2

b Pr(X< 1.5) is the same as Pr(0 ≤X< 1.5), as f(x) = 0 for x< 0.

Pr(0 ≤X< 1.5) = (2 −x)dx

=

= 0.9375 1 2 ---⌠⎮

0

1.5

1 2

--- 2x x2 2 ---–

0 1.5

1 2 ---⌠⎮

0.5

1.5

1 2 --- 2x x

2

2 ---–

0.5 1.5

(8)

c Pr(X≥ 0.75) is the same as Pr(0.75 ≤X≤ 2), as f(x) = 0 for x> 2. (This probability can also be calculated as 1 − Pr(X< 0.75), if that is easier.)

Pr(0.75 ≤X ≤ 2) = (2 −x)dx

=

= 0.3906

E x a m p l e

7

For the continuous random variable X with probability density function

, and zero elsewhere find:

a Pr(1.2 <X≤ 1.9) b Pr(X > 2) c Pr(X ≥ 3)

S o l u t i o n

a Pr(1.2 <X≤ 1.9) = xlogex dx

= 0.2311

b Pr(X > 2) is the same as Pr(2 ≤Xe), as f(x) = 0 for x>e.

Pr(2 ≤X≤ e) = xlogex dx

= 0.6966

c Pr(X≥ 3) = 0 as 3 >e, and f(x) = 0 for x>e.

Answers in parts a and b are shown in the screenshot. The function has been stored in Y1.

exercise

12.1

Where not explicitly stated, it is understood that the probability density function is zero for all real numbers outside the given interval.

1 State whether each of the following functions could represent a probability density function if the function has rule:

a b

2 Show that the following functions are probability density functions.

a b

d Pr(X> 2.5) = 0, as f(x) = 0 for x> 2.

t i p

Phrases such as ‘Use calculus’ or ‘Use integration’ mean you should show your working, e.g. show an appropriate antiderivative. It is not sufficient to just give a calculator-based answer in such cases.

1 2 ---⌠⎮

0.75

2

1 2

--- 2x x2 2 ---–

0.75 2

f x( ) 4

e2+1

---xlogex,1≤ ≤x e

=

t i p

This function cannot be integrated using the techniques in this course so we use the integration feature of a graphics calculator.

GC 5.5 CAS 5.5

4 e2+1 ---⌠⎮

1.2

1.9

4 e2+1 ---⌠⎮

2

e

f x( )

0.4 0.6 0

⎩ ⎪ ⎨ ⎪ ⎧

=

0≤ ≤x 1 1<x≤3 elsewhere

g x( )

0.6 0.4 0

⎩ ⎪ ⎨ ⎪ ⎧

=

3≤ ≤x 4 4<x≤5 elsewhere

f x( ) 1

10

---(9–4x),x∈[0 2, ]

= g x( ) 5

242

---e5x,0< <x loge3

(9)

c d

e f

g h

3 Which of the following could be a probability density function? Give reasons for your answer in each case.

a b

c

4 Find the value of k if each of the following is a probability density function.

a b

c d

e f

g h

5 Find the value of k if each of the following is a probability density function. You will need to use a graphics calculator for each part of this question.

a b

c d

e f

6 A continuous random variable X has its probability density function defined by . Use integration to find:

a Pr(0.6 <X≤ 1.7) b Pr(X≤ 2.5) c Pr(X> 0.6) d Pr(X> 3.2)

7 For the continuous random variable X with probability density function , find:

a Pr(2 < X≤ 4) b Pr(X≤ 5.4) c Pr(X≥ 4.6) d

8 For the continuous random variable X with probability density function , find:

a Pr(2.4 ≤X< 4.2) b Pr(X< 4.4) c Pr(X> 3.2) d 9 A continuous random variable X has probability density function defined by

. Find:

a Pr(2.5 <X≤ 4.5) b Pr(X> 3.2) c Pr(X≤ 1.9) d Pr(X≤ 4.8)

f x( )

36

---(2x+3),1≤ ≤x 5

= f x( ) 2 cos 2x 0 x π

6

---< ---< ,

=

f x( ) 3

74

---x x( +1),2≤ ≤x 4

= f x( ) 2 sinx π

4

--- x π

2

---≤ ---≤ ,

=

f x( ) 6

41

---(x2–3x),4≤ ≤x 5

= g x( ) 24

7

---e–3x,0≤ ≤x loge2

=

f x( ) 6x–2

0

⎩ ⎨ ⎧

= 0< <x 1

elsewhere f x( )

6x–2 0

⎩ ⎨ ⎧

= 1< <x 2

elsewhere

f x( ) 2–6x

0 ⎩ ⎨ ⎧ = 1 3 ---– < <x 0 elsewhere

f x( ) = k(12–5x),0≤ ≤x 2 g x( ) kcos 2x 0 x π

4

---≤ ---≤ ,

=

f x( ) = kx(9–2x),x∈(1, 4) g x( ) = ke2x,0≤ ≤x loge7

f x( ) = kx(4x+3),x∈(0 5, ) g x( ) ksin 3x 0 x π

6

---≤ ---≤ ,

=

f x( ) = k(3x2+2x+1),x∈[0 2, ] g x( ) = ke–4x,0≤ ≤x loge2

f x( ) ksin 2xcos 2x 0 x π

4

---≤ ---≤ ,

= f x( ) k

π(9+x2)

---,0≤ ≤x 3

=

f x( ) = klogex x, ∈(1,e) f x( ) k

3 cos2x

--- 0 x π

6

---≤ ---≤ ,

=

f x( ) kxsinx 0 x π

2

---< ---< ,

= f x( ) ksinx

cos3x

--- 0 x π

3

---≤ ---≤ ,

=

f x( ) 1

12

---(7–2x),0≤ ≤x 3

=

f x( ) 1

65

---(27–4x),1≤ ≤x 6

=

Pr(X< 37)

f x( ) 2

93

---(3x+5),2≤ ≤x 5

=

Pr(X≥ 3)

f x( ) 1

51

---x(16–3x),2≤ ≤x 5

=

(10)

10 For the continuous random variable X with probability density function

, find the exact value of:

a b c

11 For the continuous random variable X with probability density function , find the exact value of:

a b c

12 A continuous random variable X has its probability density function defined by . Find the exact value of:

a Pr(loge2 < X≤ loge3) b Pr(X> 1) c Pr(X≤ 0.5)

13 For the continuous random variable X with probability density function , find the exact value of:

a b

14 A continuous random variable X has probability density function defined by . Find:

a Pr(X≤ 1.8) b Pr(X> 0.8)

15 For the continuous random variable X with probability density function , find:

a Pr(1.7 ≤X< 2.7) b Pr(X≥ 1.5) c

16 A continuous random variable X has its probability density function defined by . Find:

a Pr(0.1 <X≤ 0.5) b Pr(X> 0.16)

E x a m p l e

8

For the function f(x) =ce−0.2x for x≥ 0, and zero elsewhere, find the value of c for which f(x) is a probability density function.

S o l u t i o n

As e−0.2x> 0 for all values of x, then f(x) ≥ 0 if c> 0. Use ce−0.2xdx= 1 to find c. ce−0.2xdx=

=−5c(e−∞ −e0) =−5c(0 − 1) = 5c

Hence 5c= 1, so c= 0.2.

f x( ) 1

2

---sinx,0≤ ≤x π

=

Pr π 6

--- X π

2

---< ≤ ⎝ ⎠

⎛ ⎞ Pr X

4

---< ⎝ ⎠

⎛ ⎞ Pr X π

3

---≥ ⎝ ⎠ ⎛ ⎞

f x( ) cosx 0 x π

2

---≤ ---≤ ,

=

Pr π 6

--- X π

4

---< ≤ ⎝ ⎠

⎛ ⎞ Pr X π

3

---≥ ⎝ ⎠

⎛ ⎞ Pr X π

6

---< ⎝ ⎠ ⎛ ⎞

f x( ) 1

3

---ex,0≤ ≤x loge4

=

f x( ) 2 x2

---,1≤ ≤x 2

=

Pr X 11 2

---≤ ⎝ ⎠

⎛ ⎞ Pr X 11 4

---≤ ⎝ ⎠ ⎛ ⎞

f x( ) 1

π

---xsinx,0≤ ≤x π

=

f x( ) = logex x, ∈(1,e)

Pr(X< e)

f x( ) 3

3 cos2x

--- 0 x π

6

---≤ ---≤ ,

=

⌠ ⌡0

⌠ ⌡0

c

0.2 –

---e–0.2x

0

(11)

The second and third lines in the solution need some explanation. When we substitute ∞ (think of this as an immeasurably large number) the index becomes −∞ and then e−∞= 0. Alternatively, think of this step as asking about the behaviour of e−0.2x as x→∞. The graph of y=e−0.2x has the x-axis as horizontal asymptote, i.e. as x→∞, e−0.2x→ 0, so the limit is 0.

E x a m p l e

9

A continuous random variable X has probability density function defined by

, and zero elsewhere. Find:

a b c

S o l u t i o n

The screenshot shows the results for the first two parts. Hence the answers are:

a

b

c =

= (since )

= 0.6340

CAS 5.5

t i p

The TI-89 can help with an ‘infinite’ integral. The screenshot below shows the result for the integral in example 8.

f x( ) 1 3 sin2x --- π

6 --- x π

2 ---≤ ---≤ , =

Pr X π 4 ---<

⎝ ⎠

⎛ ⎞ Pr X π

3 ---≤

⎝ ⎠

⎛ ⎞ Pr X π

4

---< X π

3 ---≤ ⎝ ⎠ ⎛ ⎞ ⎝ ⎠ ⎛ ⎞ GC 5.5 CAS 5.5

Pr X π 4 ---<

⎝ ⎠

⎛ ⎞ = 0.4226

Pr X π 3 ---≤

⎝ ⎠

⎛ ⎞ 2

3 ---=

Pr X π 4 ---< X π

3 ---≤

⎝ ⎠

⎛ ⎞ Pr X

π 4

---< X π

3 ---≤ ∩ ⎝ ⎠ ⎛ ⎞

Pr X π 3 ---≤ ⎝ ⎠ ⎛ ⎞

---Pr X π 4 ---<

⎝ ⎠

⎛ ⎞

Pr X π 3 ---≤

⎝ ⎠

⎛ ⎞

--- X π

4

---<

⎝ ⎠

⎛ ⎞ X π

3 ---≤ ⎝ ⎠ ⎛ ⎞ ⊂

t i p

Note that the calculation in part c was made using all of the digits given by the calculator for part a rather than the answer given. If that answer was used we would get 0.6339. This is an important principle—you should always use the most accurate answer available in subsequent parts of the question even if the earlier answer is requested to be given to a particular number of decimal places.

(12)

exercise

12.1

17 A continuous random variable X has probability density function:

a Find the value of k.

b Find exactly:

i Pr(X≤ 2) ii Pr(X≥ 2|X= 3)

18 A continuous random variable X has probability density function defined by and zero elsewhere. Find the exact value of:

a Pr(X≥ 5) b Pr(X> 3) c Pr(X≥ 5|X> 3)

19 For the continuous random variable X with probability density function and zero elsewhere, find the exact value of:

a Pr(X≤ 4) b Pr(X< 3) c Pr(X< 3|X≤ 4)

20 A continuous random variable x has probability density function defined by and zero elsewhere. Find, correct to 4 decimal

places, the values of:

a Pr(0.5 <X≤ 1) b Pr(0.3 <X≤ 1.2) c Pr(0.5 <X≤ 1|0.3 <X≤ 1.2)

21 A continuous random variable X has probability density function:

a Verify that f(x) is a valid probability density function.

b Find the exact values of:

i Pr(X> 1) ii Pr(−2 < X< 2) iii Pr(X< loge2)

continued

f x( ) k x2

---0

⎩ ⎪ ⎨ ⎪ ⎧

= x≥1

elsewhere

f x( ) 1

56

---(15–2x),0≤ ≤x 7

=

f x( ) 1

144

---x(20–3x),0≤ ≤x 6

=

f x( ) 1

4 loge4–3

---xex,0≤ ≤x loge4

=

f x( ) 2e

2x

0

⎩ ⎨ ⎧

= x≥0

elsewhere

Number

sense with the spence

96

For five and a half years, Australia's first prime time soap opera, Number 96, commanded the attention of TV viewers with its unique blend of sex, suspense and sit-com.
(13)

Statistics of continuous

random variables

The important statistics for any random variable are the mean, the median, the mode, the

variance and the standard deviation. The mean, median and mode provide a picture of the distribution of the random variable by giving measures of the central tendency of the distribution. The standard deviation, which is the square root of the variance, is a measure of the spread of the distribution.

Mean, median and mode

The mean

The mean, μ, is defined by μ= E(X), the expected value of X. Recall that the expected value of X for a discrete random variable is defined by:

μ= E(X) =Σx Pr(X= x) = ∑xp(x).

The equivalent statement for a continuous random variable is as follows:

The median

The median is the halfway mark of the population. For a continuous random variable,

the median is the value m such that Pr(Xm) = .

The mode

The mode is the most common value. For a continuous random variable, this will be the value

M such that f(M) ≥f(x) for all values of x.

There can be more than one mode. The mode occurs at the value(s) of x for which the probability density function, f(x), is a maximum. This can be found by using the derivative of

f(x) (by solving f′(x) = 0) or by graphing y=f(x) and using the graph to find the maximum. The method used will depend on the probability density function and the wording of the question.

Variance and standard deviation

Variance, σ2= var(X), is a measure of the deviation from the mean or average. Recall that the variance of X for a discrete random variable is defined by:

var(X) = E[(X−μ)2] = E(X2) −μ2 =∑x2p(x) −μ2. μ=E(X) = xf(x)dx

In general, E[g(X)] = g(x)f(x)dx

−∞

⌠ ⌡−∞

1 2

---To find m solve:

f(x)dx= , where a is the minimum value of X. ⌠

a

m 1

2

---12.2

12 . 2

(14)

The equivalent statement for a continuous probability distribution is:

The standard deviation of X is given by .

E x a m p l e

1

For the continuous random variable with probability density function , and zero elsewhere, find the:

a mean. b median. c mode. d variance. e standard deviation.

S o l u t i o n

a μ= x

=

=

b For the median m, we require f(x)dx= .

=

=

=

= 0

= 0

Using the quadratic formula, we get . However, since 2 <m< 4, the solution

is , correct to 3 decimal places.

(Note: In many cases the equation involving m will need to be solved numerically; an exact value may not be possible to find. See the tip at the end of this example on how to do this with a graphics calculator.)

c For the mode, we require the value M that gives the maximum value of f(x). As the graph of f(x) is a straight line and therefore has no stationary points, the maximum value occurs at an endpoint. Hence M= 2.

var(X) =σ2

= E[(X−μ)2] = (x−μ)2f(x)dx

= x2f(x)dx−μ2

⌠ ⌡−∞

⌠ ⌡−∞

sd( )X = σ = var( )X

f x( ) 2 1 2 ---x

– ,2≤ ≤x 4 =

⌠ ⎮ ⌡2

4

2 1 2 ---x

⎝ ⎠

⎛ ⎞dx

x2 1 6 ---x3 –

2 4

8 3

---GC 2.4, 5.5 CAS 2.4, 5.5

t i p

An approximate value for the median can be found graphically as follows.

[2, 4] by [0, 10]

⌠ ⌡2

m 1

2 ---⌠

⎮ ⌡2

m

2 1 2 ---x

⎝ ⎠

⎛ ⎞dx 1

2

---2x 1 4 ---x2 –

2

m 1

2

---2m 1 4 ---m2

– –(4 1– ) 1 2

---1 4

---m2–2m 31 2 ---+

m2–8m+14

m = 4 ± 2 m = 4– 2 = 2.586

0 0.5

y

x

1 2 3 4

y = 2 – 1 x, 2 ≤x≤ 4

(15)

d σ2= (using x2f(x)dx − μ2)

=

=

=

=

=

e sd(X) =

=

E x a m p l e

2

A continuous random variable has probability density function and zero elsewhere. Find the:

a mean and variance. b exact value of the median. c exact value of the mode. ⌠

⌡2 4

x2 2 1 2 ---x

⎝ ⎠

⎛ ⎞ x 8

3 ---⎝ ⎠ ⎛ ⎞2 –

d

−∞ ∞

⌠ ⌡2

4

2x2 1 2 ---x3 –

⎝ ⎠

⎛ ⎞ x 64

9 ---– d

2 3 ---x3 1

8 ---x4 –

2 4

64 9 ---–

128 3 ---–32

⎝ ⎠

⎛ ⎞ 16

3 ---–2

⎝ ⎠

⎛ ⎞

– 64

9 ---–

22 3 --- 64

9 ---–

2 9

---var( )X 2 3

---GC 5.5, 7.1 CAS 5.5, 7.1, 10.2

The integrals in parts a and d of example 1 can be done using a graphics calculator. Finding the median m in part b can also be done on a graphics calculator. On a TI-83/84, with the function entered as Y1, we can use a combination of the fnInt command and the Solver. Enter the equation as shown in the screenshot at the left (as the equation in the Solver must be set to zero, we subtract from the integral). Press ENTER, guess a value for M (e.g. 3) and then SOLVE. The screenshot on the right shows that the median is 2.586, correct to 3 decimal places, as before.

On a TI-89, the exact value of m can be found using a combination of the integrate and solve commands as shown in the screenshot at the right. We still have to choose the correct value for m, however.

1 2

---t i p

f x( ) sinx 0 x π 2 ---≤ ---≤ , =

(16)

S o l u t i o n

a We use a graphics calculator as shown in the tip below.

μ= xsinx dx

= 1

For the variance, we can use the formula var(X) = (x−μ)2f(x)dx rather than the more

usual computational formula, since the integration feature of a graphics calculator can handle this as easily.

var(X) = (x−μ)2f(x)dx

= (x− 1)2sinx dx

= 0.1416 correct to 4 decimal places

b For the median m, we require f(x)dx= 0.5.

sinx dx= 0.5 = 0.5 −cosm+ cos 0 = 0.5

cosm= 0.5 (as cos 0 = 1) m=

c For the mode, we require the value M that gives the maximum value of f(x). As sinx is a

maximum at , then .

E x a m p l e

3

For the continuous random variable with probability density function

, and zero elsewhere, find:

a the mean. b the median. c the mode.

d the exact value of the standard deviation.

S o l u t i o n

a We can use integration as previously, to find the mean μ:

μ= x(2 −x)dx

= 1 ⌠ ⌡0

π/2

⌠ ⌡−∞

⌠ ⌡−∞

⌠ ⌡0

π/2

GC 5.5 CAS 5.5

The integrals required cannot be found using techniques in this course, so they are evaluated using the integration feature of a graphics calculator. Notice that on the TI-89, the exact value of the variance can be found.

t i p

⌠ ⌡0

m

⌠ ⌡0

m

cos x

[ ]0m

π 3

---x π 2

---= M π

2 ---=

f x( ) 3 4

---x(2–x),0≤ ≤x 2 =

3 4 ---⌠⎮

0

(17)

However, note that the graph of y=f(x) for 0 ≤x≤ 2 is part of a parabola, symmetrical about x= 1. If a probability distribution function is symmetrical, as in this case, it can be shown that the mean μ is the x-value corresponding to the line of symmetry. So we can say: ‘By symmetry, μ = 1’.

b The median can also be found using the symmetry of the parabola and is m= 1.

c The value M that gives the maximum value of f(x) can also be found using the symmetry of the parabola and so M= 1.

d σ2= x3(2 −x)dx − 12 (using σ2= x2f(x)dx − μ2)

= (2x3−x4)dx − 1

=

=

= σ=

E x a m p l e

4

A continuous random variable has its probability density function defined by

, and zero elsewhere.

a Find the exact value of the mean.

b Find the exact value of the mode.

c Without calculating the median, show that it lies between the mean and the mode.

d Find the median correct to 4 decimal places.

S o l u t i o n

a μ= x2(9 −x2)dx

=

=

=

= = 1.6

0

y

x

1 2

3 4

3 4 ---⌠⎮

0

2

⌠ ⌡−∞

3 4 ---⌠⎮

0

2

3 4 --- x4

2 --- x5

5 ---–

0 2

1 –

3 4 --- 8 32

5 ---–

⎝ ⎠

⎛ ⎞1

1 5

---1 5

---f x( ) = 81---4x(9–x2),0≤ ≤x 3

b The value M that gives the maximum value of f(x) can be found using calculus.

f(x) =

f′(x) =

9 − 3x2= 0 (f′(x) = 0 at a maximum) x2= 3

x= ± But x> 0, so x= .

Hence the mode .

4 81

---(9x x– 3)

4 81

---(9 3– x2)

3 3 M = 3 4

81 ---⌠⎮

0

3

4 81

--- 3x3 1 5 ---x5 –

0 3

4 81

--- 81 243 5 ---–

⎝ ⎠

⎛ ⎞

4 1 3 5 ---–

⎝ ⎠

⎛ ⎞

8 5

(18)

c First observe that the mean μ is 1.6 and the mode M is , so the mean is less than the mode. As the median m is the halfway mark, then for μ<m<M to be true, the probability that X is below the mean would be less than 0.5, while the probability that X is below the mode would be more than 0.5. So we calculate these probabilities:

Pr(X< μ) = x(9 −x2)dx

= 0.488 correct to 3 decimal places

Pr(X<M) = x(9 −x2)dx

= 0.556 correct to 3 decimal places

Hence the median is indeed between the mean and the median.

d To find the median, we need to solve for m:

x(9 −x2)dx = 0.5

We could integrate this and simplify the result to give the following equation in m: m4− 18m2+ 40.5 = 0

This equation could be solved graphically or with a solver.

Alternatively, we can use a combination of the integration and solving features of a graphics calculator to find an approximate value of m in one step as shown in the tip after example 1 earlier. The screenshots below show this approach on the TI-83/84 and the TI-89.

E x a m p l e

5

Find the exact values of the mode and the median for the random variable X with probability density function:

S o l u t i o n

The graph of y=f(x) is part of a truncus, which approaches the x-axis as x approaches ∞. The maximum point on the graph is at (0, 1) as shown in the screenshot at the right, so the mode M= 0.

GC 5.5 CAS 5.5

3 ≈1.732

4 81 ---⌠⎮

0

8/5

4 81 ---⌠⎮

0

3

4 81 ---⌠⎮

0

m

t i p

Note that in the TI-89 screenshot on the right, adding the condition 0 <m< 3 means that just one solution for m is provided. If the condition is omitted, additional values of m are given, and you must choose the correct one.

f x( )

1 x+1

( )2

---0 ⎩ ⎪ ⎨ ⎪ ⎧

= x≥0

elsewhere

[0, 5] by [0, 1.5]

(19)

For the median, we need to solve for m:

=

=

=

=

m= 1 So the median m= 1.

exercise

12.2

Where necessary, assume that the given probability density function is zero for all real numbers outside the given interval.

1 For the continuous random variable X with probability density function ,

find the exact value of the:

a mean. b median. c mode.

d variance. e standard deviation.

2 A continuous random variable X has its probability density function defined by . Find the:

a mean. b median. c mode. d variance.

3 For the continuous random variable X with probability density function , find the exact values of the:

a mean. b median. c mode. d standard deviation.

4 A continuous random variable X has its probability density function defined by . Find the:

a mean. b median. c mode. d variance.

5 For the continuous random variable X with probability density function , find the:

a mean. b median. c mode. d standard deviation.

6 For the continuous random variable X with probability density function , find the exact values of the:

a mean. b median. c mode. d variance.

1 2 3 4

x y

0.2 0.4 0.6 0.8 1

mode median

Area = 0.5

Area = 0.5

0

y = , x ≥ 0

(x+ 1)2

1

⌠ ⎮ ⌡0

m

1 x+1

( )2

---dx 1 2

---1 x+1 ---–

0

m 1

2

---1 m+1

---– +1 1

2

---1 m+1 --- 1

2

---f x( ) = 2x,0≤ ≤x 1

f x( ) 2

21

---(6–x),1≤ ≤x 4

=

f x( ) 1

12

---(2x+1),0≤ ≤x 3

=

f x( ) cos x 0 x π

2

---≤ ---≤ ,

=

f x( ) 1

2

---sinx,0≤ ≤x π

=

f x( ) 3

32

---x(4–x),0≤ ≤x 4

=

(20)

7 A continuous random variable X has the probability density function defined by . Find the exact values of the:

a mean. b median. c mode. d variance.

8 A continuous random variable X has the probability density function defined by . Find the :

a exact value of the mean. b median.

c exact value of the mode. d exact value of the standard deviation.

9 For the continuous random variable X with probability density function , find the exact value of the:

a mean. b median. c mode.

10 A continuous random variable X has its probability density function defined by . Find the:

a mean. b median. c mode. d standard deviation.

11 For the continuous random variable X with probability density function , find the:

a exact value of the mode. b exact value of the median.

12 A continuous random variable X has its probability density function defined by . Find the:

a mean. b median. c mode. d variance.

13 A continuous random variable has probability density function

a Find k.

b Find the exact value of the mean.

c Find the exact value of the mode.

d Show that the median lies between the mean and the mode.

e Find the median, correct to 3 decimal places.

f Find the exact value of the standard deviation.

14 The probability density function of the continuous random variable X is given by .

a Sketch the graph of y=f(x) and hence find the value of k.

b Find without using calculus.

c Write down the values of the

i mean ii median iii mode.

d Find the exact value of the standard deviation.

f x( ) 2

9

---x(3–x),0≤ ≤x 3

=

f x( ) 1

108

---x2(6–x),0≤ ≤x 6

=

f x( ) 1 x

---,1≤ ≤x e

=

f x( ) 1

2

---ex,0≤ ≤x loge3

=

f x( ) = 0.5e–0.5x,x≥0

f x( ) 3

π(1+x2)

---,0≤ ≤x 3

=

f x( ) kx

2 1–x

( )

0

⎩ ⎨ ⎧

= 0≤ ≤x 1

elsewhere

f x( ) = k(1– x),–1≤ ≤x 1

Pr X 1

2

(21)

12.2Size does matter

CD

SAC analysis task

12.1Time for a sleep

CD

SAC analysis task

The time, X seconds, for a fast-acting anaesthetic to put a patient to sleep is a continuous

random variable with a probability density function , and zero

elsewhere.

a Use calculus to show that .

b Find the average time in seconds which the anaesthetic takes to put a patient to sleep.

c Find the median of the probability density function correct to 4 decimal places.

d Find the most common time, in seconds, that the anaesthetic takes to put a patient to sleep.

e Calculate the standard deviation.

f Find the probability, correct to 3 decimal places, that a patient will be put to sleep within one standard deviation of the mean.

f x( ) = k(8xx2),1≤ ≤x 8

k 3

245 ---=

analysis task 1—

time for a sleep

SAC

The length, X centimetres, of the wings of a Goliath moth has been found to have a

probability density function , and zero elsewhere.

Part 1

a Use calculus to show that .

b Find the average length of the wings of a Goliath moth in centimetres.

Part 2

c Fifty per cent of Goliath moths have wings longer than m centimetres. Find the value of m, giving your answer correct to 4 decimal places.

d Find the most common length of the wings of a Goliath moth.

Part 3

e Calculate the exact value of the variance of the probability density function.

f Calculate the exact value of the standard deviation in the form .

Extension

The speed with which Goliath moths can fly is determined by the length of their wings. If the length of their wings is less than 3 centimetres, they are unable to fly quickly enough to avoid being eaten by the David sparrow, a predator that has recently been introduced to their region.

g What percentage of the Goliath moth population will survive the introduction of the David sparrow?

h What percentage of the Goliath moth population that survives the introduction of the David sparrow has wings longer than 5 centimetres?

i What percentage of the Goliath moth population that survives the introduction of the David sparrow has wings shorter than 4 centimetres?

f x( ) = k(6x2–x3),2≤ ≤x 6

k 1

96 ---=

a b c

---analysis task 2—

size does matter

SAC

(22)

Applications of continuous

random variables

There are numerous situations where a continuous random variable can be used to calculate probabilities, to make predictions or plan for future eventualities. These predictions may relate to situations involving various quantities such as mass, length, area, volume, and time. We can use the techniques we have learned with regard to properties of continuous random variables to determine the probabilities of specified events occurring or to find important statistics such as the mean and the standard deviation.

E x a m p l e

1

The duration, t minutes, of telephone calls from a particular phone is a continuous random variable with probability density function , and zero elsewhere. Find, correct to 4 decimal places, the probability that a telephone call has a duration of

a exactly 5 minutes. b between 2 and 5 minutes. c at least 8 minutes.

S o l u t i o n

a Pr(T= 5) = 0 as Pr(T= 5) = (t)dt= 0

b Pr(2 <T< 5) =

= 0.3021

c Pr(T≥ 8) = Pr(8 ≤T≤ 12), since f(t) = 0 for t> 12. So:

Pr(T≥ 8) =

= 0.2593

E x a m p l e

2

The temperature, X degrees Celsius, inside a refrigerator has been found to have a

probability density function , and zero elsewhere.

a Find the value of k.

b Find the probability that the temperature inside the refrigerator is above 5°C.

c Calculate the average temperature inside the refrigerator correct to 2 decimal places.

S o l u t i o n

a We know that .

We use a graphics calculator to evaluate:

So k= 8.

f t( ) 1 288

---t(12–t),0≤ ≤t 12 =

GC 5.5 CAS 5.5

t i p

The probabilities in parts b and c can be evaluated with a graphics calculator as shown.

⌠ ⌡5

5

⌠ ⎮ ⌡2

5

1 288

---t(12–t)dt

⌠ ⎮ ⌡8

12

1 288

---t(12–t)dt

f x( ) 1 k(π–2) ---xcosx

4

---,0≤ ≤x 2π =

GC 5.5 CAS 5.5

1 k(π–2) ---⌠⎮

0

xcosx

4

---dx = 1

1 π–2

( )

---⌠⎮ ⌡0

xcosx

4

---dx = 8

12 . 3

(23)

bPr(X> 5) =

= 0.1213

c μ=

= 3.28

The average temperature is 3.28°C.

With the function entered as Y1, the calculations in parts b and c are shown in the screenshot on the right.

E x a m p l e

3

The waiting time, X hours, for the next customer to arrive in a shop is known to have a probability density function f(x) =αe−αx, x≥0, and zero elsewhere, where α is a constant.

a Use calculus to show that f(x) is a probability density function for any value of α > 0.

It can be shown that for this random variable X, and .

b If α= 10, calculate:

i the probability that the waiting time is longer than 12 minutes.

ii the average waiting time in minutes.

iiithe standard deviation of the waiting time in minutes.

ivthe probability that the waiting time is within two standard deviations of the mean.

S o l u t i o n

a If f(x) is a probability density function, we require f(x) ≥ 0 and f(x)dx= 1. As e−αx> 0 for all real values of x, it follows that α must be positive. Now check the integral:

αe−αxdx =

=−e−∞− (−1) (for any value of α > 0) = 0 − (−1)

= 1

b i First convert 12 minutes to 0.2 hours.

Pr(X> 0.2) = 10e−10xdx

=

= 0 +e−2

= 0.1353 Alternatively, we could calculate

Pr(X> 0.2) = 1 − Pr(X< 0.2) = 1 − 10e−10xdx

=

= 1 − (−e−2+ 1) = 0.1353 1

8(π–2) ---⌠⎮

5 xcos x 4 ---dx

1 8(π–2) ---⌠⎮

0

x2cosx 4 ---dx

E( )X 1

α

---= E( )X2 2

α2

---=

⌠ ⌡−∞

⌠ ⌡0

e–αx

[ ]0

ii

So the average waiting time is hour, or 6 minutes.

iii σ2= E(X2) −μ2

=

=

So σ= .

The standard deviation of the waiting time is hour, or 6 minutes. μ E( )X α---1 1

10

---= = =

1 10

---2 102 --- 1

102 ---–

1 102

---1 10

---1 10 ---⌠

⌡0.2

e–10x

[ ]0.2

⌠ ⌡0

0.2

1 [–e–10x]0 0.2

(24)

iv Pr(μ− 2σ≤X ≤μ+ 2σ) = Pr(−0.1 ≤X≤ 0.3)

= Pr(0 ≤X ≤ 0.3) (as f(x) = 0 for x< 0) = 10e−10xdx

=

=−e−3+ 1 = 0.9502

E x a m p l e

4

The length X cm of a particular brand of candle is a continuous random variable with

probability density function and zero elsewhere.

Find the probability that a randomly chosen candle has a length:

a greater than 13 cm, given that it is at least 12.5 cm.

b at most 12.8 cm, given that it is less than 13.2 cm.

S o l u t i o n

a Pr(X > 13|X ≥ 12.5) =

= (since (X > 13) ⊂ (X≥ 12.5))

= (since f(x) = 0 for x> 13.5) = 0.2565

b Pr(X≤ 12.8|X< 13.2) =

=

= 0.8073

The screenshot at right shows the calculations in each part, using the fnInt command, with the function in Y1.

exercise

12.3

1 The volume X millilitres per bottle of a particular perfume is a continuous random

variable with probability density function and zero elsewhere.

Find the probability that a randomly chosen bottle has a volume of:

a exactly 8.6 millilitres. b between 8.55 and 8.75 millilitres.

c more than 8.6 millilitres.

2 The length, X millimetres, of a particular brand of matchstick is a continuous random

variable with probability density function and zero

elsewhere. Find the probability that a randomly chosen matchstick has a length of:

a at least 34 millimetres. b between 31 and 32.5 millimetres.

c at most 32 millimetres.

⌠ ⌡0

0.3

e–10x

[ ]0

0.3

f x( ) 8 225

---x(27 2– x),12≤ ≤x 13.5 =

Pr((X>13)∩(X≥12.5)) Pr(X≥12.5)

--- using Pr(A B) Pr(AB)

Pr( )B ---=

⎝ ⎠

⎛ ⎞

Pr(X>13) Pr(X≥12.5)

---Pr 13( ≤ ≤X 13.5) Pr 12.5( ≤ ≤X 13.5)

---Pr((X≤12.8)∩(X<13.2)) Pr(X<13.2)

---Pr(X≤12.8) Pr(X<13.2)

---GC 5.5 CAS 5.5

12.3W

aiting time

CD

TA

I

f x( ) 8

5

---(10–x),8.5≤ ≤x 9

=

f x( ) 2

279

---x(33–x),30≤ ≤x 33

(25)

3 The duration, T minutes, of commercial breaks in prime time on a particular television station is a continuous random variable with probability density function

and zero elsewhere. Find the probability that a

commercial break has a duration of:

a more than 5 minutes. b between 4 and 5 minutes. c exactly 4.5 minutes.

4 The area, X cm2, of a particular brand of tile is a continuous random variable with

probability density function and zero elsewhere. Find the

probability that a randomly chosen tile has an area of:

a at least 25.1 cm2. b between 25.5 and 26.8 cm2. c less than 25 cm2.

5 The volume, X millilitres, of liqueur in the small bottles of a particular brand is labelled as 30 mL and is known to have a probability density function f(x) =k, 29.4 ≤x≤ 30.9, and zero elsewhere.

a Find the value of k.

b Find the probability that a bottle has a volume not less than that shown on the label.

c State the value of the median.

d Calculate the average volume of liqueur in the bottles.

e Calculate the exact value of the standard deviation.

f Find the exact probability that the volume is within one standard deviation of the mean.

6 The mass, X kilograms, of sugar sold in bags labelled as 2 kg is known to have a probability density function f(x) =k(5x+ 3), 1.95 ≤x≤ 2.15 and zero elsewhere.

a Find the value of k.

b Calculate the percentage of bags of sugar with a mass not less than that shown on the label. Give your answer correct to 1 decimal place.

c Find the value of the median correct to the nearest gram.

d Calculate the average mass of the bags of sugar, correct to the nearest gram.

e Calculate the value of the standard deviation.

7 The length, X millimetres, of the whiskers of a type of rat has been found to have a

probability density function and zero elsewhere.

a Find the value of k.

b Find the probability that a rat has whiskers shorter than 1.5 mm long.

c Calculate the average length of the whiskers correct to 2 decimal places.

d Calculate the standard deviation correct to 4 decimal places.

e Find the probability that the length of the whiskers is within two standard deviations of the mean.

8 The daily rainfall, X millilitres, in a particular town has been found to have

a probability density function and zero elsewhere.

a Find the value of k.

b Find the most common daily rainfall correct to 2 decimal places.

f t( ) 8

1455

---(3t2+4t),3< <t 5.5

=

f x( ) 3

154

---(27xx2),25< <x 27

=

f x( ) k

π–2

---xcosx 2

---,0≤ ≤x π

=

f x( ) 1 kπ

---xsinx 6

---,0≤ ≤x

=

(26)

c Calculate the average daily rainfall correct to 2 decimal places.

d Calculate the standard deviation correct to 4 decimal places.

e Find the probability that the daily rainfall is within two standard deviations of the mean.

9 The waiting time T hours in a doctor’s surgery has been found to have a probability density function f(t) = 6e−6t, t≥ 0, and zero elsewhere.

a Find the average waiting time in minutes (see example 3 in this section).

b Calculate the probability that the waiting time is shorter than 5 minutes.

c Calculate the exact value of the median waiting time in the form .

d Find the standard deviation of the waiting time (see example 3 in this section).

e Find the probability that the waiting time is within two standard deviations of the mean.

10 The mass X kilograms of prawns caught in a net by a fishing trawler has been found to

have a probability density function , and zero elsewhere.

a Find the value of k.

b Calculate the probability that the mass of prawns caught is greater than 2 kilograms.

c Find the exact average mass of prawns caught.

d Use calculus to calculate exactly the most common value for the mass of prawns caught.

e Calculate the exact value of the standard deviation in the form .

f Find the probability that the mass of prawns caught is within two standard deviations of the mean.

11 The height, X m, of a particular brand of basketball pole is a continuous random

variable with probability density function , and zero

elsewhere. Find the probability that a randomly chosen pole has a length:

a greater than 3.3 m, given that it is at least 3.2 m.

b at most 3.25 m, given that it is less than 3.36 m.

12 The mass, X kg, of bags of a particular brand of sugar is a continuous random variable

with probability density function , and zero

elsewhere. A bag is rejected if its mass is less than 1 kg. What is the probability that a randomly chosen bag is accepted if its mass is greater than 0.98 kg?

13 The volume, X millilitres, per bottle of a particular brand of liqueur is a continuous

random variable with probability density function ,

and zero elsewhere. A bottle is rejected if its volume is less than 18.8 millilitres. What is the probability that a randomly chosen bottle is accepted, if its volume is greater than 18.6 millilitres?

14 The time, T seconds, for an electrical component to respond to a stimulus is a continuous

random variable with probability density function ,

and zero elsewhere. A component is rejected if it takes more than 0.25 seconds to respond. What is the probability that a randomly chosen component is rejected, if it has a response time of less than 0.27 seconds?

1

a

---logeb

f x( ) 1 k

---(16xx3),0≤ ≤x 4

=

a b c

---f x( ) 5

6

---(17–4x),3.1≤ ≤x 3.4

=

f x( ) 80

9

---x(11–10x),0.95≤ ≤x 1.1

=

f x( ) 8

171

---(20xx2),18.5≤ ≤x 20

=

f t( ) 500

253

---(3t2+2t+2),0.1< <t 0.3

(27)

15 The time T days between breakdowns of a sensitive piece of electronic equipment is a continuous random variable with probability density function f(t) = ce−ct, t≥ 0, and zero otherwise, where c is a constant.

a If Pr(T≤ loge4) = , find c.

b Find, correct to 3 decimal places, the probability that after the equipment is repaired it does not break down again for:

i at least 5 days.

ii at least 10 days if it does break down in the first 5 days.

16 The response time T minutes for a person to react to a stimulus has been found to have a probability density function f(t) =kte−2t, t≥ 0, and zero elsewhere.

a Find the value of k.

b Calculate the probability that the response time is greater than 2 minutes.

c Find the average response time μ minutes.

d Use calculus to calculate the most common value for the response time.

e Find the standard deviation σ minutes.

f Find the probability that the response time is greater than (μ + 2σ) minutes. 1

2

---12.4Giving is a bloody good thing to do

CD

SAC analysis task

When people donate blood to the Blood Bank, 450 millilitres of blood is taken from each person. The rate at which people bleed varies and it takes between 10 and 30 minutes for the desired volume to be collected. The time, T minutes, for a person to donate blood has

been found to have a probability density function

a Use calculus to show that .

b Evaluate the average time, in minutes, for a person to donate blood.

c Find the median time for a person to donate blood, correct to the nearest second.

d Find the most common time, in minutes, that it takes for a person to donate blood.

e Calculate the exact value of the standard deviation in the form .

f What percentage of people will take longer than 25 minutes to donate blood?

g What is the probability that a person takes between 15 and 20 minutes to donate blood?

h What is the probability that a person takes less than 17 minutes, given that the person takes less than 22 minutes to donate blood?

i Find the probability that the time taken to donate blood is within two standard deviations of the mean.

f t( ) k 50t t 2

– –400

( )

0 ⎩ ⎨ ⎧

= 10≤ ≤t 30

elsewhere

k 3

10 000 ---=

a b

analysis task 3—

giving is a bloody good thing to do

SAC

(28)

Chapter review

Summary

Continuous random variables

Let X be a continuous random variable with probability density function (pdf) f(x).

.f(x) ≥ 0 for all real values of x

. f(x)dx= 1

.Pr(X= x) = 0 so Pr(x1 ≤Xx2) = Pr(x1< X< x2) = Pr(x1 ≤X<x2) = Pr(x1<Xx2)

.Pr(x1≤ Xx2) = f(x)dx

Statistics of continuous random variables

.The mean μ= E(X) = f(x)dx.

.The median, m, is the value such that Pr(Xm) = , so we can calculate the median by solving f(x)dx = .

.The mode M occurs at the maximum value of the probability density function, f(x), which can be found by solving f′(x) = 0 or by using the graph of f(x) to find the maximum. There can be more than one mode.

.The variance var(X) = σ2= (x−μ)2f(x)dx= x2f(x)dx− μ2; the standard deviation .

Revision questions

Short answer

1 State whether each of the following functions could represent a probability density function if the function has rule:

a b

2 Sketch the graphs of the following functions and show that they are probability density functions.

a b

3 Find the value of k in each of the following probability density functions.

a b

⌠ ⌡−∞

⌠ ⌡x1

x2

⌠ ⌡−∞

1 2 ---⌠

−∞

m 1

2

---⌠ ⌡−∞

⌠ ⌡−∞

σ = var( )X

f x( )

0.3 0.4 0 ⎩ ⎪ ⎨ ⎪ ⎧ =

0≤ ≤x 2 2<x≤3 elsewhere

g x( )

0.3 0.4 0 ⎩ ⎪ ⎨ ⎪ ⎧ =

2≤ ≤x 3 3<x≤5 elsewhere

f x( )

2 39

---(11–3x)

0 ⎩ ⎪ ⎨ ⎪ ⎧

= 0≤ ≤x 3

elsewhere

g x( )

1 21 ---e3x

0 ⎩ ⎪ ⎨ ⎪ ⎧

= 0≤ ≤x loge4 elsewhere

f x( ) = kx(5x+2),x∈(0 3, ) g x( ) ksin 4x 0 x π

(29)

4 Define the probability density functions with the following graphs and verify that they are indeed probability density functions.

a b

5 The length, X centimetres, of a particular brand of candle is a continuous random variable

with probability density function , and zero elsewhere.

Find the probability that a randomly chosen candle has a length of:

a exactly 27 centimetres. b between 26.4 and 27.6 centimetres.

c at most 27 centimetres.

6 A continuous random variable X has probability density function defined by . Find the:

a exact value of the mean. b exact value of the median.

c exact value of the mode. d variance.

7 A continuous random variable X has probability density function defined by . Find the:

a mean. b exact value of the median.

c mode. d standard deviation.

8 A continuous random variable X has probability density function defined by . Find the exact value of the:

a mean. b mode.

9 For the continuous random variable X with probability density function , and zero elsewhere, find the:

a mean. b median. c exact value of the mode.

10 For the continuous random variable with probability density function , and zero elsewhere, find:

a Pr(1.3 ≤ X< 3.5) b Pr(X≤ 2.8) c Pr(X> 1.7) d 11 For the continuous random variable X with probability density function

f(x) = 3x2, 0 ≤ x≤ 1, and zero elsewhere, find the probability that X lies between the mean and the mode.

12 Consider the function f(x) =kxk− 1, 0 ≤x≤ 1, and zero elsewhere.

a Show that f is the probability density function of a

References

Related documents