FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The...

68
FURTHER APPLICATIONS FURTHER APPLICATIONS OF INTEGRATION OF INTEGRATION 9
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    216
  • download

    1

Transcript of FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The...

Page 1: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

FURTHER APPLICATIONS FURTHER APPLICATIONS OF INTEGRATIONOF INTEGRATION

9

Page 2: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

FURTHER APPLICATIONS OF INTEGRATION

8.5Probability

In this section, we will learn about:

The application of calculus to probability.

Page 3: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY

Calculus plays a role

in the analysis of random

behavior.

Page 4: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY

Suppose we consider any of the

following:

Cholesterol level of a person chosen at random from a certain age group

Height of an adult female chosen at random

Lifetime of a randomly chosen battery of a certain type

Page 5: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

CONTINUOUS RANDOM VARIABLES

Such quantities are called continuous

random variables.

This is because their values actually range over an interval of real numbers—although they might be measured or recorded only to the nearest integer.

Page 6: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY

Given the earlier instances, we might

want to know the probability that:

A blood cholesterol level is greater than 250.

The height of an adult female is between 60 and 70 inches.

The battery we are buying lasts between 100 and 200 hours.

Page 7: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY

If X represents the lifetime of that type

of battery, we denote this last probability

as:

P(100 ≤ X ≤ 200)

Page 8: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY

According to the frequency interpretation of

probability, that number is the long-run

proportion of all batteries of the specified type

whose lifetimes are between 100 and 200

hours.

As it represents a proportion, the probability naturally falls between 0 and 1.

Page 9: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

Every continuous random variable X has

a probability density function f.

This means that the probability that X lies

between a and b is found by integrating f

from a to b:( ) ( )

b

aP a X b f x dx

Equation 1

Page 10: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

Here is the graph of a model for the probability

density function f for a random variable X.

X is defined to be the height in inches of an adult female in the United States.

Page 11: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

The probability that the height of a woman

chosen at random from this population is

between 60 and 70 inches is equal to the area

under the graph of f from 60 to 70.

Page 12: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

In general, the probability density

function f of a random variable X

satisfies the condition f(x) ≥ 0 for all x.

Page 13: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

As probabilities are measured on a scale

from 0 to 1, it follows that:

( ) 1f x dx

Equation 2

Page 14: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

Let f(x) = 0.006x(10 – x) for 0 ≤ x ≤ 10

and f(x) = 0 for all other values of x.

a. Verify that f is a probability density function.

b. Find P(4 ≤ X ≤ 8).

Example 1

Page 15: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

For 0 ≤ x ≤10, we have

0.006x(10 – x) ≤ 0.

So, f(x) ≥ 0 for all x.

Example 1 a

Page 16: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

We also need to check that Equation 2 is

satisfied:

Hence, f is a probabilitydensity function.

10

0

10 2

0

102 313 0

10003

( ) 0.006 (10 )

0.006 (10 )

0.006 5

0.006(500 ) 1

f x dx x x dx

x x dx

x x

Example 1 a

Page 17: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

The probability that X lies between

4 and 8 is:8

4

8 2

4

82 313 4

(4 8) ( )

0.006 (10 )

0.006 5

0.544

P X f x dx

x x dx

x x

Example 1 b

Page 18: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

Phenomena such as waiting times

and equipment failure times are commonly

modeled by exponentially decreasing

probability density functions.

Find the exact form of such a function.

Example 2

Page 19: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

Think of the random variable as being

the time you wait on hold before an agent

of a company you’re telephoning answers

your call.

So, instead of x, let’s use t to represent time, in minutes.

Example 2

Page 20: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

If f is the probability density function and you

call at time t = 0, then, from Definition 1,

The probability that an agent answers within the first two minutes is represented by:

The probability that your call is answered during the fifth minute is represented by:

2

0( )f t dt

5

4( )f t dt

Example 2

Page 21: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

It’s clear that

f(t) = 0 for t < 0

The agent can’t answer before you place the call.

Example 2

Page 22: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

For t > 0, we are told to use an exponentially

decreasing function.

That is, a function of the form f(t) = Ae–c t,

where A and c are positive constants.

Therefore,0 if 0

( )if 0ct

tf t

Ae t

Example 2

Page 23: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

We use Equation 2 to find the value of A:0

0

0

0

0

1 ( ) ( ) ( )

lim

lim

lim (1 )

ct

x ct

x

xct

x

cx

x

f t dt f t dt f t dt

Ae dt

Ae dt

Aec

A Ae

c c

Example 2

Page 24: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

Therefore, A/c = 1, and so A = c.

