# ECE302 Spring 2006 HW1 Solutions January 16,

 To view this video please enable JavaScript, and consider upgrading to a web browser that supports HTML5 video
Save this PDF as:

Size: px
Start display at page:

## Transcription

1 ECE302 Spring 2006 HW1 Solutions January 16, Solutions to HW1 Note: These solutions were generated by R. D. Yates and D. J. Goodman, the authors of our textbook. I have added comments in italics where I thought more detail was appropriate. Problem A fax transmission can take place at any of three speeds depending on the condition of the phone connection between the two fax machines. The speeds are high (h) at 14,400 b/s, medium (m) at 9600 b/s, and low (l) at 4800 b/s. In response to requests for information, a company sends either short faxes of two (t) pages, or long faxes of four (f) pages. Consider the experiment of monitoring a fax transmission and observing the transmission speed and length. An observation is a two-letter word, for example, a high-speed, two-page fax is ht. (a) What is the sample space of the experiment? (b) Let A 1 be the event medium-speed fax. What are the outcomes in A 1? (c) Let A 2 be the event short (two-page) fax. What are the outcomes in A 2? (d) Let A 3 be the event high-speed fax or low-speed fax. What are the outcomes in A 3? (e) Are A 1, A 2, and A 3 mutually exclusive? (f) Are A 1, A 2, and A 3 collectively exhaustive? Problem Solution (a) An outcome specifies whether the fax is high (h), medium (m), or low (l) speed, and whether the fax has two (t) pages or four (f) pages. The sample space is S = {ht,hf,mt,mf,lt,lf}. (1) (b) The event that the fax is medium speed is A 1 = {mt,mf}. (c) The event that a fax has two pages is A 2 = {ht,mt,lt}. (d) The event that a fax is either high speed or low speed is A 3 = {ht,hf,lt,lf }. (e) Since A 1 A 2 = {mt} and is not empty, A 1, A 2, and A 3 are not mutually exclusive. (Equivalently, since A 2 A 3, A 1, A 2, and A 3 are not mutually exclusive.) (f) Since A 1 A 2 A 3 = {ht,hf,mt,mf,lt,lf} = S, (2) the collection A 1, A 2, A 3 is collectively exhaustive.

2 ECE302 Spring 2006 HW1 Solutions January 16, Problem An integrated circuit factory has three machines X, Y, and Z. Test one integrated circuit produced by each machine. Either a circuit is acceptable (a) or it fails (f). An observation is a sequence of three test results corresponding to the circuits from machines X, Y, and Z, respectively. For example, aaf is the observation that the circuits from X and Y pass the test and the circuit from Z fails the test. (a) What are the elements of the sample space of this experiment? (b) What are the elements of the sets (c) Are Z F and X A mutually exclusive? Z F = {circuit from Z fails}, (d) Are Z F and X A collectively exhaustive? (e) What are the elements of the sets (f) Are C and D mutually exclusive? (g) Are C and D collectively exhaustive? X A = {circuit from X is acceptable}. C = {more than one circuit acceptable}, D = {at least two circuits fail}. Problem Solution (a) The sample space of the experiment is S = {aaa,aaf,afa,faa,ffa,faf,aff,fff}. (1) (b) The event that the circuit from Z fails is Z F = {aaf,aff,faf,fff}. (2) The event that the circuit from X is acceptable is X A = {aaa,aaf,afa,aff}. (3) (c) Since Z F X A = {aaf,aff} φ, Z F and X A are not mutually exclusive. (d) Since Z F X A = {aaa,aaf,afa,aff,faf,fff} S, Z F and X A are not collectively exhaustive.

3 ECE302 Spring 2006 HW1 Solutions January 16, (e) The event that more than one circuit is acceptable is C = {aaa,aaf,afa,faa}. (4) The event that at least two circuits fail is D = {ffa,faf,aff,fff}. (5) (f) Inspection shows that C D = φ so C and D are mutually exclusive. (g) Since C D = S, C and D are collectively exhaustive. Problem Shuffle a deck of cards and turn over the first card. What is the sample space of this experiment? How many outcomes are in the event that the first card is a heart? Problem Solution The sample space is S = {A,...,K,A,...,K,A,...,K,A,...,K }. (1) The event H is the set H = {A,...,K }. (2) Problem Let the sample space of the experiment consist of the measured resistances of two resistors. Give four examples of event spaces. Problem Solution Let R 1 and R 2 denote the measured resistances. The pair (R 1,R 2 ) is an outcome of the experiment. Some event spaces include 1. If we need to check that neither resistance is too high, an event space is A 1 = {R 1 < 100,R 2 < 100}, A 2 = {either R or R 2 100}. (1) 2. If we need to check whether the first resistance exceeds the second resistance, an event space is B 1 = {R 1 > R 2 } B 2 = {R 1 R 2 }. (2) 3. If we need to check whether each resistance doesn t fall below a minimum value (in this case 50 ohms for R 1 and 100 ohms for R 2 ), an event space is C 1 = {R 1 < 50,R 2 < 100}, C 2 = {R 1 < 50,R 2 100}, (3) C 3 = {R 1 50,R 2 < 100}, C 4 = {R 1 50,R 2 100}. (4)

4 ECE302 Spring 2006 HW1 Solutions January 16, If we want to check whether the resistors in parallel are within an acceptable range of 90 to 110 ohms, an event space is D 1 = { (1/R 1 + 1/R 2 ) 1 < 90 }, (5) D 2 = { 90 (1/R 1 + 1/R 2 ) }, (6) D 2 = { 110 < (1/R 1 + 1/R 2 ) 1}. (7) Problem Computer programs are classified by the length of the source code and by the execution time. Programs with more than 150 lines in the source code are big (B). Programs with 150 lines are little (L). Fast programs (F) run in less than 0.1 seconds. Slow programs (W) require at least 0.1 seconds. Monitor a program executed by a computer. Observe the length of the source code and the run time. The probability model for this experiment contains the following information: P[LF] = 0.5, P[BF] = 0.2, and P[BW] = 0.2. What is the sample space of the experiment? Calculate the following probabilities: (a) P[W] (b) P[B] (c) P[W B] Problem Solution The sample space of the experiment is S = {LF,BF,LW,BW }. (1) From the problem statement, we know that P[LF] = 0.5, P[BF] = 0.2 and P[BW] = 0.2. This implies P[LW] = = 0.1 (because BF,BW, and LF are mutually exclusive). The questions can be answered using Theorem 1.5. (a) (Because LW BW = ) [t]he probability that a program is slow is P [W] = P [LW] + P [BW] = = 0.3. (2) (b) (Because BF BW = ) [t]he probability that a program is big is P [B] = P [BF] + P [BW] = = 0.4. (3) (c) The probability that a program is slow or big is P [W B] = P [W] + P [B] P [BW] = = 0.5. (4)

