+ All Categories
Home > Documents > Probability - Florida International...

Probability - Florida International...

Date post: 13-May-2021
Category:
Upload: others
View: 2 times
Download: 0 times
Share this document with a friend
33
1/30/2014 1 Chapter 3: Probability 1 Section 3.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance with certainty. Examples: rolling a die tossing a coin weighing the contents of a box of cereal. 2
Transcript
Page 1: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

1

Chapter 3:

Probability

1

Section 3.1: Basic Ideas

Definition: An experiment is a process that

results in an outcome that cannot be predicted

in advance with certainty.

Examples:

rolling a die

tossing a coin

weighing the contents of a box of cereal.

2

Page 2: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

2

Sample Space

Definition: The set of all possible outcomes of an experiment is called the sample space for the experiment.

Examples: For rolling a fair die, the sample space is {1, 2, 3, 4, 5, 6}.

For a coin toss, the sample space is {heads, tails}.

Imagine a hole punch with a diameter of 10 mm punches holes in sheet metal. Because of variation in the angle of the punch and slight movements in the sheet metal, the diameters of the holes vary between 10.0 and 10.2 mm. For this experiment of punching holes, a reasonable sample space is the interval (10.0, 10.2).

3

More Terminology

Definition: A subset of a sample space is called an

event.

A given event is said to have occurred if the

outcome of the experiment is one of the

outcomes in the event. For example, if a die

comes up 2, the events {2, 4, 6} and {1, 2, 3}

have both occurred, along with every other

event that contains the outcome β€œ2”.

4

Page 3: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

3

Example 3.1

An engineer has a box containing four bolts and

another box containing four nuts. The diameters

of the bolts are 4, 6, 8, and 10 mm, and the

diameters of the nuts were 6, 10, 12, and 14

mm. One bolt and one nut are chosen.

5

Example 3.1 (cont.)

Let A be the event that the bolt diameter is less than 8, let B be the event that the nut diameter is greater than 10, and let C be the event that the bolt and the nut have the same diameter.

1. Find the sample space for this experiment.

2. Specify the subsets corresponding to the events A, B, and C.

6

Page 4: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

4

Combining Events

The union of two events A and B, denoted

𝐴 βˆͺ 𝐡, is the set of outcomes that belong either

to A, to B, or to both.

In words, 𝐴 βˆͺ 𝐡 means β€œA or B.” So the event

β€œA or B” occurs whenever either A or B (or both)

occurs.

Example: Let A = {1, 2, 3} and B = {2, 3, 4}.

What is 𝐴 βˆͺ 𝐡?

7

Intersections

The intersection of two events A and B, denoted

by 𝐴 ∩ 𝐡, is the set of outcomes that belong to A

and to B. In words,𝐴 ∩ 𝐡 means β€œA and B.”

Thus the event β€œA and B” occurs whenever both

A and B occur.

Example: Let A = {1, 2, 3} and B = {2, 3, 4}.

What is 𝐴 ∩ 𝐡?

8

Page 5: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

5

Complements

The complement of an event A, denoted 𝐴𝑐, is

the set of outcomes that do not belong to A. In

words, 𝐴𝑐 means β€œnot A.” Thus the event β€œnot

A” occurs whenever A does not occur.

Example: Consider rolling a fair sided die. Let A be

the event: β€œrolling a six” = {6}.

What is 𝐴𝑐 = β€œnot rolling a six”?

9

Mutually Exclusive Events

Definition: The events A and B are said to be mutually exclusive if they have no outcomes in common.

More generally, a collection of events A1, A2, …, An

is said to be mutually exclusive if no two of them have

any outcomes in common.

Sometimes mutually exclusive events are referred to as disjoint events.

10

Page 6: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

6

Probabilities

Definition:Each event in the sample space has a probability of occurring. Intuitively, the probability is a quantitative measure of how likely the event is to occur.

Given any experiment and any event A:

The expression P(A) denotes the probability that the event A occurs.

P(A) is the proportion of times that the event Awould occur in the long run, if the experiment were to be repeated over and over again.

11

Axioms of Probability

1. Let 𝑺 be a sample space. Then 𝑃(𝑺) = 1.

2. For any event A, 0 ≀ 𝑃(𝐴) ≀ 1.

3. If A and B are mutually exclusive events, then

