Question

ECS20: Discrete Mathematics UC Davis Instructor: Dale Fletter Student Name Here!!! Problem Set 3 Due September 4, 2019, noon

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Problem 2:

Total number of possible bit strings of length 5 = 25 = 32  

First, we need to calculate the probabilities of events E1, E2, and E3.

E1: the bit string chosen starts with 1.

This means that the first bit must be 1 and the rest of the 4 bits can be anything.

So, for the first bit, we have only one choice (i.e., 1), but for each of the remaining four bits, we have 2 choices each (i.e., 0 or 1).

1 1 x 2 x 2x 2x 2 16

Thus, P(E1) = (1x2x2x2x2) / 32 = 16 / 32

E2: the bit string chosen ends with 1.

This means that the last (fifth) bit must be 1 and the rest of the 4 bits can be anything.

So, for the first four bits, we have 2 choices each (i.e., 0 or 1), but for the fifth bit, we have only one choice (i.e., 1).

2x 2x 2X 2X 1 16

Thus, P(E2) = (2x2x2x2x1) / 32 = 16 / 32

E3: the bit string chosen has exactly three 1s.

In this case, the bit string chosen should have exactly three 1s. That means the other two bits will always be 0. So now, we need to choose 3 out of 5 positions for 1 and we don't care about the permutation of 1s among themselves since all the 1s appear same. Therefore, we will use combination here.

Thus, P(E3) = 5C3 / 32 = 10 / 32

Now, we need to calculate P(E1∩E2), P(E2∩E3), and P(E1∩E3).

E1∩E2

This means that the string both starts and ends with 1. This means that for the first and last position, we have only one choice (i.e. 1), but for the remaining 3 positions. we have 2 choices each (0 or 1).

Thus, P(E1∩E2) = (1x2x2x2x1) / 32 = 8 / 32

E2∩E3

This means that the last bit will always be 1 and the string contains exactly three 1s. This means that the first four bits will have exactly two 1s. Again, we need to apply combination to choose two positions out of four for 1.

Thus, P(E2∩E3) = 4C2 / 32 = 6 / 32

E1∩E3

This means that the first bit will always be 1 and the string contains exactly three 1s. This means that the last four bits will have exactly two 1s. Again, we need to apply combination to choose two positions out of four for 1.

Thus, P(E1∩E3) = 4C2 / 32 = 6 / 32

E1∩E2∩E3

This means that the first and last bit will always be 1 and the string contains exactly three 1s. This means that the remaining 3 bits will always contain exactly one 1 and two 0s. Thus, we again need to apply combination to choose one position out for three for 1.

Thus, P(E1∩E2∩E3) = 3C1 / 32 = 3 / 32

Now, we have all the probabilities. Lets now use them to find the solutions to the given problem.

(a). P(E1 | E3) = P(E1∩E3) / P(E3)

= (6 / 32) / (10 / 32)

= 3 / 5 = 0.6

(b). P(E3 | E2) = P(E2∩E3) / P(E2)

= (6 / 32) / (16 / 32)

= 3 / 8 = 0.375

(c). P(E2 | E3) = P(E2∩E3) / P(E3)

= (6 / 32) / (10 / 32)

= 6 / 10 = 0.6

(d). P(E3 | E1∩E2) = P(E1∩E2∩E3) / P(E1∩E2)

= (3 / 32) / (8 / 32)

= (3 / 8) = 0.375

(e). Two events E1 and E2 are independent if P(E1∩E2) = P(E1).P(E2)

P(E1∩E2) = 8 / 32 = 0.25

P(E1).P(E2) = (16/32).(16/32) = 0.25

This means that P(E1∩E2) = P(E1).P(E2)

Hence, E1 and E2 are independent.

(f). Two events E1 and E2 are independent if P(E1∩E2) = P(E1).P(E2)

P(E2∩E3) = 6 / 32 = 0.1875

P(E2).P(E3) = (16/32).(10/32) = 0.15625

This means that P(E2∩E3) ≠ P(E2).P(E3)

Hence, E2 and E3 are not independent.

Problem 3:

The following figure shows how to solve this problem:

3t 3.5 t 3.5+ 3.5h =3 Cit 5 + 52+ - -- + 5) 3 (5°+ 5t + 5) 52 t GP with a51 f terms n no. (5-1 3X ntt 5-1 3 (5-1

First, we took out 3 common from the given series. Then, the resultant series is a Geometric Progression with a=1, r=5, and the number of terms = n+1. We then apply the formula for the sum of a GP and the result is the same as the RHS given in the question. Hence proved.

Hope it helped. If you have any doubts or queries, please feel free to ask in the comments section. If it helped in any way, please consider giving a thumbs-up as such detailed answers take a lot of time and effort to write.

Add a comment
Know the answer?
Add Answer to:
ECS20: Discrete Mathematics UC Davis Instructor: Dale Fletter Student Name Here!!! Problem Set 3 Due September...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Problem 3 (10 points). What are the expected value and variance of the number of full...

    Problem 3 (10 points). What are the expected value and variance of the number of full house hands in 100 poker hands? A poker hand consists of five randomly selected cards from an ordinary deck of 52 cards. It is a full house if three cards are of one denomination and two cards are of another denomination: for example, three queens and two 4's Problem 4 (10 points). Let X be a binomial random variable with parameters n 15 and...

  • java programming 3. Back to contract bridge. The shape of the hand (that is, how "balanced"...

    java programming 3. Back to contract bridge. The shape of the hand (that is, how "balanced" or "unbalanced" it is) is urposes as its raw point count. Write a method often just as important for the hand evaluation p public String bridgeHandShape(String hand) that creates and returns a four-element string that tells how many spades, hearts, diamonds and clubs, in this order, there are in the hand. This result string should contain these four counts in order separated by commas,...

  • M5 Problem Set Score: 43.5/67 37/41 answered 6 VOC Question 31 < > B0/2 pts 5399...

    M5 Problem Set Score: 43.5/67 37/41 answered 6 VOC Question 31 < > B0/2 pts 5399 Details An experienced teacher writes an exam so that, on average, about 5% of students will earn an A grade. If she has 26 students in her class and their performance is independent, what is the probability that at least one student gets an A? Round your answer to four decimal places. Question Help: Message instructor Submit Question M5 Problem Set 6 VO ......

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT