Exercise 3.2 Examples – 9th Class Math New Book (Operations on Sets)

Exercise 3.2 solved examples thumbnail for 9th class math chapter 3 (Sets and Functions)

Exercise 3.2 (Operations on Sets) of Chapter 3, Sets and Functions, 9th class Mathematics new book (Punjab). Follow the six numbered examples and use shaded regions to verify the eight set laws.

Properties of union and intersection

Tap an example to open or close it.
Commutative Law of Union(Book 3.2.2.1, property (i)) $A\cup B=B\cup A$
Formula used
$$A\cup B=\{x\mid x\in A\ \text{or}\ x\in B\}$$
$$A\cap B=\{x\mid x\in A\ \text{and}\ x\in B\}$$

Verification

$$A=\{1,2,3\}$$
$$B=\{2,3,4,5\}$$
$$\begin{aligned} \text{L.H.S.}&=A\cup B\\[7pt] &=(\{1,2,3\}\cup \{2,3,4,5\})\\[7pt] &=\{1,2,3,4,5\} \end{aligned}$$
$$\begin{aligned} \text{R.H.S.}&=B\cup A\\[7pt] &=(\{2,3,4,5\}\cup \{1,2,3\})\\[7pt] &=\{1,2,3,4,5\} \end{aligned}$$
Venn diagram of the left side of Commutative Law of Union UAB
Shaded region for the left side, $A\cup B$.
Venn diagram of the right side of Commutative Law of Union UAB
Shaded region for the right side, $B\cup A$.

Either order selects every region inside at least one of the two circles.

The two results have exactly the same elements.

$$\text{L.H.S.}=\text{R.H.S.}$$
Answer Hence verified.
Commutative Law of Intersection(Book 3.2.2.1, property (ii)) $A\cap B=B\cap A$
Formula used
$$A\cup B=\{x\mid x\in A\ \text{or}\ x\in B\}$$
$$A\cap B=\{x\mid x\in A\ \text{and}\ x\in B\}$$

Verification

$$A=\{1,2,3\}$$
$$B=\{2,3,4,5\}$$
$$\begin{aligned} \text{L.H.S.}&=A\cap B\\[7pt] &=(\{1,2,3\}\cap \{2,3,4,5\})\\[7pt] &=\{2,3\} \end{aligned}$$
$$\begin{aligned} \text{R.H.S.}&=B\cap A\\[7pt] &=(\{2,3,4,5\}\cap \{1,2,3\})\\[7pt] &=\{2,3\} \end{aligned}$$
Venn diagram of the left side of Commutative Law of Intersection UAB
Shaded region for the left side, $A\cap B$.
Venn diagram of the right side of Commutative Law of Intersection UAB
Shaded region for the right side, $B\cap A$.

Either order selects the common lens of the two circles.

The two results have exactly the same elements.

$$\text{L.H.S.}=\text{R.H.S.}$$
Answer Hence verified.
Associative Law of Union(Book 3.2.2.1, property (iii)) $A\cup (B\cup C)=(A\cup B)\cup C$
Formula used
$$A\cup B=\{x\mid x\in A\ \text{or}\ x\in B\}$$
$$A\cap B=\{x\mid x\in A\ \text{and}\ x\in B\}$$

Verification

$$A=\{1,2,3\}$$
$$B=\{2,3,4,5\}$$
$$C=\{3,4,5,6,7,8\}$$
$$\begin{aligned} \text{L.H.S.}&=A\cup (B\cup C)\\[7pt] &=(\{1,2,3\}\cup (\{2,3,4,5\}\cup \{3,4,5,6,7,8\}))\\[7pt] &=(\{1,2,3\}\cup \{2,3,4,5,6,7,8\})\\[7pt] &=\{1,2,3,4,5,6,7,8\} \end{aligned}$$
$$\begin{aligned} \text{R.H.S.}&=(A\cup B)\cup C\\[7pt] &=((\{1,2,3\}\cup \{2,3,4,5\})\cup \{3,4,5,6,7,8\})\\[7pt] &=(\{1,2,3,4,5\}\cup \{3,4,5,6,7,8\})\\[7pt] &=\{1,2,3,4,5,6,7,8\} \end{aligned}$$
Venn diagram of the left side of Associative Law of Union UABC
Shaded region for the left side, $A\cup (B\cup C)$.
Venn diagram of the right side of Associative Law of Union UABC
Shaded region for the right side, $(A\cup B)\cup C$.