𝑃 𝐴 βˆͺ 𝐡 = 𝑃 𝐴 + 𝑃(𝐡). More generally, if

𝐴1, 𝐴2, … are mutually exclusive events, then

𝑃 𝐴1 βˆͺ 𝐴2 βˆͺ β‹― = 𝑃 𝐴1 + 𝑃 𝐴2 + β‹―

12

Page 7: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

7

A Few Useful Things

For any event A, 𝑃(𝐴𝐢) = 1 – 𝑃(𝐴).

Let denote the empty set. Then 𝑃( ) = 0.

If 𝑆 is a sample space containing 𝑁 equally likely

outcomes, and if A is an event containing π‘˜outcomes, then 𝑃(𝐴) = π‘˜/𝑁.

Addition Rule (for when A and B are not mutually

exclusive): 𝑃 𝐴 βˆͺ 𝐡 = 𝑃 𝐴 + 𝑃 𝐡 βˆ’ 𝑃(𝐴 ∩ 𝐡)

13

(3.1)

(3.2)

(3.3)

(3.4)

Example 3.3

A target on a test firing range consists of a bull’s-eye

with two concentric rings around it. A projectile is

fired at the target. The probability that it hits the

bull’s-eye is 0.10, the probability that it hits the inner

ring is 0.25, and the probability that it hits the outer

ring is 0.45.

1. What is the probability that the projectile hits the

target?

2. What is the probability that it misses the target?

14

Page 8: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

8

Example 3.4

An extrusion die is used to produce aluminum rods.

Specifications are given for the length and diameter of the

rods. For each rod, the length is classified as too short, too

long, or OK, and the diameters is classified as too thin, too

thick, or OK. In a population of 1000 rods, the number of

rods in each class are as follows:

Diameter

Length Too Thin OK Too Thick

Too Short 10 3 5

OK 38 900 4

Too Long 2 25 13

15

Example 3.4 (cont.)

1. What is the probability that a randomly chosen

rod is too short?

2. If a rod is sampled at random, what is the

probability that it is neither too short or too thick?

16

Page 9: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

9

Section 3.2: Conditional

Probability and Independence

Definition: A probability that is based on part of the

sample space is called a conditional probability.

Let A and B be events with 𝑃(𝐡) β‰  0. The

conditional probability of A given B is

𝑃 𝐴 𝐡 =𝑃(𝐴 ∩ 𝐡)

𝑃(𝐡)

17

(3.5)

Conditional Probability

18

Venn Diagram

Page 10: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

10

Example 3.6

What is the probability that a rod will have a

diameter that is OK, given that the length is

too long?

19

Diameter

Length Too Thin OK Too Thick

Too Short 10 3 5

OK 38 900 4

Too Long 2 25 13

Independence

Definition: Two events A and B are independent if the probability of each event remains the same whether or not the other occurs.

If 𝑃(𝐴) β‰  0 and 𝑃(𝐡) β‰  0, then A and B are independent if 𝑃(𝐡|𝐴) = 𝑃(𝐡) or, equivalently, 𝑃(𝐴|𝐡) = 𝑃(𝐴).

If either 𝑃(𝐴) = 0 or 𝑃(𝐡) = 0, then A and B are independent.

These concepts can be extended to more than two events.

20

Page 11: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

11

Example 3.7

If an aluminum rod is sampled from the sample

space of 1000 rods, find the P(too long) and

P(too long | too thin). Are these probabilities

different? Why or why not?

21

Diameter

Length Too Thin OK Too Thick

Too Short 10 3 5

OK 38 900 4

Too Long 2 25 13

The Multiplication Rule

If A and B are two events and 𝑃(𝐡) β‰  0, then 𝑃 𝐴 ∩ 𝐡 = 𝑃 𝐡 𝑃(𝐴|𝐡)

If A and B are two events and 𝑃(𝐴) β‰  0, then 𝑃 𝐴 ∩ 𝐡 = 𝑃 𝐴 𝑃(𝐡|𝐴)

If 𝑃(𝐴) β‰  0, and 𝑃(𝐡) β‰  0, then both of the above hold.

If A and B are two independent events, then 𝑃 𝐴 ∩ 𝐡 = 𝑃 𝐴 𝑃(𝐡)

If 𝐴1, 𝐴2, … , 𝐴𝑛 are independent events, then 𝑃 𝐴1 ∩ 𝐴2 ∩ β‹― ∩ 𝐴𝑛 = 𝑃 𝐴1 𝑃 𝐴2 …𝑃(𝐴𝑛)

