<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>#Prob ECSE-2500-01 Engineering Probability, Spring 2018, Rensselaer Polytechnic Institute (Posts about exam)</title><link>https://wrf.ecse.rpi.edu/Teaching/probability-s2018/</link><description></description><atom:link href="https://wrf.ecse.rpi.edu/Teaching/probability-s2018/categories/cat_exam.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2019 &lt;a href="mailto:frankwr@rpi.edu"&gt;W Randolph Franklin (WRF), RPI&lt;/a&gt; </copyright><lastBuildDate>Thu, 17 Jan 2019 19:14:27 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Engineering Probability  Exam 3 - Tues 2018-05-08</title><link>https://wrf.ecse.rpi.edu/Teaching/probability-s2018/posts/exam3/</link><dc:creator>W Randolph Franklin (WRF), RPI</dc:creator><description>&lt;div&gt;&lt;p&gt;Name, RCSID:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.



.
&lt;/pre&gt;
&lt;p&gt;Rules:&lt;/p&gt;
&lt;ol class="lowerroman simple"&gt;
&lt;li&gt;You have 80 minutes.&lt;/li&gt;
&lt;li&gt;You may bring three 2-sided 8.5"x11" papers with notes.&lt;/li&gt;
&lt;li&gt;You may bring a calculator.&lt;/li&gt;
&lt;li&gt;You may not share material with each other during the exam.&lt;/li&gt;
&lt;li&gt;No collaboration or communication (except with the staff) is allowed.&lt;/li&gt;
&lt;li&gt;Check that your copy of this test has all nine pages.&lt;/li&gt;
&lt;li&gt;Each part of a question is worth 5 points.&lt;/li&gt;
&lt;li&gt;You may cross out three question parts, which will not be graded.&lt;/li&gt;
&lt;li&gt;When answering a question, don't just state your answer, prove it.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Questions:&lt;/p&gt;
&lt;ol class="arabic"&gt;
&lt;li&gt;&lt;p class="first"&gt;You toss two coins.   Each comes up heads half of the time.   However, for some funny reason, they both come up heads together, or both come up tails together.   Intuitively, they not independent.   This question is to prove that from the definition of independence.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;This time, you toss three coins, A, B, and C.   These are the probabilities:&lt;/p&gt;
&lt;p&gt;P[TTT] = P[THH] = P[HTH] = P[HHT]  = 0&lt;/p&gt;
&lt;p&gt;P[TTH] = P[THT] = P[HTT] = P[HHH] = 1/4&lt;/p&gt;
&lt;p&gt;My notation is that TTH means that coin A is tails, coin B tails, and coin C heads.  Etc.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;Are the individual coins fair (i.e., heads half the time)?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Are coins A and B independent?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Are all 3 coins independent?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;This question is about a continuous probability distribution on 2 variables.&lt;/p&gt;
&lt;p&gt;$$f_{XY}(x,y) = \begin{cases}   c x y &amp;amp; \text{  if  }  (0\le x) \ \&amp;amp; \ (0\le y)\  \&amp;amp; \ (0\le x+y \le 1) \\ 0 &amp;amp;  \text{   otherwise}\end{cases}$$&lt;/p&gt;
&lt;p&gt;The nonzero region is the triangle with vertices (0,0), (1,0) and (0,1).&lt;/p&gt;
&lt;p&gt;&lt;em&gt;c&lt;/em&gt; is some constant, but I didn't tell you what it is.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;What is &lt;em&gt;c&lt;/em&gt;?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $F_{XY}(x,y)$?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $f_X(x)$?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Are X and Y independent?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $P[X\le Y]$ ?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Define a new random variable $Z=X+Y$.   What is $F_Z(z)$?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $E[X]$?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $COV[X,Y]$?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $\rho_{X,Y}$?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $f_Y(y|x)$?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $E[Y|x]$?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Compute $$\int_0^\infty e^{-x^2} dx$$ .&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the legal range for a correlation coefficient?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the variance of the sum of 100 independent variables, each of which is N(0,1)?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;You have 10 independent random variables.  Each is uniform on [0,1].  What is the expected value of the max?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;You toss 10 independent fair coins, one after the other.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the expected total number of heads, given that the first 5 coins came up heads?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the probability of the total number of heads being 10, given that the first 5 coins came up heads?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;em&gt;End of exam 3, total 90 points (considering that 3 questions aren't graded).&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;</description><category>mathjax</category><guid>https://wrf.ecse.rpi.edu/Teaching/probability-s2018/posts/exam3/</guid><pubDate>Mon, 07 May 2018 04:00:00 GMT</pubDate></item><item><title>Engineering Probability  Exam 3 solution - Tues 2018-05-08</title><link>https://wrf.ecse.rpi.edu/Teaching/probability-s2018/posts/exam3-sol/</link><dc:creator>W Randolph Franklin (WRF), RPI</dc:creator><description>&lt;div&gt;&lt;style&gt; .red {color:red} &lt;/style&gt;
&lt;style&gt; .blue {color:blue} &lt;/style&gt;&lt;p&gt;Name, RCSID: &lt;span class="red"&gt;W. Randolph Franklin, frankwr&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;OK to give the formulas w/o working them out.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Rules:&lt;/p&gt;
&lt;ol class="lowerroman simple"&gt;
&lt;li&gt;You have 80 minutes.&lt;/li&gt;
&lt;li&gt;You may bring three 2-sided 8.5"x11" papers with notes.&lt;/li&gt;
&lt;li&gt;You may bring a calculator.&lt;/li&gt;
&lt;li&gt;You may not share material with each other during the exam.&lt;/li&gt;
&lt;li&gt;No collaboration or communication (except with the staff) is allowed.&lt;/li&gt;
&lt;li&gt;Check that your copy of this test has all nine pages.&lt;/li&gt;
&lt;li&gt;Each part of a question is worth 5 points.&lt;/li&gt;
&lt;li&gt;You may cross out three question parts, which will not be graded.&lt;/li&gt;
&lt;li&gt;When answering a question, don't just state your answer, prove it.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Questions:&lt;/p&gt;
&lt;ol class="arabic"&gt;
&lt;li&gt;&lt;p class="first"&gt;You toss two coins.   Each comes up heads half of the time.   However, for some funny reason, they both come up heads together, or both come up tails together.   Intuitively, they not independent.   This question is to prove that from the definition of independence.&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;P[HT] = 0.  However P[A=H] = P[B=T] = 1/2, so P[HT] != P[A=H]P[B=T].  That's the def of not independent.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;This time, you toss three coins, A, B, and C.   These are the probabilities:&lt;/p&gt;
&lt;p&gt;P[TTT] = P[THH] = P[HTH] = P[HHT]  = 0&lt;/p&gt;
&lt;p&gt;P[TTH] = P[THT] = P[HTT] = P[HHH] = 1/4&lt;/p&gt;
&lt;p&gt;My notation is that TTH means that coin A is tails, coin B tails, and coin C heads.  Etc.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;Are the individual coins fair (i.e., heads half the time)?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;P[A=H] = 0+0+1/4+1/4 = 1/2 so fair.  Ditto B and C.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Are coins A and B independent?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;P[A=H,B=H] = 1/4, good.   P[A=H,B=T]=1/4, good.  P[TH] = 1/4, good.  P[TT] = 1/4, good.   Yes independent.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Are all 3 coins independent?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;P[HHH] = 1/4 != P[A=H]P[B=H]P[C=H] = 1/8.  Not independent.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;This question is about a continuous probability distribution on 2 variables.&lt;/p&gt;
&lt;p&gt;$$f_{XY}(x,y) = \begin{cases}   c x y &amp;amp; \text{  if  }  (0\le x) \ \&amp;amp; \ (0\le y)\  \&amp;amp; \ (0\le x+y \le 1) \\ 0 &amp;amp;  \text{   otherwise}\end{cases}$$&lt;/p&gt;
&lt;p&gt;The nonzero region is the triangle with vertices (0,0), (1,0) and (0,1).&lt;/p&gt;
&lt;p&gt;&lt;em&gt;c&lt;/em&gt; is some constant, but I didn't tell you what it is.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;What is &lt;em&gt;c&lt;/em&gt;?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$\int_0^1\int_0^{1-x} xy\ dy\ dx = 1/24$ so $c=24$&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $F_{XY}(x,y)$?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$$F_{XY}(x,y)=\begin{cases} 0 &amp;amp; \text{  if  } x\le0 \cup  y\le0 \\ 1 &amp;amp; \text{  if  } x\ge 1 \cap  y\ge1 \\ 6x^2y^2 &amp;amp; \text{  if } 0\le x \cap  0\le y \cap  x+y\le1 \\  (\int_0^x\int_0^{1-x} + \int_0^{1-y}\int_{1-x}^y + \int_{1-y}^x\int_{1-x}^{1-x_0}) (12x_0y_0 dy_0dx_0) &amp;amp; \text{ otherwise}\end{cases}$$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;The last case above splits the nonzero integration region into two rectangles and a triangle.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;It's also acceptable to draw a figure and say something intelligent w/o being explicit about all the details.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $f_X(x)$?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$f_X(x)= \int_0^{1-x}f_{XY}(x,y) dy = 12x(1-x)^2$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;Note that $\int_0^1 f_X(x)=1$, which is correct.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Are X and Y independent?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$f_X(x)=12x(1-x)^2,f_Y(y)=12y(1-y)^2,f_X(x)f_Y(y)\ne f_{XY}(x,y)$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;No.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $P[X\le Y]$ ?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$\int_0^1\int_0^{\min(x,1-x)} f_{XY}(x,y) dy\ dx$.   However, since $f_{XY}(x,y) = f_{XY}(y,x)$, $P[X\le Y]=1/2$&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Define a new random variable $Z=X+Y$.   What is $F_Z(z)$?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$f_Z(z) = \int_0^z f_{XY}(x,z-x) dx = 24\int_0^z x(z-x)dx$ for $0\le z\le 1$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$F_Z(z) = \int f_Z(z)dz$&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $E[X]$?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$\int_0^1 xf_X(x)dx = 2/5$&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $COV[X,Y]$?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;E[XY] = $\int_0^1\int_0^{1-x}xyf_{XY}dx dy=8\int_0^1x^2(1-x)^4 dx, E[X]=E[Y]=2/5$, COV[X,Y]=E[XY]-E[X]E[Y].  You don't have to work through the math.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $\rho_{X,Y}$?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$\sigma_X=\sigma_Y= E[X^2]-E[X]^2$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$\rho_{X,Y}=COV[X,Y]/(\sigma_X\sigma_Y)$&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $f_Y(y|x)$?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$f_Y(y|x)=f(x,y)/f(x) = 12xy/(4x^3) = 2\frac{y}{x^2}$&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $E[Y|x]$?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;Integrate the above over $y$ to get   $x^{-2}$&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Compute $$\int_0^\infty e^{-x^2} dx$$ .&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;Consider $\sigma=1/\sqrt{2}$.  Working a little, this will give $\int_0^\infty e^{-x^2} dx=\sqrt{\pi}/2=0.886$.  It was also ok just to use a calculator.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the legal range for a correlation coefficient?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;-1 to 1&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the variance of the sum of 100 independent variables, each of which is N(0,1)?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;100.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;You have 10 independent random variables.  Each is uniform on [0,1].  What is the expected value of the max?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;Let $W=\max(X_i).   F_W(w)=w^{10}.  f_W(w)=10w^9.E[W]=10/11.$&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;You toss 10 independent fair coins, one after the other.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the expected total number of heads, given that the first 5 coins came up heads?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;The last 5 coins do not depend on the first 5.  So the expectation is 7.5.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the probability of the total number of heads being 10, given that the first 5 coins came up heads?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;1/32&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;em&gt;End of exam 3, total 90 points (considering that 3 questions aren't graded).&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;</description><category>mathjax</category><guid>https://wrf.ecse.rpi.edu/Teaching/probability-s2018/posts/exam3-sol/</guid><pubDate>Mon, 07 May 2018 04:00:00 GMT</pubDate></item><item><title>Engineering Probability Class 19 and Exam 2 - Thu 2018-03-29</title><link>https://wrf.ecse.rpi.edu/Teaching/probability-s2018/posts/class19-exam2/</link><dc:creator>W Randolph Franklin (WRF), RPI</dc:creator><description>&lt;div&gt;&lt;p&gt;Name, RCSID:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.



