document.write( "Question 1203836: Given the following sets:
\n" ); document.write( "U = {2, 4, 5, 6, 9, 10, 12, 16} A = {4, 5, 10, 12}
\n" ); document.write( "B = {2, 4, 9, 12, 16}
\n" ); document.write( "Find:
\n" ); document.write( "n (A U B)
\n" ); document.write( "Do not list the elements.\r
\n" ); document.write( "\n" ); document.write( "(I'm very confused on this problem here)
\n" ); document.write( "

Algebra.Com's Answer #839693 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "The \"n\" refers to \"number of\"
\n" ); document.write( "n(A) = number of values inside set A
\n" ); document.write( "n(B) = number of values inside set B
\n" ); document.write( "etc\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The frustrating thing about this type of set mathematics is the letter \"U\" stands for \"universal set\" and it also looks very similar to the \"union symbol\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "To avoid confusion, I'll say \"union\" when joining two sets rather than just stating the symbol.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "An important set operation is set intersection.
\n" ); document.write( "This is where we find what two sets have in common.
\n" ); document.write( "For a venn diagram, the intersection is the overlapped area.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "A = {4,5,10,12}
\n" ); document.write( "B = {2,4,9,12,16}
\n" ); document.write( "A intersect B = {4,12}
\n" ); document.write( "This is because both 4 and 12 are in sets A and B at the same time.
\n" ); document.write( "Draw out a venn diagram if needed.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Then, by the inclusion-exclusion principle, we can state the following
\n" ); document.write( "n(A union B) = n(A) + n(B) - n(A intersect B)
\n" ); document.write( "n(A union B) = 4 + 5 - 2
\n" ); document.write( "n(A union B) = 7
\n" ); document.write( "There are 7 elements inside set A union B
\n" ); document.write( "Those 7 items are found in either:
  • set A only (values 5 and 10)
  • set B only (values 2, 9 and 16)
  • or both sets A and B at the same time (values 4 and 12)
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I know your teacher directly mentions \"do not list elements\" but I think listing things helps verify the answer.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I'll use color-coding to show how the sets union together.
\n" ); document.write( "A = {4,5,10,12}
\n" ); document.write( "B = {2,4,9,12,16}\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "A union B = {4,5,10,12} union {2,4,9,12,16}
\n" ); document.write( "A union B = {4,5,10,12     2,4,9,12,16}
\n" ); document.write( "A union B = {2,4,5,9,10,12,16}
\n" ); document.write( "This is where we basically glue together sets A and B. Toss out any duplicates.
\n" ); document.write( "Sort the values to make life a bit easier.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "To remember what \"set union\" means, what you can do is think of a marriage as a union of two people's stuff when those two people get married.
\n" ); document.write( "The set {couch,fridge,tv,house} from the bride unions with the set {car,house,tv,fridge} of the groom to get {couch,tv,fridge,house,car}.
\n" ); document.write( "The duplicate items are tossed. Assume that the couple can afford one of each item only.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Anyways,
\n" ); document.write( "A union B = {2,4,5,9,10,12,16}
\n" ); document.write( "n(A union B) = number of elements in set A union B
\n" ); document.write( "n(A union B) = 7
\n" ); document.write( "We have confirmed the answer.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-------------------------------------------
\n" ); document.write( "-------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Answer: 7
\n" ); document.write( "
\n" ); document.write( "
\n" );