document.write( "Question 1192625: How many different 4-letter permutations can be formed from the letters in the word WESTINGHOUSE? \n" ); document.write( "
Algebra.Com's Answer #824523 by math_tutor2020(3817)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( "We'll need to break things into multiple cases.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Here's the table of contents \n" ); document.write( "Case A) All four letters are unique \n" ); document.write( "Case B) We have two copies of \"E\" and everything else is unique. \n" ); document.write( "Case C) We have two copies of \"S\" and everything else is unique. \n" ); document.write( "Case D) We have two copies of \"E\" and two copies of \"S\"\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "---------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Case A) All four letters are unique \n" ); document.write( "Example word could be: WEST\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "In the word \"WESTINGHOUSE\", the unique letters in the order presented are: \n" ); document.write( "{W, E, S, T, I, N, G, H, O, U} \n" ); document.write( "There are 10 letters in this list. \n" ); document.write( "Notice that I didn't write the second copy of \"S\" nor the second copy of \"E\".\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "If it might help, then we can write the list of letters out like this \n" ); document.write( "{W, E, S, T, I, N, G, H, O, U, S, E} \n" ); document.write( "but cross out the last two letters since they were mentioned earlier \n" ); document.write( "{W, E, S, T, I, N, G, H, O, U, \n" ); document.write( "so that's how I got to \n" ); document.write( "{W, E, S, T, I, N, G, H, O, U}\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Since we have n = 10 unique letters to work with, and r = 4 slots to fill, this means we can use the nPr permutation formula. Order matters.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "n P r = (n!)/( (n-r)! ) \n" ); document.write( "10 P 4 = (10!)/( (10-4)! ) \n" ); document.write( "10 P 4 = (10!)/(6!) \n" ); document.write( "10 P 4 = (10*9*8*7*6!)/(6!) \n" ); document.write( "10 P 4 = 10*9*8*7 \n" ); document.write( "10 P 4 = 5040\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Or perhaps more intuitively, we start off with 10 and count down by 1 each time until we have four slots to fill. So that helps explain why 10*9*8*7 is buried in the nPr formula when n = 10 and r = 4.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "There are 5040 ways to select four letters such that all of them are unique.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let A = 5040 so we can use it later.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "---------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Case B) We have two copies of \"E\" and everything else is unique. \n" ); document.write( "Example \"word\" could be: WESE\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let's say we label the slots 1,2,3,4. \n" ); document.write( "There are 4 choices to place \"E\", and then there are 3 choices left to place the other E. That gives 4*3 = 12, but we divide by 2 since we cannot tell the \"E\"s apart. That leads us to 12/2 = 6 ways to place the \"E\"s.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Put another way, there are 4 C 2 = 6 ways to place those two \"E\"s. I'm using the nCr combination formula.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Go back to \n" ); document.write( "{W, E, S, T, I, N, G, H, O, U, S, E} \n" ); document.write( "and cross off the duplicate \"S\" and both copies of \"E\" \n" ); document.write( "{W, \n" ); document.write( "we're left with \n" ); document.write( "{W, S, T, I, N, G, H, O, U} \n" ); document.write( "which has n = 9 letters in it.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "After placing those \"E\"s, there are r = 2 slots left to fill. \n" ); document.write( "Meaning we have nPr = 9 P 2 = 9*8 = 72 ways to fill the remaining two slots.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "We found there are 6 ways to place the \"E\"s and 72 ways to select the remaining other unique letters.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "There are 6*72 = 432 ways to carry out case B.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let B = 432 so we can use it later.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "---------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Case C) We have two copies of \"S\" and everything else is unique. \n" ); document.write( "Example \"word\" could be: WSSE\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The steps are identical to case B. \n" ); document.write( "This is because \"S\" repeats just as much as \"E\" does.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "This means there are 432 ways to place the two \"S\" letters, and fill in the remaining slots with other unique letters.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let C = 432\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "---------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Case D) We have two copies of \"E\" and two copies of \"S\" \n" ); document.write( "Example word: SEES\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "There are 6 ways to place the \"E\"s in whatever two slots they land in. Refer to the 4 C 2 = 6 mentioned earlier in case B. The two \"S\" letters will have no choice but to fill the remaining empty slots in exactly one way.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The order of which you pick doesn't matter, so you could start with the \"S\" letters first, then move onto the \"E\"s later.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "In short, there are 6 ways to carry out case D.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let D = 6.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "---------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "To wrap everything up, we'll add up the results of each case mentioned earlier. \n" ); document.write( "Such addition is possible because cases A,B,C,D are mutually exclusive. \n" ); document.write( "Only one case can happen at a time and there is no overlap.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "A+B+C+D = 5040+432+432+6 = 5910\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "This can be verified by using computer software to generate all the possible permutations.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "This is a really awesome free calculator that will do just that \n" ); document.write( "https://www.mathsisfun.com/combinatorics/combinations-permutations-calculator.html \n" ); document.write( "It not only lists the numeric nCr and nPr values, but it will also list all the actual sequences possible. \n" ); document.write( "Though I imagine there's a size limit so it cannot list every possible set. \n" ); document.write( "Luckily, our set isn't too large.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Type these letters \n" ); document.write( "W, E, S, T, I, N, G, H, O, U, S, E \n" ); document.write( "into the box where it mentions \"List Them:\" \n" ); document.write( "Don't input any curly braces or quotation marks. Each letter must be separated by a comma. \n" ); document.write( "Make sure to change the \"Types to choose from?\" to 12 and \"Number Chosen?\" to 4. \n" ); document.write( "Set \"is order important\" to \"yes\", and set \"repetition allowed?\" to \"no\". \n" ); document.write( "Otherwise, the solver will likely list the wrong thing you're after. \n" ); document.write( "Check out the screenshot to see what I mean. \n" ); document.write( " ![]() \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Click on the \"list\" button at the bottom to have the solver mention 5910 different four letter permutations after tossing the duplicates. \n" ); document.write( "Before tossing the duplicates, there are 12 P 4 = 12*11*10*9 = 11,880 entries.\r \n" ); document.write( " \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "---------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Answer: 5910 \n" ); document.write( " \n" ); document.write( " |