.
&lt;/pre&gt;
&lt;p&gt;Rules:&lt;/p&gt;
&lt;ol class="upperalpha simple"&gt;
&lt;li&gt;You have 80 minutes.&lt;/li&gt;
&lt;li&gt;You may bring two 2-sided 8.5"x11" paper with notes.&lt;/li&gt;
&lt;li&gt;You may bring a calculator.&lt;/li&gt;
&lt;li&gt;You may not share material with each other during the exam.&lt;/li&gt;
&lt;li&gt;No collaboration or communication (except with the staff) is allowed.&lt;/li&gt;
&lt;li&gt;Check that your copy of this test has all eleven pages.&lt;/li&gt;
&lt;li&gt;Each part of a question is worth 5 points.&lt;/li&gt;
&lt;li&gt;You may cross out two questions, which will not be graded.&lt;/li&gt;
&lt;li&gt;When answering a question, don't just state your answer, prove it.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Questions:&lt;/p&gt;
&lt;ol class="arabic"&gt;
&lt;li&gt;&lt;p class="first"&gt;Consider this probability distribution:&lt;/p&gt;
&lt;p&gt;$$f_X(x)= \begin{cases}  a(2-x) &amp;amp;  \text{if }  0\le x\le1\\ 0&amp;amp;\text{otherwise}\end{cases}$$&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $a$?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $F_X(x)$?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is E[X]?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the reliability, R[x]?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the MTTF?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the failure rate, r(x)?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $f_X(x|x&amp;gt;.5)$?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Define a new r.v. Y=2X, where X is the r.v. in the previous question.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $f_Y(y)$?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $F_Y(y)$?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is E[Y]?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Your web server gets on the average 1 hit per second.   The possible clients are independent of each other.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the name of appropriate distribution for the number of hits per second?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the probability that it gets exactly one hit in the next two seconds?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the name of appropriate probability distribution for the time between successive hits?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the probability that the time between two successive hits is less than two seconds?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Let X be an exponential random variable with mean 1.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;Using the Markov inequality, what's P[X&amp;gt;3]?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.