22

(3.8)

(3.9)

(3.10)

(3.12)

Page 12: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

12

Example 3.8

It is known that 5% of the cars and 10% of the light

trucks produced by a certain manufacturer require

warranty service. If someone purchases both a car

and a light truck from this manufacturer, then,

assuming the vehicles function independently, what

is the probability that both will require warranty

service?

23

Example 3.9

A system contains two components, A and B,

connected in series. The system will function only

if both components function. The probability that A

functions is 0.98 and the probability that B

functions is 0.95. Assume A and B function

independently. Find the probability that the system

functions.

24

Page 13: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

13

Example 3.10

A system contains two components, C and D,

connected in parallel. The system will function if

either C or D functions. The probability that C

functions is 0.90 and the probability that D

functions is 0.85. Assume C and D function

independently. Find the probability that the system

functions.

25

Example 3.11

𝑃(𝐴) = 0.995; 𝑃(𝐡) = 0.99𝑃(𝐢) = 𝑃(𝐷) = 𝑃(𝐸) = 0.95𝑃(𝐹) = 0.90; 𝑃(𝐺) = 0.90, 𝑃(𝐻) = 0.98

26

Page 14: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

14

Section 3.3: Random Variables

Definition:A random variable assigns a numerical

value to each outcome in a sample space.

Definition:A random variable is discrete if its

possible values form a discrete set.

27

Example

The number of flaws in a 1-inch length of copper wire manufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced have no flaws, 39% have one flaw, 12% have two flaws, and 1% have three flaws. Let 𝑋 be the number of flaws in a randomly selected piece of wire. Write down the possible values of 𝑋 and the associated probabilities, providing a complete description of the population from which 𝑋 was drawn.

28

Page 15: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

15

Probability Mass Function

The description of the possible values of 𝑋 and the probabilities of each has a name: the probability mass function.

Definition:The probability mass function (pmf) of a discrete random variable 𝑋 is the function 𝑝(π‘₯) = 𝑃(𝑋 = π‘₯).

The probability mass function is sometimes called the probability distribution.

29

Probability Mass Function

Example

30

Page 16: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

16

Cumulative Distribution Function

The probability mass function specifies the probability that a random variable is equal to a given value.

A function called the cumulative distribution function (cdf) specifies the probability that a random variable is less than or equal to a given value.

The cumulative distribution function of the random variable 𝑋 is the function 𝐹(π‘₯) = 𝑃(𝑋 ≀ π‘₯).

31

More on a

Discrete Random Variable

Let 𝑋 be a discrete random variable. Then

The probability mass function of 𝑋 is the function 𝑝(π‘₯) = 𝑃(𝑋 = π‘₯).

The cumulative distribution function of 𝑋 is the function 𝐹(π‘₯) = 𝑃(𝑋 ≀ π‘₯).

𝐹 π‘₯ = 𝑑≀π‘₯ 𝑝 𝑑 = 𝑑≀π‘₯ 𝑃(𝑋 = 𝑑)

π‘₯ 𝑝 π‘₯ = π‘₯ 𝑃 𝑋 = π‘₯ = 1, where the sum is over

all the possible values of 𝑋.

32

Page 17: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

17

Example 3.16

Recall the example of the number of flaws in a

randomly chosen piece of wire. The following is

the pmf: 𝑃(𝑋 = 0) = 0.48, 𝑃(𝑋 = 1) = 0.39, 𝑃(𝑋 =2) = 0.12, and 𝑃(𝑋 = 3) = 0.01. Compute the cdf

of the random variable 𝑋 that represents the

number of flaws in a randomly chosen wire.

33

Cumulative Distribution Function

Example 3.16

34

Page 18: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

18

Mean and Variance for Discrete

Random Variables

The mean (or expected value) of 𝑋 is given by

πœ‡π‘‹ =

π‘₯

π‘₯𝑃(𝑋 = π‘₯)

where the sum is over all possible values of 𝑋.

The variance of 𝑋 is given by

πœŽπ‘‹2 =

π‘₯

(π‘₯ βˆ’ πœ‡π‘‹)2𝑃 𝑋 = π‘₯ =

π‘₯

π‘₯2𝑃 𝑋 = π‘₯ βˆ’ πœ‡π‘‹2

