📘 CodingMarble Learn

Sets and Subsets: Elements, Belongs To and Subset

A set is a clear collection of different things. The things inside are its elements. We write 4 ∈ A when 4 is in A and 5 ∉ A when 5 is not in A. If every element of B is also in A, then B is a subset of A, written B ⊂ A. One element outside A is enough to break it. The empty set ∅ and the set A itself are always subsets of A.

🎬 Step-by-step story

  1. A ring on the board holds some balls. The ring is a set: A = {2, 4, 6, 8, 10}. The balls inside are its elements.
  2. Tap a ball. Inside the ring: it belongs to A (∈). Outside the ring: it does not belong (∉). Try 4 and then 7.
  3. Now B = {2, 4} lights up. Both balls sit inside the ring. So B is a subset of A: B ⊂ A.
  4. Now C = {4, 5} lights up. Ball 5 is outside the ring (it turns red). One outside ball means C is not a subset of A.
  5. Look at {4, 8}. These are even numbers, and even numbers are in 1 to 10. Sets can sit inside bigger sets, like boxes in boxes.
  6. Free play: tap balls to build your own set. The readout tells you if it is a subset of A. Try tapping nothing at all.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why is "good students" not a set?

Because "good" is not clear. Two people may pick different students. In step 1 the ring shows a clear rule: even numbers up to 10.

Is 7 in A = {2, 4, 6, 8, 10}?

No. In step 2, tap 7: it sits outside the ring, so 7 ∉ A.

Do I use ∈ or ⊂ for {2, 4} and A?

{2, 4} is a set, so use ⊂: {2, 4} ⊂ A. Use ∈ only for single elements, like 2 ∈ A. Step 3 shows two balls inside the ring as a set.

What if only one element is outside?

Then it is not a subset. In step 4, ball 5 is the only one outside, yet C ⊄ A.

Can a set be inside another set that is inside a third?

Yes. {4, 8} ⊂ even numbers ⊂ {1, …, 10}. This is called nesting (step 5).

Is the empty set really a subset?

Yes. Tap no balls in free play: nothing is outside the ring, so ∅ ⊂ A.

What is a set?

A set is a collection of things. The collection must be clear: everyone must agree if a thing is in it or not.

Each thing in a set is called an element. We write sets inside curly brackets { } with commas. Order does not matter and we do not repeat things: {1, 2, 3} is the same set as {3, 2, 1}.

In step 1 of the 3D, the blue ring is the set A and the balls inside are its elements. Sets are usually named with capital letters: A, B, C.

Element belongs / does not belong to a set

To say a thing is in a set, we use the symbol ∈. It reads "belongs to" or "is an element of".

In step 2, tap the balls. A ball inside the ring shows ∈. A ball outside the ring shows ∉. Always check the whole list of A before you decide.

Counting: n(A) means the number of elements in A. For A = {2, 4, 6, 8, 10}, n(A) = 5.

Subsets

Set B is a subset of set A when every element of B is also an element of A. We write B ⊂ A.

How to test

  1. Take the elements of B one by one.
  2. Look for each one in A.
  3. If all are found, B ⊂ A. If one is missing, B ⊄ A.

Step 3 shows B = {2, 4}: both are in A, so B ⊂ A. Step 4 shows C = {4, 5}: 5 is not in A, so C ⊄ A.

Two special subsets

If B ⊂ A and B is not equal to A, then B is a proper subset. Subsets can be nested, like in step 5: {4, 8} inside the even numbers inside {1, …, 10}.

More examples of sets and subsets

The number of subsets of a set with n elements is 2ⁿ. For {a, b}: ∅, {a}, {b}, {a, b} = 4 subsets = 2².

Try it

At home: put 6 spoons, forks and cups on a table: this is your set. Draw a ring with a string around only the spoons. Is the set of spoons a subset of all things? Now pick one spoon and one cup: is that pair a subset of the spoons?

In the 3D: before you tap, guess if your set is a subset of A. Then tap and check. Can you build a set with 3 balls that is a subset? One that is not?

Key formulas and definitions

Worked examples

1. A = {1, 2, 3, 4, 5}. Is 3 ∈ A? Is 6 ∈ A?

3 is in the list, so 3 ∈ A. 6 is not in the list, so 6 ∉ A.

2. Is {1, 3} a subset of A = {1, 2, 3, 4, 5}?

Take 1: it is in A. Take 3: it is in A. Nobody is outside, so {1, 3} ⊂ A.

3. Is {2, 6} a subset of A = {1, 2, 3, 4, 5}?

2 is in A, but 6 is not. One element is outside, so {2, 6} ⊄ A.

4. Write all subsets of {x, y}.

Empty set ∅, then {x}, then {y}, then {x, y}. That is 4 subsets, and 2² = 4. Check.

Common mistakes

Practice quiz

1. A = {a, e, i, o, u}. Which is true?
2. Which collection is a set?
3. B ⊂ A means:
4. Which set is a subset of every set?
5. How many elements does {2, 4, 4, 6} have?

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is a set in maths?

A set is a clear collection of different things, written inside curly brackets, like {1, 2, 3}.

What is the difference between element and subset?

An element is one thing inside a set (use ∈). A subset is a smaller set inside a bigger set (use ⊂).

How many subsets does a set with 3 elements have?

2³ = 8 subsets, including the empty set and the set itself.

Learn next

Related lessons

All Maths lessons