.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Using the Chebyshev inequality, what's P[X&amp;gt;3]?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.








.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What's the exact P[X&amp;gt;3]?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Let X be a normal random variable with mean 100 and standard deviation 10.  Give the following numbers, using the supplied table.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;P[X&amp;gt;100].&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.






.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;P[80&amp;lt;X&amp;lt;100].&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.






.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;You're tossing 10000 fair coins.   What's the probability of getting between 5000 and 5100 heads?  Use the table.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.









.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Evaluate $$\int_0^\infty e^{-2 x^2} dx$$&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Let $f_X(x) = 1$ and $f_Y(y)=2y$, both in the range $0\le x, y\le1$.&lt;/p&gt;
&lt;p&gt;Let Z=max(X,Y).&lt;/p&gt;
&lt;p&gt;What is E[Z]?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.














.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Normal distribution:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
x          f(x)      F(x)      Q(x)
-3.0000    0.0044    0.0013    0.9987
-2.9000    0.0060    0.0019    0.9981
-2.8000    0.0079    0.0026    0.9974
-2.7000    0.0104    0.0035    0.9965
-2.6000    0.0136    0.0047    0.9953
-2.5000    0.0175    0.0062    0.9938
-2.4000    0.0224    0.0082    0.9918
-2.3000    0.0283    0.0107    0.9893
-2.2000    0.0355    0.0139    0.9861
-2.1000    0.0440    0.0179    0.9821
-2.0000    0.0540    0.0228    0.9772
-1.9000    0.0656    0.0287    0.9713
-1.8000    0.0790    0.0359    0.9641
-1.7000    0.0940    0.0446    0.9554
-1.6000    0.1109    0.0548    0.9452
-1.5000    0.1295    0.0668    0.9332
-1.4000    0.1497    0.0808    0.9192
-1.3000    0.1714    0.0968    0.9032
-1.2000    0.1942    0.1151    0.8849
-1.1000    0.2179    0.1357    0.8643
-1.0000    0.2420    0.1587    0.8413
-0.9000    0.2661    0.1841    0.8159
-0.8000    0.2897    0.2119    0.7881
-0.7000    0.3123    0.2420    0.7580
-0.6000    0.3332    0.2743    0.7257
-0.5000    0.3521    0.3085    0.6915
-0.4000    0.3683    0.3446    0.6554
-0.3000    0.3814    0.3821    0.6179
-0.2000    0.3910    0.4207    0.5793
-0.1000    0.3970    0.4602    0.5398
&lt;/pre&gt;
&lt;p&gt;Normal distribution:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
x          f(x)      F(x)      Q(x)
      0    0.3989    0.5000    0.5000
 0.1000    0.3970    0.5398    0.4602
 0.2000    0.3910    0.5793    0.4207
 0.3000    0.3814    0.6179    0.3821
 0.4000    0.3683    0.6554    0.3446
 0.5000    0.3521    0.6915    0.3085
 0.6000    0.3332    0.7257    0.2743
 0.7000    0.3123    0.7580    0.2420
 0.8000    0.2897    0.7881    0.2119
 0.9000    0.2661    0.8159    0.1841
 1.0000    0.2420    0.8413    0.1587
 1.1000    0.2179    0.8643    0.1357
 1.2000    0.1942    0.8849    0.1151
 1.3000    0.1714    0.9032    0.0968
 1.4000    0.1497    0.9192    0.0808
 1.5000    0.1295    0.9332    0.0668
 1.6000    0.1109    0.9452    0.0548
 1.7000    0.0940    0.9554    0.0446
 1.8000    0.0790    0.9641    0.0359
 1.9000    0.0656    0.9713    0.0287
 2.0000    0.0540    0.9772    0.0228
 2.1000    0.0440    0.9821    0.0179
 2.2000    0.0355    0.9861    0.0139
 2.3000    0.0283    0.9893    0.0107
 2.4000    0.0224    0.9918    0.0082
 2.5000    0.0175    0.9938    0.0062
 2.6000    0.0136    0.9953    0.0047
 2.7000    0.0104    0.9965    0.0035
 2.8000    0.0079    0.9974    0.0026
 2.9000    0.0060    0.9981    0.0019
 3.0000    0.0044    0.9987    0.0013
