How to use these solu­tions

These are step-by-step worked solu­tions to the Prac­tice ques­tions of the les­son Sets, Sub­sets and Inter­vals. Try each ques­tion your­self first, then read the solu­tion and check each step against yours. Most ques­tions here test a def­i­n­i­tion, so in every solu­tion the first thing to do is recall exactly what the def­i­n­i­tion says.

Ques­tion 1: Decid­ing which col­lec­tions are sets

The prob­lem

Which of these are sets?

(a) the vow­els of Eng­lish; (b) the tall stu­dents of a class; (c) the fac­tors of 3636; (d) the dif­fi­cult chap­ters of this book.

Under­stand­ing the prob­lem

A col­lec­tion counts as a set only if it is well defined: for any object, every­one must be able to say with­out doubt whether it belongs. Col­lec­tions described by opin­ions ("tall", "dif­fi­cult") fail this test.

The idea

For each col­lec­tion, ask: would two dif­fer­ent peo­ple always agree on its mem­bers? If yes, it is a set.

Step-by-step solu­tion

Step 1. (a) The Eng­lish vow­els are exactly a,e,i,o,ua, e, i, o, u. Every­one agrees, so this is well defined: a set.

Step 2. (b) "Tall" has no fixed mean­ing. One per­son may call a 170170 cm stu­dent tall; another may not. Mem­ber­ship depends on opin­ion: not a set.

Step 3. (c) The fac­tors of 3636 are fixed num­bers:

{1,2,3,4,6,9,12,18,36}\{1, 2, 3, 4, 6, 9, 12, 18, 36\}

Any num­ber either divides 3636 or does not: a set.

Step 4. (d) Whether a chap­ter is "dif­fi­cult" depends on the reader: not a set.

Check­ing the answer

The two col­lec­tions that failed both used opin­ion words; the two that passed used exact math­e­mat­i­cal or lan­guage facts.

Answer

Only (a) and (c) are sets.

Ques­tion 2: Con­vert­ing to ros­ter form

The prob­lem

Write in ros­ter form:

(a) {x:x∈Z, −3<x≤2}\{x : x \in \mathbf{Z},\ -3 < x \le 2\};
(b) the set of let­ters of the word "ASSAS­SI­NA­TION";
(c) {x:x is a two-digit number whose digits add to 4}\{x : x \text{ is a two-digit number whose digits add to } 4\}.

Under­stand­ing the prob­lem

Ros­ter form means list­ing every ele­ment inside braces. Remem­ber: order does not mat­ter, and a repeated ele­ment is writ­ten only once. Watch the signs in (a): −3-3 is excluded, 22 is included.

The idea

Work out exactly which objects sat­isfy each descrip­tion, then list them once each.

Step-by-step solu­tion

Part (a)

Step 1. xx must be an inte­ger greater than −3-3 and at most 22.

Step 2. Start just above −3-3: the inte­gers are −2,−1,0,1,2-2, -1, 0, 1, 2. (−3-3 is not included because the sign is strict.)

{−2,−1,0,1,2}\{-2, -1, 0, 1, 2\}

Part (b)

Step 1. Read the word let­ter by let­ter: A, S, S, A, S, S, I, N, A, T, I, O, N.

Step 2. Keep each dif­fer­ent let­ter once, in order of first appear­ance: A, S, I, N, T, O.

{A,S,I,N,T,O}\{A, S, I, N, T, O\}

Part (c)

Step 1. Write a two-digit num­ber as tens digit tt and units digit uu. Since it is two-digit, t≥1t \ge 1. The con­di­tion is t+u=4t + u = 4.

Step 2. Try each allowed tt: t=1,u=3t = 1, u = 3; t=2,u=2t = 2, u = 2; t=3,u=1t = 3, u = 1; t=4,u=0t = 4, u = 0. (t=0t = 0 is not allowed, as 0404 is not a two-digit num­ber.)

{13,22,31,40}\{13, 22, 31, 40\}

Check­ing the answer

(a) has 55 inte­gers from −2-2 to 22. (b) The word uses only these six dis­tinct let­ters. (c) 1+3=2+2=3+1=4+0=41+3 = 2+2 = 3+1 = 4+0 = 4.

Answer

(a) {−2,−1,0,1,2}\{-2, -1, 0, 1, 2\}; (b) {A,S,I,N,T,O}\{A, S, I, N, T, O\}; (c) {13,22,31,40}\{13, 22, 31, 40\}.

Com­mon mis­take to avoid

For­get­ting 4040 in part (c): a units digit of 00 is per­fectly allowed.

