{"base":{"id":"olm10-18-03","subject":"Mathematics","title":"Two sets: the formula n(A ∪ B) = n(A) + n(B) − n(A ∩ B)","scene":"olm11","steps":[{"mode":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"poly","p":[[0.6,1.6],[9.4,1.6],[9.4,8.4],[0.6,8.4]],"col":"k","w":4},{"k":"poly","p":[[5,2.81],[5.19,2.92],[5.37,3.05],[5.54,3.2],[5.69,3.36],[5.83,3.54],[5.95,3.73],[6.06,3.92],[6.14,4.13],[6.21,4.34],[6.26,4.56],[6.29,4.78],[6.3,5],[6.29,5.22],[6.26,5.44],[6.21,5.66],[6.14,5.87],[6.06,6.08],[5.95,6.27],[5.83,6.46],[5.69,6.64],[5.54,6.8],[5.37,6.95],[5.19,7.08],[5,7.19],[5,7.19],[4.81,7.08],[4.63,6.95],[4.46,6.8],[4.31,6.64],[4.17,6.46],[4.05,6.27],[3.94,6.08],[3.86,5.87],[3.79,5.66],[3.74,5.44],[3.71,5.22],[3.7,5],[3.71,4.78],[3.74,4.56],[3.79,4.34],[3.86,4.13],[3.94,3.92],[4.05,3.73],[4.17,3.54],[4.31,3.36],[4.46,3.2],[4.63,3.05],[4.81,2.92],[5,2.81]],"col":"none","fill":"g"},{"k":"circle","c":[3.8,5],"r":2.5,"col":"b"},{"k":"circle","c":[6.2,5],"r":2.5,"col":"r"},{"k":"txt","p":[2,7.9],"t":"A","col":"b","size":40},{"k":"txt","p":[8,7.9],"t":"B","col":"r","size":40},{"k":"txt","p":[9,2.1],"t":"ε","col":"s","size":36},{"k":"txt","p":[2.7,5],"t":"3","col":"k","size":40},{"k":"txt","p":[5,5],"t":"2","col":"k","size":40},{"k":"txt","p":[7.3,5],"t":"2","col":"k","size":40}]},"work":{"title":"Write it like this","lines":["n(A) = 5,   n(B) = 4,   n(A ∩ B) = 2","n(A) + n(B) = 9   (2 counted twice)","n(A ∪ B) = 5 + 4 − 2","= 7"]},"say":["Tap to count the union.","From the diagram: 3 + 2 and 2 + 2.","The shaded overlap is in both totals.","Take it away once.","3 + 2 + 2 = 7 as well."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Counting without counting twice","title":"Subtract the overlap","body":"If you add n(A) and n(B), the elements in both sets are counted twice. Subtract them once to get the number in the union: n(A ∪ B) = n(A) + n(B) − n(A ∩ B)."},{"mode":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"poly","p":[[0.6,1.6],[9.4,1.6],[9.4,8.4],[0.6,8.4]],"col":"k","w":4},{"k":"circle","c":[3.8,5],"r":2.5,"col":"b"},{"k":"circle","c":[6.2,5],"r":2.5,"col":"r"},{"k":"txt","p":[2,7.9],"t":"T","col":"b","size":40},{"k":"txt","p":[8,7.9],"t":"C","col":"r","size":40},{"k":"txt","p":[9,2.1],"t":"ε","col":"s","size":36},{"k":"txt","p":[2.7,5],"t":"17","col":"k","size":40},{"k":"txt","p":[5,5],"t":"8","col":"k","size":40},{"k":"txt","p":[7.3,5],"t":"12","col":"k","size":40},{"k":"txt","p":[5,2],"t":"3","col":"k","size":40}]},"work":{"title":"Write it like this","lines":["n(T ∪ C) = n(T) + n(C) − n(T ∩ C)","= 25 + 20 − 8 = 37","Neither = 40 − 37 = 3","Tea only = 25 − 8 = 17","Coffee only = 20 − 8 = 12"]},"say":["Tap to solve.","The formula.","At least one drink.","Outside both sets.","In T but not C.","Check: 17 + 8 + 12 + 3 = 40."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"A class survey","title":"Tea, coffee, both","body":"In a class of 40 students, 25 like tea, 20 like coffee and 8 like both. How many like at least one drink, and how many like neither?"},{"mode":"fig","work":{"title":"Write it like this","lines":["n(A ∪ B) = 50","50 = 30 + 28 − n(A ∩ B)","n(A ∩ B) = 58 − 50","= 8 read both"]},"say":["Tap to find the overlap.","Everyone is in the union.","Substitute.","The excess 8 was counted twice.","A only 22, B only 20."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"Finding the overlap","title":"The formula backwards","body":"Often the number in both sets is the unknown. Of 50 people, 30 read newspaper A, 28 read newspaper B and everyone reads at least one. Put the numbers in the formula and solve."},{"mode":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"poly","p":[[0.6,1.6],[9.4,1.6],[9.4,8.4],[0.6,8.4]],"col":"k","w":4},{"k":"circle","c":[3.8,5],"r":2.5,"col":"b"},{"k":"circle","c":[6.2,5],"r":2.5,"col":"r"},{"k":"txt","p":[2,7.9],"t":"C","col":"b","size":40},{"k":"txt","p":[8,7.9],"t":"F","col":"r","size":40},{"k":"txt","p":[9,2.1],"t":"ε","col":"s","size":36},{"k":"txt","p":[2.7,5],"t":"20 − x","col":"k","size":40},{"k":"txt","p":[5,5],"t":"x","col":"k","size":40},{"k":"txt","p":[7.3,5],"t":"18 − x","col":"k","size":40},{"k":"txt","p":[5,2],"t":"5","col":"k","size":40}]},"work":{"title":"Write it like this","lines":["(20 − x) + x + (18 − x) + 5 = 35","43 − x = 35","x = 8","Cricket only 12, football only 10"]},"say":["Tap to solve for x.","All four regions.","Collect.","Eight play both.","Check: 12 + 8 + 10 + 5 = 35."],"actions":[{"id":"step","label":"Show the next step"}],"eyebrow":"With a letter","title":"Put x in the middle","body":"When the overlap is unknown, write x there and fill the other regions in terms of x. 35 students: 20 play cricket, 18 play football, 5 play neither. The four regions add up to 35."},{"mode":"quiz","look":"fig","fig":{"view":[0,0,10,10],"items":[{"k":"txt","p":[5,5.9],"t":"n(A) = 12,  n(B) = 9,  n(A ∩ B) = 4","size":84,"col":"v","max":1400},{"k":"txt","p":[5,4.1000000000000005],"t":"n(A ∪ B) = ?","size":84,"col":"k","max":1400}]},"eyebrow":"Check yourself","title":"Use the formula","body":"Add, then subtract the overlap.","question":"n(A) = 12, n(B) = 9 and n(A ∩ B) = 4. What is n(A ∪ B)?","options":["21","17","25"],"answer":1,"right":"Correct. 12 + 9 − 4 = 17.","wrong":"Not quite. 21 counts the four common elements twice."}],"more":[{"type":"cards","id":"detail","eyebrow":"The ideas in detail","title":"The formula for two sets in detail","items":[{"tag":"Formula","title":"For any two finite sets","body":"n(A ∪ B) = n(A) + n(B) − n(A ∩ B).\n\nIf A and B are disjoint, n(A ∩ B) = 0 and n(A ∪ B) = n(A) + n(B).\n\nAlso: n(A′) = n(ε) − n(A), and number in neither = n(ε) − n(A ∪ B)."},{"tag":"Venn method","title":"Fill from the middle outwards","body":"1. Write the number in A ∩ B first.\n2. A only = n(A) − n(A ∩ B).\n3. B only = n(B) − n(A ∩ B).\n4. Neither = n(ε) − (sum of the three).\n\nThe numbers written in a Venn diagram are numbers of elements in each REGION, not n(A) and n(B)."},{"tag":"Example","title":"Languages","body":"Of 60 tourists, 42 speak English, 25 speak French and 6 speak neither.\n\nn(E ∪ F) = 60 − 6 = 54.\n54 = 42 + 25 − n(E ∩ F).\nn(E ∩ F) = 13.\nEnglish only 29, French only 12.\nCheck: 29 + 13 + 12 + 6 = 60."}]},{"type":"cards","id":"ideas","eyebrow":"Marks lost in the exam","title":"Common mistakes","items":[{"tag":"Common mistake","title":"Writing n(A) in the \"A only\" region","body":"If 25 like tea and 8 like both, the \"tea only\" region holds 17, not 25. The 25 is spread over two regions."},{"tag":"Common mistake","title":"Forgetting those in neither set","body":"n(A ∪ B) is not always n(ε). If some elements are outside both sets, subtract them from the total first."}]},{"type":"quiz","id":"quiz","eyebrow":"Go further","title":"Thirty questions: easy, medium, hard","questions":[{"level":"easy","question":"n(A) = 10, n(B) = 8, n(A ∩ B) = 3. n(A ∪ B) = …","options":["15","18","21"],"answer":0,"right":"Correct. 10 + 8 − 3 = 15.","wrong":"Not quite. n(A ∪ B) = n(A) + n(B) − n(A ∩ B)."},{"level":"easy","question":"n(A) = 15, n(B) = 12, n(A ∩ B) = 5. n(A ∪ B) = …","options":["27","32","22"],"answer":2,"right":"Correct. 15 + 12 − 5 = 22.","wrong":"Not quite. n(A ∪ B) = n(A) + n(B) − n(A ∩ B)."},{"level":"easy","question":"n(A) = 20, n(B) = 14, n(A ∩ B) = 6. n(A ∪ B) = …","options":["34","28","40"],"answer":1,"right":"Correct. 20 + 14 − 6 = 28.","wrong":"Not quite. n(A ∪ B) = n(A) + n(B) − n(A ∩ B)."},{"level":"easy","question":"n(A) = 9, n(B) = 7, n(A ∩ B) = 2. n(A ∪ B) = …","options":["16","14","18"],"answer":1,"right":"Correct. 9 + 7 − 2 = 14.","wrong":"Not quite. n(A ∪ B) = n(A) + n(B) − n(A ∩ B)."},{"level":"easy","question":"n(A) = 25, n(B) = 18, n(A ∩ B) = 10. n(A ∪ B) = …","options":["43","53","33"],"answer":2,"right":"Correct. 25 + 18 − 10 = 33.","wrong":"Not quite. n(A ∪ B) = n(A) + n(B) − n(A ∩ B)."},{"level":"easy","question":"Why do we subtract n(A ∩ B) in the formula for n(A ∪ B)?","options":["It is counted twice otherwise","It is not in A","To make the answer smaller"],"answer":0,"right":"Correct. The overlap is in A and in B.","wrong":"Not quite. Count the overlap once."},{"level":"easy","question":"n(A) = 12, n(A ∩ B) = 5. n(A only) = …","options":["17","7","5"],"answer":1,"right":"Correct. 12 − 5.","wrong":"Not quite. Take the overlap away."},{"level":"easy","question":"\"At least one\" of A, B means…","options":["A ∪ B","A ∩ B","(A ∪ B)′"],"answer":0,"right":"Correct. In A or B or both.","wrong":"Not quite. One or more."},{"level":"easy","question":"\"Neither\" A nor B means…","options":["A ∩ B","A ∪ B","(A ∪ B)′"],"answer":2,"right":"Correct. Outside both circles.","wrong":"Not quite. Complement of the union."},{"level":"easy","question":"n(ε) = 30, n(A ∪ B) = 24. Number in neither?","options":["6","54","24"],"answer":0,"right":"Correct. 30 − 24.","wrong":"Not quite. Total minus the union."},{"level":"medium","question":"40 students: 25 play cricket, 20 play football, 5 play neither. How many play both?","options":["5","35","10"],"answer":2,"right":"Correct. n(C ∪ F) = 35; 25 + 20 − 35 = 10.","wrong":"Not quite. Find n(A ∪ B) first."},{"level":"medium","question":"50 students: 30 play cricket, 28 play football, 2 play neither. How many play both?","options":["8","10","48"],"answer":1,"right":"Correct. n(C ∪ F) = 48; 30 + 28 − 48 = 10.","wrong":"Not quite. Find n(A ∪ B) first."},{"level":"medium","question":"35 students: 20 play cricket, 18 play football, 4 play neither. How many play both?","options":["7","3","31"],"answer":0,"right":"Correct. n(C ∪ F) = 31; 20 + 18 − 31 = 7.","wrong":"Not quite. Find n(A ∪ B) first."},{"level":"medium","question":"60 students: 38 play cricket, 30 play football, 6 play neither. How many play both?","options":["8","14","54"],"answer":1,"right":"Correct. n(C ∪ F) = 54; 38 + 30 − 54 = 14.","wrong":"Not quite. Find n(A ∪ B) first."},{"level":"medium","question":"45 students: 26 play cricket, 22 play football, 7 play neither. How many play both?","options":["3","38","10"],"answer":2,"right":"Correct. n(C ∪ F) = 38; 26 + 22 − 38 = 10.","wrong":"Not quite. Find n(A ∪ B) first."},{"level":"medium","question":"In a class, 18 like tea, 15 like coffee and 7 like both. How many like only tea?","options":["18","11","25"],"answer":1,"right":"Correct. 18 − 7.","wrong":"Not quite. Subtract the overlap."},{"level":"medium","question":"From the last question, how many like exactly one drink?","options":["26","33","19"],"answer":2,"right":"Correct. 11 + 8.","wrong":"Not quite. Tea only + coffee only."},{"level":"medium","question":"n(A ∪ B) = 30, n(A) = 18, n(B) = 20. n(A ∩ B) = …","options":["38","2","8"],"answer":2,"right":"Correct. 18 + 20 − 30.","wrong":"Not quite. Rearrange the formula."},{"level":"medium","question":"n(A) = 15, n(B) = 10, A and B disjoint. n(A ∪ B) = …","options":["25","5","15"],"answer":0,"right":"Correct. n(A ∩ B) = 0.","wrong":"Not quite. Disjoint: no overlap."},{"level":"medium","question":"n(A) = 10, n(B) = 6, B ⊂ A. n(A ∪ B) = …","options":["10","16","4"],"answer":0,"right":"Correct. A already contains B.","wrong":"Not quite. Draw B inside A."},{"level":"hard","question":"100 people: 60 read paper X, 50 read Y, 20 read both. How many read neither?","options":["30","10","0"],"answer":1,"right":"Correct. n(X ∪ Y) = 90; 100 − 90.","wrong":"Not quite. Union first."},{"level":"hard","question":"n(ε) = 50, n(A) = 28, n(B) = 30, n(A′ ∩ B′) = 4. n(A ∩ B) = …","options":["8","12","16"],"answer":1,"right":"Correct. n(A ∪ B) = 46; 28 + 30 − 46.","wrong":"Not quite. A′ ∩ B′ is \"neither\"."},{"level":"hard","question":"In a group, 2x like maths, x + 10 like science, 5 like both and 41 like at least one. x = …","options":["10","15","12"],"answer":2,"right":"Correct. 2x + x + 10 − 5 = 41 → x = 12.","wrong":"Not quite. Use n(A ∪ B) = n(A) + n(B) − n(A ∩ B)."},{"level":"hard","question":"Of 80 students, 45 passed maths, 50 passed English and 10 failed both. How many passed both?","options":["25","15","35"],"answer":0,"right":"Correct. n(M ∪ E) = 70; 45 + 50 − 70.","wrong":"Not quite. Union = 80 − 10."},{"level":"hard","question":"From the last question, how many passed only English?","options":["50","25","20"],"answer":1,"right":"Correct. 50 − 25.","wrong":"Not quite. English minus both."},{"level":"hard","question":"The greatest possible n(A ∩ B) when n(A) = 12 and n(B) = 9 is…","options":["9","12","21"],"answer":0,"right":"Correct. When B ⊂ A.","wrong":"Not quite. The overlap cannot exceed the smaller set."},{"level":"hard","question":"The least possible n(A ∪ B) when n(A) = 12 and n(B) = 9 is…","options":["21","3","12"],"answer":2,"right":"Correct. When B ⊂ A, the union is A.","wrong":"Not quite. Make the overlap as big as possible."},{"level":"hard","question":"n(ε) = 40, n(A) = 25, n(B) = 22. The least possible n(A ∩ B) is…","options":["7","0","3"],"answer":0,"right":"Correct. n(A ∪ B) ≤ 40: 25 + 22 − 40 = 7.","wrong":"Not quite. The union cannot be bigger than ε."},{"level":"hard","question":"In a survey, 70% use phone A, 50% use phone B and every person uses at least one. What percentage use both?","options":["120%","35%","20%"],"answer":2,"right":"Correct. 70 + 50 − 100.","wrong":"Not quite. The union is 100%."},{"level":"hard","question":"n(A only) = 8, n(B only) = 5, n(A ∩ B) = 4. n(A) = …","options":["8","12","17"],"answer":1,"right":"Correct. 8 + 4.","wrong":"Not quite. A is \"A only\" plus \"both\"."}]},{"type":"keywords","id":"words","title":"Key words","items":[{"word":"n(A)","meaning":"The number of elements in the set A."},{"word":"Finite set","meaning":"A set whose elements can be counted to an end."},{"word":"At least one","meaning":"In A or in B or in both: the union."},{"word":"Neither","meaning":"Outside both sets: (A ∪ B)′."},{"word":"Only","meaning":"In one set and not in the other, such as A ∩ B′."},{"word":"Overlap","meaning":"The region common to both sets."}]},{"type":"checklist","id":"check","title":"I can…","items":["explain why the overlap is subtracted once","use n(A ∪ B) = n(A) + n(B) − n(A ∩ B) to find any one of the four numbers","solve survey problems with a Venn diagram"]},{"type":"sources","id":"sources","title":"Sources","items":["NIE Sri Lanka, Mathematics syllabus and Teachers' Guide, Grade 10 (competency level 30.2)."]}],"slug":"two-sets"},"overlay":null}