document.write( "Question 1166511: We are rolling a 6 sided die. Let A be the random event of how many rolls it takes to roll your first 4. What is the probability mass function and prove that the values of f(x) add up to 1. \n" ); document.write( "
Algebra.Com's Answer #791059 by Edwin McCravy(20065)\"\" \"About 
You can put this solution on YOUR website!
\r\n" );
document.write( "The probability that the 1st roll is a 4 is \r\n" );
document.write( "\"1%2F6\", the 1st term\r\n" );
document.write( "The probability that the 1st roll is not a 4 and the 2nd one is a 4 is\r\n" );
document.write( "\"%285%2F6%29%2A%281%2F6%29\", the 2nd term\r\n" );
document.write( "The probability that the 1st 2 rolls are not 4's and the 3rd one is a 4 is\r\n" );
document.write( "\"%285%2F6%29%285%2F6%29%2A%281%2F6%29=%285%2F6%29%5E2%2A%281%2F6%29\", the 3rd term\r\n" );
document.write( "The probability that the 1st 3 rolls are not 4's and the 4th one is a 4 is\r\n" );
document.write( "\"%285%2F6%29%285%2F6%29%285%2F6%29%2A%281%2F6%29=%285%2F6%29%5E3%2A%281%2F6%29\", the 4th term\r\n" );
document.write( "...\r\n" );
document.write( "The probability that the 1st x-1 rolls are not 4's and the xth one is a 4 is\r\n" );
document.write( "\"%285%2F6%29%5E%28x-1%29%2A%281%2F6%29\", the xth term\r\n" );
document.write( "\r\n" );
document.write( "So\r\n" );
document.write( "\r\n" );
document.write( "\"f%28x%29=sum%28%28%285%2F6%29%5E%28n-1%29%2A%281%2F6%29%29%2Cn=1%2Cx%29\"\r\n" );
document.write( "\r\n" );
document.write( "Notice that theoretically (mathematically) it could take you a billion\r\n" );
document.write( "rolls, or a million years, [lol] to roll your first 4. [if you had an\r\n" );
document.write( "extremely stubborn die!!!]\r\n" );
document.write( "\r\n" );
document.write( "The sum of all values of f(x) is an infinite series and the sum of the\r\n" );
document.write( "infinite series is:\r\n" );
document.write( "\r\n" );
document.write( "\"s%5Binfinity%5D=a%5B1%5D%2F%281-r%5E%22%22%29\"\r\n" );
document.write( "\r\n" );
document.write( "where a1 = first term = 1/6, and r = 5/6\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Edwin

\n" ); document.write( "
\n" ); document.write( "
\n" );