Problems and results for the ninth week Mathematics A3 for Civil Engineering students

Similar documents
Chapter 2.5 Random Variables and Probability The Modern View (cont.)

Denker FALL Probability- Assignment 6

CSC Discrete Math I, Spring Discrete Probability

Introduction to Probability 2017/18 Supplementary Problems

Conditional probability

With Question/Answer Animations. Chapter 7

UNIT 5 ~ Probability: What Are the Chances? 1

CH 3 P1. Two fair dice are rolled. What is the conditional probability that at least one lands on 6 given that the dice land on different numbers?

Discrete Probability. Chemistry & Physics. Medicine

Dept. of Linguistics, Indiana University Fall 2015

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

HW MATH425/525 Lecture Notes 1

2.6 Tools for Counting sample points

Motivation. Stat Camp for the MBA Program. Probability. Experiments and Outcomes. Daniel Solow 5/10/2017

Discrete Probability

Outline. Probability. Math 143. Department of Mathematics and Statistics Calvin College. Spring 2010

List the elementary outcomes in each of the following events: EF, E F, F G, EF c, EF G. For this problem, would you care whether the dice are fair?

Class 26: review for final exam 18.05, Spring 2014

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

Presentation on Theo e ry r y o f P r P o r bab a il i i l t i y

Solutionbank S1 Edexcel AS and A Level Modular Mathematics

Probability Theory: Homework problems

Edexcel past paper questions

STATPRO Exercises with Solutions. Problem Set A: Basic Probability

Name: Exam 2 Solutions. March 13, 2017

STAT 414: Introduction to Probability Theory

Event A: at least one tail observed A:

Mutually Exclusive Events

PRACTICE PROBLEMS FOR EXAM 2

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E.

Topic 5: Probability. 5.4 Combined Events and Conditional Probability Paper 1

Outline Conditional Probability The Law of Total Probability and Bayes Theorem Independent Events. Week 4 Classical Probability, Part II

(6, 1), (5, 2), (4, 3), (3, 4), (2, 5), (1, 6)

Quantitative Methods for Decision Making

Math 140 Introductory Statistics

MATH STUDENT BOOK. 12th Grade Unit 9

Math 140 Introductory Statistics

4/17/2012. NE ( ) # of ways an event can happen NS ( ) # of events in the sample space

STAT 418: Probability and Stochastic Processes

Probability Problems for Group 3(Due by EOC Mar. 6)

Discrete Random Variables

PROBABILITY.

Senior Math Circles November 19, 2008 Probability II

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e

F71SM STATISTICAL METHODS

Some Basic Concepts of Probability and Information Theory: Pt. 1

Probabilistic models

Chapter 2 PROBABILITY SAMPLE SPACE

What is a random variable

Introduction to Probability Theory

MATH 3510: PROBABILITY AND STATS July 1, 2011 FINAL EXAM

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

1 Probability Theory. 1.1 Introduction

Useful for Multiplication Rule: When two events, A and B, are independent, P(A and B) = P(A) P(B).

Announcements. Topics: To Do:

Conditional Probability. CS231 Dianna Xu

EE126: Probability and Random Processes

What is Probability? Probability. Sample Spaces and Events. Simple Event

Math 243 Section 3.1 Introduction to Probability Lab

Intermediate Math Circles November 8, 2017 Probability II

Exam III Review Math-132 (Sections 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 8.1, 8.2, 8.3)

What does independence look like?

CHAPTER 3 PROBABILITY: EVENTS AND PROBABILITIES

Statistical Theory 1

Notes for Math 324, Part 17

MATH 3C: MIDTERM 1 REVIEW. 1. Counting

Probability and Probability Distributions. Dr. Mohammed Alahmed

1 Basic continuous random variable problems

Section 13.3 Probability

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM

The possible experimental outcomes: 1, 2, 3, 4, 5, 6 (Experimental outcomes are also known as sample points)

Chapter 4 Probability

1. When applied to an affected person, the test comes up positive in 90% of cases, and negative in 10% (these are called false negatives ).

MATH MW Elementary Probability Course Notes Part I: Models and Counting

1 INFO 2950, 2 4 Feb 10

Probability Year 10. Terminology

1 Basic continuous random variable problems

Conditional Probability

Conditional Probability

Bayes Formula. MATH 107: Finite Mathematics University of Louisville. March 26, 2014

STA Module 4 Probability Concepts. Rev.F08 1