The standard deviation is the square root of the

variance.

35

(3.13)

(3.14) (3.15)

Example 3.17

A certain industrial process is brought down for

recalibration whenever the quality of the items

produced falls below specifications. Let 𝑋represent the number of times the process is

recalibrated during a week, and assume that 𝑋 has

the following probability mass function.

Find the mean and variance of 𝑋.

x 0 1 2 3 4

p(x) 0.35 0.25 0.20 0.15 0.05

36

Page 19: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

19

Example 3.17

37

Probability mass function

will balance if supported at

the population mean

The Probability Histogram

When the possible values of a discrete random variable are evenly spaced, the probability mass function can be represented by a histogram, with rectangles centered at the possible values of the random variable.

The area of the rectangle centered at a value π‘₯ is equal to 𝑃(𝑋 = π‘₯).

Such a histogram is called a probability histogram, because the areas represent probabilities.

38

Page 20: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

20

Probability Histogram for the

Number of Flaws in a Wire

The pmf is: 𝑃(𝑋 = 0) = 0.48, 𝑃(𝑋 = 1) = 0.39,

𝑃(𝑋 = 2) = 0.12, and 𝑃(𝑋 = 3) = 0.01.

39

Probability Mass Function

Example

40

Page 21: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

21

Continuous Random Variables

A random variable is continuous if its probabilities are given by areas under a curve.

The curve is called a probability density function(pdf) for the random variable. Sometimes the pdfis called the probability distribution.

The function 𝑓(π‘₯) is the probability density function of 𝑋.

Let 𝑋 be a continuous random variable with probability density function 𝑓(π‘₯). Then

βˆ’βˆž

βˆžπ‘“ π‘₯ 𝑑π‘₯ = 1

41

Continuous Random Variables:

Example

42

Page 22: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

22

Computing Probabilities

Let 𝑋 be a continuous random variable with probability

density function 𝑓(π‘₯). Let π‘Ž and 𝑏 be any two numbers,

with π‘Ž < 𝑏. Then 𝑃 π‘Ž ≀ 𝑋 ≀ 𝑏 = 𝑃 π‘Ž ≀ 𝑋 < 𝑏 =

𝑃 π‘Ž < 𝑋 ≀ 𝑏 = π‘Žπ‘π‘“ π‘₯ 𝑑π‘₯

In addition,

𝑃 𝑋 ≀ π‘Ž = 𝑃 𝑋 < π‘Ž = βˆ’βˆž

π‘Ž

𝑓 π‘₯ 𝑑π‘₯

𝑃 𝑋 β‰₯ π‘Ž = 𝑃 𝑋 > π‘Ž = π‘Ž

∞

𝑓 π‘₯ 𝑑π‘₯

43

(3.16)

(3.17)

More on

Continuous Random Variables

Let 𝑋 be a continuous random variable with probability

density function 𝑓(π‘₯). The cumulative distribution

function of 𝑋 is the function

𝐹 π‘₯ = 𝑃 𝑋 ≀ π‘₯ = βˆ’βˆž

π‘₯

𝑓 𝑑 𝑑𝑑

The mean of 𝑋 is given by

πœ‡π‘‹ = βˆ’βˆž

∞

π‘₯𝑓 π‘₯ 𝑑π‘₯

The variance of 𝑋 is given by

πœŽπ‘‹2 =

βˆ’βˆž

∞

(π‘₯ βˆ’ πœ‡π‘‹)2𝑓 π‘₯ 𝑑π‘₯ = βˆ’βˆž

∞

π‘₯2𝑓 π‘₯ 𝑑π‘₯ βˆ’ πœ‡π‘‹2

44

(3.18)

(3.19)

(3.20)

(3.21)

Page 23: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

23

Example 3.21

A hole is drilled in a sheet-metal component, and then a shaft is inserted through the hole. The shaft clearance is equal to the difference between the radius of the hole and the radius of the shaft. Let the random variable 𝑋denote the clearance, in millimeters. The probability density function of X is

𝑓 π‘₯ = 1.25 1 βˆ’ π‘₯4 , 0 < π‘₯ < 10, π‘œπ‘‘β„Žπ‘’π‘Ÿπ‘€π‘–π‘ π‘’

Components with clearances larger than 0.8 mm must be scraped. What proportion of components are scrapped?

45