5 ECE302 Spring 2006 HW1 Solutions January 16, Problem There are two types of cellular phones, handheld phones (H) that you carry and mobile phones (M) that are mounted in vehicles. Phone calls can be classified by the traveling speed of the user as fast (F) or slow (W). Monitor a cellular phone call and observe the type of telephone and the speed of the user. The probability model for this experiment has the following information: P[F] = 0.5, P[HF] = 0.2, P[MW] = 0.1. What is the sample space of the experiment? Calculate the following probabilities: (a) P[W] (b) P[MF] (c) P[H] Problem Solution A sample outcome indicates whether the cell phone is handheld (H) or mobile (M) and whether the speed is fast (F) or slow (W). The sample space is S = {HF,HW,MF,MW }. (1) The problem statement tells us that P[HF] = 0.2, P[MW] = 0.1 and P[F] = 0.5. We can use these facts to find the probabilities of the other outcomes. In particular, P [F] = P [HF] + P [MF], (2) (because HF MF =.) This implies P [MF] = P [F] P [HF] = = 0.3. (3) Also, since the probabilities must sum to 1, P [HW] = 1 P [HF] P [MF] P [MW] = = 0.4. (4) Now that we have found the probabilities of the outcomes, finding any other probability is easy. (a) The probability a cell phone is slow is P [W] = P [HW] + P [MW] = = 0.5. (5) (Equivalently, the probability that the cell phone is slow is one minus the probability that it is fast, since these are mutually exclusive, so which gives the same answer.) P [W] = 1 P [F] = = 0.5 (6) (b) The probability that a cell hpone is mobile and fast is P[MF] = 0.3. (c) The probability that a cell phone is handheld is P [H] = P [HF] + P [HW] = = 0.6. (7)

6 ECE302 Spring 2006 HW1 Solutions January 16, Problem Shuffle a deck of cards and turn over the first card. What is the probability that the first card is a heart? Problem Solution A reasonable probability model that is consistent with the notion of a shuffled deck is that each card in the deck is equally likely to be the first card. Let H i denote the event that the first card drawn is the ith heart where the first heart is the ace, the second heart is the deuce and so on. In that case, P[H i ] = 1/52 for 1 i 13. The event H that the first card is a heart can be written as the disjoint union Using Theorem 1.1, we have H = H 1 H 2 H 13. (1) P [H] = 13 i=1 P [H i ] = 13/52. (2) This is the answer you would expect since 13 out of 52 cards are hearts. The point to keep in mind is that this is not just the common sense answer but is the result of a probability model for a shuffled deck and the axioms of probability. Problem You have a six-sided die that you roll once and observe the number of dots facing upwards. What is the sample space? What is the probability of each sample outcome? What is the probability of E, the event that the roll is even? Problem Solution Let s i denote the outcome that the down face has i dots. The sample space is S = {s 1,...,s 6 }. The probability of each sample outcome is P[s i ] = 1/6. From Theorem 1.1, the probability of the event E that the roll is even is P [E] = P [s 2 ] + P [s 4 ] + P [s 6 ] = 3/6. (1) Problem A student s score on a 10-point quiz is equally likely to be any integer between 0 and 10. What is the probability of an A, which requires the student to get a score of 9 or more? What is the probability the student gets an F by getting less than 4? Problem Solution Let s i equal the outcome of the student s quiz. The sample space is then composed of all the possible grades that she can receive. S = {0,1,2,3,4,5,6,7,8, 9, 10}. (1)

7 ECE302 Spring 2006 HW1 Solutions January 16, Since each of the 11 possible outcomes is equally likely, the probability of receiving a grade of i, for each i = 0,1,...,10 is P[s i ] = 1/11. The probability that the student gets an A is the probability that she gets a score of 9 or higher. That is P [Grade of A] = P [9] + P [10] = 1/11 + 1/11 = 2/11. (2) The probability of failing requires the student to get a grade less than 4. P [Failing] = P [3] + P [2] + P [1] + P [0] = 1/11 + 1/11 + 1/11 + 1/11 = 4/11. (3) Problem Mobile telephones perform handoffs as they move from cell to cell. During a call, a telephone either performs zero handoffs (H 0 ), one handoff (H 1 ), or more than one handoff (H 2 ). In addition, each call is either long (L), if it lasts more than three minutes, or brief (B). The following table describes the probabilities of the possible types of calls. H 0 H 1 H 2 L B What is the probability P[H 0 ] that a phone makes no handoffs? What is the probability a call is brief? What is the probability a call is long or there are at least two handoffs? Problem Solution From the table we look to add all the disjoint events that contain H 0 to express the probability that a caller makes no hand-offs as P [H 0 ] = P [LH 0 ] + P [BH 0 ] = = 0.5. (1) In a similar fashion we can express the probability that a call is brief by P [B] = P [BH 0 ] + P [BH 1 ] + P [BH 2 ] = = 0.6. (2) The probability that a call is long or makes at least two hand-offs is P [L H 2 ] = P [LH 0 ] + P [LH 1 ] + P [LH 2 ] + P [BH 2 ] (3) = = 0.5. (4) Problem For the telephone usage model of Example 1.14, let B m denote the event that a call is billed for m minutes. To generate a phone bill, observe the duration of the call in integer minutes (rounding up). Charge for M minutes M = 1,2,3,... if the exact duration T is M 1 < t M. A more complete probability model shows that for m = 1,2,... the probability of each event B m is where α = 1 (0.57) 1/3 = P [B m ] = α(1 α) m 1