Ques­tion 3: Con­vert­ing to set-builder form

The prob­lem

Write in set-builder form: (a) {1,8,27,64,125}\{1, 8, 27, 64, 125\}; (b) {2,4,8,16,32}\{2, 4, 8, 16, 32\}; (c) {−1,1}\{-1, 1\}.

Under­stand­ing the prob­lem

Set-builder form describes the ele­ments by a rule, {x:property of x}\{x : \text{property of } x\}. You must spot the pat­tern in each list and state it pre­cisely, includ­ing where the list stops.

The idea

Look for a for­mula in nn that pro­duces the listed num­bers for n=1,2,3,…n = 1, 2, 3, \ldots, and state the range of nn.

Step-by-step solu­tion

Step 1. (a) The num­bers are 13,23,33,43,531^3, 2^3, 3^3, 4^3, 5^3: cubes of 11 to 55.

{x:x=n3, n∈N, n≤5}\{x : x = n^3,\ n \in \mathbf{N},\ n \le 5\}

Step 2. (b) The num­bers are 21,22,23,24,252^1, 2^2, 2^3, 2^4, 2^5: pow­ers of 22 with expo­nent 11 to 55.

{x:x=2n, n∈N, n≤5}\{x : x = 2^n,\ n \in \mathbf{N},\ n \le 5\}

Step 3. (c) −1-1 and 11 are exactly the real num­bers whose square is 11.

{x:x∈R, x2=1}\{x : x \in \mathbf{R},\ x^2 = 1\}

Check­ing the answer

Sub­sti­tut­ing n=1,…,5n = 1, \ldots, 5 into n3n^3 and 2n2^n gives back the lists. Solv­ing x2=1x^2 = 1 gives x=±1x = \pm 1.

Answer

(a) {x:x=n3,n∈N,n≤5}\{x : x = n^3, n \in \mathbf{N}, n \le 5\}; (b) {x:x=2n,n∈N,n≤5}\{x : x = 2^n, n \in \mathbf{N}, n \le 5\}; (c) {x:x∈R,x2=1}\{x : x \in \mathbf{R}, x^2 = 1\}.

Ques­tion 4: Recog­nis­ing the empty set

The prob­lem

Which of these are empty? (a) {x∈N:3<x<4}\{x \in \mathbf{N} : 3 < x < 4\}; (b) {0}\{0\}; (c) {x:x is an even prime}\{x : x \text{ is an even prime}\}.

Under­stand­ing the prob­lem

The empty set has no ele­ments at all. A set con­tain­ing the num­ber 00 is not empty, because 00 is an ele­ment.

The idea

For each set, try to find at least one ele­ment. If you can, it is not empty.

Step-by-step solu­tion

Step 1. (a) Nat­ural num­bers are 1,2,3,4,…1, 2, 3, 4, \ldots. None lies strictly between 33 and 44. So the set is empty.

Step 2. (b) {0}\{0\} con­tains one ele­ment, the num­ber 00. Not empty.

Step 3. (c) 22 is even and prime (its only fac­tors are 11 and 22). So the set is {2}\{2\}. Not empty.

Check­ing the answer

n(a)=0n(\text{a}) = 0, n(b)=1n(\text{b}) = 1, n(c)=1n(\text{c}) = 1.

Answer

Only the first set, {x∈N:3<x<4}\{x \in \mathbf{N} : 3 < x < 4\}, is empty.

Com­mon mis­take to avoid

Con­fus­ing {0}\{0\} with ∅\varnothing. The first has one ele­ment; the sec­ond has none.

Ques­tion 5: Finite or infi­nite

The prob­lem

Say whether each is finite or infi­nite: (a) the cir­cles through a given point; (b) the rivers of India; (c) {x∈R:0<x<1}\{x \in \mathbf{R} : 0 < x < 1\}.

Under­stand­ing the prob­lem

A set is finite if count­ing its ele­ments would come to an end, even if the num­ber is large. Oth­er­wise it is infi­nite.

The idea

Try to see whether you can always pro­duce another ele­ment. If you can, the set is infi­nite.

Step-by-step solu­tion

Step 1. (a) Pick any point CC other than the given point PP as a cen­tre, and use radius CPCP. That cir­cle passes through PP. There are infi­nitely many choices of CC, so there are infi­nitely many cir­cles: infi­nite.

Step 2. (b) India has a large but def­i­nite num­ber of rivers; count­ing them would end. Finite.

