🌐
Probability Course
probabilitycourse.com › chapter1 › 1_2_2_set_operations.php
Set Operations | Union | Intersection | Complement | Difference | Mutually Exclusive | Partitions | De Morgan's Law | Distributive Law | Cartesian Product
The number of elements in a set is denoted by $|A|$, so here we write $|A|=M, |B|=N$, and $|A \times B|=MN$. In the above example, $|A|=3, |B|=2$, thus $|A \times B|=3 \times 2 = 6$. We can similarly define the Cartesian product of $n$ sets $A_1, A_2, \cdots, A_n$ as $$A_1 \times A_2 \times A_3 \times \cdots \times A_n = \{(x_1, x_2, \cdots, x_n) | x_1 \in A_1 \textrm{ and } x_2 \in A_2 \textrm{ and }\cdots x_n \in A_n \}.$$ The multiplication principle states that for finite sets $A_1, A_2, \cdots, A_n$, if $$|A_1|=M_1, |A_2|=M_2, \cdots, |A_n|=M_n,$$ then $$\mid A_1 \times A_2 \times A_3 \times \cdots \times A_n \mid=M_1 \times M_2 \times M_3 \times \cdots \times M_n.$$
🌐
GeeksforGeeks
geeksforgeeks.org › mathematics › set-operations
Set Operations: Union, Intersection, Complement & Difference - GeeksforGeeks
Where x represents an element that belongs to A or B (or both). The area shaded in green represents A ∪ B or the union of sets A and B. ... Example: Find the union of A = {2, 3, 4} and B = {3, 4, 5}. Solution:
Published   January 13, 2026
People also ask