&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;End of exam 1, total 100 points (considering that 2 questions aren't graded).&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;</description><category>mathjax</category><guid>https://wrf.ecse.rpi.edu/Teaching/probability-s2018/posts/class19-exam2/</guid><pubDate>Thu, 29 Mar 2018 04:00:00 GMT</pubDate></item><item><title>Engineering Probability Class 19 and Exam 2 Solution - Thu 2018-03-29</title><link>https://wrf.ecse.rpi.edu/Teaching/probability-s2018/posts/class19-exam2-sol/</link><dc:creator>W Randolph Franklin (WRF), RPI</dc:creator><description>&lt;div&gt;&lt;style&gt; .red {color:red} &lt;/style&gt;
&lt;style&gt; .blue {color:blue} &lt;/style&gt;&lt;p&gt;Name, RCSID:&lt;/p&gt;
&lt;blockquote&gt;
WRF solution&lt;/blockquote&gt;
&lt;p&gt;Rules:&lt;/p&gt;
&lt;ol class="upperalpha simple"&gt;
&lt;li&gt;You have 80 minutes.&lt;/li&gt;
&lt;li&gt;You may bring two 2-sided 8.5"x11" paper with notes.&lt;/li&gt;
&lt;li&gt;You may bring a calculator.&lt;/li&gt;
&lt;li&gt;You may not share material with each other during the exam.&lt;/li&gt;
&lt;li&gt;No collaboration or communication (except with the staff) is allowed.&lt;/li&gt;
&lt;li&gt;Check that your copy of this test has all eleven pages.&lt;/li&gt;
&lt;li&gt;Each part of a question is worth 5 points.&lt;/li&gt;
&lt;li&gt;You may cross out two questions, which will not be graded.&lt;/li&gt;
&lt;li&gt;When answering a question, don't just state your answer, prove it.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Questions:&lt;/p&gt;
&lt;ol class="arabic"&gt;
&lt;li&gt;&lt;p class="first"&gt;Consider this probability distribution:&lt;/p&gt;
&lt;p&gt;$$f_X(x)= \begin{cases}  a(2-x) &amp;amp;  \text{if }  0\le x\le1\\ 0&amp;amp;\text{otherwise}\end{cases}$$&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $a$?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;We require that $\int_0^1 f(x) = 1$.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;So, $a=2/3$.   You don't have to write it, but this gives $f_X(x) = \frac{4}{3}-\frac{2}{3}x$ if $0&amp;lt;x&amp;lt;1$.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $F_X(x)$?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$$F(x) = \int_0^x f(w) dw = \begin{cases} 0 &amp;amp; \text{if } x\le0 \\
\frac{4}{3}x - \frac{x^2}{3} &amp;amp; 0&amp;lt;x&amp;lt;1 \\
1 &amp;amp; 1\le x \end{cases}      $$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;You can use any placeholder variable (other than $x$) in place of $w$.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;It doesn't matter where you say $&amp;lt;$ versus $\le$.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is E[X]?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$$E[X] = \int_0^1 x f(x) dx =  \int (4/3 x -2/3 x^2)dx = \left. \left(\frac{2 x^2}{3} - \frac{2 x^3}{9}\right)\right|_0^1 = \frac{4}{9}$$&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the reliability, R[x]?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$$R(x) = 1 - F(x) = \begin{cases} 1 - \frac{4}{3}x + \frac{x^2}{3} &amp;amp; 0&amp;lt;x&amp;lt;1 \\
0 &amp;amp; 1\le x \end{cases}      $$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;Lifetimes are nonnegative, so I deleted the case for $x&amp;lt;0$, but it doesn't matter.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the MTTF?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;MTTF = $$\int_0^1 R(x) dx = \int \left(1 -  \frac{4}{3}x + \frac{x^2}{3}\right) dx = \frac{4}{9}$$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;MTTF=E[X]. The integral goes up to 1 because R(x) is 0 when x&amp;gt;1.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the failure rate, r(x)?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;For $0&amp;lt;x&amp;lt;1$,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$$r(x) = \frac{-R'(x)}{R(x)} =  \frac{\frac{4}{3}-\frac{2x}{3}}{1 - \frac{4}{3}x + \frac{x^2}{3}}
=  \frac{4-2x}{3 - 4 x + x^2}$$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;You don't need to simplify it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;Note that $r(x)$ grows to infinity as $x$ approaches 1.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $f_X(x|x&amp;gt;.5)$?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$P[x&amp;gt;.5] = 1-F(.5) = 5/12$.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$$f_X(x|x&amp;gt;.5) = f(x)/P[x&amp;gt;.5] = \begin{cases}  \frac{8}{5}(2-x) &amp;amp;  \text{if }  0.5\le x\le1\\ 0&amp;amp;\text{otherwise}\end{cases}$$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;As a check, you can see that $\int f(x|x&amp;gt;.5) dx = 1$.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Define a new r.v. Y=2X, where X is the r.v. in the previous question.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $f_Y(y)$?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;The nonzero domain for $f_X(x)$ is $0&amp;lt;x&amp;lt;1$, and Y=2X.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;So the nonzero domain for $f_Y(y)$ will be $0&amp;lt;y&amp;lt;2$.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$dy/dx = 2$, so&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$$f_Y(y) = f_X(y/2)/2 = \begin{cases} \frac{2}{3} -  \frac{y}{6}  &amp;amp; 0&amp;lt;y&amp;lt;2\\ 0 &amp;amp; \text{otherwise}\end{cases}$$&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is $F_Y(y)$?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$$F_Y(y) = F_X(y/2)$$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$$F_Y(y)= \begin{cases} \frac{2}{3} y -  \frac{y^2}{12}  &amp;amp; 0&amp;lt;y&amp;lt;2\\ 0 &amp;amp; y&amp;lt;0 \\ 1 &amp;amp; y&amp;gt;2 \end{cases}$$&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is E[Y]?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$$ E[Y] = \int_0^2 y\left(\frac{2}{3} -  \frac{y}{6}\right) dy = \left.\left(y^2/3-y^3/18\right)\right|_0^2 = \frac{8}{9}$$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;Alternatively, E[Y] = 2 E[X].&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Your web server gets on the average 1 hit per second.   The possible clients are independent of each other.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the name of appropriate distribution for the number of hits per second?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;Poisson&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the probability that it gets exactly one hit in the next two seconds?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;That r.v. is Poisson with $\alpha=2$ so $$P[X=1] = \frac{2^1 e^{-2}}{1!} = 2 e^{-2} = .27$$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;full points for $2 e^{-2}$.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the name of appropriate probability distribution for the time between successive hits?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;Exponential&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What is the probability that the time between two successive hits is less than two seconds?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;Mean: $1/\lambda= 1$.    $F(x) = 1-e^{-x}$.  $F(2) = 1-e^{-2}=.14=.86$.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;full points for $1-e^{-2}$.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Let X be an exponential random variable with mean 1.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;Using the Markov inequality, what's P[X&amp;gt;3]?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;See page 181.  $\mu=1$.   $P\le 1/3$.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Using the Chebyshev inequality, what's P[X&amp;gt;3]?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$\mu=\sigma=1$, P[X&amp;lt;0]=0, so $$P[X&amp;gt;3]= P[|X-1|&amp;gt;2] \le 1/4$$&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;What's the exact P[X&amp;gt;3]?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$F(x) = 1-e^{-x}$ so $P[X&amp;gt;3] = 1-F[3] = e^{-3} = .05$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;full points for $e^{-3}$.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Let X be a normal random variable with mean 100 and standard deviation 10.  Give the following numbers, using the supplied table.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;P[X&amp;gt;100].&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;0.5&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;P[80&amp;lt;X&amp;lt;100].&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;Converted to $\mu=0,\ \sigma=1$, this is P[-2&amp;lt;Y&amp;lt;0] = F(0)-F(-2) = .5 - .02 = .48.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;You're tossing 10000 fair coins.   What's the probability of getting between 5000 and 5100 heads?  Use the table.&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;This is a Bernoulli r.v. with $\mu=5000,\ \sigma=\sqrt{npq}=50$.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;Use a normal approximation; the answer is F(2)-F(0) = .98-.5 = .48.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Evaluate $$\int_0^\infty e^{-2 x^2} dx$$&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;For $\mu=0$, what value of $\sigma$ would make $f(x) = c e^{-2 x^2}$?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$$f(x) = \frac{1}{\sqrt{2\pi} \cdot \sigma} \exp\left(\frac{-x^2}{2\sigma^2}\right)$$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;so let $\sigma=1/2$ and&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$$f(x) = \sqrt{\frac{2}{\pi} } e^{\left(-2 x^2\right)}$$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;So $$\int_\infty^\infty e^{-2 x^2} = \sqrt{\frac{\pi}{2} }$$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;and  $$\int_0^\infty e^{-2 x^2} dx$$ =  $$\sqrt{\frac{\pi}{8} }$$&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;which could be written various ways.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Let $f_X(x) = 1$ and $f_Y(y)=2y$, both in the range $0\le x, y\le1$.&lt;/p&gt;
&lt;p&gt;Let Z=max(X,Y).&lt;/p&gt;
&lt;p&gt;What is E[Z]?&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$F_X(x) = \int f_X(x) dx = x$,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$F_Y(y) = y^2$.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$F_Z(z) = F_X(z) F_Y(z) = z^3$,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$f_Z(z) = 3 z^2$,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="red"&gt;$$E[Z] = \int_0^1 3 z^3 dz = 3/4 z^4|_0^1 = \frac{3}{4}$$.&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Normal distribution:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
x          f(x)      F(x)      Q(x)
-3.0000    0.0044    0.0013    0.9987
-2.9000    0.0060    0.0019    0.9981
-2.8000    0.0079    0.0026    0.9974
-2.7000    0.0104    0.0035    0.9965
-2.6000    0.0136    0.0047    0.9953
-2.5000    0.0175    0.0062    0.9938
-2.4000    0.0224    0.0082    0.9918
-2.3000    0.0283    0.0107    0.9893
-2.2000    0.0355    0.0139    0.9861
-2.1000    0.0440    0.0179    0.9821
-2.0000    0.0540    0.0228    0.9772
-1.9000    0.0656    0.0287    0.9713
-1.8000    0.0790    0.0359    0.9641
-1.7000    0.0940    0.0446    0.9554
-1.6000    0.1109    0.0548    0.9452
-1.5000    0.1295    0.0668    0.9332
-1.4000    0.1497    0.0808    0.9192
-1.3000    0.1714    0.0968    0.9032
-1.2000    0.1942    0.1151    0.8849
-1.1000    0.2179    0.1357    0.8643
-1.0000    0.2420    0.1587    0.8413
-0.9000    0.2661    0.1841    0.8159
-0.8000    0.2897    0.2119    0.7881
-0.7000    0.3123    0.2420    0.7580
-0.6000    0.3332    0.2743    0.7257
-0.5000    0.3521    0.3085    0.6915
-0.4000    0.3683    0.3446    0.6554
-0.3000    0.3814    0.3821    0.6179
-0.2000    0.3910    0.4207    0.5793
-0.1000    0.3970    0.4602    0.5398
&lt;/pre&gt;
&lt;p&gt;Normal distribution:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
x          f(x)      F(x)      Q(x)
      0    0.3989    0.5000    0.5000
 0.1000    0.3970    0.5398    0.4602
 0.2000    0.3910    0.5793    0.4207
 0.3000    0.3814    0.6179    0.3821
 0.4000    0.3683    0.6554    0.3446
 0.5000    0.3521    0.6915    0.3085
 0.6000    0.3332    0.7257    0.2743
 0.7000    0.3123    0.7580    0.2420
 0.8000    0.2897    0.7881    0.2119
 0.9000    0.2661    0.8159    0.1841
 1.0000    0.2420    0.8413    0.1587
 1.1000    0.2179    0.8643    0.1357
 1.2000    0.1942    0.8849    0.1151
 1.3000    0.1714    0.9032    0.0968
 1.4000    0.1497    0.9192    0.0808
 1.5000    0.1295    0.9332    0.0668
 1.6000    0.1109    0.9452    0.0548
 1.7000    0.0940    0.9554    0.0446
 1.8000    0.0790    0.9641    0.0359
 1.9000    0.0656    0.9713    0.0287
 2.0000    0.0540    0.9772    0.0228
 2.1000    0.0440    0.9821    0.0179
 2.2000    0.0355    0.9861    0.0139
 2.3000    0.0283    0.9893    0.0107
 2.4000    0.0224    0.9918    0.0082
 2.5000    0.0175    0.9938    0.0062
 2.6000    0.0136    0.9953    0.0047
 2.7000    0.0104    0.9965    0.0035
 2.8000    0.0079    0.9974    0.0026
 2.9000    0.0060    0.9981    0.0019
 3.0000    0.0044    0.9987    0.0013
