document.write( "Question 1197443: Consider an experiment involving a random arrangement of the letters of the word
\n" );
document.write( "LEXICOGRAPHY.
\n" );
document.write( "a. Determine the cardinality of the sample space S, i.e., the number of possible
\n" );
document.write( "arrangements of the letters of the word LEXICOGRAPHY.
\n" );
document.write( "Define the random variable B to be the number of vowels in the first six (6) letters of the
\n" );
document.write( "the random arrangement of the letters of the word LEXICOGRAPHY.
\n" );
document.write( "b. What are the possible values of B? Determine the probability mass function of the random variable B. Your solution must be consistent with the sample space in part (a).
\n" );
document.write( "Show complete solutions for the PMF, following the set standard indicated in the
\n" );
document.write( "instructions written above. Express your final answer in a table and using the fractions.
\n" );
document.write( "c. Find the mean and variance of the random variable B. \n" );
document.write( "
Algebra.Com's Answer #830760 by math_tutor2020(3817)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( "Part (a)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "There are 12 letters in the word LEXICOGRAPHY.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "There are 12 selections for the first slot, then 11 for the second, 10 for the third, and so on until we get to 1 selection for the last slot. \n" ); document.write( "12! = 12*11*10*9*...*3*2*1 = 479,001,600 \n" ); document.write( "The exclamation mark indicates a factorial.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Since there are no repeated letters, we don't have to worry about overcounting.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Answer: 479,001,600 \n" ); document.write( "This value is a slightly larger than 479 million.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "=======================================================================================================\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Part (b)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "I'll use X in place of the variable B.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "X = number of vowels in the first 6 letters of the arrangement of LEXICOGRAPHY\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The four vowels in that word are E, I, O, A. They are recorded in the order they come up in the word LEXICOGRAPHY.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "This means we could have the following vowel count in the first 6 letters \n" ); document.write( "X = 0 vowels \n" ); document.write( "X = 1 vowel \n" ); document.write( "X = 2 vowels \n" ); document.write( "X = 3 vowels \n" ); document.write( "X = 4 vowels\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We'll use both the combination formula nCr and the permutation formula nPr to count how many sub-cases there are for X = 0 through X = 4.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The notation I'll use is C(n,r) for combinations. \n" ); document.write( "I'll also use P(n,r) for permutations.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "As a refresher, here are the formulas for each \n" ); document.write( "C(n,r) = (n!)/(r!*(n-r)!) \n" ); document.write( "P(n,r) = (n!)/((n-r)!)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "An interesting connection is that \n" ); document.write( "C(n,r) = P(n,r)/(r!) \n" ); document.write( "which rearranges to \n" ); document.write( "P(n,r) = (r!)*C(n,r) \n" ); document.write( "which is handy if you know exactly one of the nPr or nCr values and want to find the other one.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "On spreadsheet software, the commands for nPr and nCr are PERMUT (not PERMUTE, I don't know why they decided to leave the last E off) and COMBIN (the CHOOSE function is not what we want since that deals with pulling elements out of a set).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "nPr = PERMUT \n" ); document.write( "nCr = COMBIN\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Example usage \n" ); document.write( "Type in =COMBIN(10,3) to find the value of C(10,3) = 120. \n" ); document.write( "Use the nCr combination formula mentioned above to verify this result. \n" ); document.write( "Don't forget about the equal sign up front when typing in the COMBIN function.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Another example: \n" ); document.write( "Type in =PERMUT(9,2) to compute P(9,2); the result of which is 72. \n" ); document.write( "Don't forget about the equal sign up front. \n" ); document.write( "Use the nPr formula mentioned above to confirm this result.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let's get back to the problem at hand. \n" ); document.write( "X goes from x = 0 to x = 4.
\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Here's what the spreadsheet looks like before each item is calculated \n" ); document.write( " ![]() \n" ); document.write( "I'm using LibreOffice spreadsheet, which is free software. Those commands work in Excel and similar spreadsheet programs. \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Calculating each item gets us this \n" ); document.write( " ![]() \n" ); document.write( "Use the command SUM to add up all the values in column F. \n" ); document.write( "The command is =SUM(F2:F6) to sum the values from F2 to F6. \n" ); document.write( "You should get 479,001,600 as that sum. \n" ); document.write( "Which if you recall, this is the result of part (a). \n" ); document.write( "This makes sense because X = 0 through X = 4 represent all of the possible ways to partition the sample space. \n" ); document.write( "This is what your teacher meant when s/he wrote \"Your solution must be consistent with the sample space in part (a)\". This is a checksum of sorts.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Column F represents the frequency for cases X = 0 through X = 4. \n" ); document.write( "For example, there are exactly 14,515,200 permutations in which there aren't any vowels in the first six slots. \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "What we'll do is form a new column where we divide values in column F over the grand total 479001600. This is to determine the relative frequency for each case X = 0 through X = 4.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "For example, X = 0 has a frequency of 14,515,200 and relative frequency of 14515200/479001600 which reduces to 1/33. \n" ); document.write( "Do this for the other values of X as well.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Here's how to quickly reduce fractions \n" ); document.write( "In cells G1 and G2 type the numerator and denominator. Both of which need to be integers. \n" ); document.write( "In cell H1, we'll have this command =G1/GCD(G1,G2) \n" ); document.write( "In cell H2, we'll have this command =G2/GCD(G1,G2) \n" ); document.write( "Therefore, the fraction (G1)/(G2) reduces fully to (H1)/(H2). \n" ); document.write( "GCD = greatest common divisor, it's the same as the GCF\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "-----------------------------------------------\r \n" ); document.write( "\n" ); document.write( " \n" ); document.write( "Answers: \n" ); document.write( "What are the possible values of B? 0, 1, 2, 3, and 4 \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The PMF is this table
\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Side notes: \n" ); document.write( "As a check, the P(B) values need to add up to 1. \n" ); document.write( "5/11 = 15/33\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "=======================================================================================================\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Part (c)\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "I'll use X in place of the variable B.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Here's the PMF from part (b) earlier.
\n" ); document.write( "Form a third column labeled X*P(X)
\n" ); document.write( "This is the mean of X \n" ); document.write( "mu is the greek letter that represents the mean.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Then form a fourth column labeled (X-mu)^2*P(X)
\n" ); document.write( "Side note: Apply the square root to the variance to get the standard deviation.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( " \n" ); document.write( "Answers: \n" ); document.write( "Mean = 2 \n" ); document.write( "Variance = 8/11 \n" ); document.write( "Convert the variance to decimal form if your teacher requires it. \n" ); document.write( " \n" ); document.write( " |