LoginSignup
0
0

More than 5 years have passed since last update.

成功するまでの回数の期待値その②

Last updated at Posted at 2018-03-12
1 / 2
\begin{align}
&~~~あるお菓子の箱に,おまけが必ず1つ入っています.\\
&おまけには\text{A}と\text{B}の2種類あり,\text{A}が入っている確率はa,\\
&\text{B}が入っている確率はbです(a\not=0,b\not=0,a+b=1).\\
&~~~その2種類がそろうまでそのお菓子を買い続けるとします.\\
&~~~お菓子を買う回数の期待値は?\\
\\
&~~~1箱目で\text{A}が出る確率はaで,その1箱ののち,\text{B}が出るまでの\\
&箱数の期待値は\frac{1}{b}(その①参照).\\
&~~~1箱目で\text{B}が出る確率はbで,その1箱ののち,\text{A}がでるまでの\\
&箱数の期待値は\frac{1}{a}.\\
&~~~したがって,求める期待値Eは,\\
&~~~~~~E=a\left(1+\frac{1}{b}\right)+b\left(\frac{1}{a}\right)\\
&~~~~~~~~~=1+\frac{b}{a}+\frac{a}{b}
\end{align}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0