Example 3.21

46

𝑃 𝑋 > 0.8 = 0.8

∞

𝑓 π‘₯ 𝑑π‘₯

= 0.8

1

1.25 1 βˆ’ π‘₯4 𝑑π‘₯

= 1.25 π‘₯ βˆ’π‘₯5

5

1

0.8= 0.0819

Page 24: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

24

Example 3.22

Find the cumulative distribution function 𝐹(π‘₯) .

If π‘₯ < 0: 𝐹 π‘₯ = βˆ’βˆž

π‘₯𝑓 𝑑 𝑑𝑑 = βˆ’βˆž

π‘₯0𝑑𝑑 = 0

If 0 < π‘₯ < 1:

𝐹 π‘₯ = βˆ’βˆž

π‘₯𝑓 𝑑 𝑑𝑑

= βˆ’βˆž

0

𝑓 𝑑 𝑑𝑑 + 0

π‘₯

𝑓 𝑑 𝑑𝑑

= 0 + 0

π‘₯

1.25 1 βˆ’ 𝑑4 𝑑𝑑

= 1.25 𝑑 βˆ’π‘‘5

5 π‘₯0

= 1.25(π‘₯ βˆ’π‘₯5

5)

47

Example 3.22

Find the cumulative distribution function F(x) .

If π‘₯ > 1:

𝐹 π‘₯ = βˆ’βˆž

π‘₯𝑓 𝑑 𝑑𝑑

= βˆ’βˆž

0

𝑓 𝑑 𝑑𝑑 + 0

1

𝑓 𝑑 𝑑𝑑 + 1

π‘₯

𝑓 𝑑 𝑑𝑑

= 0 + 1.25 𝑑 βˆ’π‘‘5

5 10

+ 0

48

Page 25: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

25

Example 3.24

Find the mean and variance of the clearance.

49

πœ‡π‘₯ = βˆ’βˆž

∞

π‘₯𝑓 π‘₯ 𝑑π‘₯ = 0

1

π‘₯ 1.25 1 βˆ’ π‘₯4 𝑑π‘₯ = 1.25π‘₯2

2βˆ’

π‘₯6

6 10

= 0.4167

𝜎π‘₯2 =

βˆ’βˆž

∞

π‘₯2𝑓 π‘₯ 𝑑π‘₯ βˆ’ πœ‡π‘₯2 =

0

1

π‘₯2 1.25 1 βˆ’ π‘₯4 𝑑π‘₯ βˆ’ (0.4167)2

= 1.25π‘₯3

3βˆ’

π‘₯7

7 10

βˆ’ (0.4167)2 = 0.0645

Section 3.4: Linear Functions of

Random Variables

If X is a random variable, and π‘Ž and 𝑏 are constants,

then

β€“πœ‡π‘Žπ‘‹+𝑏 = π‘Žπœ‡π‘‹ + 𝑏

β€“πœŽπ‘Žπ‘‹+𝑏2 = π‘Ž2πœŽπ‘‹

2

β€“πœŽπ‘Žπ‘‹+𝑏 = |π‘Ž|πœŽπ‘‹

50

(3.27)

(3.28)

(3.29)

Page 26: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

26

π‘₯ = 18; π‘₯ = 0.1; π‘Œ = 0.25𝑋; π‘Œ =? π‘Œ =?

πœ‡π‘Œ = πœ‡0.25𝑋 = 0.25πœ‡π‘‹ = 4.5πœŽπ‘Œ = 𝜎0.25𝑋 = 025πœŽπ‘‹ = 0.025

51

Example 3.25

More Linear Functions

If 𝑋 and π‘Œ are random variables, and a and b are

constants, then

πœ‡π‘Žπ‘‹+π‘π‘Œ = πœ‡π‘Žπ‘‹ + πœ‡π‘π‘Œ = π‘Žπœ‡π‘‹ + π‘πœ‡π‘Œ

More generally, if 𝑋1, … , 𝑋𝑛 are random variables

and 𝑐1, … , 𝑐𝑛 are constants, then the mean of the

linear combination 𝑐1𝑋1 + β‹―+ 𝑐𝑛 𝑋𝑛 is given by

πœ‡π‘1𝑋1+𝑐2𝑋2+β‹―+𝑐𝑛𝑋𝑛= 𝑐1πœ‡π‘‹1

