logo

johzu

About

Sets

Sets are a fundamental concept in mathematics used to group elements that share common characteristics. They are represented using curly brackets \(\left\lbrace\right\rbrace\) and can contain numbers, letters, geometric figures, or any well-defined objects.

Set Notation

  1. Roster Form (List Notation): Lists all elements inside curly brackets. Example: \( A = \left\lbrace 1,2,3,4,5 \right\rbrace\).
  2. Descriptive Form: Describes the property that the elements satisfy. Example: \( B = \left\lbrace x \vert x \mathrm{\ is\ an\ even\ number\ less\ than\ } 10 \right\rbrace \).
  3. Set-Builder Notation: Uses a mathematical expression to define the set. Example: \( C=\left\lbrace x \in \mathbb{N} \vert x < 5 \right\rbrace \) (Set of natural numbers less than 5).

Properties of Sets

Operations with Sets

  1. Union \( \left( \cup \right) \)
    • The set of elements that are in at least one of the sets.
    • Example: \(A \cup B = \left\lbrace 1,2,3,4,5,6,8 \right\rbrace \)
  2. Intersection \( \left( \cap \right) \)
    • The set of elements that are in both sets.
    • Example: \(A \cap B = \left\lbrace 2,4 \right\rbrace \)
  3. Difference \( \left( - \right. \) or \( \left. \backslash \right) \)
    • The set of elements that are in one set but not in the other.
    • Example: \( A - B = \left\lbrace 1,3,5 \right\rbrace \)
  4. Complement \( \left( A^{\complement} \right. \) or \( A^{\prime} \Big) \)
    • The set of elements in the universal set \(U\) that are not in \(A\).
  5. Symmetric Difference \( \left( \triangle \right) \)
    • The elements that are in one of the sets but not in both.
    • Example: \( A \triangle B = (A - B) \cup (B - A) \)

Venn Diagrams

Venn diagrams are graphical representations used to visualize the relationship between sets. They are usually drawn with overlapping circles inside a rectangle that represents the universal set. Each circle represents a set, and the overlapping regions show the elements that the sets have in common. These diagrams are useful for explaining operations such as union, intersection, complement, and difference of sets because they help organize information in a clear and visual way.

Interactive Venn diagram in GeoGebra

Click on the boxes numbered \(1-8\) to color their respective surfaces. When you think your answer is complete, click on the "Check your Venn diagram!" box. If your answer is correct, the word "Correct" will appear. If you want a new exercise, click on the yellow "New exercise" button.


Set explorer

Use this interactive explorer to enter the universal set and two working sets. The calculator updates operations, relationships, Venn regions, Cartesian products, and quick exercises directly in the browser.

∈ Set Theory Explorer

Interactive resource for studying sets, operations, and Cartesian products.

Working sets

Enter elements separated by commas. Example: 1, 2, 3, 4

Some elements of A or B were not in U. They were automatically added to the universal set so complements can be computed.

Current sets

\(U\)
\(|U|=\) 0
\(A\)
\(|A|=\) 0
\(B\)
\(|B|=\) 0

Basic notation

A set is a well-defined collection of objects called elements. Sets are usually denoted by uppercase letters, such as A, B, or U.

Symbol Meaning

Main operations

Operation Name Idea

Operations calculator

Operation Result Cardinality Description

Set relationships

Property Value

Venn diagram

The diagram represents the regions of A and B inside the universal set U.

Elements by region
Region Elements Cardinality

Cartesian product

The Cartesian product A × B is the set of all ordered pairs (a, b), where a ∈ A and b ∈ B.

\(A\times B=\{(a,b):a\in A,\ b\in B\}\)

\(|A\times B|=|A||B|\)

\(|A|\)0
\(|B|\)0
\(|A\times B|\)0

There are too many ordered pairs. Only the first ones are shown.

\(A\times B\)
# First element Second element Ordered pair

Quick exercises

See also

Bayes Theorem

Probability distributions formula sheet