StudyDeck

Set Notation & Venn Diagrams

Exam code: 4024
Written by: Ashika|Reviewed by: Caroline Carroll|Updated 2 July 2026

Set Notationvideo

Set Notation

Set notation

What is a set?

  • A set is a collection of elements

    • Elements could be anything

      • Numbers, letters, coordinates, ...

  • You could describe a set by writing its elements inside curly brackets {}

    • {1, 2, 3, 6} , is the set of factors of 6

  • If the set of elements follow a rule then you can write this using a colon inside the curly brackets {... : ...}

    • The bit before the colon is the type of element

    • The bit after the colon is the rule 

      • {x is a positive integer : x2 < 30} is the set of positive integers which, when squared, are less than 30

      • This is equal to {1, 2, 3, 4, 5}

    • The colon is often read as 'such that' 

    • If no type is specified, x can take any value (fractions, decimals, irrationals, ...)

      • {x: x2 < 30} means any value whose square is less than 30

    • { (x, y) : y = mx + c } would mean the coordinates (x, y) where y = mx + c

      • I.e. The set of all possible coordinates that lie on the line y = mx + c

    • A colon can also be replaced by a vertical bar

      • {x | x2 < 30}

What do I need to know about set notation?

  • E{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} is the universal set (the set of everything)

    • For example, if we are only interested in factors of 24 then E{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} = {1, 2, 3, 4, 6, 8, 12, 24}

    • You may see alternative notations used for E{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} 

      • U is a common alternative (different to ∪{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} for union!)

      • S or the Greek letter ξ (xi) may also be seen

  • We use upper case letters to represent sets (A, B, C, ...) and lower case letters to represent elements (a, b, c, ...)

  • n(A) is the number of elements in set A

    • For example, if E{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A  = {1, 4, 9}, B  = {1, 2, 3, 4, 5, 6}
      n(A) = 3, n(B) = 6

  • ∈{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""} means "is an element of"

    • And ∉{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""} means "is not an element of"

    • E.g. 3∈1,2,3{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""} and 4∉1,2,3{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}

  • ∅{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""} is the empty set

    • This is the set which does not contain any elements

  • A⊆{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}B means "A is a subset of B"

    • Set A is a subset of set B if all the elements of A are also present in B

      • E.g. If A = {1,2,3} and B = {0, 1, 2, 3, 4}, then A⊆{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""}B

    • A ⊈{"fontFamily":"Times New Roman","fontSize":"18","autoformat":true,"toolbar":""} B means "A is not a subset of B"

  • A ∩{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} B  means the intersection of A and B (the overlap of A  and B)

    • This is the set of elements that are in both set A  and set B

      • E.g. If A = {1, 2, 3, 4, 5} and B = {-1, 1, 4, 7, 8}, then A ∩{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} B  = {1, 4}

  • A ∪{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} B  means the union of A  and B  (everything in A  or B  or both)

    • This is the set of elements that are in at least one of the sets

    • This includes elements in both sets (in the intersection)

      • E.g. If A = {5, 6, 7, 8} and B = {3, 7, 11}, then A ∪{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} B  = {3, 5, 6, 7, 8, 11}

  • A' means the complement of A

    • It is the set of all elements in the universal set E{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true}  that are not in A

      • E.g. If E{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true} = {1, 2, 3, 4, 5} and A = {1, 3}, A'  = {2, 4, 5}

Sets & Venn Diagrams

Sets & Venn diagrams

What is a Venn diagram?

  • A Venn diagram is a way to illustrate all the elements within sets and any intersections 

  • A Venn diagram consists of

    • a rectangle representing the universal set (E{"language":"en","fontFamily":"Times New Roman","fontSize":"18","autoformat":true})

    • a circle for each set

      • Circles may or may not overlap depending on which elements are shared between sets

What do the different regions mean on a Venn diagram? 

  • A∪B{"language":"en","fontFamily":"Times New Roman","fontSize":"18"}  is represented by the regions that are in A  or B  or both

  • A∩B{"language":"en","fontFamily":"Times New Roman","fontSize":"18"}  is represented by the region where the A  and B  circles overlap

Venn diagrams showing the union and the intersection of sets A and B