+ 𝑐2πœ‡π‘‹2+ β‹― + π‘π‘›πœ‡π‘‹π‘›

52

(3.31)

(3.32)

Page 27: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

27

Two Independent Random

Variables

If 𝑋 and π‘Œ are independent random variables, and 𝑆and 𝑇 are sets of numbers, then

𝑃(𝑋 ∈ 𝑆 π‘Žπ‘›π‘‘ π‘Œ ∈ 𝑇) = 𝑃(𝑋 ∈ 𝑆)P(π‘Œ ∈ 𝑇)

More generally, if 𝑋1, … , 𝑋𝑛 are independent random

variables, and 𝑆1, … , 𝑆𝑛 are sets, then

𝑃(𝑋1 ∈ 𝑆1, 𝑋2 ∈ 𝑆2,…, 𝑋𝑛 ∈ 𝑆𝑛)= 𝑃(𝑋1 ∈ 𝑆1)P(𝑋2 ∈ 𝑆2) …𝑃(𝑋𝑛 ∈ 𝑆𝑛)

53

(3.33)

(3.34)

Example 3.26

Cylindrical cans have specifications regarding their height and radius. Let 𝐻 be the length and 𝑅 be the radius, in mm, of a randomly sampled can. The probability mass function of 𝐻 is given by 𝑃(𝐻 = 119) = 0.2, 𝑃(𝐻 =120) = 0.7, and 𝑃(𝐻 = 121) = 0.1. The probability mass function of 𝑅 is given by 𝑃(𝑅 = 30) = 0.6 and 𝑃(𝑅 =31) = 0.4. The volume of a can is given by 𝑉 = πœ‹π‘…2𝐻. Assume 𝑅 and 𝐻 are independent. Find the probability that the volume is 108,000 mm3.𝑃(𝑉 = 108,000) = 𝑃(𝐻 = 120 π‘Žπ‘›π‘‘ 𝑅 = 30)

= 𝑃(𝐻 = 120)𝑃(𝑅 = 30)= (0.7)(0.6) = 0.42

54

Page 28: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

28

Variance Properties

If 𝑋1, … , 𝑋𝑛 are independent random variables,

then the variance of the sum 𝑋1 + …+ 𝑋𝑛 is given

by πœŽπ‘‹1+𝑋2+β‹―+𝑋𝑛2 = πœŽπ‘‹1

2 + πœŽπ‘‹22 + β‹―+ πœŽπ‘‹π‘›

2

If 𝑋1, … , 𝑋𝑛 are independent random variables

and 𝑐1, … , 𝑐𝑛 are constants, then the variance of

the linear combination 𝑐1 𝑋1 + β‹―+ 𝑐𝑛 𝑋𝑛 is given

byπœŽπ‘1𝑋1+𝑐2𝑋2+β‹―+𝑐𝑛𝑋𝑛

2 = 𝑐12πœŽπ‘‹1

2 + 𝑐22πœŽπ‘‹2

2 + β‹―+ 𝑐𝑛2πœŽπ‘‹π‘›

2

55

(3.35)

(3.36)

More Variance Properties

If 𝑋 and π‘Œ are independent random variables

with variances πœŽπ‘‹2 and πœŽπ‘Œ

2, then the variance of

the sum 𝑋 + π‘Œ is πœŽπ‘‹+π‘Œ2 = πœŽπ‘‹

2 + πœŽπ‘Œ2

The variance of the difference π‘‹β€“π‘Œ is πœŽπ‘‹βˆ’π‘Œ2 =

πœŽπ‘‹2 + πœŽπ‘Œ

2

56

(3.37)

(3.38)

Page 29: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

29

Example 3.27

An object with initial temperature 𝑇0 is placed in an environment with ambient temperature π‘‡π‘Ž. According to Newton’s law of cooling, the temperature T of the object is given by 𝑇 = 𝑐𝑇0 + (1 – 𝑐)π‘‡π‘Ž, where 𝑐 is a constant that depends on the physical properties of the object and the elapsed time. Assuming that 𝑇0 has mean 25oC and standard deviation of 2oC, and π‘‡π‘Ž has mean 5oC and standard deviation of 1oC. Find the mean of 𝑇 when 𝑐 =0.25. Assuming that 𝑇0 and π‘‡π‘Ž are independent, find the standard deviation of 𝑇 at that time.

57

Example 3.27

58