Both groupings select every region inside at least one of the three circles.

The two results have exactly the same elements.

$$\text{L.H.S.}=\text{R.H.S.}$$
Answer Hence verified.
Associative Law of Intersection(Book 3.2.2.1, property (iv)) $A\cap (B\cap C)=(A\cap B)\cap C$
Formula used
$$A\cup B=\{x\mid x\in A\ \text{or}\ x\in B\}$$
$$A\cap B=\{x\mid x\in A\ \text{and}\ x\in B\}$$

Verification

$$A=\{1,2,3\}$$
$$B=\{2,3,4,5\}$$
$$C=\{3,4,5,6,7,8\}$$
$$\begin{aligned} \text{L.H.S.}&=A\cap (B\cap C)\\[7pt] &=(\{1,2,3\}\cap (\{2,3,4,5\}\cap \{3,4,5,6,7,8\}))\\[7pt] &=(\{1,2,3\}\cap \{3,4,5\})\\[7pt] &=\{3\} \end{aligned}$$
$$\begin{aligned} \text{R.H.S.}&=(A\cap B)\cap C\\[7pt] &=((\{1,2,3\}\cap \{2,3,4,5\})\cap \{3,4,5,6,7,8\})\\[7pt] &=(\{2,3\}\cap \{3,4,5,6,7,8\})\\[7pt] &=\{3\} \end{aligned}$$
Venn diagram of the left side of Associative Law of Intersection UABC
Shaded region for the left side, $A\cap (B\cap C)$.
Venn diagram of the right side of Associative Law of Intersection UABC
Shaded region for the right side, $(A\cap B)\cap C$.

Both groupings select the centre shared by all three circles.

The two results have exactly the same elements.

$$\text{L.H.S.}=\text{R.H.S.}$$
Answer Hence verified.
Distributive Law of Union over Intersection(Book 3.2.2.1, property (v)) $A\cup (B\cap C)=(A\cup B)\cap (A\cup C)$
Formula used
$$A\cup B=\{x\mid x\in A\ \text{or}\ x\in B\}$$
$$A\cap B=\{x\mid x\in A\ \text{and}\ x\in B\}$$

Verification

$$A=\{1,2,3\}$$
$$B=\{2,3,4,5\}$$
$$C=\{3,4,5,6,7,8\}$$
$$\begin{aligned} \text{L.H.S.}&=A\cup (B\cap C)\\[7pt] &=(\{1,2,3\}\cup (\{2,3,4,5\}\cap \{3,4,5,6,7,8\}))\\[7pt] &=(\{1,2,3\}\cup \{3,4,5\})\\[7pt] &=\{1,2,3,4,5\} \end{aligned}$$
$$\begin{aligned} \text{R.H.S.}&=(A\cup B)\cap (A\cup C)\\[7pt] &=((\{1,2,3\}\cup \{2,3,4,5\})\cap (\{1,2,3\}\cup \{3,4,5,6,7,8\}))\\[7pt] &=(\{1,2,3,4,5\}\cap \{1,2,3,4,5,6,7,8\})\\[7pt] &=\{1,2,3,4,5\} \end{aligned}$$
Venn diagram of the left side of Distributive Law of Union over Intersection UABC
Shaded region for the left side, $A\cup (B\cap C)$.
Venn diagram of the right side of Distributive Law of Union over Intersection UABC
Shaded region for the right side, $(A\cup B)\cap (A\cup C)$.