&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;End of exam 1, total 100 points (considering that 2 questions aren't graded).&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;</description><category>mathjax</category><guid>https://wrf.ecse.rpi.edu/Teaching/probability-s2018/posts/class19-exam2-sol/</guid><pubDate>Thu, 29 Mar 2018 04:00:00 GMT</pubDate></item><item><title>Engineering Probability Class 12 and Exam 1 Solution - Mon 2018-02-26</title><link>https://wrf.ecse.rpi.edu/Teaching/probability-s2018/posts/class12-sol/</link><dc:creator>W Randolph Franklin (WRF), RPI</dc:creator><description>&lt;div&gt;&lt;p&gt;Name, RCSID:    WRF solutions&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note:&lt;/em&gt;  Full points will be given for an expression with the numbers, w/o computing the answer.&lt;/p&gt;
&lt;p&gt;Rules:&lt;/p&gt;
&lt;ol class="upperalpha simple"&gt;
&lt;li&gt;You have 80 minutes.&lt;/li&gt;
&lt;li&gt;You may bring one 2-sided 8.5"x11" paper with notes.&lt;/li&gt;
&lt;li&gt;You may bring a calculator.&lt;/li&gt;
&lt;li&gt;You may not share material with each other during the exam.&lt;/li&gt;
&lt;li&gt;No collaboration or communication (except with the staff) is allowed.&lt;/li&gt;
&lt;li&gt;Check that your copy of this test has all seven  pages.&lt;/li&gt;
&lt;li&gt;Do any 14 of the 17 questions or subquestions.   Cross out the 3 that you don't do.&lt;/li&gt;
&lt;li&gt;When answering a question, don't just state your answer, prove it.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Questions:&lt;/p&gt;
&lt;ol class="arabic"&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; Ten people run a race for gold, silver, bronze.  How many ways can the medals be won, w/o any ties?&lt;/p&gt;
&lt;p&gt;10*9*8 = 720.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Two teams, the Albanians and the Bostonians, are playing a 7 game series.   The first team to win 4 games wins the series, and no more games are played.    In any game, the Albanians have a 60% chance of winning.  The games are independent, and there are no ties.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt;  What's the probability that the series will run to 7 games?&lt;/p&gt;
&lt;p&gt;The first 6 games must have exactly 3 Albanian wins.&lt;/p&gt;
&lt;p&gt;&lt;span class="math"&gt;\(p = {6 \choose 3}  .6^3 .4^3 = .276\)&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt;  What's the probability that the Albanians win the series?&lt;/p&gt;
&lt;p&gt;They might win in&lt;/p&gt;
&lt;ol class="arabic simple"&gt;
&lt;li&gt;4 games with prob &lt;span class="math"&gt;\(.6^4=0.130\)&lt;/span&gt; or in&lt;/li&gt;
&lt;li&gt;5 games with prob &lt;span class="math"&gt;\({4 \choose 3} .6^4 .4=0.201\)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;6 games with prob &lt;span class="math"&gt;\({5 \choose 3} .6^4 .4^2=0.207\)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;7 games with prob &lt;span class="math"&gt;\({6 \choose 3} .6^4 .4^3=0.166\)&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The sum is 0.704 .&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt;  Imagine two coins.  Coin A has two heads.  Coin B has the usual one head and one tail, and it is fair.   You pick a coin at random (p=.5 to pick either coin) and toss it.   It comes up heads.&lt;/p&gt;
&lt;p&gt;What is the probability that you picked coin A?&lt;/p&gt;
&lt;p&gt;P[A] = P[A'] = 1/2.   P[H|A] = 1. P[H|A'] = 1/2.&lt;/p&gt;
&lt;p&gt;P[A &amp;amp; H] = P[A] P[H|A] = 1/2.&lt;/p&gt;
&lt;p&gt;P[A' &amp;amp; H] = P[A'] P[H|A'] = 1/4.&lt;/p&gt;
&lt;p&gt;P[H] = P[A&amp;amp;H]+P[A'H] = 3/4.&lt;/p&gt;
&lt;p&gt;P[A|H] = P[A&amp;amp;H]/P[H] = (1/2)/(3/4) = 2/3.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; Consider S={1,2,3,...22}.  Is the set of even numbers independent of the set of multiples of 4?&lt;/p&gt;
&lt;p&gt;There are 11 even numbers in S, 5 multiples of 4, and 5 both.&lt;/p&gt;
&lt;p&gt;P[even] = 11/22 =1/2.  P[mult] = 5/22.  P[even]*P[mult] = 5/44.&lt;/p&gt;
&lt;p&gt;P[even and mult] = 5/22 not = 5/44.&lt;/p&gt;
&lt;p&gt;They are  not independent.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;You are sitting an online multiple choice exam in thraumaturgy, about which you know nothing.    Each question has 5 possible answers.  You answer each question randomly.   The exam ends when you get your first correct answer.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the relevant probability distribution?&lt;/p&gt;
&lt;p&gt;Geometric.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the expected number of questions you will need to answer?&lt;/p&gt;
&lt;p&gt;p=1/5&lt;/p&gt;
&lt;p&gt;E = 1/p = 5.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the standard deviation?&lt;/p&gt;
&lt;p&gt;STD = sqrt(1-p)/p = 4.47.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;You are designing a check bit system for transmitting 8-bit bytes over a noisy channel.    Since it's really noisy, you append two check bits to each byte, transmitting ten bits in total for each byte.    Each bit, independently, can be wrong with probability &lt;span class="math"&gt;\(10^{-6}\)&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;You're using a Reed-Solomon error correction scheme, which we teach in another class.  If there is only one bad bit in the ten transmitted bits, it will correct the byte.  If there are two bad bits, it will report the error, but can't correct it.   Three or more bad bits are unlikely enough that we assume they never occur.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the probability that the receiver can deduce the correct byte?&lt;/p&gt;
&lt;p&gt;That would be the probability that 9 or 10 bits are ok.&lt;/p&gt;
&lt;p&gt;Let p = prob a given bit is bad.  &lt;span class="math"&gt;\(p=10^{-6}\)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Let q=1-p = 0.999999.&lt;/p&gt;
&lt;p&gt;P[all 10 bits ok] = &lt;span class="math"&gt;\(q^{10}\)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;P[exactly 9 ok] = &lt;span class="math"&gt;\({10 \choose 1} p q^9\)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;P[9 or 10 ok] = &lt;span class="math"&gt;\(q^{10}+{10 \choose 1} p q^9 = q^9 (q+10p)= .999999999955000\)&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the probability that the receiver will receive a byte that it knows is bad, but can't correct?&lt;/p&gt;
&lt;p&gt;prob of exactly 2 errors of the 10 bits.&lt;/p&gt;
&lt;p&gt;&lt;span class="math"&gt;\({10 \choose 2} p^2 q^8 = 45 \cdot 10^{-12} \cdot 0.999999^8 = 4.5\cdot10^{-11}\)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Note:&lt;/em&gt; These probabilities are small, but if you are
transmitting millions of bytes, then they're significant.
If you didn't add extra bits, the probability of an 8-bit
byte having a bad bit is &lt;span class="math"&gt;\(1-q^8=8\cdot10^{-6}\)&lt;/span&gt;.  The
error correction reduced the probability of a bad byte by a
factor of 50,000, at a cost of 25% more transmission and
some computation.  More, if the 8-bit byte is bad, you
don't know it.  However, if the 10-bit byte has 2 bad bits,
you do know it.  Those are the advantages of error
correcting codes.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Pretend that we divide the 86 field into  a grid of 100 by 100 squares.    5000 students  toss 10 paper airplanes each off the JEC roof.  Each paper airplane has an independent and uniform probability of hitting each square.  Each airplane falls into exactly one square.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the mean number of airplanes to hit a particular square?&lt;/p&gt;
&lt;p&gt;50000 airplanes, 10000 squares.   mean = 5.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the exact probability that a particular square gets zero airplanes?   It's ok to give an expression; you don't need to evaluate it.&lt;/p&gt;
&lt;p&gt;Let p = prob this square gets a particular airplane = 1/10000 .&lt;/p&gt;
&lt;p&gt;Let q=1-p.&lt;/p&gt;
&lt;p&gt;Prob this particular square gets no airplane = &lt;span class="math"&gt;\(q^{50000}=.0067362626\)&lt;/span&gt; .&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's a faster very good approximate formula?  An expression is ok.&lt;/p&gt;
&lt;p&gt;Poisson is appropriate here.  Call the mean &lt;em&gt;a&lt;/em&gt;.  a=5.&lt;/p&gt;
&lt;p&gt;&lt;span class="math"&gt;\(P[0] = a^0 e^{-a}/ 0! = e^{-5}\approx .007\)&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the very good approximate standard deviation for the number of airplanes to hit a particular square?  An expression is ok.&lt;/p&gt;
&lt;p&gt;Variance equals mean, so std = &lt;span class="math"&gt;\(\sqrt{5}\)&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Chip quality control:&lt;/p&gt;
&lt;ol class="lowerroman simple"&gt;
&lt;li&gt;Each chip is either &lt;em&gt;good&lt;/em&gt; or &lt;em&gt;bad&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;P[good]= 0.9.&lt;/li&gt;
&lt;li&gt;If the chip is good: P[still alive at t] = &lt;span class="math"&gt;\(2^{-t}\)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;If the chip is bad: P[still alive at t] = &lt;span class="math"&gt;\(3^{-t}\)&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Questions:&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the probability that a random chip is still alive at t=2? Give an expression and evaluate it to give a number.&lt;/p&gt;
&lt;p&gt;Let G = good.  Let A = event that chip is alive at 2.&lt;/p&gt;
&lt;p&gt;P[A|G] = 1/4.  P[A|G'] = 1/9.   P[A&amp;amp;G] = .25 * .9 = .225.&lt;/p&gt;
&lt;p&gt;P[A&amp;amp;G'] = 1/9 * .1 = .01111.&lt;/p&gt;
&lt;p&gt;P[A] = P[A&amp;amp;G] + P[A&amp;amp;G'] = .236 .&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; If a random chip is still alive at t=2, what's the probability that it's a good chip?&lt;/p&gt;
&lt;p&gt;Use Bayes.&lt;/p&gt;
&lt;p&gt;P[G|A] = P[A&amp;amp;G]/P[A] =   .225/.236 = .95&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; If a  random chip is still alive at t=2, what's the probability that it will still be alive at t=3?&lt;/p&gt;
&lt;p&gt;Let B = event that chip is alive at 3.&lt;/p&gt;
&lt;p&gt;B implies A, so the event (B&amp;amp;A) is the event B.&lt;/p&gt;
&lt;p&gt;P[B|A] = P[B &amp;amp; A] / P[A] = P[B] / P[A]&lt;/p&gt;
&lt;p&gt;P[B|G] = 1/8.  P[B|G'] = 1/27.&lt;/p&gt;
&lt;p&gt;P[B&amp;amp;G] = P[B|G] P[G] = 1/8 * .9 = .1125&lt;/p&gt;
&lt;p&gt;P[B&amp;amp;G'] = P[B|G'] P[G'] = 1/27 * .1 = 0.0037.&lt;/p&gt;
&lt;p&gt;P[B] = P[B&amp;amp;G] + P[B&amp;amp;G'] = 0.1125 + 0.0037 = 0.1162 .&lt;/p&gt;
&lt;p&gt;P[B|A] = P[B] / P[A] = 0.1162 / .236 = 0.492.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;em&gt;End of exam 1, total 70 points.&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;</description><category>mathjax</category><guid>https://wrf.ecse.rpi.edu/Teaching/probability-s2018/posts/class12-sol/</guid><pubDate>Sun, 25 Feb 2018 05:00:00 GMT</pubDate></item><item><title>Engineering Probability Class 12 and Exam 1 - Mon 2018-02-26</title><link>https://wrf.ecse.rpi.edu/Teaching/probability-s2018/posts/class12-exam1/</link><dc:creator>W Randolph Franklin (WRF), RPI</dc:creator><description>&lt;div&gt;&lt;p&gt;Name, RCSID:&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.




.
&lt;/pre&gt;
&lt;p&gt;Rules:&lt;/p&gt;
&lt;ol class="upperalpha simple"&gt;
&lt;li&gt;You have 80 minutes.&lt;/li&gt;
&lt;li&gt;You may bring one 2-sided 8.5"x11" paper with notes.&lt;/li&gt;
&lt;li&gt;You may bring a calculator.&lt;/li&gt;
&lt;li&gt;You may not share material with each other during the exam.&lt;/li&gt;
&lt;li&gt;No collaboration or communication (except with the staff) is allowed.&lt;/li&gt;
&lt;li&gt;Check that your copy of this test has all seven  pages.&lt;/li&gt;
&lt;li&gt;Do any 14 of the 17 questions or subquestions.   Cross out the 3 that you don't do.&lt;/li&gt;
&lt;li&gt;When answering a question, don't just state your answer, prove it.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Questions:&lt;/p&gt;
&lt;ol class="arabic"&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; Ten people run a race for gold, silver, bronze.  How many ways can the medals be won, w/o any ties?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.






.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Two teams, the Albanians and the Bostonians, are playing a 7 game series.   The first team to win 4 games wins the series, and no more games are played.    In any game, the Albanians have a 60% chance of winning.  The games are independent, and there are no ties.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt;  What's the probability that the series will run to 7 games?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.










.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt;  What's the probability that the Albanians win the series?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.














.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt;  Imagine two coins.  Coin A has two heads.  Coin B has the usual one head and one tail, and it is fair.   You pick a coin at random (p=.5 to pick either coin) and toss it.   It comes up heads.&lt;/p&gt;
&lt;p&gt;What is the probability that you picked coin A?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.















.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; Consider S={1,2,3,...22}.  Is the set of even numbers independent of the set of multiples of 4?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.












.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;You are sitting an online multiple choice exam in thraumaturgy, about which you know nothing.    Each question has 5 possible answers.  You answer each question randomly.   The exam ends when you get your first correct answer.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the relevant probability distribution?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.





.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the expected number of questions you will need to answer?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.







.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the standard deviation?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.







.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;You are designing a check bit system for transmitting 8-bit bytes over a noisy channel.    Since it's really noisy, you append two check bits to each byte, transmitting ten bits in total for each byte.    Each bit, independently, can be wrong with probability &lt;span class="math"&gt;\(10^{-6}\)&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;You're using a Reed-Solomon error correction scheme, which we teach in another class.  If there is only one bad bit in the ten transmitted bits, it will correct the byte.  If there are two bad bits, it will report the error, but can't correct it.   Three or more bad bits are unlikely enough that we assume they never occur.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the probability that the receiver can deduce the correct byte?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the probability that the receiver will receive a byte that it knows is bad, but can't correct?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Pretend that we divide the 86 field into  a grid of 100 by 100 squares.    5000 students  toss 10 paper airplanes each off the JEC roof.  Each paper airplane has an independent and uniform probability of hitting each square.  Each airplane falls into exactly one square.&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the mean number of airplanes to hit a particular square?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the exact probability that a particular square gets zero airplanes?   It's ok to give an expression; you don't need to evaluate it.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's a faster very good approximate formula?  An expression is ok.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the very good approximate standard deviation for the number of airplanes to hit a particular square?  An expression is ok.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;Chip quality control:&lt;/p&gt;
&lt;ol class="lowerroman simple"&gt;
&lt;li&gt;Each chip is either &lt;em&gt;good&lt;/em&gt; or &lt;em&gt;bad&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;P[good]= 0.9.&lt;/li&gt;
&lt;li&gt;If the chip is good: P[still alive at t] = &lt;span class="math"&gt;\(2^{-t}\)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;If the chip is bad: P[still alive at t] = &lt;span class="math"&gt;\(3^{-t}\)&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Questions:&lt;/p&gt;
&lt;ol class="loweralpha"&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; What's the probability that a random chip is still alive at t=2? Give an expression and evaluate it to give a number.&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; If a random chip is still alive at t=2, what's the probability that it's a good chip?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p class="first"&gt;&lt;em&gt;(5 pts)&lt;/em&gt; If a random chip is still alive at t=2, what's the probability that it will still be alive at t=3?&lt;/p&gt;
&lt;pre class="literal-block"&gt;
.











.
&lt;/pre&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;em&gt;End of exam 1, total 70 points.&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;</description><category>mathjax</category><guid>https://wrf.ecse.rpi.edu/Teaching/probability-s2018/posts/class12-exam1/</guid><pubDate>Sat, 24 Feb 2018 05:00:00 GMT</pubDate></item></channel></rss>