8 ECE302 Spring 2006 HW1 Solutions January 16, (a) Classify a call as long, L, if the call lasts more than three minutes. What is P[L]? (b) What is the probability that a call will be billed for nine minutes or less? Problem Solution Note: (4) is not obvious, at least to me, from (3). However, if you do the math, you ll find that it is the correct answer. Similarly, the final expression on the right-hand side of (5) is not obvious but can be obtained either by summing the terms directly or by using the fact that 1 + β + β β p 1 = 1 βp 1 β. (a) From the given probability distribution of billed minutes, M, the probability that a call is billed for more than 3 minutes is P [L] = 1 P [3 or fewer billed minutes] (1) = 1 P [B 1 ] P [B 2 ] P [B 3 ] (2) = 1 α α(1 α) α(1 α) 2 (3) = (1 α) 3 = (4) (b) The probability that a call will billed for 9 minutes or less is P [9 minutes or less] = 9 α(1 α) i 1 = 1 (0.57) 3. (5) i=1 Problem Given the model of handoffs and call lengths in Problem 1.4.1, (a) What is the probability that a brief call will have no handoffs? (b) What is the probability that a call with one handoff will be long? (c) What is the probability that a long call will have one or more handoffs? Problem Solution Each question requests a conditional probability. (a) Note that the probability a call is brief is P [B] = P [H 0 B] + P [H 1 B] + P [H 2 B] = 0.6. (1) The probability a brief call will have no handoffs is P [H 0 B] = P [H 0B] P [B] = = 2 3. (2)

9 ECE302 Spring 2006 HW1 Solutions January 16, (b) The probability of one handoff is P[H 1 ] = P[H 1 B] + P[H 1 L] = 0.2. The probability that a call with one handoff will be long is P [L H 1 ] = P [H 1L] P [H 1 ] = = 1 2. (3) (c) The probability a call is long is P[L] = 1 P[B] = 0.4. The probability that a long call will have one or more handoffs is P [H 1 H 2 L] = P [H 1L H 2 L] P [L] = P [H 1L] + P [H 2 L] P [L] = = 3 4. (4) Problem You have a six-sided die that you roll once. Let R i denote the event that the roll is i. Let G j denote the event that the roll is greater than j. Let E denote the event that the roll of the die is even-numbered. (a) What is P[R 3 G 1 ], the conditional probability that 3 is rolled given that the roll is greater than 1? (b) What is the conditional probability that 6 is rolled given that the roll is greater than 3? (c) What is P[G 3 E], the conditional probability that the roll is greater than 3 given that the roll is even? (d) Given that the roll is greater than 3, what is the conditional probability that the roll is even? Problem Solution Let s i denote the outcome that the roll is i. So, for 1 i 6, R i = {s i }. Similarly, G j = {s j+1,...,s 6 }. (a) Since G 1 = {s 2,s 3,s 4,s 5,s 6 } and all outcomes have probability 1/6, P[G 1 ] = 5/6. The event R 3 G 1 = {s 3 } and P[R 3 G 1 ] = 1/6 so that P [R 3 G 1 ] = P [R 3G 1 ] P [G 1 ] = 1 5. (1) (b) The conditional probability that 6 is rolled given that the roll is greater than 3 is P [R 6 G 3 ] = P [R 6G 3 ] P [G 3 ] = P [s 6 ] P [s 4,s 5,s 6 ] = 1/6 3/6. (2)

10 ECE302 Spring 2006 HW1 Solutions January 16, (c) The event E that the roll is even is E = {s 2,s 4,s 6 } and has probability 3/6. The joint probability of G 3 and E is The conditional probabilities of G 3 given E is P [G 3 E] = P [s 4,s 6 ] = 1/3. (3) P [G 3 E] = P [G 3E] P [E] = 1/3 1/2 = 2 3. (4) (d) The conditional probability that the roll is even given that it s greater than 3 is P [E G 3 ] = P [EG 3] P [G 3 ] = 1/3 1/2 = 2 3. (5) Problem You have a shuffled deck of three cards: 2, 3, and 4. You draw one card. Let C i denote the event that card i is picked. Let E denote the event that card chosen is a even-numbered card. (a) What is P[C 2 E], the probability that the 2 is picked given that an even-numbered card is chosen? (b) What is the conditional probability that an even-numbered card is picked given that the 2 is picked? Problem Solution Since the 2 of clubs is an even numbered card, C 2 E so that P[C 2 E] = P[C 2 ] = 1/3. Since P[E] = 2/3, P [C 2 E] = P [C 2E] P [E] = 1/3 = 1/2. (1) 2/3 The probability that an even numbered card is picked given that the 2 is picked is P [E C 2 ] = P [C 2E] P [C 2 ] = 1/3 = 1. (2) 1/3 Problem Is it possible for A and B to be independent events yet satisfy A = B? Problem Solution This problems asks whether A and B can be independent events yet satisfy A = B? By definition, events A and B are independent if and only if P[AB] = P[A]P[B]. We can see that if A = B, that is they are the same set, then P [AB] = P [AA] = P [A] = P [B]. (1)

11 ECE302 Spring 2006 HW1 Solutions January 16, Thus, for A and B to be the same set and also independent, P [A] = P [AB] = P [A]P [B] = (P [A]) 2. (2) There are two ways that this requirement can be satisfied: P[A] = 1 implying A = B = S. P[A] = 0 implying A = B = φ. Problem Suppose you flip a coin twice. On any flip, the coin comes up heads with probability 1/4. Use H i and T i to denote the result of flip i. (a) What is the probability, P[H 1 H 2 ], that the first flip is heads given that the second flip is heads? (b) What is the probability that the first flip is heads and the second flip is tails? Problem Solution A sequential sample space for this experiment is 1/4 H 1 3/4 T1 1/4 H 2 T 3/4 2 1/4 H 2 3/4 T2 H 1 H 2 1/16 H 1 T 2 3/16 T 1 H 2 3/16 T 1 T 2 9/16 (a) From the tree, we observe This implies P [H 2 ] = P [H 1 H 2 ] + P [T 1 H 2 ] = 1/4. (1) P [H 1 H 2 ] = P [H 1H 2 ] P [H 2 ] = 1/16 1/4 = 1/4. (2) Note: If you have taken a course in probability before, you may also have used the fact that since the results of the two flips are independent, P[H 1 H 2 ] = P[H 1 ] = 1/4. However, while this is true, it hasn t been stated and proved a theorem yet in the text; so unless you prove it as part of your answer, you should not use it. (b) The probability that the first flip is heads and the second flip is tails is P[H 1 T 2 ] = 3/16 because the results of the flips are independent.