Both sides select all of A and the regions shared by B and C.

The two results have exactly the same elements.

$$\text{L.H.S.}=\text{R.H.S.}$$
Answer Hence verified.
Distributive Law of Intersection over Union(Book 3.2.2.1, property (vi)) $A\cap (B\cup C)=(A\cap B)\cup (A\cap C)$
Formula used
$$A\cup B=\{x\mid x\in A\ \text{or}\ x\in B\}$$
$$A\cap B=\{x\mid x\in A\ \text{and}\ x\in B\}$$

Verification

$$A=\{1,2,3\}$$
$$B=\{2,3,4,5\}$$
$$C=\{3,4,5,6,7,8\}$$
$$\begin{aligned} \text{L.H.S.}&=A\cap (B\cup C)\\[7pt] &=(\{1,2,3\}\cap (\{2,3,4,5\}\cup \{3,4,5,6,7,8\}))\\[7pt] &=(\{1,2,3\}\cap \{2,3,4,5,6,7,8\})\\[7pt] &=\{2,3\} \end{aligned}$$
$$\begin{aligned} \text{R.H.S.}&=(A\cap B)\cup (A\cap C)\\[7pt] &=((\{1,2,3\}\cap \{2,3,4,5\})\cup (\{1,2,3\}\cap \{3,4,5,6,7,8\}))\\[7pt] &=(\{2,3\}\cup \{3\})\\[7pt] &=\{2,3\} \end{aligned}$$
Venn diagram of the left side of Distributive Law of Intersection over Union UABC
Shaded region for the left side, $A\cap (B\cup C)$.
Venn diagram of the right side of Distributive Law of Intersection over Union UABC
Shaded region for the right side, $(A\cap B)\cup (A\cap C)$.

Both sides select the parts of A that also touch B or C, including the centre.

The two results have exactly the same elements.

$$\text{L.H.S.}=\text{R.H.S.}$$
Answer Hence verified.
De Morgan’s Law for Union(Book 3.2.2.1, property (vii)) $(A\cup B)'=A'\cap B'$
Formula used
$$A\cup B=\{x\mid x\in A\ \text{or}\ x\in B\}$$
$$A\cap B=\{x\mid x\in A\ \text{and}\ x\in B\}$$
$$A'=U-A$$

Verification

$$A=\{1,2,3\}$$
$$B=\{2,3,4,5\}$$
$$U=\{1,2,3,4,5,6,7,8,9,10\}$$
$$\begin{aligned} \text{L.H.S.}&=(A\cup B)'\\[7pt] &=\{1,2,3,4,5,6,7,8,9,10\}-\left((\{1,2,3\}\cup \{2,3,4,5\})\right)\\[7pt] &=(\{1,2,3,4,5,6,7,8,9,10\}-\{1,2,3,4,5\})\\[7pt] &=\{6,7,8,9,10\} \end{aligned}$$
$$\begin{aligned} \text{R.H.S.}&=A'\cap B'\\[7pt] &=((\{1,2,3,4,5,6,7,8,9,10\}-\{1,2,3\})\cap (\{1,2,3,4,5,6,7,8,9,10\}-\{2,3,4,5\}))\\[7pt] &=(\{4,5,6,7,8,9,10\}\cap \{1,6,7,8,9,10\})\\[7pt] &=\{6,7,8,9,10\} \end{aligned}$$
Venn diagram of the left side of De Morgan’s Law for Union UAB
Shaded region for the left side, $(A\cup B)'$.
Venn diagram of the right side of De Morgan’s Law for Union UAB
Shaded region for the right side, $A'\cap B'$.

Both sides select the part of U outside both circles.

The two results have exactly the same elements.