What are the 4 operations of sets?
The 4 important operations of sets are: Union of sets.The intersection of sets. Complement of sets. Difference between sets
🌐
testbook.com
testbook.com › home › maths › set operations
Set Operations: Definitions, Formula, Properties, Examples
What is the set definition math?
set definition math is the accumulation of elements or a group of things stands for the set meaning.
🌐
testbook.com
testbook.com › home › maths › set operations
Set Operations: Definitions, Formula, Properties, Examples
What are the types of sets?
The different types of sets are empty set, finite set, singleton set, equivalent set, subset, power set, universal set, superset and infinite set.
🌐
testbook.com
testbook.com › home › maths › set operations
Set Operations: Definitions, Formula, Properties, Examples
🌐
Cuemath
cuemath.com › algebra › operations-on-sets
Set Operations - Formula, Properties, Examples
The complement of a set A denoted ... of complement of sets better, let us consider an example: If U = {1, 2, 3, 4, 5, 6, 7, 8, 9} and A = {1, 2, 3, 4}, then the complement of set A is given by A' = {5, 6, 7, 8, 9}....
🌐
Outlier
articles.outlier.org › set-operations-examples
Set operations: Formulas, Properties, Examples & Exercises | Outlier
October 16, 2022 - The complement of a set, Set A, are the elements in a given universal set, Set U, that are not in Set A. A universal set is a set containing all given objects. Just as basic math operations (+, -,÷,×) have specific properties, set operations also have distinct properties.
🌐
Old Dominion University
cs.odu.edu › ~toida › nerzic › level-a › set › set_operations.html
Set Operations
Here four basic operations are introduced and their properties are discussed. Definition (Union): The · union of sets A and B, denoted by A B , is the set defined as A B = { x | x A x B } Example 1: If A = {1, 2, 3} and B = {4, 5} , then A B = {1, 2, 3, 4, 5} .
🌐
BYJUS
byjus.com › maths › set-operations
Set Operations
... If there are two sets A and B, then the difference of two sets A and B is equal to the set which consists of elements present in A but not in B. It is represented by A-B. Example: If A = {1,2,3,4,5,6,7} and B = {6,7} are two sets.
Published   July 15, 2022
Views   31K
🌐
Mathematics LibreTexts
math.libretexts.org › campus bookshelves › prince george's community college › mat 1130: mathematical ideas › 1: sets
1.2: Operations with Sets - Mathematics LibreTexts
December 12, 2024 - For example, you and a new roommate decide to have a house party, and you both invite your circle of friends. At this party, two sets are being combined, though it might turn out that there are some friends that were in both sets.
Find elsewhere
🌐
University of Pittsburgh Computer Science
people.cs.pitt.edu › ~milos › courses › cs441 › lectures › Class7.pdf pdf
Sets and set operations
Example: • A= {John, Peter, Mike} • B ={Jane, Ann, Laura} • A x B= {(John, Jane),(John, Ann) , (John, Laura), (Peter, Jane), (Peter, Ann) , (Peter, Laura) , (Mike, Jane) , (Mike, Ann) , (Mike, Laura)} • |A x B| = 9 · • |A|=3, |B|=3 |A| |B|= 9 · Definition: A subset of the Cartesian product A x B is called a · relation from the set A to the set B. 12 · M. Hauskrecht · CS 441 Discrete mathematics for CS · Set operations ·
🌐
Testbook
testbook.com › home › maths › set operations
Set Operations: Definitions, Formula, Properties, Examples
Example 3: In a class, every student studies either English or Maths or both. It was discovered that 300 students study English, 250 students study Maths and 150 students study both. Find how many students were there in the class employing the set operation formula.
🌐
VEDANTU
vedantu.com › maths › set operations: definitions, types, and examples
Set Operations in Maths: Union, Intersection & Examples
December 14, 2020 - Learn set operations in maths with clear explanations, Venn diagrams, and solved examples. Master union, intersection, difference, and complement to solve set questions easily.
🌐
Calcworkshop
calcworkshop.com › home › set theory › set operations
Set Operations (Defined & Illustrated w/ 9 Examples!)
January 24, 2021 - 00:13:36 Draw a Venn diagram and perform the set operations (Example #1a-g)
🌐
Varsity Tutors
varsitytutors.com › home › operations on sets
Operations on Sets
Using set operations allows us to systematically analyze and combine groups of elements. For instance, if you want to know which students are enrolled in both math and science classes, you use the intersection operation. If you wish to merge two event guest lists, you use the union.
🌐
Simon Fraser University
cs.sfu.ca › ~ggbaker › zju › math › set-oper.html
Set Operations
Those identities should convince you that order of unions and intersections don't matter (in the same way as addition, multiplication, conjunction, and disjunction: they're all commutative operations). So we can write a bunch of them without brackets, just like with addition/multiplication/conjunction/disjunction: \[A\cup B\cup C \cup D\,,\\A\cap B\cap C \cap D\,.\] If we need to do union/intersection of a lot of things, there is a notation like summation that is used occasionally. For example, suppose there are \(n\) courses being offered at ZJU this semester. Let the sets \(S_1,S_2,\ldots ,S_n\) be the students in each course.
🌐
Mathematics LibreTexts
math.libretexts.org › bookshelves › combinatorics and discrete mathematics › applied discrete structures (doerr and levasseur) › 1: set theory
1.2: Basic Set Operations - Mathematics LibreTexts
August 17, 2021 - For example, if the universe is the integers, then \(A\) is empty. If our universe is the rational numbers, then \(A\) is \(\{2/3, -2/3\}\) and if the universe is the complex numbers, then \(A\) is \(\{2/3, -2/3, 2i/3, - 2i/3\}\text{.}\) ... The universe, or universal set, is the set of all elements under discussion for possible membership in a set.
🌐
freeCodeCamp
freecodecamp.org › news › python-set-operations-explained-with-examples
Python Sets – Operations and Examples
April 23, 2025 - These are not so common, but they're useful in seeing how sets relate to others. the a.issubset(b) method or <= operator returns true if the a is a subset of b
🌐
Runestone Academy
runestone.academy › ns › books › published › practical_db › PART1_SQL › 10-set-operations › set-operations.html
1.10. Set operations — A Practical Introduction to Databases
For example, in the figure below, the blue circle (including the overlapping portion) represents a set containing the numbers 0, 2, 4, 6, 8, and 10. More succinctly, this set contains the multiples of 2 between 0 and 10. The figure also contains a yellow circle containing the multiples of 3 between 0 and 10. A Venn diagram illustrating set operations...
🌐
University at Buffalo
cse.buffalo.edu › ~xinhe › cse191 › Classnotes › note04-1x2.pdf pdf
Sets and Set Operations Class Note 04: Sets and Set Operations
set operations. Let S[i] be the ith bit in S. Each S[i] is either 0 or 1. ... Example: U = {a, b, c, d, e, f, g}.
🌐
Encyclopedia Britannica
britannica.com › philosophy & religion › philosophical issues
Set theory - Operations, Elements, Relations | Britannica
1 month ago - Thus, the set A ∪ B—read “A union B” or “the union of A and B”—is defined as the set that consists of all elements belonging to either set A or set B (or both). For example, suppose that Committee A, consisting of the 5 members Jones, Blanshard, Nelson, Smith, and Hixon, meets with Committee B, consisting of the 5 members Blanshard, Morton, Hixon, Young, and Peters. Clearly, the union of Committees A and B must then consist of 8 members rather than 10—namely, Jones, Blanshard, Nelson, Smith, Morton, Hixon, Young, and Peters. The intersection operation is denoted by the symbol ∩. The set A ∩ B—read “A intersection B” or “the intersection of A and B”—is defined as the set composed of all elements that belong to both A and B.
🌐
MathWorks
mathworks.com › matlab › language fundamentals › operators and elementary operations
Set Operations - MATLAB & Simulink
This approach produces a reduced data set that still holds the general shape of the original data. ... This example shows how to group scattered data points based on their proximity to points of interest.