12 ECE302 Spring 2006 HW1 Solutions January 16, Problem For Example 1.25, suppose P[G 1 ] = 1/2, P[G 2 G 1 ] = 3/4, and P[G 2 R 1 ] = 1/4. Find P[G 2 ], P[G 2 G 1 ], and P[G 1 G 2 ]. Problem Solution The tree with adjusted probabilities is 1/2 G1 R1 1/2 3/4 G 2 1/4 R2 1/4 G 2 R2 3/4 G 1 G 2 3/8 G 1 R 2 1/8 R 1 G 2 1/8 R 1 R 2 3/8 From the tree, the probability the second light is green is P [G 2 ] = P [G 1 G 2 ] + P [R 1 G 2 ] = 3/8 + 1/8 = 1/2. (1) The conditional probability that the first light was green given the second light was green is P [G 1 G 2 ] = P [G 1G 2 ] = P [G 2 G 1 ] P [G 1 ] = 3/4. (2) P [G 2 ] P [G 2 ] Finally, from the tree diagram, we can directly read that P[G 2 G 1 ] = 3/4. Alternatively, we can simply apply the Law of Total Probability (Thm 1.10, p. 19 of the textbook). First, since {R 1,G 1 } is an event space, P [G 2 ] = P [G 2 G 1 ]P [G 1 ] + P [G 2 R 1 ]P [R 1 ] = ( 3 4 )( ) ( 1 4 ) ( ) 1 = (3) Next, P[G 2 G 1 ] = 3/4 is given. Finally, applying Bayes Theorem (Thm 1.11, p. 20 of the textbook) yields P [G 1 G 2 ] = P [G ( 2 G 1 ] P [G 1 ] 3 ) ( 1 4 = 2) = 3 P [G 2 ] 4. (4) Problem You have two biased coins. Coin A comes up heads with probability 1/4. Coin B comes up heads with probability 3/4. However, you are not sure which is which so you choose a coin randomly and you flip it. If the flip is heads, you guess that the flipped coin is B; otherwise, you guess that the flipped coin is A. Let events A and B designate which coin was picked. What is the probability P[C] that your guess is correct? Problem Solution The tree for this experiment is 1 2

13 ECE302 Spring 2006 HW1 Solutions January 16, /2 A 1/2 B 1/4 H 3/4 T 3/4 H 1/4 T AH 1/8 AT 3/8 BH 3/8 BT 1/8 The probability that you guess correctly is P [C] = P [AT] + P [BH] = 3/8 + 3/8 = 3/4. (1) Alternatively, using the Law of Total Probability (Thm. 1.10, page 19 of the text), P [C] = P [T A] P [A] + P [H B]P [B] = (3/4)(1/2) + (3/4)(1/2) = 3/4. (2) Problem Consider a binary code with 5 bits (0 or 1) in each code word. An example of a code word is How many different code words are there? How many code words have exactly three 0 s? Problem Solution There are 2 5 = 32 different binary codes with 5 bits. The number of codes with exactly 3 zeros equals the number of ways of choosing the bits in which those zeros occur. Therefore there are ( 5 3) = 10 codes with exactly 3 zeros. Problem Consider a language containing four letters: A, B, C, D. How many three-letter words can you form in this language? How many four-letter words can you form if each letter appears only once in each word? Problem Solution Since each letter can take on any one of the 4 possible letters in the alphabet, the number of 3 letter words that can be formed is 4 3 = 64. If we allow each letter to appear only once then we have 4 choices for the first letter and 3 choices for the second and two choices for the third letter. Therefore, there are a total of = 24 possible codes. Problem Shuffle a deck of cards and pick two cards at random. Observe the sequence of the two cards in the order in which they were chosen. (a) How many outcomes are in the sample space? (b) How many outcomes are in the event that the two cards are the same type but different suits?

14 ECE302 Spring 2006 HW1 Solutions January 16, (c) What is the probability that the two cards are the same type but different suits? (d) Suppose the experiment specifies observing the set of two cards without considering the order in which they are selected, and redo parts (a) (c). Problem Solution (a) The experiment of picking two cards and recording them in the order in which they were selected can be modeled by two sub-experiments. The first is to pick the first card and record it, the second sub-experiment is to pick the second card without replacing the first and recording it. For the first sub-experiment we can have any one of the possible 52 cards for a total of 52 possibilities. The second experiment consists of all the cards minus the one that was picked first(because we are sampling without replacement) for a total of 51 possible outcomes. So the total number of outcomes is the product of the number of outcomes for each sub-experiment = 2652 outcomes. (1) (b) To have the same card but different suit we can make the following sub-experiments. First we need to pick one of the 52 cards. Then we need to pick one of the 3 remaining cards that are of the same type but different suit out of the remaining 51 cards. So the total number outcomes is 52 3 = 156 outcomes. (2) (c) The probability that the two cards are of the same type but different suit is the number of outcomes that are of the same type but different suit divided by the total number of outcomes involved in picking two cards at random from a deck of 52 cards. P [same type, different suit] = = (3) (d) Now we are not concerned with the ordering of the cards. So before, the outcomes (K, 8 ) and (8, K ) were distinct. Now, those two outcomes are not distinct and are only considered to be the single outcome that a King of hearts and 8 of diamonds were selected. So every pair of outcomes before collapses to a single outcome when we disregard ordering. So we can redo parts (a) and (b) above by halving the corresponding values found in parts (a) and (b). The probability however, does not change because both the numerator and the denominator have been reduced by an equal factor of 2, which does not change their ratio.

### Section 2.1. Tree Diagrams

Section 2.1 Tree Diagrams Example 2.1 Problem For the resistors of Example 1.16, we used A to denote the event that a randomly chosen resistor is within 50 Ω of the nominal value. This could mean acceptable.