$$\text{L.H.S.}=\text{R.H.S.}$$
Answer Hence verified.
De Morgan’s Law for Intersection(Book 3.2.2.1, property (viii)) $(A\cap B)'=A'\cup B'$
Formula used
$$A\cup B=\{x\mid x\in A\ \text{or}\ x\in B\}$$
$$A\cap B=\{x\mid x\in A\ \text{and}\ x\in B\}$$
$$A'=U-A$$

Verification

$$A=\{1,2,3\}$$
$$B=\{2,3,4,5\}$$
$$U=\{1,2,3,4,5,6,7,8,9,10\}$$
$$\begin{aligned} \text{L.H.S.}&=(A\cap B)'\\[7pt] &=\{1,2,3,4,5,6,7,8,9,10\}-\left((\{1,2,3\}\cap \{2,3,4,5\})\right)\\[7pt] &=(\{1,2,3,4,5,6,7,8,9,10\}-\{2,3\})\\[7pt] &=\{1,4,5,6,7,8,9,10\} \end{aligned}$$
$$\begin{aligned} \text{R.H.S.}&=A'\cup B'\\[7pt] &=((\{1,2,3,4,5,6,7,8,9,10\}-\{1,2,3\})\cup (\{1,2,3,4,5,6,7,8,9,10\}-\{2,3,4,5\}))\\[7pt] &=(\{4,5,6,7,8,9,10\}\cup \{1,6,7,8,9,10\})\\[7pt] &=\{1,4,5,6,7,8,9,10\} \end{aligned}$$
Venn diagram of the left side of De Morgan’s Law for Intersection UAB
Shaded region for the left side, $(A\cap B)'$.
Venn diagram of the right side of De Morgan’s Law for Intersection UAB
Shaded region for the right side, $A'\cup B'$.

Both sides select every region except the lens shared by A and B.

The two results have exactly the same elements.

$$\text{L.H.S.}=\text{R.H.S.}$$
Answer Hence verified.

Worked textbook examples

Example 1Read the two-set Venn diagram of A and B.
Formula used
$$A\cup B=\{x\mid x\in A\ \text{or}\ x\in B\}$$
$$A\cap B=\{x\mid x\in A\ \text{and}\ x\in B\}$$
$$A-B=\{x\mid x\in A\ \text{and}\ x\notin B\}$$
A includes 1, 2, 3 and 4 only, A and B share 5, 6 and 8. B includes 7, 9, 10 and 12 only. Outside are 11, 13, 14 and 15. UAB111314151234791012568
The overlap contains 5, 6 and 8. The four numbers below the circles are outside both sets.

From the diagram:

$$U=\{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15\}$$
$$A=\{1,2,3,4,5,6,8\}$$
$$B=\{5,6,7,8,9,10,12\}$$

(a) How many elements are common to both sets?

Solution:

Read the three elements inside both circles.

$$A\cap B=\{5,6,8\}$$
$$n(A\cap B)=3$$
Answer $n(A\cap B)=3$

(b) Which elements are in B only?

Solution:

Use the right-hand region outside the overlap.

$$\begin{aligned} B-A&=\{5,6,7,8,9,10,12\}-\{1,2,3,4,5,6,8\}\\[7pt] &=\{7,9,10,12\} \end{aligned}$$
Answer $B-A=\{7,9,10,12\}$

(c) What is the union of A and B?

Solution:

Read all elements inside either circle, counting the overlap once.

$$\begin{aligned} A\cup B&=\{1,2,3,4,5,6,8\}\cup \{5,6,7,8,9,10,12\}\\[7pt] &=\{1,2,3,4,5,6,7,8,9,10,12\} \end{aligned}$$
Answer $\{1,2,3,4,5,6,7,8,9,10,12\}$
Example 2Read the three-set Venn diagram of enrolments in Applied Robotics, Game Development and Web Designing.
Formula used
$$A\cap B=\{x\mid x\in A\ \text{and}\ x\in B\}$$
$$A-B=\{x\mid x\in A\ \text{and}\ x\notin B\}$$
$$A\cup B=\{x\mid x\in A\ \text{or}\ x\in B\}$$

