MHB What Conditions Make the Expectancy of Max{n-q, q-1} Equal to 3n/4?

  • Thread starter Thread starter evinda
  • Start date Start date
  • Tags Tags
    Max
Click For Summary
The discussion focuses on determining the conditions under which the expected value of max{n-q, q-1} equals 3n/4, with n being a fixed number and q ranging from 0 to n. It establishes that for odd n, the expression for max{n-q, q-1} can be simplified based on the value of q. The expected value M is calculated using a summation approach, leading to the formula M = (n(3n - 1))/(4(n + 1)). The discussion emphasizes the relationship between the values of n and q in achieving the desired expectancy. The mathematical exploration seeks to clarify the conditions necessary for this equality to hold.
evinda
Gold Member
MHB
Messages
3,741
Reaction score
0
Hello! (Wave)

When is the expectancy of $max \{n-q,q-1\}$ , where $n$ is a fixed number and $q$ is in $[0,n]$ , so $\max\{n-q,q-1 \}$ is in $[\frac{n}{2},n]$, equal to $\frac{\frac{n}{2}+n}{2}=\frac{3n}{4}$? (Thinking)
 
Physics news on Phys.org
evinda said:
Hello! (Wave)

When is the expectancy of $max \{n-q,q-1\}$ , where $n$ is a fixed number and $q$ is in $[0,n]$ , so $\max\{n-q,q-1 \}$ is in $[\frac{n}{2},n]$, equal to $\frac{\frac{n}{2}+n}{2}=\frac{3n}{4}$? (Thinking)

Let suppose n odd [the case n even is quite similar...], then...

$\displaystyle \max \{n - q, q - 1\} =\begin{cases}n - q &\text{if}\ q \le \frac{n-1}{2}\\ q - 1 &\text{if}\ q\ge \frac{n+1}{2}\end{cases}\ (1)$

If we call M the expected value of $\max \{n - q, q - 1\}$ then is...

$\displaystyle M = \frac{1}{n+1}\ \{\sum_{i=0}^{\frac{n-1}{2}} (n-i) + \sum_{i =\frac{n+1}{2}}^{n} (i-1)\} = \frac{n\ (3\ n - 1)}{4\ (n + 1)}\ (2)$

Kind regards

$\chi$ $\sigma$
 
Last edited:
There is a nice little variation of the problem. The host says, after you have chosen the door, that you can change your guess, but to sweeten the deal, he says you can choose the two other doors, if you wish. This proposition is a no brainer, however before you are quick enough to accept it, the host opens one of the two doors and it is empty. In this version you really want to change your pick, but at the same time ask yourself is the host impartial and does that change anything. The host...

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
Replies
1
Views
2K
Replies
9
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
715
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 22 ·
Replies
22
Views
2K
Replies
1
Views
3K