Mathematics · live now

Set operations

How to describe and combine sets: membership and subsets, union, intersection and complement, set-builder notation, and splitting a set into parts.

No account needed to read a lesson · 30-day money-back guarantee

See the full learning path

7

lessons

80

practice questions

1

prerequisite lesson

See it taught

2 of the 7 lessons here are free to preview - the whole explanation and worked example, with no account and no email.

Live, not a screenshot

Lesson 05 · Set union and intersection

U
A
B
A only
AB
B only
Neither A nor B

This is the diagram from the lesson itself, running here. Drag it - the lesson is built round the thing it shows, not round a picture of it.

The 7 lessons

The 7 lessons in this unit. Expand any one to see what it covers. Each unlocks when its own prerequisites are passed.

01

Sets and elements

12 questions

Learn what sets are, how to list their elements using curly brace notation, use membership symbols \in and \notin, and recognise the empty set \emptyset.

Covers

What is a set

Element membership

The empty set

02

Number sets and notation

12 questions

Learn the standard number sets N\mathbb{N}, Z\mathbb{Z}, Q\mathbb{Q}, and R\mathbb{R}, understand their containment relationships, and use superscript notation for restricted sets like Z+\mathbb{Z}^+.

Covers

Natural numbers and integers

Rational and real numbers

Restricted number sets

03

Set-builder notation

12 questions

Learn to read and write set-builder notation {x:condition}\{x : \text{condition}\} to describe sets by a rule rather than listing elements, and specify domains using {xS:condition}\{x \in S : \text{condition}\}.

Covers

Reading set builder notation

Writing set builder notation

Specifying the domain

04

Subsets and cardinality

12 questions

Learn subset notation \subseteq and \subset, prove set equality by showing mutual containment, and compute cardinality A|A| for finite sets.

Covers

Subsets

Set equality

Cardinality

05

Set union and intersection

Preview

12 questions

Learn how to combine sets using union and intersection operations and visualise these relationships using Venn diagrams.

Covers

Set union

Set intersection

Venn diagrams

Preview this lesson - no account needed

06

Set complements

Preview

12 questions

Learn to compute the complement of a set, apply key properties like double complementation, and use De Morgan's laws to relate complements to unions and intersections.

Covers

The complement

Properties of complements

De Morgan's laws

Preview this lesson - no account needed

07

Partitions

8 questions

Learn to identify when a collection of sets forms a partition of a universal set - pairwise disjoint and exhaustive - and recognise common partitions including the complement partition {A,Ac}\{A, A^c\}.

Covers

What is a partition

Common partitions

Where this unit sits in the curriculum

This unit is part of our Mathematical Foundations for ML learning path, which contains 83 lessons. Every one of them is drawn below.

The diagnostic test lets you skip any lesson you already know, including the ones in this unit.

Every dot is a lesson and every line a prerequisite. The 7 red dots are the lessons in Set operations; the 1 blue dots feeding into them are the lessons Set operations depends on; the 75 pale dots are the rest of the learning path, which come after Set operations or alongside it.Set operationsFirst lessons on the left83 lessons

Hover any dot to name its lesson.

7 lessons in this unit

1 prerequisite lesson across the unit, counting every step back to the start

75 other lessons in the learning path - after this unit, or alongside it

Every dot is a lesson, every line a prerequisite. You can only start a lesson once you have mastered all of its prerequisites, so you are always building on solid foundations.

Start Set operations

One subscription covers every learning path, and you can test out of anything you already know.

One subscription covers every learning path · 30-day money-back guarantee

More in Mathematical foundations: Inequalities and absolute value, Quadratic equations, Exponents and roots, Functions, Summation, product, and indexed notation, Logic, Exponentials and logarithms, Trigonometry