A represents Applied Robotics, G represents Game Development, and W represents Web Designing. Each number counts the students in its own region.

Venn diagram of Applied Robotics, Game Development, Web Designing. A is Applied Robotics, G is Game Development, W is Web Designing. Applied Robotics only 370, Game Development only 425, Applied Robotics and Game Development only 205, Web Designing only 336, Applied Robotics and Web Designing only 240, Game Development and Web Designing only 270, All three 125 UAGW370425205336240270125
The seven disjoint regions show all the enrolment counts provided.

(a) How many study Applied Robotics?

Solution:

Add the four regions inside A.

$$\begin{aligned} n(A)&=370+205+125+240\\[7pt] &=940 \end{aligned}$$
Answer $940$

(b) How many study Game Development?

Solution:

Add the four regions inside G.

$$\begin{aligned} n(G)&=205+425+125+270\\[7pt] &=1025 \end{aligned}$$
Answer $1025$

(c) How many study both Game Development and Web Designing?

Solution:

The two courses share two regions, including the centre.

$$\begin{aligned} n(G\cap W)&=270+125\\[7pt] &=395 \end{aligned}$$
Answer $395$

(d) How many study Web Designing without Applied Robotics?

Solution:

Use the W-only region and the region shared by W and G alone.

$$\begin{aligned} n(W-A)&=336+270\\[7pt] &=606 \end{aligned}$$
Answer $606$

(e) How many students are represented altogether?

Solution:

Add every distinct region once. The diagram gives no additional count outside the circles.

$$\begin{aligned} n(A\cup G\cup W)&=370+205+425+240+125+270+336\\[7pt] &=1971 \end{aligned}$$
Answer $1971$

(f) How many study all three courses?

Solution:

Only the centre belongs to all three sets.

$$n(A\cap G\cap W)=125$$
Answer $125$
Example 3All 98 students in a sports club take part in swimming or tug-of-war. There are 58 swimmers and 50 tug-of-war participants. How many take part in both?
Formula used
$$n(A\cup B)=n(A)+n(B)-n(A\cap B)$$

Solution:

Let A be the swimmers and B the tug-of-war participants. Adding the two totals counts students in both twice.