### Ching-Han Hsu, BMES, National Tsing Hua University c 2014 by Ching-Han Hsu, Ph.D., BMIR Lab

Lecture 2 Probability BMIR Lecture Series in Probability and Statistics Ching-Han Hsu, BMES, National Tsing Hua University c 2014 by Ching-Han Hsu, Ph.D., BMIR Lab 2.1 1 Sample Spaces and Events Random

### A (random) experiment is an activity with observable results. The sample space S of an experiment is the set of all outcomes.

Chapter 7 Probability 7.1 Experiments, Sample Spaces, and Events A (random) experiment is an activity with observable results. The sample space S of an experiment is the set of all outcomes. Each outcome

### Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University

Lecture 1 Introduction Properties of Probability Methods of Enumeration Asrat Temesgen Stockholm University 1 Chapter 1 Probability 1.1 Basic Concepts In the study of statistics, we consider experiments

### Lesson 3 Chapter 2: Introduction to Probability

Lesson 3 Chapter 2: Introduction to Probability Department of Statistics The Pennsylvania State University 1 2 The Probability Mass Function and Probability Sampling Counting Techniques 3 4 The Law of

### Probability OPRE 6301

Probability OPRE 6301 Random Experiment... Recall that our eventual goal in this course is to go from the random sample to the population. The theory that allows for this transition is the theory of probability.

### ECE302 Spring 2006 HW4 Solutions February 6, 2006 1

ECE302 Spring 2006 HW4 Solutions February 6, 2006 1 Solutions to HW4 Note: Most of these solutions were generated by R. D. Yates and D. J. Goodman, the authors of our textbook. I have added comments in

### Basic Probability. Probability: The part of Mathematics devoted to quantify uncertainty

AMS 5 PROBABILITY Basic Probability Probability: The part of Mathematics devoted to quantify uncertainty Frequency Theory Bayesian Theory Game: Playing Backgammon. The chance of getting (6,6) is 1/36.

### 6.3 Conditional Probability and Independence

222 CHAPTER 6. PROBABILITY 6.3 Conditional Probability and Independence Conditional Probability Two cubical dice each have a triangle painted on one side, a circle painted on two sides and a square painted

### I. WHAT IS PROBABILITY?

C HAPTER 3 PROBABILITY Random Experiments I. WHAT IS PROBABILITY? The weatherman on 0 o clock news program states that there is a 20% chance that it will snow tomorrow, a 65% chance that it will rain and

### Lecture Note 1 Set and Probability Theory. MIT 14.30 Spring 2006 Herman Bennett

Lecture Note 1 Set and Probability Theory MIT 14.30 Spring 2006 Herman Bennett 1 Set Theory 1.1 Definitions and Theorems 1. Experiment: any action or process whose outcome is subject to uncertainty. 2.

### Example: If we roll a dice and flip a coin, how many outcomes are possible?

12.5 Tree Diagrams Sample space- Sample point- Counting principle- Example: If we roll a dice and flip a coin, how many outcomes are possible? TREE DIAGRAM EXAMPLE: Use a tree diagram to show all the possible

### 33 Probability: Some Basic Terms

33 Probability: Some Basic Terms In this and the coming sections we discuss the fundamental concepts of probability at a level at which no previous exposure to the topic is assumed. Probability has been

### Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note 11

CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao,David Tse Note Conditional Probability A pharmaceutical company is marketing a new test for a certain medical condition. According

### Grade 7/8 Math Circles Fall 2012 Probability

1 University of Waterloo Faculty of Mathematics Centre for Education in Mathematics and Computing Grade 7/8 Math Circles Fall 2012 Probability Probability is one of the most prominent uses of mathematics

### Math 55: Discrete Mathematics

Math 55: Discrete Mathematics UC Berkeley, Fall 2011 Homework # 7, due Wedneday, March 14 Happy Pi Day! (If any errors are spotted, please email them to morrison at math dot berkeley dot edu..5.10 A croissant

### Worked examples Basic Concepts of Probability Theory

Worked examples Basic Concepts of Probability Theory Example 1 A regular tetrahedron is a body that has four faces and, if is tossed, the probability that it lands on any face is 1/4. Suppose that one

### STAT 270 Probability Basics

STAT 270 Probability Basics Richard Lockhart Simon Fraser University Spring 2015 Surrey 1/28 Purposes of These Notes Jargon: experiment, sample space, outcome, event. Set theory ideas and notation: intersection,

### IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS INTRODUCTION

IAM 530 ELEMENTS OF PROBABILITY AND STATISTICS INTRODUCTION 1 WHAT IS STATISTICS? Statistics is a science of collecting data, organizing and describing it and drawing conclusions from it. That is, statistics

### A Few Basics of Probability

A Few Basics of Probability Philosophy 57 Spring, 2004 1 Introduction This handout distinguishes between inductive and deductive logic, and then introduces probability, a concept essential to the study

Probability Worksheet 2 NAME: Remember to leave your answers as unreduced fractions. We will work with the example of picking poker cards out of a deck. A poker deck contains four suits: diamonds, hearts,

### An event is any set of outcomes of a random experiment; that is, any subset of the sample space of the experiment. The probability of a given event

An event is any set of outcomes of a random experiment; that is, any subset of the sample space of the experiment. The probability of a given event is the sum of the probabilities of the outcomes in the

### Definition and Calculus of Probability

In experiments with multivariate outcome variable, knowledge of the value of one variable may help predict another. For now, the word prediction will mean update the probabilities of events regarding the

### I. WHAT IS PROBABILITY?

C HAPTER 3 PROAILITY Random Experiments I. WHAT IS PROAILITY? The weatherman on 10 o clock news program states that there is a 20% chance that it will snow tomorrow, a 65% chance that it will rain and

### Events. Independence. Coin Tossing. Random Phenomena

Random Phenomena Events A random phenomenon is a situation in which we know what outcomes could happen, but we don t know which particular outcome did or will happen For any random phenomenon, each attempt,

### STAB47S:2003 Midterm Name: Student Number: Tutorial Time: Tutor:

STAB47S:200 Midterm Name: Student Number: Tutorial Time: Tutor: Time: 2hours Aids: The exam is open book Students may use any notes, books and calculators in writing this exam Instructions: Show your reasoning

