Chapter 2. Random variables Problem 42 1. Let D1 (D2) be the outcome on the first (second) die ππ΄ (1) = π(π·1 = 1 ∩ π·2 = 1) = 1⁄36 ππ΄ (2) = π[(π·1 = 1 ∩ π·2 = 2) ∪ (π·1 = 2 ∩ π·2 = 1) ∪ (π·1 = 2 ∩ π·2 = 2)] = 3⁄36 … 2. π(π΄ π€πππ ) = ππ΄ (1) ∗ 0 + ππ΄ (2) ∗ 1⁄6 + ππ΄ (3) ∗ 2⁄6 + ππ΄ (4) ∗ 3⁄6 + ππ΄ (5) ∗ 4⁄6 + ππ΄ (6) ∗ 5⁄6 = 125⁄216 = 0.579 Problem 43 Let Gk denote game k, π = 1, 2, 3 π(1) = π(π΄ π€πππ πΊ1) = 1⁄3 π(2) = π[(π΅ π€πππ πΊ1 ∩ π΄ π€πππ πΊ2) ∪ (π΅ π€πππ πΊ1 ∩ π΅π€πππ πΊ2) ∪ (πΆ π€πππ πΊ1 ∩ π΄ π€πππ πΊ2) ∪ (πΆ π€πππ πΊ1 ∩ π΄ π€πππ πΊ2)] = 4 ∗ (1⁄3)2 = 4⁄9 π(3) = 1 − π(1) − π(2) = 2⁄9 Problem 44 Let π π be the result of the first roll, π = 1, 2 (not counting rolls where the outcome is smaller than the previous outcome resulting in at most two rolls) π(1) = π(π 1 = 1 ∩ π 2 = 1) = 1⁄6 ∗ 1⁄6 = 1⁄36 π(2) = π[(π 2 = 2 ∩ π 1 = 1) ∪ (π 2 = 2 ∩ π 1 = 2)] = 1⁄6 ∗ 1⁄6 + 1⁄6 ∗ 1⁄5 = 11⁄180 π(3) = 1⁄6 ∗ 1⁄6 + 1⁄6 ∗ 1⁄5 + 1⁄6 ∗ 1⁄4 = 37⁄360 Problem 45 π(1) = π[(πππ ππππππ π‘π π π’ππππππ 1) ∪ (πππ ππππππ π‘π π π’ππππππ 2) ∪ … ] = ∑4π=1 π(πππ ππππππ π‘π π π’ππππππ π) = 4 ∗ (1⁄4)4 = (1⁄4)3 = 1⁄64 π(2) = 4! 4! 4! 4 ( )∗[ + + ] 2 2!2!0!0! 3!1!0!0! 1!3!0!0! 4 4 = 6∗[6+8] 256 = 21⁄64 : two suppliers can be selected from four 4 suppliers in ( ) ways. For each combination of suppliers, say supplier 1 and supplier 2, the four 2 orders can be split 2-2, 1-3 or 3-1. 4! 4 ( ) ∗ [3 ∗ 2! 1! 1! 0!] π(3) = 3 = 9⁄16 44 π(4) = 4! = 3⁄32 44 Problem 46 Let π1π΄ (π) be the probability that the first arrival of team A arrives in position k. π1π΄ (1) = 3⁄6 = 0.5 π1π΄ (2) = 3⁄6 ∗ 3⁄5 = 0.3: a B-runner followed by a A-runner π1π΄ (3) = 3⁄6 ∗ 2⁄5 ∗ 3⁄4 = 0.15: two B-runners followed by a A-runner π1π΄ (4) = 3⁄6 ∗ 2⁄5 ∗ 1⁄4 ∗ 1 = 0.05: three B-runners followed by a A-runner Let π2π΄ (π) be the probability that the second arrival of team A arrives in position k. π2π΄ (2) = 3⁄6 ∗ 2⁄5 = 0.2: A-runner followed by A-runner π2π΄ (3) = 3⁄6 ∗ 3⁄5 ∗ 2⁄4 + 3⁄6 ∗ 3⁄5 ∗ 2⁄4 = 0.3: A-B-A or B-A-A π2π΄ (4) = 3⁄6 ∗ 3⁄5 ∗ 2⁄4 ∗ 2⁄3 + 3⁄6 ∗ 2⁄5 ∗ 3⁄4 ∗ 2⁄3 + 3⁄6 ∗ 3⁄5 ∗ 2⁄4 ∗ 2⁄3 = 0.3: A-B-B-A or B-B-A-A or B-A-B-A π2π΄ (5) = 1 − π2π΄ (2) − π2π΄ (3) − π2π΄ (4) = 0.2 Problem 47 Let ⌊π⌋ denote the largest integer smaller or equal to q. Let Dk be the event that R is divisible by k, let π·π\β1 , β2 , … , βπ be the event that R is divisible by k but not by β1 , β2 , … , βπ . π(π = 7) = π(π·7) = ⌊1000⁄7⌋⁄1000 = 0.142 π(π = 5) = π(π·5) − π(π·5 ∩ π·7) = ⌊1000⁄5⌋⁄1000 − ⌊1000⁄35⌋⁄1000 = 0.2 − 0.028 = 0.172 π(π = 3) = π(π·3) − π(π·5 ∩ π·3) − π(π·3 ∩ 7) + π(3 ∩ 5 ∩ 7) = ⌊1000⁄3⌋⁄1000 − ⌊1000⁄15⌋⁄1000 − ⌊1000⁄21⌋⁄1000 + ⌊1000⁄105⌋⁄1000 = 0.229 π(π = 2) = π(π·2) − π(π·2 ∩ π·3) − π(π·2 ∩ π·5) − π(2 ∩ 7) + π(π·2 ∩ π·3 ∩ π·5) + π(π·2 ∩ π·3 ∩ π·7) + π(π·2 ∩ π·5 ∩ π·7) − π(π·2 ∩ π·3 ∩ π·5 ∩ π·7) = ⌊1000⁄2⌋⁄1000 − ⌊1000⁄6⌋⁄1000 − ⌊1000⁄10⌋⁄1000 − ⌊1000⁄14⌋⁄1000 + ⌊1000⁄30⌋⁄1000 + ⌊1000⁄42⌋⁄1000 + ⌊1000⁄70⌋⁄1000 − ⌊1000⁄210⌋⁄1000 = 0.229 π(π = 0) = 1 − π(π = 2) − π(π = 3) − π(π = 5) − π(π = 7) = 0.228 Problem 48 π(π = 6) = 1⁄6 π(π = 5) = 5⁄6 ∗ 2⁄6 = 5⁄18 π(π = 4) = 5⁄6 ∗ 4⁄6 ∗ 3⁄6 = 5⁄18 … Problem 49 π(π π(π π(π π(π π(π = −4) = (1⁄4)4 = −2) = 4 ∗ (1⁄4)3 ∗ 3⁄4 = 0) = 6 ∗ (1⁄4)2 ∗ (3⁄4)2 = +2) = 4 ∗ (3⁄4)3 ∗ 1⁄4 = +4) = (3⁄4)4 Problem 50 1. π(ππππππ ≤ 100) = 0.8 2. When demand is 70: π = 70 ∗ 50 + 30 ∗ 20 = 4100 When demand is 80: π = 80 ∗ 50 + 20 ∗ 20 = 4400 When demand is 90: π = 90 ∗ 50 + 10 ∗ 20 = 4400 When demand is 100 or more: π = 1000 ∗ 50 = 5000 Problem 51 1. π(π΄ π£πππ‘ππ ππ π 1) = π((π΄ π‘βπππ€π π», ππ‘βπππ π‘βπππ€ π) ∪ (π΄ π‘βπππ€π π, ππ‘βπππ π‘βπππ€ π») ) = 1⁄2 ∗ (1⁄2)π−1 + 1⁄2 ∗ (1⁄2)π−1 = (1⁄2)π−1 2. π(π£πππ‘ππ ππ π 1) = π((π΄ π£πππ‘ππ ππ π 1) ∪ (π΅ π£πππ‘ππ ππ π 1) ∪ … ) = π ∗ (1⁄2)π−1 3. πΏππ‘ π = π ∗ (1⁄2)π−1 π(π = π₯) = (1 − π)π₯−1 ∗ π π(π = π + 1) = (1 − π)π , π₯ = 1, 2, … , π π(π΄ ππ π£πππ‘ππ) = π((π΄ π£πππ‘ππ ππ π 1) ∪ (π΄ π£πππ‘ππ ππ π 2) ∪ … ) = (1⁄2)π−1 + (1 − π) ∗ (1⁄2)π−1 + (1 − π)2 ∗ (1⁄2)π−1 + β― + (1 − π)π−1 ∗ (1⁄2)π−1 = (1⁄2)π−1 ∗ 1 − (1 − π)π 1 − (1 − π)π = π π Problem 52 π(π = 1) = π(π = 1 ∩ (π = 1|π = 1)) = 0.1 ∗ 0.1 = 0.01 π(π = 2) = π(π = 1 ∩ (π = 2|π = 1)) + π(π = 2 ∩ (π = 2|π = 2)) = 1⁄10 ∗ 1⁄10 + 1⁄10 ∗ 1⁄9 = 1⁄10 ∗ (1⁄10 + 1⁄9) … π(π = π) = 1⁄10 ∗ (1⁄10 + 1⁄9 + β― + 1⁄(10 − π + 1)) ... π(π = 10) = 1⁄10 ∗ (1⁄10 + 1⁄9 + β― + 1⁄1) Problem 53 Let πΆπ denote the π π‘β child. π(π = 2) = π[(πΆ1 = π΅ ∩ πΆ2 = πΊ) ∪ (πΆ1 = πΊ ∩ πΆ2 = π΅)] = .5 ∗ .5 + .5 ∗ .5 = .5 π(π = 3) = π[(πΆ1 = π΅ ∩ πΆ2 = π΅ ∩ πΆ3 = πΊ) ∪ (πΆ1 = πΊ ∩ πΆ2 = πΊ ∩ πΆ3 = π΅)] =. 53 +. 53 = .25 … Problem 54 Let πΆπ be the outcome of the π π‘β toss with the coin π(π π(π π(π π(π π(π = 2) = π(πΆ1 = "π»") = 1⁄2 = 4) = π(πΆ1 = "π" ∩ πΆ2 = "π»") = 1⁄2 ∗ 1⁄2 = 1⁄4 = 8) = 1⁄2 ∗ 1⁄2 ∗ 1⁄2 = 1⁄8 = 16) = 1⁄2 ∗ 1⁄2 ∗ 1⁄2 ∗ 1⁄2 = 1⁄16 = 32) = 1 − π(π = 2) − π(π = 4) − π(π = 8) − π(π = 16) = 1⁄16 Problem 55 π₯ 1. πΉ(π₯) = ∫1 1⁄8 ∗ (π’ − 1) ∗ ππ’ = 1⁄16 ∗ (π₯ − 1)2 , 1 ≤ π₯ ≤ 5 =0 , π₯<1 =1 , π₯>5 2. πΉ(π₯) = 1⁄16 ∗ (π₯ − 1)2 = π → π₯ = 1 + √16 ∗ π 3. πΉ(π¦) = π(π ≤ π¦) = π(π ≤ 1⁄2 ∗ (π₯ + 4)) = 1⁄16 ∗ (π¦⁄2 + 1)2 , −2 ≤ π¦ ≤ 6 4. π(π¦) = ππΉ(π¦)⁄ππ¦ = 1⁄16 ∗ (π¦⁄2 + 1) , −2 ≤ π¦ ≤ 6 Problem 56 1. Trivial 2. π¦ = π₯ 1⁄2 → π₯ = π¦ 2 → πΉ(π¦) = π(π ≤ π¦) = π(π ≤ π¦ 2 ) = π¦ 2 , 0 ≤ π¦ ≤ 1 π(π¦) = ππΉ(π¦)⁄ππ¦ = 2 ∗ π¦ , 0 ≤ π¦ ≤ 1 3. π£ = π₯ 2 → π₯ = π£ 1⁄2 → πΉ(π£) = π(π ≤ π£) = π(π ≤ π£ 1⁄2 ) = π£ 1⁄2 , 0 ≤ π£ ≤ 1 π(π£) = ππΉ(π£)⁄ππ£ = 1⁄2 ∗ π£ −1⁄2 , 0 ≤ π£ ≤ 1 Problem 57 π₯ 1. πΉ(π₯) = ∫4 4⁄π’2 ∗ ππ’ = 1 − 4⁄π₯ , π₯ ≥ 4 2. πΉ(π¦) = π(π ≤ π¦) = π(√π ≤ π¦) = π(π ≤ π¦ 2 ) = 1 − 4⁄π¦ 2 , π¦ ≥ 2 π(π¦) = ππΉ(π¦)⁄ππ¦ = 8⁄π¦ 3 , π¦ ≥ 2 3. πΉ(π£) = π(π ≤ π£) = π(1⁄π ≤ π£) = 1 − π(π ≤ 1⁄π£ ) = 4 ∗ π£ , 0 ≤ π£ ≤ 1⁄4 π(π£) = ππΉ(π£)⁄ππ£ = 4 , 0 ≤ π£ ≤ 1⁄4 Problem 58 1. π = 2 ∗ π ∗ π π₯ πΉ(π₯) = ∫ ππ’ = π₯ − 1 , 1 ≤ π₯ ≤ 2 1 πΉ(π¦) = π(π ≤ π¦) = π(2ππ ≤ π¦) = π(π ≤ π¦⁄2π) = π¦⁄2π − 1 , 2π ≤ π¦ ≤ 4π π(π¦) = ππΉ(π¦)⁄ππ¦ = 1⁄2π , 2π ≤ π¦ ≤ 4π 2. π = π ∗ π 2 πΉ(π€) = π(π ≤ π€) = π(ππ 2 ≤ π€) = π (π ≤ √π€⁄π) = √π€⁄π − 1 , π ≤ π€ ≤ 4π π(π€) = ππΉ(π€)⁄ππ€ = 1⁄2π ∗ (π€⁄π)−1⁄2 , π ≤ π€ ≤ 4π Problem 59 1 3. π· = π − π = 1 − π − π = 1 − 2π → π = 2 ∗ (1 − π·) π(π) = 2 ∗ 1⁄2 = 1 , 0 ≤ π ≤ 1 4. π = π 1−π → π= π(π ) = 2 ∗ 5. πΏ = 1−π π π 1+π → 1 = (1+π)2 1 , 0≤π ≤1 (1 + π )2 1 → π = 1+πΏ → π(π) = 2 ∗ ππ ππ 1 , π≥1 (1 + π)2 ππ ππΏ 1 = (1+πΏ)2