Step 3. (c) The num­bers 12,13,14,15,…\displaystyle \tfrac{1}{2}, \tfrac{1}{3}, \tfrac{1}{4}, \tfrac{1}{5}, \ldots all lie between 00 and 11, and this list never ends. Infi­nite.

Check­ing the answer

In (a) and (c) we pro­duced an end­less sup­ply of ele­ments; in (b) we did not need to know the exact count, only that it is a def­i­nite num­ber.

Answer

(a) infi­nite; (b) finite; (c) infi­nite.

Ques­tion 6: Test­ing equal­ity of sets

The prob­lem

Are these pairs equal?

(a) {x:x is a letter of "FOLLOW"}\{x : x \text{ is a letter of "FOLLOW"}\} and {x:x is a letter of "WOLF"}\{x : x \text{ is a letter of "WOLF"}\};
(b) {x∈Z:x2≤4}\{x \in \mathbf{Z} : x^2 \le 4\} and {−2,−1,1,2}\{-2, -1, 1, 2\}.

Under­stand­ing the prob­lem

Two sets are equal when they have exactly the same ele­ments. Order and rep­e­ti­tion do not mat­ter.

The idea

Write each set in ros­ter form and com­pare ele­ment by ele­ment.

Step-by-step solu­tion

Part (a)

Step 1. FOL­LOW has let­ters F, O, L, L, O, W; dis­tinct ones: {F,O,L,W}\{F, O, L, W\}.

Step 2. WOLF has let­ters {W,O,L,F}\{W, O, L, F\}.

Step 3. Both con­tain F, O, L, W and noth­ing else, so the sets are equal.

Part (b)

Step 1. Find the inte­gers with x2≤4x^2 \le 4. Test: (±2)2=4(\pm 2)^2 = 4, (±1)2=1(\pm 1)^2 = 1, 02=00^2 = 0 all work; (±3)2=9(\pm 3)^2 = 9 does not.

{x∈Z:x2≤4}={−2,−1,0,1,2}\{x \in \mathbf{Z} : x^2 \le 4\} = \{-2, -1, 0, 1, 2\}

Step 2. This set con­tains 00, but {−2,−1,1,2}\{-2, -1, 1, 2\} does not. So they are not equal.

Check­ing the answer

In (b), count­ing also shows the dif­fer­ence: 55 ele­ments against 44.

Answer

(a) Yes, both are {F,O,L,W}\{F, O, L, W\}; (b) No, the first con­tains 00 and the sec­ond does not.

Ques­tion 7: List­ing all sub­sets

The prob­lem

List all sub­sets of {−2,0,2}\{-2, 0, 2\}. How many are there?

Under­stand­ing the prob­lem

A sub­set is any set whose ele­ments all come from {−2,0,2}\{-2, 0, 2\}. This includes the empty set and the whole set itself.

The idea

List sub­sets by size (00, 11, 22 and 33 ele­ments) so none is missed, then check the total against the rule: a set with nn ele­ments has 2n2^n sub­sets.

Step-by-step solu­tion

Step 1. Size 00: ∅\varnothing.

Step 2. Size 11: {−2},{0},{2}\{-2\}, \{0\}, \{2\}.

Step 3. Size 22: {−2,0},{−2,2},{0,2}\{-2, 0\}, \{-2, 2\}, \{0, 2\}.

Step 4. Size 33: {−2,0,2}\{-2, 0, 2\}.

Step 5. Count: 1+3+3+1=81 + 3 + 3 + 1 = 8.

Check­ing the answer

The set has 33 ele­ments, so it should have 23=82^3 = 8 sub­sets. It does.

Answer

∅,{−2},{0},{2},{−2,0},{−2,2},{0,2},{−2,0,2}\varnothing, \{-2\}, \{0\}, \{2\}, \{-2, 0\}, \{-2, 2\}, \{0, 2\}, \{-2, 0, 2\}: 88 sub­sets.

Ques­tion 8: Using ∈\in and ⊂\subset cor­rectly

The prob­lem

True or false: (a) {3}∈{1,2,3}\{3\} \in \{1, 2, 3\}; (b) {3}⊂{1,2,3}\{3\} \subset \{1, 2, 3\}; (c) ∅⊂{0}\varnothing \subset \{0\}; (d) 0∈∅0 \in \varnothing.

Under­stand­ing the prob­lem

∈\in ("is an ele­ment of") com­pares an object with a set. ⊂\subset ("is a sub­set of") com­pares a set with a set. The num­ber 33 and the set {3}\{3\} are dif­fer­ent things.

The idea

For ∈\in, look for the object among the listed ele­ments. For ⊂\subset, check that every ele­ment of the left set appears in the right set.