### Chapter 3: The basic concepts of probability

Chapter 3: The basic concepts of probability Experiment: a measurement process that produces quantifiable results (e.g. throwing two dice, dealing cards, at poker, measuring heights of people, recording

### MATH 10: Elementary Statistics and Probability Chapter 3: Probability Topics

MATH 10: Elementary Statistics and Probability Chapter 3: Probability Topics Tony Pourmohamad Department of Mathematics De Anza College Spring 2015 Objectives By the end of this set of slides, you should

### Lesson 1. Basics of Probability. Principles of Mathematics 12: Explained! www.math12.com 314

Lesson 1 Basics of Probability www.math12.com 314 Sample Spaces: Probability Lesson 1 Part I: Basic Elements of Probability Consider the following situation: A six sided die is rolled The sample space

### 7.1 Sample space, events, probability

7.1 Sample space, events, probability In this chapter, we will study the topic of probability which is used in many different areas including insurance, science, marketing, government and many other areas.

### C.4 Tree Diagrams and Bayes Theorem

A26 APPENDIX C Probability and Probability Distributions C.4 Tree Diagrams and Bayes Theorem Find probabilities using tree diagrams. Find probabilities using Bayes Theorem. Tree Diagrams A type of diagram

### Probabilities. Probability of a event. From Random Variables to Events. From Random Variables to Events. Probability Theory I

Victor Adamchi Danny Sleator Great Theoretical Ideas In Computer Science Probability Theory I CS 5-25 Spring 200 Lecture Feb. 6, 200 Carnegie Mellon University We will consider chance experiments with

### Math 141. Lecture 2: More Probability! Albyn Jones 1. jones@reed.edu www.people.reed.edu/ jones/courses/141. 1 Library 304. Albyn Jones Math 141

Math 141 Lecture 2: More Probability! Albyn Jones 1 1 Library 304 jones@reed.edu www.people.reed.edu/ jones/courses/141 Outline Law of total probability Bayes Theorem the Multiplication Rule, again Recall

### AP Stats - Probability Review

AP Stats - Probability Review Multiple Choice Identify the choice that best completes the statement or answers the question. 1. I toss a penny and observe whether it lands heads up or tails up. Suppose

### Massachusetts Institute of Technology

n (i) m m (ii) n m ( (iii) n n n n (iv) m m Massachusetts Institute of Technology 6.0/6.: Probabilistic Systems Analysis (Quiz Solutions Spring 009) Question Multiple Choice Questions: CLEARLY circle the

### Introductory Probability. MATH 107: Finite Mathematics University of Louisville. March 5, 2014

Introductory Probability MATH 07: Finite Mathematics University of Louisville March 5, 204 What is probability? Counting and probability 2 / 3 Probability in our daily lives We see chances, odds, and probabilities

### STAT 35A HW2 Solutions

STAT 35A HW2 Solutions http://www.stat.ucla.edu/~dinov/courses_students.dir/09/spring/stat35.dir 1. A computer consulting firm presently has bids out on three projects. Let A i = { awarded project i },

### Notes 3 Autumn Independence. Two events A and B are said to be independent if

MAS 108 Probability I Notes 3 Autumn 2005 Independence Two events A and B are said to be independent if P(A B) = P(A) P(B). This is the definition of independence of events. If you are asked in an exam

### Using Laws of Probability. Sloan Fellows/Management of Technology Summer 2003

Using Laws of Probability Sloan Fellows/Management of Technology Summer 2003 Uncertain events Outline The laws of probability Random variables (discrete and continuous) Probability distribution Histogram

### ECE302 Spring 2006 HW3 Solutions February 2, 2006 1

ECE302 Spring 2006 HW3 Solutions February 2, 2006 1 Solutions to HW3 Note: Most of these solutions were generated by R. D. Yates and D. J. Goodman, the authors of our textbook. I have added comments in

### 36 Odds, Expected Value, and Conditional Probability

36 Odds, Expected Value, and Conditional Probability What s the difference between probabilities and odds? To answer this question, let s consider a game that involves rolling a die. If one gets the face

### Basic concepts in probability. Sue Gordon

Mathematics Learning Centre Basic concepts in probability Sue Gordon c 2005 University of Sydney Mathematics Learning Centre, University of Sydney 1 1 Set Notation You may omit this section if you are

### Chapter Chapter Goals. Assessing Probability. Important Terms. Events. Sample Space. Chapter 4 Basic Probability

Chapter 4 4- Chapter Goals Chapter 4 Basic Probability fter completing this chapter, you should be able to: Explain basic probability concepts and definitions Use contingency tables to view a sample space

### Homework 8 Solutions

CSE 21 - Winter 2014 Homework Homework 8 Solutions 1 Of 330 male and 270 female employees at the Flagstaff Mall, 210 of the men and 180 of the women are on flex-time (flexible working hours). Given that

### Chapter 15. Definitions: experiment: is the act of making an observation or taking a measurement.

MATH 11008: Probability Chapter 15 Definitions: experiment: is the act of making an observation or taking a measurement. outcome: one of the possible things that can occur as a result of an experiment.

### Math/Stats 425 Introduction to Probability. 1. Uncertainty and the axioms of probability

Math/Stats 425 Introduction to Probability 1. Uncertainty and the axioms of probability Processes in the real world are random if outcomes cannot be predicted with certainty. Example: coin tossing, stock

### Statistical Inference. Prof. Kate Calder. If the coin is fair (chance of heads = chance of tails) then

Probability Statistical Inference Question: How often would this method give the correct answer if I used it many times? Answer: Use laws of probability. 1 Example: Tossing a coin If the coin is fair (chance

### Chapter 13 & 14 - Probability PART

Chapter 13 & 14 - Probability PART IV : PROBABILITY Dr. Joseph Brennan Math 148, BU Dr. Joseph Brennan (Math 148, BU) Chapter 13 & 14 - Probability 1 / 91 Why Should We Learn Probability Theory? Dr. Joseph

### Probability & Statistics Primer Gregory J. Hakim University of Washington 2 January 2009 v2.0

Probability & Statistics Primer Gregory J. Hakim University of Washington 2 January 2009 v2.0 This primer provides an overview of basic concepts and definitions in probability and statistics. We shall

### Probability. Sample space: all the possible outcomes of a probability experiment, i.e., the population of outcomes

Probability Basic Concepts: Probability experiment: process that leads to welldefined results, called outcomes Outcome: result of a single trial of a probability experiment (a datum) Sample space: all

### Probability. a number between 0 and 1 that indicates how likely it is that a specific event or set of events will occur.

Probability Probability Simple experiment Sample space Sample point, or elementary event Event, or event class Mutually exclusive outcomes Independent events a number between 0 and 1 that indicates how

### Notes on Probability. Peter J. Cameron

Notes on Probability Peter J. Cameron ii Preface Here are the course lecture notes for the course MAS108, Probability I, at Queen Mary, University of London, taken by most Mathematics students and some

### Bayesian Updating with Discrete Priors Class 11, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom

1 Learning Goals Bayesian Updating with Discrete Priors Class 11, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom 1. Be able to apply Bayes theorem to compute probabilities. 2. Be able to identify

### A Simple Example. Sample Space and Event. Tree Diagram. Tree Diagram. Probability. Probability - 1. Probability and Counting Rules

Probability and Counting Rules researcher claims that 10% of a large population have disease H. random sample of 100 people is taken from this population and examined. If 20 people in this random sample

### Lecture 2: Probability

Lecture 2: Probability Assist. Prof. Dr. Emel YAVUZ DUMAN MCB1007 Introduction to Probability and Statistics İstanbul Kültür University Outline 1 Introduction 2 Sample Spaces 3 Event 4 The Probability

### Section 6-5 Sample Spaces and Probability

492 6 SEQUENCES, SERIES, AND PROBABILITY 52. How many committees of 4 people are possible from a group of 9 people if (A) There are no restrictions? (B) Both Juan and Mary must be on the committee? (C)

### For 2 coins, it is 2 possible outcomes for the first coin AND 2 possible outcomes for the second coin

Problem Set 1. 1. If you have 10 coins, how many possible combinations of heads and tails are there for all 10 coins? Hint: how many combinations for one coin; two coins; three coins? Here there are 2

### Exam 3 Review/WIR 9 These problems will be started in class on April 7 and continued on April 8 at the WIR.

Exam 3 Review/WIR 9 These problems will be started in class on April 7 and continued on April 8 at the WIR. 1. Urn A contains 6 white marbles and 4 red marbles. Urn B contains 3 red marbles and two white

### Probability. A random sample is selected in such a way that every different sample of size n has an equal chance of selection.

1 3.1 Sample Spaces and Tree Diagrams Probability This section introduces terminology and some techniques which will eventually lead us to the basic concept of the probability of an event. The Rare Event

### Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

ECS20 Discrete Mathematics Quarter: Spring 2007 Instructor: John Steinberger Assistant: Sophie Engle (prepared by Sophie Engle) Homework 8 Hints Due Wednesday June 6 th 2007 Section 6.1 #16 What is the

### Chapter 6. 1. What is the probability that a card chosen from an ordinary deck of 52 cards is an ace? Ans: 4/52.

Chapter 6 1. What is the probability that a card chosen from an ordinary deck of 52 cards is an ace? 4/52. 2. What is the probability that a randomly selected integer chosen from the first 100 positive

### Probability. Vocabulary

MAT 142 College Mathematics Probability Module #PM Terri L. Miller & Elizabeth E. K. Jones revised January 5, 2011 Vocabulary In order to discuss probability we will need a fair bit of vocabulary. Probability

### Unit 19: Probability Models

Unit 19: Probability Models Summary of Video Probability is the language of uncertainty. Using statistics, we can better predict the outcomes of random phenomena over the long term from the very complex,

### 94 Counting Solutions for Chapter 3. Section 3.2

94 Counting 3.11 Solutions for Chapter 3 Section 3.2 1. Consider lists made from the letters T, H, E, O, R, Y, with repetition allowed. (a How many length-4 lists are there? Answer: 6 6 6 6 = 1296. (b

### MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Ch. - Problems to look at Name MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. Provide an appropriate response. 1) A coin is tossed. Find the probability

### (b) You draw two balls from an urn and track the colors. When you start, it contains three blue balls and one red ball.

Examples for Chapter 3 Probability Math 1040-1 Section 3.1 1. Draw a tree diagram for each of the following situations. State the size of the sample space. (a) You flip a coin three times. (b) You draw

### E3: PROBABILITY AND STATISTICS lecture notes

E3: PROBABILITY AND STATISTICS lecture notes 2 Contents 1 PROBABILITY THEORY 7 1.1 Experiments and random events............................ 7 1.2 Certain event. Impossible event............................

### STAT 319 Probability and Statistics For Engineers PROBABILITY. Engineering College, Hail University, Saudi Arabia

STAT 319 robability and Statistics For Engineers LECTURE 03 ROAILITY Engineering College, Hail University, Saudi Arabia Overview robability is the study of random events. The probability, or chance, that

### The study of probability has increased in popularity over the years because of its wide range of practical applications.

6.7. Probability. The study of probability has increased in popularity over the years because of its wide range of practical applications. In probability, each repetition of an experiment is called a trial,

### Jan 17 Homework Solutions Math 151, Winter 2012. Chapter 2 Problems (pages 50-54)

Jan 17 Homework Solutions Math 11, Winter 01 Chapter Problems (pages 0- Problem In an experiment, a die is rolled continually until a 6 appears, at which point the experiment stops. What is the sample

### Basics of Probability

Basics of Probability August 27 and September 1, 2009 1 Introduction A phenomena is called random if the exact outcome is uncertain. The mathematical study of randomness is called the theory of probability.

### Discrete Math in Computer Science Homework 7 Solutions (Max Points: 80)

Discrete Math in Computer Science Homework 7 Solutions (Max Points: 80) CS 30, Winter 2016 by Prasad Jayanti 1. (10 points) Here is the famous Monty Hall Puzzle. Suppose you are on a game show, and you

### Basic Probability Theory II

RECAP Basic Probability heory II Dr. om Ilvento FREC 408 We said the approach to establishing probabilities for events is to Define the experiment List the sample points Assign probabilities to the sample

### Topic 6: Conditional Probability and Independence

Topic 6: September 15-20, 2011 One of the most important concepts in the theory of probability is based on the question: How do we modify the probability of an event in light of the fact that something

### Discrete Mathematics for CS Fall 2006 Papadimitriou & Vazirani Lecture 22

CS 70 Discrete Mathematics for CS Fall 2006 Papadimitriou & Vazirani Lecture 22 Introduction to Discrete Probability Probability theory has its origins in gambling analyzing card games, dice, roulette

### The concept of probability is fundamental in statistical analysis. Theory of probability underpins most of the methods used in statistics.

Elementary probability theory The concept of probability is fundamental in statistical analysis. Theory of probability underpins most of the methods used in statistics. 1.1 Experiments, outcomes and sample

### PROBABILITY. Chapter Overview

Chapter 6 PROBABILITY 6. Overview Probability is defined as a quantitative measure of uncertainty a numerical value that conveys the strength of our belief in the occurrence of an event. The probability

### Statistics 100A Homework 2 Solutions

Statistics Homework Solutions Ryan Rosario Chapter 9. retail establishment accepts either the merican Express or the VIS credit card. total of percent of its customers carry an merican Express card, 6

### MATH 201. Final ANSWERS August 12, 2016

MATH 01 Final ANSWERS August 1, 016 Part A 1. 17 points) A bag contains three different types of dice: four 6-sided dice, five 8-sided dice, and six 0-sided dice. A die is drawn from the bag and then rolled.

### Ch. 12.1: Permutations

Ch. 12.1: Permutations The Mathematics of Counting The field of mathematics concerned with counting is properly known as combinatorics. Whenever we ask a question such as how many different ways can we

### Elements of probability theory

2 Elements of probability theory Probability theory provides mathematical models for random phenomena, that is, phenomena which under repeated observations yield di erent outcomes that cannot be predicted

### Chapter 6. QTM1310/ Sharpe. Randomness and Probability. 6.1 Random Phenomena and Probability. 6.1 Random Phenomena and Probability

6.1 Random Phenomena and Probability Chapter 6 Randomness and Probability The Law of Large Numbers (LLN) states that if the events are independent, then as the number of trials increases, the longrun relative

### Chapter 5: Probability: What are the Chances? Probability: What Are the Chances? 5.1 Randomness, Probability, and Simulation

Chapter 5: Probability: What are the Chances? Section 5.1 Randomness, Probability, and Simulation The Practice of Statistics, 4 th edition For AP* STARNES, YATES, MOORE Chapter 5 Probability: What Are

### Conditional Probability and Independence. What Is Conditional Probability?

Conditional Probability and Independence What Is Conditional Probability? The probability we assign to an event can change if we know that some other event has occurred. This idea is the key to many applications

### PROBABILITY 14.3. section. The Probability of an Event

4.3 Probability (4-3) 727 4.3 PROBABILITY In this section In the two preceding sections we were concerned with counting the number of different outcomes to an experiment. We now use those counting techniques

### AP Statistics 7!3! 6!

Lesson 6-4 Introduction to Binomial Distributions Factorials 3!= Definition: n! = n( n 1)( n 2)...(3)(2)(1), n 0 Note: 0! = 1 (by definition) Ex. #1 Evaluate: a) 5! b) 3!(4!) c) 7!3! 6! d) 22! 21! 20!

### If we know that LeBron s next field goal attempt will be made in a game after 3 days or more rest, it would be natural to use the statistic

Section 7.4: Conditional Probability and Tree Diagrams Sometimes our computation of the probability of an event is changed by the knowledge that a related event has occurred (or is guaranteed to occur)

### MATH 140 Lab 4: Probability and the Standard Normal Distribution

MATH 140 Lab 4: Probability and the Standard Normal Distribution Problem 1. Flipping a Coin Problem In this problem, we want to simualte the process of flipping a fair coin 1000 times. Note that the outcomes

### Chapter 5 - Probability

Chapter 5 - Probability 5.1 Basic Ideas An experiment is a process that, when performed, results in exactly one of many observations. These observations are called the outcomes of the experiment. The set

### Information Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay

Information Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay Lecture - 17 Shannon-Fano-Elias Coding and Introduction to Arithmetic Coding

### Section 6.2 Definition of Probability

Section 6.2 Definition of Probability Probability is a measure of the likelihood that an event occurs. For example, if there is a 20% chance of rain tomorrow, that means that the probability that it will

### Probability - Part I. Definition : A random experiment is an experiment or a process for which the outcome cannot be predicted with certainty.

Probability - Part I Definition : A random experiment is an experiment or a process for which the outcome cannot be predicted with certainty. Definition : The sample space (denoted S) of a random experiment

### PROBABILITY NOTIONS. Summary. 1. Random experiment

PROBABILITY NOTIONS Summary 1. Random experiment... 1 2. Sample space... 2 3. Event... 2 4. Probability calculation... 3 4.1. Fundamental sample space... 3 4.2. Calculation of probability... 3 4.3. Non

### CHAPTER 3: PROBABILITY TOPICS

CHAPTER 3: PROBABILITY TOPICS Exercise 1. In a particular college class, there are male and female students. Some students have long hair and some students have short hair. Write the symbols for the probabilities

### Sample Space, Events, and PROBABILITY

Sample Space, Events, and PROBABILITY In this chapter, we will study the topic of probability which is used in many different areas including insurance, science, marketing, government and many other areas.

### Elements of probability theory

The role of probability theory in statistics We collect data so as to provide evidentiary support for answers we give to our many questions about the world (and in our particular case, about the business

### m (t) = e nt m Y ( t) = e nt (pe t + q) n = (pe t e t + qe t ) n = (qe t + p) n

1. For a discrete random variable Y, prove that E[aY + b] = ae[y] + b and V(aY + b) = a 2 V(Y). Solution: E[aY + b] = E[aY] + E[b] = ae[y] + b where each step follows from a theorem on expected value from

### AQA Statistics 1. Probability. Section 2: Tree diagrams

Notes and Examples AQA Statistics Probability Section 2: Tree diagrams These notes include sub-sections on; Reminder of the addition and multiplication rules Probability tree diagrams Problems involving