πœ‡π‘‡ = πœ‡0.25𝑇0+.075π‘‡π‘Ž

= 0.25πœ‡π‘‡0+ 0.75πœ‡π‘‡π‘Ž

= 6.25 + 3.75 = 10

πœŽπ‘‡ = 𝜎20.25𝑇0+.075π‘‡π‘Ž

= 0.25 2𝜎2𝑇0

+ 0.75 2𝜎2π‘‡π‘Ž

= 0.25 2(2)2 + 0.75 2(1)2

= 0.9014

Page 30: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

30

Independence and Simple

Random Samples

Definition: If 𝑋1, … , 𝑋𝑛 is a simple random

sample, then 𝑋1, … , 𝑋𝑛 may be treated as

independent random variables, all from the

same population.

59

Properties of

If 𝑋1, … , 𝑋𝑛 is a simple random sample from a

population with mean and variance 2, then the

sample mean 𝑋 is a random variable with

πœ‡ 𝑋 = πœ‡

𝜎 𝑋2 =

𝜎2

𝑛The standard deviation of 𝑋 is

𝜎 𝑋 =𝜎

𝑛

60

(3.39)

(3.40)

(3.41)

Page 31: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

31

Example 3.28

The lifetime of a light bulb in a certain application has

mean 700 hours and standard deviation 20 hours.

The light bulbs are packaged 12 to a box. Assuming

that light bulbs in a box are a simple random sample of

light bulbs, find the mean and standard deviation of the

average lifetime of the light bulbs in a box.

61

𝑇= (T1 + T1 +…+ T1 )/12

πœ‡ 𝑇 = πœ‡ = 700

𝜎 𝑇 =𝜎

𝑛=

20

12= 5.77

Standard Deviations of

Nonlinear Functions of Random Variables

If 𝑋 is a random variable with (small) standard deviation 𝑋, and if π‘ˆ is a function of 𝑋, then

62

(3.42)πœŽπ‘ˆ β‰ˆπ‘‘π‘ˆ

π‘‘π‘‹πœŽπ‘‹

Page 32: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

32

Example 3.29

The radius 𝑅 of a circle is measured to be 5.43 cm, with a standard deviation of 0.01 cm. Estimate the area of the circle, and find the standard deviation of this estimate.

Area = 𝐴 = 𝑅2 = (5.43)2

63

𝜎𝐴 β‰ˆπ‘‘π΄

π‘‘π‘…πœŽπ‘…

= (2R)(0.01)

Standard Deviations of

Nonlinear Functions of Random Variables

If 𝑋1, … , 𝑋𝑛 are independent random variables with standard deviations 1, … ,𝑛 (small), and if

π‘ˆ = π‘ˆ(𝑋1, … , 𝑋𝑛) is a function of 𝑋1, … , 𝑋𝑛 , then

64

(3.43)

πœŽπ‘ˆ β‰ˆπœ•π‘ˆ

πœ•π‘‹1

2

𝜎π‘₯12 +

πœ•π‘ˆ

πœ•π‘‹2

2

𝜎π‘₯22 + β‹―+

πœ•π‘ˆ

πœ•π‘‹π‘›

2

𝜎π‘₯𝑛2

Page 33: Probability - Florida International Universityweb.eng.fiu.edu/leet/Eng_Data/chapt03_2014.pdfmanufactured by a certain process varies from wire to wire. Overall, 48% of the wires produced

1/30/2014

33

Example 3.30

Assume the mass of a rock is measured to be m=674.01.0g, and the volume of the rock is measured to be V=261.00.1 mL. The density of the rock (D) is given by m/V. Estimate the density and find the standard deviation of the estimate.

Density = 𝐷 = π‘š/𝑉 = 674.0/261.0 = 2.582 𝑔/π‘šπΏ

65

𝜎𝐷 β‰ˆπœ•π·

πœ•π‘š

2πœŽπ‘š

2 +πœ•π·

πœ•π‘‰

2πœŽπ‘‰

2 =

1

𝑉

2πœŽπ‘š

2 +βˆ’π‘š

𝑉2

2πœŽπ‘‰

2

Summary

Probability and rules

Conditional probability

Independence

Random variables: discrete and continuous

Probability mass functions

Probability density functions

Cumulative distribution functions

Means and variances for random variables

Linear functions of random variables

Mean and variance of a sample mean

66


Recommended