Thus, every exponential density function

has the form0 if 0

( )if 0ct

tf t

ce t

Example 2

Page 25: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

PROBABILITY DENSITY

A typical graph is shown here.

Page 26: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

AVERAGE VALUES

Suppose you’re waiting for a company to

answer your phone call—and you wonder

how long, on average, you can expect to wait.

Let f(t) be the corresponding density function, where t is measured in minutes.

Then, think of a sample of N people who have called this company.

Page 27: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

AVERAGE VALUES

Most likely, none had to wait over an hour.

So, let’s restrict our attention to the interval

0 ≤ t ≤ 60.

Let’s divide that interval into n intervals of length Δt and endpoints 0, t1, t2, …, t60.

Think of Δt as lasting a minute, half a minute, 10 seconds, or even a second.

Page 28: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

AVERAGE VALUES

The probability that somebody’s call gets

answered during the time period from ti–1 to ti

is the area under the curve y = f(t) from

ti–1 to ti.

This is approximately equal to f( ) Δt. it

Page 29: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

This is the area of the approximating rectangle

in the figure, where is the midpoint of

the interval.

AVERAGE VALUES

it

Page 30: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

AVERAGE VALUES

The long-run proportion of calls

that get answered in the time period

from ti–1 to ti is f( ) Δt.it

Page 31: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

AVERAGE VALUES

So, out of our sample of N callers,

we expect that:

The number whose call was answered in that time period is approximately Nf( ) Δt.

The time that each waited is about .

it

it

Page 32: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

AVERAGE VALUES

Therefore, the total time they waited is

the product of these numbers:

approximately ( )i it Nf t t

Page 33: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

AVERAGE VALUES

Adding over all such intervals, we get

the approximate total of everybody’s

waiting times:

1

( )n

i ii

Nt f t t

Page 34: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

AVERAGE VALUES

Dividing by the number of callers N,

we get the approximate average waiting

time:

We recognize this as a Riemann sum for the function t f(t).

1

( )n

i ii

t f t t

Page 35: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

MEAN WAITING TIME

As the time interval shrinks (that is, Δt → 0

and n → ∞), this Riemann sum approaches

the integral

This integral is called the mean waiting time.

60

0( )t f t dt

Page 36: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

MEAN

In general, the mean of any probability

density function f is defined to be:

It is traditional to denote the mean by the Greek letter μ (mu).

( )

x f x dx

Page 37: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

INTERPRETING MEAN

The mean can be interpreted as:

The long-run average value of the random variable X

A measure of centrality of the probability density function

Page 38: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

EXPRESSING MEAN

The expression for the mean

resembles an integral we have

seen before.

Page 39: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

EXPRESSING MEAN

Suppose R is the region that lies

under the graph of f.

Page 40: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

EXPRESSING MEAN

Then, we know from Formula 8 in Section 8.3

that the x-coordinate of the centroid of R

is:

This is because of Equation 2.

( )( )

( )

x f x dxx x f x dx

f x dx

Page 41: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

EXPRESSING MEAN

Thus, a thin plate in the shape of R

balances at a point on the vertical line

x = µ.

Page 42: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

MEAN

Find the mean of the exponential

distribution of Example 2:

0 if 0( )

if 0

ct

tf t

ce t

Example 3

Page 43: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

MEAN

According to the definition of a mean,

we have:

( ) ctt f t dt tce dt

Example 3

Page 44: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

MEAN

To evaluate that integral, we use integration

by parts, with u = t and dv = ce–ct dt:

0 0

0 0

lim

lim

1 1lim

xct ct

x

xxct ct

x

cxcx

x

tce dt tce dt

te e dt

exe

c c c

Example 3

Page 45: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

MEAN

The mean is µ = 1/c.

So, we can rewrite the probability density

function as:

1 /

0 if 0( )

if 0

t

tf t

e t

Example 3

Page 46: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

AVERAGE VALUES

Suppose the average waiting time for

a customer’s call to be answered by

a company representative is five minutes.

a. Find the probability that a call is answered during the first minute.

b. Find the probability that a customer waits more than five minutes to be answered.

Example 4

Page 47: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

AVERAGE VALUES

We are given that the mean of the

exponential distribution is µ = 5 min.

So, from the result of Example 3, we know that the probability density function is:

/ 5

0 if 0( )

0.2 if 0

t

tf t

e t

Example 4 a

Page 48: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

AVERAGE VALUES

Thus, the probability that a call is answered

during the first minute is:

About 18% of customers’ calls are answered during the first minute.

1 1 /5

0 0

1/5

0

1/5

(0 1) ( ) 0.2

0.2( 5)

1 0.1813

t

t

P T f t dt e dt

e

e

Example 4 a

Page 49: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

AVERAGE VALUES

The probability that a customer waits more

than five minutes is:

About 37% of customers wait more than five minutes before their calls are answered.

/ 5 /5

5 5 5

1 /5

( 5) ( ) 0.2 lim 0.2

lim( )

10.368

xt t

x

x

x

P T f t dt e dt e dt

e e

e

Example 4 b

Page 50: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

AVERAGE VALUES

Notice the result of Example 4 b:

Though the mean waiting time is 5 minutes,

only 37% of callers wait more than 5 minutes.

The reason is that some callers have to wait much longer (maybe 10 or 15 minutes), and this brings up the average.

Page 51: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

MEDIAN

The median is another measure of

centrality of a probability density function.

That is a number m such that half the callers have a waiting time less than m and the other callers have a waiting time longer than m.

Page 52: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

MEDIAN

In general, the median of a probability

density function is the number m

such that:

This means that half the area under the graph of f lies to the right of m.

12( )

m f x dx

Page 53: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

NORMAL DISTRIBUTIONS

Many important random phenomena

are modeled by a normal distribution.

Examples are:

Test scores on aptitude tests

Heights and weights of individuals from a homogeneous population

Annual rainfall in a given location

Page 54: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

NORMAL DISTRIBUTIONS

This means that the probability density

function of the random variable X is

a member of the family of functions

2 2( ) /(2 )1( )

2xf x e

Equation 3

Page 55: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

NORMAL DISTRIBUTIONS

You can verify that the mean for

this function is µ.

2 2( ) /(2 )1( )

2xf x e

Page 56: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

STANDARD DEVIATION

The positive constant σ is called the standard

deviation.

It measures how spread out the values of X

are. It is denoted by the lowercase Greek letter σ (sigma).

2 2( ) /(2 )1( )

2xf x e

Page 57: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

STANDARD DEVIATION

From these bell-shaped graphs of members

of the family, we see that:

For small values of σ, the values of X are clustered about the mean.

For larger values of σ, the values of X are more spread out.

Page 58: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

STANDARD DEVIATION

Statisticians have methods

for using sets of data to estimate

µ and σ.

Page 59: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

NORMAL DISTRIBUTIONS

The factor is needed to make f

a probability density function.

In fact, it can be verified using the methods of multivariable calculus that:

1/( 2 )

2 2( ) /(2 )11

2

xe dx

Page 60: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

NORMAL DISTRIBUTIONS

Intelligence Quotient (IQ) scores are

distributed normally with mean 100 and

standard deviation 15.

The figure shows the corresponding probability density function.

Example 5

Page 61: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

NORMAL DISTRIBUTIONS

a. What percentage of the population has

an IQ score between 85 and 115?

b. What percentage has an IQ above 140?

Example 5

Page 62: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

NORMAL DISTRIBUTIONS

As IQ scores are normally distributed, we

use the probability density function given by

Equation 3 with µ = 100 and σ = 15:

2 2115 ( 100) / 2 15 )

85

(85 115)

1

15 2x

P X

e dx

Example 5 a

Page 63: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

From Section 7.5, recall that the function

doesn’t have an elementary

antiderivative.

So, we can’t evaluate the integral exactly.

NORMAL DISTRIBUTIONS

2xy e

Example 5 a

Page 64: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

NORMAL DISTRIBUTIONS

However, we can use the numerical

integration capability of a calculator or

computer (or the Midpoint Rule or Simpson’s

Rule) to estimate the integral.

Example 5 a

Page 65: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

NORMAL DISTRIBUTIONS

Doing so, we find that:

About 68% of the population has an IQ between 85 and 115—that is, within one standard deviation of the mean.

(85 115) 0.68P X

Example 5 a

Page 66: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

NORMAL DISTRIBUTIONS

The probability that the IQ score of a person

chosen at random is more than 140 is:

2( 100) / 450

140

1( 140)

15 2xP X e dx

Example 5 b

Page 67: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

NORMAL DISTRIBUTIONS

To avoid the improper integral, we

could approximate it by the integral

from 140 to 200.

It’s quite safe to say that people with an IQ over 200 are extremely rare.

Example 5 b

Page 68: FURTHER APPLICATIONS OF INTEGRATION 9. 8.5 Probability In this section, we will learn about: The application of calculus to probability.

NORMAL DISTRIBUTIONS

Then,

About 0.4% of the population has an IQ over 140.

2200 ( 100) / 450

140

1( 140)

15 20.0038

xP X e dx

Example 5 b