document.write( "Question 1209457: List all subsets of {A,B,C,D} \n" ); document.write( "
Algebra.Com's Answer #848872 by math_tutor2020(3817)![]() ![]() ![]() You can put this solution on YOUR website! \n" ); document.write( "A set is a collection of things. In this case letters A through D. \n" ); document.write( "A subset is a smaller set that contains some of those letters. \n" ); document.write( "It could be 0 of them, which gives the empty set. The empty set is a subset of every set. \n" ); document.write( "It could be all of them. Any set is a subset of itself. \n" ); document.write( "Or it could be something like {A,B,C} or {B,D}\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "To systematically list out every possible subset, we can use binary notation. \n" ); document.write( "We count from 0 to (2^4)-1 = 15 in binary. The exponent 4 refers to the number of elements in the original set. \n" ); document.write( "
\n" ); document.write( "Counting in binary shouldn't be too tricky once you get a hang of it. \n" ); document.write( "Basically you start at 0000 and increment the last digit by 1 to get 0001 \n" ); document.write( "Then increment the last digit of 0001 to get 0002, but the \"2\" doesn't exist in binary. \n" ); document.write( "The only digits are 0 and 1. \n" ); document.write( "A fundamental rule in binary is 12+12 = 102 or you can phrase it as saying \"1+1 = 10 in binary\". \n" ); document.write( "This explains how we go from 0001 to 0010. The 1 carries over to the left. \n" ); document.write( "Then we go from 0010 to 0011 \n" ); document.write( "Then from 0011 to 0100 \n" ); document.write( "And so on. \n" ); document.write( "A recommended tool is to use the Dec2Bin spreadsheet function. \n" ); document.write( "The first input of this function is the number we want to convert to binary. The second input is the number of digits for the output. \n" ); document.write( "For example type in =Dec2Bin(A1,4) to convert whatever is in cell A1 to binary. It will have 4 binary digits. \n" ); document.write( "There are many online calculators that can convert from decimal (base 10) to binary (base 2).\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "--------------------------------------------------------------------------------------------------\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Why go through the trouble of using binary? Because 0 represents leaving out a particular letter while 1 represents including it. \n" ); document.write( "String those 1's and/or 0's together to form a list of items. \n" ); document.write( "0101 for instance means we exclude A, include B, exclude C, include D. \n" ); document.write( "In short basically you have B and D to form the subset {B,D}\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Another example is 1110 represents the subset {A,B,C} since we have 1's as the first three slots and 0 in the last slot. \n" ); document.write( "As you can see this guarantees we do not overlook any subset. \r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Let's introduce a third column to the previous table that lists out all the subsets possible. \n" ); document.write( "
\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "Optionally we can sort the subsets like so \n" ); document.write( "{ } \n" ); document.write( "{ A } \n" ); document.write( "{ B } \n" ); document.write( "{ C } \n" ); document.write( "{ D } \n" ); document.write( "{ A, B } \n" ); document.write( "{ A, C } \n" ); document.write( "{ B, C } \n" ); document.write( "{ A, D } \n" ); document.write( "{ B, D } \n" ); document.write( "{ C, D } \n" ); document.write( "{ A, B, C } \n" ); document.write( "{ A, B, D } \n" ); document.write( "{ A, C, D } \n" ); document.write( "{ B, C, D } \n" ); document.write( "{ A, B, C, D } \n" ); document.write( "Feel free to sort them any way you prefer.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "{ } is the empty set. It has nothing inside it. Not even 0 is inside. The empty set is a subset of every set. Sometimes a special symbol is used for the empty set. The symbol looks like a zero with a slash through it.\r \n" ); document.write( " \n" ); document.write( "\n" ); document.write( "The singletons are listed next. Singletons have 1 element as you can probably guess by the name. Then after the singletons are subsets with 2 elements. Then 3 element subsets and so on. \n" ); document.write( "Since we have n = 4 slots and 2 choices per slot (either include the element or not), there are 2^n = 2^4 = 16 different subsets. The collection of all subsets is known as the Power Set. \n" ); document.write( " \n" ); document.write( " |