Professional Documents
Culture Documents
Homework #1
Due: September 12, 2017 (1:45pm)
1. (5 pts) A random experiment has sample space S = {a, b, c}. Suppose that P [{a, c}] = 5/8 and
P [{b, c}] = 7/8. Use the axioms of probability to find the probabilities of the elementary events, i.e.,
P [{a}], P [{b}], and P [{c}]. Note that the outcomes a, b, and c are mutually exclusive.
2. (10 pts) Computer programs are classified by their execution time and the length of their source code.
Programs with more than 150 lines of source code are classified as big (B). Programs with 150 lines
are classified as small (S). 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 its run time. The probability model for this experiment contains the following information:
P [SF ] = 0.5, P [BF ] = 0.2, and P [BW ] = 0.2. Interpret the events SF , BF , and BW as S \ F , B \ F ,
and B \ W , respectively. Answer the following:
4. (10 pts) In order for a circuit board to work, seven identical chips must be in working order. To improve
reliability, an additional chip is included in the board, and the design allows it to replace any of the
seven other chips when they fail. Assume that chips fail independently with probability 1 p.
(a) Find the probability pb that the board is working in terms of probability p.
(b) Suppose that n circuit boards are operated in parallel, and that we require a 99.9% probability
that at least one board is working. How many boards are needed?
6. (5 pts) Transistors of the same kind are bought from three suppliers, A, B, and C. Let M be the
event that the transistor fails before 1000 hours of operation. The (conditional) probabilities that
the transistors from each of the three suppliers fail before 1000 hours of operation are
30 balls
10 black 20 white
9. (10 pts) Consider that we have two coins, one fair with P (heads) = 0.5 and the other unfair with
P (heads) = 0.8. We pick a coin at random and toss it twice.
(a) (5 pts) Are the two tosses conditionally independent (conditioned on the fact that you know which
coin was picked)?
(b) (5 pts) Are the two tosses independent?
10. (10 pts) A ternary communication channel is shown below. Suppose that the input symbols 0, 1, and
2 are equally likely (i.e., each occurs with probability 1/3).
(a) (5 pts) Suppose that bit 1 is observed as an output. What is the more probable input symbol?
(b) (5 pts) Is there a choice of for which the input to the channel is independent of the output of
the channel?
Input Output
1
0 0
1
1 1
1
2 2