CHAPTER 3 PROBABILITY TOPICS

Probabilistic models

Math/Stat 394 Homework 5

Introduction to Probability, Fall 2009

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

lecture notes October 22, Probability Theory


Review of Probability. CS1538: Introduction to Simulations

Example. What is the sample space for flipping a fair coin? Rolling a 6-sided die? Find the event E where E = {x x has exactly one head}

Probability Year 9. Terminology

WESTERN CAPE EDUCATION DEPARTMENT

Nuevo examen - 02 de Febrero de 2017 [280 marks]

Exam 1 Review With Solutions Instructor: Brian Powers

Baye s theorem. Baye s Theorem Let E and F be two possible events of an experiment, then P (F ) P (E F ) P (F ) P (E F ) + P (F ) P (E F ).

Discussion 03 Solutions

Probability 5-4 The Multiplication Rules and Conditional Probability

Discrete Random Variables (1) Solutions

P (A B) P ((B C) A) P (B A) = P (B A) + P (C A) P (A) = P (B A) + P (C A) = Q(A) + Q(B).

Transcription:

Problems and results for the ninth week Mathematics A3 for Civil Engineering students. Production line I of a factor works 0% of time, while production line II works 70% of time, independentl of each other. What is the probabilit that (a both lines operate, (b at least one of the lines operates, (c precisel one of the lines operates, (d both lines are stopped? 2. Suppose that each child born to a couple is equall likel to be a bo or a girl independent of the sex distribution of the other children of the famil. For a couple having children, compute the probabilities of the following events: (a All children are of the same sex. (b The 3 eldest are bos and the others girls. (c Exactl 3 are bos. (d The 2 oldest are girls. (e There is at least girl. 3. We roll a red and a green die. Consider the following events: A = {the sum of the numbers shown is 7}, B = {at least one of the dice shows a }, C = {both dice show odd numbers}, D = {the dice show different numbers}, E = {the green die shows a 4}. (a Are the events A and C independent? (b Are the events A and C mutuall exclusive? (c What is the probabilit of B? (d How are A and D related? What consequences follow for their probabilities? And for their independence? (e Are the events A and E independent? (f Based on the above, show examples of i. independent but not mutuall exclusive events, ii. mutuall exclusive but not independent events. 4. We roll a red and a green die. Consider the following events: A = {the sum of the numbers shown is 7}, B = {the red die shows a 3}, C = {the green die shows a 4}. (a Are the events A and B independent? The events A and C? How about B and C? (b Are the events A, B, C independent? (c Are the events A and B C independent? (d So, are A, B, C independent?. Suppose that we want to generate the outcome of the flip of a fair coin but that all we have at our disposal is a biased coin which lands on heads with some unknown probabilit p that need not to be equal to /2. Consider the following procedure for accomplishing our task.

( Flip the coin. (2 Flip the coin again. (3 If both flips land heads or both land tails then return to step (. (4 Otherwise, if the two flips are different, then let the result of the last flip be the result of the experiment. (a Show that the result is equall likel to be either heads or tails. (b Could we use a simpler procedure that continues to flip the coin until the last two flips are different and then lets the result be the outcome of the final flip?. Independent flips of a coin that lands on heads with probabilit p are made. What is the probabilit that the first outcomes are (a H, H, H, H, (b T, H, H, H? (c What is the probabilit that the pattern (T, H, H, H occurs before the pattern (H, H, H, H? (Hint: How can the pattern (H, H, H, H occur first? 7. A true-false question is to be posed to a husband and wife team on a quiz show. Both the husband and the wife will, independentl, give the correct answer with probabilit p. Which of the following is a better strateg for this couple? (a Choose one of them and let that person answer the question; or (b have them both consider the question and then either give the common answer if the agree or, if the disagree, flip a coin to determine which answer to give? 8. Between cities A, B, C, there are the following roads: A B, A C and B C. At a winter night, each of these road gets blocked b the snow independentl with probabilit p. What is then the probabilit that on the next morning cit C will be accessible from cit A? 9. Between cities A, B, C, there are two independent roads between cities A and B, and another road between B and C. If each of these roads gets blocked independentl with probabilit q, then what is the probabilit that cit C will be accessible from cit A? 0. Five men and women are ranked according to their scores on an examination. Assume that no two scores are alike and all 0! possible rankings are equall likel. Let X denote the highest ranking achieved b a woman (for instance, X= if the top-ranked person is female. Find the probabilit mass function P{X = i}, i =, 2,..., 0 of X.. The mass function of X is given b p(i = i2, i =, 2, 3, 4. Compute the expectation of X. 30 2. Adam and Bob pla the following game: the both roll a die, and Bob gives Adam an amount equal to the square of the difference of the numbers shown on the two dice. Adam gives Bob an amount equal to the sum of the two numbers shown on the dice. Who is favored b this game? 3. On a raffle the have one HUF000000, 0 HUF0000, and 00 HUF000 prizes. The produce 40000 tickets for this raffle. What should the price of one ticket be, so that the expected return agrees to the half of that price? 2

4. Assume the fixed prizes of HUF700, HUF0000, HUF789 thousand, and HUF3 million on the lotter ( winner numbers out of 90. With a price HUF0 of a lotter ticket, what are our expected winnings on one lotter ticket?. Ann and Bob pla with two dice. Ann pas Bob whenever both dice show odd numbers. Bob pas Ann whenever exactl one die shows an even number. In an other case, no paments are made. What amounts should the set up to make this game fair?. Let X be the outcome of rolling a die. Compute the expectation and standard deviation of X. What if the die has n sides? 7. A total of 4 buses carring 48 students from the same school arrive at a football stadium. The buses carr, respectivel, 40, 33, 2, and 0 students. One of the students is randoml selected. Let X denote the number of students that were on the bus carring this randoml selected student. One of the 4 bus drivers is also randoml selected. Let Y denote the number of students in her bus. (a Which of E(X or E(Y do ou think is larger? Wh? (b Compute E(X and E(Y. (c Find Var(X and Var(Y. 8. We draw without replacement 3 balls from an urn that contains 4 red and white balls. Denote b X the number of red balls drawn. Find the distribution of X, its expectation and standard deviation. 9. We randoml place a knight on an empt chessboard. What is the expected number of his possible moves? (A knight placed on the square (i, j of the chessboard can move to an of the squares (i+2, j +, (i+, j +2, (i, j +2, (i 2, j +, (i 2, j, (i, j 2, (i +, j 2, (i + 2, j, provided the are on the chessboard. 20. Rolling two dice, what is the expected value of the higher and of the smaller of the two numbers shown? 2. One of the numbers through 0 is randoml chosen. You are to tr to guess the number chosen b asking questions with es-no answers. Compute the expected number of questions ou will need to ask in each of the two cases: (a Your ith question is to be Is it i?, i =, 2,..., 0. (b With each question ou tr to eliminate one-half of the remaining numbers, as nearl as possible. For example, our first question is Is the number larger than?. If es, then our second question is Is the number greater than 7?, etc. 22. If E(X = and Var(X =, find (a E[(2 + X 2 ], (b Var(4 + 3X. 23. Let X be a random variable having expected value µ and variance σ 2. Find the expected value and variance of Y : = X µ. σ 24. How man people are needed so that the probabilit that at least one of them has the same birthda as ou is greater than /2? 3

Answers.(a 0. 0.7 = 0.42 (b 0.4 0.3 = 0.88 (c 0. 0.3 + 0.4 0.7 = 0.4 (d 0.4 0.3 = 0.2 2.(a (/2 + (/2 = / (b /32 (c ( ( 3 3 ( 2 2 2 = / (d 2 2 = /4 (e ( 2 = 3/32 3.(a No, because (b the are mutuall exclusive events. (c P{none of them is } = ( 2. (d A implies D, that is A D. Hence P{A} P{D}, and e.g. / = P{D} P{D A} = shows that A and D cannot be independent. (e The event A is realized in cases out of the 3 possible outcomes, hence its probabilit is /. The event E also has probabilit /, and A E is realized in precisel one case, its probabilit is /3. Therefore, P{A} P{E} = P{A E}, the two events are independent. (f i. A and E; ii. A and C. 4.(a P{A} = P{B} = P{C} = /, and P{AB} = P{AC} = P{BC} = /3, hence A and B; A and C; B and C are pairwise independent. (c Since B C A, B C and A cannot be independent. (b,(d A, B, C are not independent. Our result in (c is an indication of this fact, and also /3 = P{A B C} P{A} P{B} P{C} = /2..(a The procedure can be reformulated in the following wa: We flip the coin twice. If the outcomes agree, then our flips do not matter, we restart the experiment. If the two outcomes disagree, then we consider the second outcome. From this formulation one can see that the outcomes of our procedure follow a conditional distribution: P{the procedure gives H} = P{(T, H (T, H or (H, T} = P{(T, H} P{(T, H or (H, T} = Similarl, the procedure gives tails with probabilit /2. ( pp ( pp + p( p = 2. 4

(b For an 0 < p <, we will surel find both heads and tails eventuall. Thus method (b gives H if and onl if the first flip comes out T, which happens with probabilit p. The method gives T if and onl if the first flip is H, this happens with probabilit p. Hence method (b does not give fair coin flip results. The difficult in this problem is figuring out wh our arguments in (a do not work in the case of method (b. In the above formulation of (a we consider a fixed pair of coin flips (the first two flips, while in method (b we take a randoml selected pair of coin flips, those where we first see a change in the outcomes. This innocent-looking difference essentiall modifies the probabilities of the outcomes (H, T and (T, H. Our arguments in (a, applied on case (b, would look like this: P{the procedure gives H} = P{(T, H (T, H or (H, T} and similarl the probabilit of outcome T is p..(a p 4 (b ( p p 3 = P{(T, H} ( p = P{(T, H or (H, T} ( p + p = p, (c Our first observation is that for an 0 < p < we will eventuall see the pattern (H, H, H, H. Suppose that the first such pattern starts at the nth flip. If n >, then the n th flip cannot be H since then the first (H, H, H, H pattern would have started before the nth flip. Hence in this case the n th flip is necessaril T, and starting with the n th flip we see the pattern (T, H, H, H, H. In that sequence, (T, H, H, H appears before (H, H, H, H. Summarizing, (H, H, H, H can onl appear before (T, H, H, H if it starts immediatel at the n = st flip, that is if all four first flips are heads. The probabilit of that is p 4. 7. In case (a the correct answer is given with probabilit p. In case (b, define E as the event that the team gives the correct answer, C and W, respectivel, the events that the wife or the husband would give the correct or the wrong answer (that is, e.g. (C, C is the event that the both would give the correct answer. Then P{E} = P{E (C, C} P{(C, C} + P{E (C, W} P{(C, W} + P{E (W, C} P{(W, C} + P{E (W, W} P{(W, W} = p 2 + 2 p( p + 2 ( pp + 0 ( p2 = p. There is no difference between the two strategies. A strateg similar to (b would be favorable for larger teams (and p > /2. 8. Denote the event in question b A C, and the event that the road A B is not blocked b A B. Then P{A C} = P{A C A C} ( p + P{A C A C} p = ( p + P{A B, B C} p = p + ( p 2 p. 9. With the notation of the previous problem, the events A B and B C are independent. Hence P{A C} = P{A B} P{B C} = [ q 2 ] ( q. 0. Clearl the probabilit is zero if i >.

Without order: If we onl consider the sex of the contestants, then each of the ( 0 possible orders are equall likel. Out of these we have to count how man will give men for the first i positions, then a woman on the ith position. In other words we have to count the number of was 4 women and (i = i men can be arranged on the 0 i positions behind the first woman. The answer is ( 0 i 4, and the probabilit in question is ( 0 i 4 ( 0 = (0 i!!! 0! 4! ( i! (0 i!! =. 0! ( i! With order: In this case all contestants are considered different. We have to count that, out of the 0! possible orders, in how man cases are there men on the first i positions, and a woman on the ith position. For the first i positions we can arrange men in!/[ (i ]! =!/( i! man was (i permutations of men. Then we have choices for selecting the woman at position i, then (0 i! was to arrange the remaining contestants on the 0 i positions left. The probabilit in question is thus! (0 i!. ( i! 0! The answers for i =, 2, 3, 4, and are, respectivel, /2, /8, /3, /84, /22, /22.. E(X = 4 i p(i = i= 4 i= i 3 30 = 3 30 + 23 30 + 33 30 + 43 30 = 0 3. 2. Let X be the square of the difference of the numbers shown b the two dice. Then X has mass function p(0 = /, p( = 0/3, p(4 = 8/3, p(9 = /3, p( = 4/3, p(2 = 2/3, and expectation E(X = 0 + 0 3 + 4 8 3 + 9 3 + 4 3 + 2 2 3 = 20 3 = 3. Similarl, Y is the sum of the two numbers, its mass function is p(2 = p(2 = /3, p(3 = p( = 2/3, p(4 = p(0 = 3/3, p( = p(9 = 4/3, p( = p(8 = /3, p(7 = /3, and its expectation is 7=42/. Hence the game favors Bob in the long run. 3. The expected return are 0 00 HUF 000 000 + HUF0 000 + HUF 000 = HUF0, 40 000 40 000 40 000 so tickets should be sold for HUF00. 4. The expected return is ( ( 2 8 ( ( 3 3 8 2 ( 90 700 + ( 90 0 000 + ( ( 4 8 ( 90 789 000 + 3 000 000 HUF43.. If tickets cost HUF0, then on average we loose HUF0. 34 on each ticket. Ann pas Bob with probabilit = /4, and Bob pas Ann with probabilit + = /2. 2 2 2 2 2 2 The game is fair if Ann pas twice the amount that Bob pas, e.g. 2 tokens while Bob pas token. In case of an n sided die, the mass function of X is p(i = /n, i =, 2,...n. With the sum formula for the arithmetic sequence, E(X = n i p(i = n i= n i = n i= ( 90 n(n + 2 = n +. 2

For the standard deviation we need the second moment as well, and we use the sum formula for the square numbers: E(X 2 = n i 2 p(i = n i= n i= i 2 = n 2n3 + 3n 2 + n = 2n2 + 3n +. The standard deviation is then SD(X = E(X 2 [E(X] 2 = 2n2 + 3n + n2 + 2n + 4 = n2 2. For an ordinar die we have n =, E(X = 7/2, SD(X = 3/2. 7.(a We have a greater chance of choosing a student from a crowded bus, while we pick each bus with equal chance when choosing one of the drivers. Therefore we expect X to be greater than Y. (b Using the mass function of X, E(X = 40 40 48 + 33 33 48 + 2 2 48 + 0 0 48 39.28. As Y takes on an of the given values with equal chance, E(Y = 40 4 + 33 4 + 2 4 + 0 4 = 37. (c For the standard deviation we determine the second moments: E(X 2 = 40 2 40 48 + 332 33 48 + 22 2 48 + 02 0 48 2.4, E(Y 2 = 40 2 4 + 332 4 + 22 4 + 02 4 = 43.. The standard deviations are then SD(X = E(X 2 [E(X 2 ] 2.4 39.28 2 9.0, SD(Y = E(Y 2 [E(Y 2 ] 43. 37 2 9.9. 8. The mass function of X is: ( 4 ( 0 p(0 = ( 3 0 = ( 4 (, p( = 2 ( 0 = ( 4 ( 2 2, p(2 = = 3 0, p(3 = 3 3 ( 0 3 ( 4 ( 3 ( 0 0 = 30. 3 Then E(X = 0 + 2 + 2 3 0 + 3 30 =, E(X 2 = 0 2 + 2 2 + 22 SD(X = E(X 2 [E(X] 2 = 2 [/] 2 = 4/. 3 0 + 32 30 = 2, 2.(a Let X be the random number to be found out. Our method needs the number of questions equal to the value of X. Hence the answer is E(X =.. 7

(b Let our strateg be the following: >? n > 3? > 7? n n >? > 4? >? > 9? n n n n > 2? 4 7 > 8? 0 n n 2 3 8 9 Our first question is whether the number is greater than. With all the questions we then tr to eliminate half of the possibilities left. We need three questions if and onl if the random number is,4,,,7, or 0 (that is, with probabilit /0, and four questions if and onl if the number is 2,3,8, or 9 (with probabilit 4/0. The expected number of questions is hence 3 + 4 4 = 7 = 3.4. For a random number between and 0 the two methods do 0 0 not show an essential difference in length, but indeed method (b is much faster for finding out large random numbers. 22.(a E[(2+X 2 ] = E(4+E(4X+E(X 2 = 4+4E(X+Var(X+[E(X] 2 = 4+4 ++ 2 = 4. 23. (b Additive constants do not matter for the variance, and multiplicative constants are factored out as squares. Therefore Var(4 + 3X = 3 2 Var(X = 9 = 4. ( E(Y = E σ σ X µ = σ E(X µ σ = 0, ( Var(Y = Var σ σ X µ = σ2var(x =, hence SD(Y =. Y is called the standardized of X. 24. The probabilit that I do not have a common birthda with an of n people is ( 34 n 3 (not counting leap ears. The probabilit that at least one of the n people shares birthda with me is ( 34 n 3. Hence I need to find n for which ( 34 n 3 2 ( 34 n 3 2 n log 2 ( 34 3 that is at least 23 persons are needed. n log 2 (3 log 2 (34 22.7, 8