GATE CSE
First time here? Checkout the FAQ!
x
+2 votes
103 views

Consider the $majority$ function on three bits, $\textbf{maj}: \{0, 1\}^3 \rightarrow \{0, 1\}$ where $\textbf{maj}(x_1, x_2, x_3)=1$ if and only if $x_1+x_2+x_3 \geq 2$. Let $p(\alpha)$ be the probability that the output is 1 when each input is set to 1 independently with probability $\alpha$. What is $p'(\alpha) = \frac{d}{d\alpha} p (\alpha)$?

  1. $3 \alpha$
  2. $\alpha^2$
  3. $6\alpha(1-\alpha)$
  4. $3\alpha^2 (1-\alpha)$
  5. $6\alpha(1-\alpha)+\alpha^2$
asked in Probability by Veteran (77.8k points)   | 103 views
c is the answer

1 Answer

+6 votes
Best answer
$$\begin{align*} &\Rightarrow \left [ \textbf{maj}\left \{ x_i \right \} = 1 \right ] \Leftrightarrow \left ( \left [ \sum_{i=1}^{3}x_i \right ] \geq 2 \right ) \\ &\Rightarrow Prob\left ( \left [ \sum_{i=1}^{3}x_i \right ] \geq 2 \right ) = Prob\left ( \left [ \sum_{i=1}^{3}x_i \right ] = 2 \right ) + \ Prob\left ( \left [ \sum_{i=1}^{3}x_i \right ] = 3 \right )\\ &\Rightarrow Prob\left ( \left [ \sum_{i=1}^{3}x_i \right ] \geq 2 \right ) = \binom{3}{2}*\left \{ \alpha .\alpha .\left ( 1-\alpha \right ) \right \} +\ \alpha ^{3} \\ &\Rightarrow Prob\left ( \left [ \sum_{i=1}^{3}x_i \right ] \geq 2 \right ) = 3.\alpha ^{2}(1-\alpha ) + \ \alpha ^{3} \\ &\Rightarrow Prob\left ( \left [ \sum_{i=1}^{3}x_i \right ] \geq 2 \right ) = 3.\alpha ^2 - 2.\alpha ^3 \\ &\Rightarrow P^{'}\left ( \alpha \right ) = \ \frac{\mathrm{d} }{\mathrm{d} \alpha }\left [ 3.\alpha ^2 - 2.\alpha ^3 \right ] \\ &\Rightarrow P^{'}\left ( \alpha \right ) = 6.\alpha \left ( 1-\alpha \right ) \\ \end{align*}$$
answered by Veteran (48.5k points)  
selected by


Top Users Jun 2017
  1. Bikram

    3704 Points

  2. Arnab Bhadra

    1502 Points

  3. Hemant Parihar

    1502 Points

  4. Niraj Singh 2

    1481 Points

  5. junaid ahmad

    1432 Points

  6. Debashish Deka

    1402 Points

  7. Rupendra Choudhary

    1230 Points

  8. rahul sharma 5

    1222 Points

  9. Arjun

    1168 Points

  10. pawan kumarln

    1164 Points

Monthly Topper: Rs. 500 gift card
Top Users 2017 Jun 26 - Jul 02
  1. pawan kumarln

    296 Points

  2. akankshadewangan24

    214 Points

  3. Arjun

    208 Points

  4. Debashish Deka

    156 Points

  5. Hira Thakur

    130 Points


23,414 questions
30,125 answers
67,509 comments
28,443 users