$$\begin{aligned} n(A\cap B)&=n(A)+n(B)-n(A\cup B)\\[7pt] &=58+50-98\\[7pt] &=10 \end{aligned}$$
Swimming only 48, tug-of-war only 40, both 10 UAB484010
A is swimming and B is tug-of-war. The overlap contains 10 students.
Answer 10 students.
Example 4Mr. Saleem has 150 books. Of these, 70 are Islamic books, 90 are science books, and 15 are in neither category. How many books are in both categories?
Formula used
$$n(A\cup B)=n(A)+n(B)-n(A\cap B)$$
$$n(A\cup B)=n(U)-n((A\cup B)')$$

Solution:

Let A be the Islamic books and B the science books. Start by finding the number in at least one category.

$$\begin{aligned} n(A\cup B)&=150-15\\[7pt] &=135 \end{aligned}$$
$$\begin{aligned} n(A\cap B)&=n(A)+n(B)-n(A\cup B)\\[7pt] &=70+90-135\\[7pt] &=25 \end{aligned}$$
Islamic only 45, science only 65, both 25 and neither 15 UAB15456525
A is the Islamic category and B is science. The 15 books in neither category are outside the circles.
Answer 25 books.
Example 5A college reports 45 teachers in at least one of three subjects. The subject totals are 18 for mathematics, 12 for physics and 8 for chemistry. The pair totals are 6 for mathematics and physics, 4 for physics and chemistry, and 2 for mathematics and chemistry. How many teach all three?
Formula used
$$n(A\cup B\cup C)=n(A)+n(B)+n(C)-n(A\cap B)-n(A\cap C)-n(B\cap C)+n(A\cap B\cap C)$$
$$M\cap P\cap C\subseteq M\cap C$$

Solution:

Let t be the number who teach all three. Apply inclusion–exclusion to the reported totals.

$$\begin{aligned} 45&=18+12+8-6-4-2+t\\[7pt] 45&=26+t\\[7pt] t&=19 \end{aligned}$$

Every teacher in all three subjects must also teach both mathematics and chemistry. That pair contains just two teachers, so t can be at most two.

$$n(M\cap P\cap C)\le n(M\cap C)$$
$$19\gt2$$

Also, the three subject totals add up to only $18+12+8=38$, which is less than the 45 teachers stated.

Answer The formula gives $19$ (the book’s answer), but this is impossible: at most $2$ teachers can teach all three subjects, so the given counts are inconsistent.
Example 6Of 130 surveyed customers, 57 bought garments, 50 cosmetics and 46 electronics. The numbers buying both were 31 for garments and cosmetics, 25 for garments and electronics, and 21 for cosmetics and electronics. Twelve bought all three.
Formula used
$$n(A\cup B\cup C)=n(A)+n(B)+n(C)-n(A\cap B)-n(A\cap C)-n(B\cap C)+n(A\cap B\cap C)$$
$$n(A\text{ only})=n(A)-n(A\cap B)-n(A\cap C)+n(A\cap B\cap C)$$
$$n((A\cap B)-C)=n(A\cap B)-n(A\cap B\cap C)$$
$$A'=U-A$$

Let G, C and E represent the customers buying garments, cosmetics and electronics, respectively.

(a) How many bought at least one product category?

Solution:

$$\begin{aligned} n(G\cup C\cup E)&=57+50+46-31-25-21+12\\[7pt] &=88 \end{aligned}$$
Answer 88 customers.

(b) How many bought products from exactly one category?

Solution:

For each category, subtract the two pair totals and add back the centre, which would otherwise be subtracted twice.

$$\begin{aligned} \text{Garments only}&=57-31-25+12\\[7pt] &=13 \end{aligned}$$
$$\begin{aligned} \text{Cosmetics only}&=50-31-21+12\\[7pt] &=10 \end{aligned}$$
$$\begin{aligned} \text{Electronics only}&=46-25-21+12\\[7pt] &=12 \end{aligned}$$
$$\begin{aligned} \text{Exactly one}&=13+10+12\\[7pt] &=35 \end{aligned}$$
Answer 35 customers.

(c) How many bought from none of the three categories?

Solution:

$$\begin{aligned} n((G\cup C\cup E)')&=130-88\\[7pt] &=42 \end{aligned}$$

The book’s diagram also asks how to justify each region. Put the 12 in the centre first. Then subtract that centre from each pair total.

RegionHow to count itCount
All threeGiven or found first12
Garments and Cosmetics only$31-12$19
Garments and Electronics only$25-12$13
Cosmetics and Electronics only$21-12$9
Garments only$57-19-13-12$13
Cosmetics only$50-19-9-12$10
Electronics only$46-13-9-12$12
Outside all three$130-88$42
Venn diagram of Garments, Cosmetics, Electronics. G is Garments, C is Cosmetics, E is Electronics. Outside all three 42, Garments only 13, Cosmetics only 10, Garments and Cosmetics only 19, Electronics only 12, Garments and Electronics only 13, Cosmetics and Electronics only 9, All three 12 UGCE421310191213912
G is garments, C is cosmetics and E is electronics. The 42 outside all circles bought from none of these categories.
Answer 42 customers.

Popular posts from this blog

Chapter 13 MCQs and Short Questions with Answers – 9th Class Math

Exercise 3.1 Solutions – 9th Class Math New Book (Sets, Subsets and Power Sets)

Exercise 1.1 Solutions – 9th Class Math New Book (Real Numbers and Their Properties)