Step-by-step solu­tion

Step 1. (a) The ele­ments of {1,2,3}\{1, 2, 3\} are the num­bers 11, 22, 33. The set {3}\{3\} is not one of them. False.

Step 2. (b) The only ele­ment of {3}\{3\} is 33, and 3∈{1,2,3}3 \in \{1, 2, 3\}. So every ele­ment of {3}\{3\} is in {1,2,3}\{1, 2, 3\}. True.

Step 3. (c) The empty set is a sub­set of every set: it has no ele­ment that could fail to be in {0}\{0\}. True.

Step 4. (d) The empty set has no ele­ments, so 00 can­not be one of them. False.

Check­ing the answer

The cor­rect state­ments are 3∈{1,2,3}3 \in \{1, 2, 3\} and {3}⊂{1,2,3}\{3\} \subset \{1, 2, 3\}; mix­ing them up is exactly what (a) tests.

Answer

(a) False; (b) True; (c) True; (d) False.

Ques­tion 9: Inter­vals and set-builder form

The prob­lem

Write as inter­vals: (a) {x:−4<x≤6}\{x : -4 < x \le 6\}; (b) {x:3≤x<8}\{x : 3 \le x < 8\}. (c) Write [0,1)[0, 1) in set-builder form.

Under­stand­ing the prob­lem

Here xx is a real num­ber. A round bracket means the end­point is excluded (<< or >>); a square bracket means it is included (≤\le or ≥\ge).

The idea

Match each inequal­ity sign at each end to the right bracket.

Step-by-step solu­tion

Step 1. (a) Left end: −4<x-4 < x, so −4-4 is excluded: round bracket. Right end: x≤6x \le 6, so 66 is included: square bracket.

(−4,6](-4, 6]

Step 2. (b) Left end 3≤x3 \le x: included, square. Right end x<8x < 8: excluded, round.

[3,8)[3, 8)

Step 3. (c) [0,1)[0, 1) includes 00 and excludes 11.

[0,1)={x:x∈R, 0≤x<1}[0, 1) = \{x : x \in \mathbf{R},\ 0 \le x < 1\}

Check­ing the answer

6∈(−4,6]6 \in (-4, 6] but −4∉-4 \notin; 3∈[3,8)3 \in [3, 8) but 8∉8 \notin; 0∈[0,1)0 \in [0, 1) but 1∉1 \notin. All match the orig­i­nal descrip­tions.

Answer

(a) (−4,6](-4, 6]; (b) [3,8)[3, 8); (c) {x:x∈R,0≤x<1}\{x : x \in \mathbf{R}, 0 \le x < 1\}.

Ques­tion 10: Size of a power set

The prob­lem

How many ele­ments has P(A)P(A) if AA has 55 ele­ments? How many ele­ments has P(P(∅))P(P(\varnothing))?

Under­stand­ing the prob­lem

P(A)P(A), the power set, is the set of all sub­sets of AA. If AA has nn ele­ments, P(A)P(A) has 2n2^n ele­ments, because each ele­ment of AA is either in or out of a sub­set. The sec­ond part applies this twice, start­ing from the empty set.

The idea

Use n(P(A))=2n(A)n(P(A)) = 2^{n(A)}. For the sec­ond part, first find P(∅)P(\varnothing), then its power set.

Step-by-step solu­tion

Step 1. With n(A)=5n(A) = 5:

n(P(A))=25=32n(P(A)) = 2^5 = 32

Step 2. ∅\varnothing has 00 ele­ments, so P(∅)P(\varnothing) has 20=12^0 = 1 ele­ment. That one sub­set is ∅\varnothing itself.

P(∅)={∅}P(\varnothing) = \{\varnothing\}

Step 3. {∅}\{\varnothing\} has 11 ele­ment, so its power set has 21=22^1 = 2 ele­ments: the empty set and the whole set.

P(P(∅))={∅, {∅}}P(P(\varnothing)) = \{\varnothing,\ \{\varnothing\}\}

Check­ing the answer

List­ing the sub­sets of {∅}\{\varnothing\} directly gives just ∅\varnothing and {∅}\{\varnothing\}, which agrees with 21=22^1 = 2.

Answer

P(A)P(A) has 3232 ele­ments; P(P(∅))P(P(\varnothing)) has 22 ele­ments, namely ∅\varnothing and {∅}\{\varnothing\}.

Com­mon mis­take to avoid

Think­ing {∅}\{\varnothing\} is empty. It is a set with one ele­ment, and that ele­ment hap­pens to be the empty set.