Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

A coin, having probability \(p\) of landing heads, is flipped until a head appears for the \(r\) th time. Let \(N\) denote the number of flips required. Calculate \(E[N]\). Hint: There is an easy way of doing this. It involves writing \(N\) as the sum of \(r\) geometric random variables.

Short Answer

Expert verified
The expected value of the number of flips required to get the $r$-th head with probability $p$ can be calculated by representing $N$ as the sum of $r$ geometric random variables and using the linearity of expectation. This gives us \(E[N] = \frac{r}{p}\).

Step by step solution

01

Understand the concept of geometric random variables

A geometric random variable is defined as the number of trials needed to get the first success in a sequence of Bernoulli trials. In this problem, a success is defined as getting a head, and the probability of success in each flip is p.
02

Represent N as the sum of r geometric random variables

Let Xi be the number of flips required to get the i-th head, for i = 1, 2, ..., r. Since each head is an independent event, the total number of flips (N) required to get r heads can be represented as the sum of the number of flips needed for each individual head: \[N = X_1 + X_2 + ... + X_r\]
03

Determine the expected value of each geometric random variable

The expected value of a geometric random variable with success probability p is given by the formula: \(E[X] = \frac{1}{p}\). Since each Xi is geometric with probability p, the expected value of each Xi is also \(\frac{1}{p}\).
04

Calculate the expected value of N using the linearity of expectation

The linearity of expectation states that the expected value of a sum of random variables is equal to the sum of the expected values of each random variable. As such, we can write the expected value of N as follows: \[E[N] = E[X_1] + E[X_2] + ... + E[X_r]\] Since the expected value of each Xi is \(\frac{1}{p}\), we can rewrite the expression as: \[E[N] = r \times \frac{1}{p} = \frac{r}{p}.\] So, the expected value of N, the number of flips required to get r heads, is \(\frac{r}{p}\).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

A coin having probability \(p\) of coming up heads is successively flipped until the \(r\) th head appears. Argue that \(X\), the number of flips required, will be \(n, n \geq r\), with probability $$ P[X=n\\}=\left(\begin{array}{c} n-1 \\ r-1 \end{array}\right) p^{T}(1-p)^{n-r}, \quad n \geq r $$ This is known as the negative binomial distribution. Hint: How many successes must there be in the first \(n-1\) trials?

Suppose five fair coins are tossed. Let \(E\) be the event that all coins land heads. Define the random variable \(I_{E}\) $$ I_{E}=\left\\{\begin{array}{ll} 1, & \text { if } E \text { occurs } \\ 0, & \text { if } E^{c} \text { occurs } \end{array}\right. $$ For what outcomes in the original sample space does \(I_{E}\) equal 1? What is \(P\left[I_{E}=1\right\\}\) ?

The density of \(X\) is given by $$ f(x)=\left\\{\begin{array}{ll} 10 / x^{2}, & \text { for } x>10 \\ 0, & \text { for } x \leq 10 \end{array}\right. $$ What is the distribution of \(X ?\) Find \(P[X>20\\}\).

Calculate the moment generating function of a geometric random variable.

If \(X\) is a nonnegative integer valued random variable, show that (a) $$ E[X]=\sum_{n=1}^{\infty} P[X \geq n\\}=\sum_{n=0}^{\infty} P(X>n\\} $$ Hint: Define the sequence of random variables \(I_{n}, n \geq 1\), by $$ I_{n}=\left\\{\begin{array}{ll} 1, & \text { if } n \leq X \\ 0, & \text { if } n>X \end{array}\right. $$ Now express \(X\) in terms of the \(I_{n}\). (b) If \(X\) and \(Y\) are both nonnegative integer valued random variables, show that $$ E[X Y]=\sum_{n=1}^{\infty} \sum_{m=1}^{\infty} P(X \geq n, Y \geq m) $$

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free