Introduction to Set Theory Concepts
Introduction to Set Theory Concepts
Introduction to Sets
Sets are typically denoted by uppercase letters (e.g., 𝐴, 𝐵, 𝐶), while elements are denoted
by lowercase letters (e.g., 𝑎, 𝑏, 𝑐).
Representing Sets
2. List all elements of the set within braces {}, separated by commas.
4. This method is best suited for finite sets where all elements can be easily
listed.
5. Set-Builder Form:
6. Define the set by specifying a property that all its elements share.
7. The general form is {𝑥: 𝑃(𝑥)}, which reads as “the set of all 𝑥 such that 𝑃(𝑥) is
true,” where 𝑃(𝑥) is a condition or property.
9. Set-builder form is particularly useful for defining infinite sets or sets with a
large number of elements.
Types of Sets
1. Finite Set:
3. Example: {1, 2, 3, 4, 5}
4. Infinite Set:
6. Examples: The set of natural numbers (ℕ = {1, 2, 3, ...}) and the set of real
numbers (ℝ).
7. Singleton Set:
9. Example: {𝑎}
12. Denoted by {} or ∅.
13. The null set is a unique and fundamental set in set theory.
15. The set containing all elements under consideration in a given context.
16. Denoted as U.
2. Set Operations
Set operations allow us to combine and compare sets, creating new sets based on the
relationships between existing ones. Here’s an overview of common set operations and
relationships:
Basic Definitions
• Definition of Equal Sets: Two sets are considered equal if and only if they contain
exactly the same elements.
• Definition of Equivalent Sets: Two sets are equivalent if they have the same
number of elements (same cardinality). Note that equivalent sets do not need to
contain the same elements; they only need to have the same quantity of elements.
• Disjoint Sets Definition: Two sets 𝐴 and 𝐵 are disjoint if they have no elements in
common.
Set Operations
• Union of Sets: The union of two sets 𝐴 and 𝐵, denoted as 𝐴 ∪ 𝐵, is the set
containing all elements that are in 𝐴 or in 𝐵 (or in both). Formally:
∪
𝐴 𝐵 = {𝑥: 𝑥 ∈ 𝐴 or 𝑥 ∈ 𝐵}
• Intersection of Sets: The intersection of two sets 𝐴 and 𝐵, denoted as 𝐴 ∩ 𝐵, is the
set containing all elements that are common to both 𝐴 and 𝐵. Formally:
∩
𝐴 𝐵 = {𝑥: 𝑥 ∈
𝐴 and 𝑥 𝐵} ∈
• Set Difference: The difference of two sets 𝐴 and 𝐵, denoted as 𝐴 − 𝐵, is the set of
all elements that are in 𝐴 but not in 𝐵. Formally:
𝐴 − 𝐵 = {𝑥 𝑥 ∣ ∈
𝐴 and 𝑥 ∉ 𝐵}
These set operations and relationships provide a foundation for more advanced topics
in set theory and discrete mathematics.
Core Concept: Venn diagrams are visual representations of sets and their relationships.
A universal set is depicted as a rectangle, while individual sets within it are represented
by circles.
Venn diagrams are useful for illustrating set operations like union, intersection, and
complement, making abstract concepts more intuitive.
• Union (𝐴 ∪ 𝐵): Represents all elements in set A or set B (or both). In a Venn
diagram, this is the area covered by both circles.
De Morgan’s Laws
1. The complement of the union of two sets is equal to the intersection of their
complements:
(𝐴 ∪ 𝐵)′ = 𝐴′ ∩ 𝐵′
2. The complement of the intersection of two sets is equal to the union of their
complements:
(𝐴 ∩ 𝐵)′ = 𝐴′ ∪ 𝐵′
These laws are crucial in simplifying logical expressions and set operations, allowing
for easier manipulation and understanding of complex relationships.
Distributive Laws
Distributive laws describe how union and intersection interact with each other:
Understanding these distributive laws is essential for manipulating and simplifying set
expressions.
Idempotent and Complement Laws
• 𝐴∪𝐴=𝐴
• 𝐴∩𝐴=𝐴
These laws highlight that repeating a set in these operations does not change
the result.
• Complement Laws: The union of a set and its complement is the universal set,
and the intersection of a set and its complement is the empty set:
• 𝐴 ∪ 𝐴′ = 𝑈
• 𝐴 ∩ 𝐴′ = ∅
These laws define the relationship between a set and its negation, illustrating
fundamental properties of set theory.
These properties define how the order and grouping of sets affect operations, providing
flexibility in manipulating set expressions.
• 𝐴∪𝐵=𝐵∪𝐴
• 𝐴∩𝐵=𝐵∩𝐴
This means you can swap the order of sets in these operations without
changing the outcome.
Definition: The power set of a set A, denoted as 𝑃(𝐴), is the set of all possible subsets of
A, including the empty set and A itself. It represents all the different ways you can select
elements from A to form new sets.
Size: If a set A has 𝑛 elements, then its power set 𝑃(𝐴) contains 2𝑛 elements. This
exponential relationship demonstrates how quickly the number of subsets grows as the
size of the original set increases.
Cartesian Product
Definition: The Cartesian product of two sets A and B, denoted as 𝐴 × 𝐵, is the set of all
possible ordered pairs (𝑎, 𝑏), where 𝑎 is an element of A and 𝑏 is an element of B. The
order of elements in each pair matters.
1. Basic Logic
Compound Propositions
Logical Connectives
1. Negation (∼)
3. Truth Table:
𝑝 ∼𝑝
T F
F T
4. Conjunction ( ) ∧
5. Definition: The conjunction of two propositions 𝑝 and 𝑞, denoted as 𝑝 ∧ 𝑞, is
true only if both 𝑝 and 𝑞 are true; otherwise, it is false.
6. Truth Table:
𝑝 𝑞 𝑝 ∧𝑞
T T T
𝑝 𝑞 𝑝 ∧𝑞
T F F
F T F
F F F
Truth Tables
Logical Equivalence
Core Concept: Two propositions are logically equivalent if they have the same truth
value in all possible cases. In other words, their truth tables are identical. Logical
equivalence is a fundamental concept for simplifying and manipulating logical
expressions.
1. Tautology
3. Contradiction
5. Contingency
6. Definition: A contingency is a proposition that can be either true or false,
depending on the truth values of its constituent propositions. Its truth value
is not fixed but varies with different scenarios.
2. Logical Connectives
Logical connectives are used to form compound propositions from simpler ones.
Understanding their truth conditions and relationships is crucial for logical reasoning.
Basic Connectives
1. ∧
Conjunction ( ): Represents ‘and’.
4. 𝑝 ∨ 𝑞 is true if either 𝑝 or 𝑞 (or both) are true; it is false only if both are false.
8. 𝑝 ↔ 𝑞 is true if 𝑝 and 𝑞 have the same truth value (both true or both false).
1. Negation of a Conjunction:
2. The negation of 𝑝 ∧ 𝑞 is logically equivalent to ∼𝑝∨ ∼ 𝑞. This is expressed as:
∼(𝑝 ∧ 𝑞) ≡ ∼ 𝑝∨ ∼ 𝑞
3. In simpler terms, to deny that both 𝑝 and 𝑞 are true, you must show that
either 𝑝 is false or 𝑞 is false (or both).
8. ∧
The negation of 𝑝 ↔ 𝑞 is logically equivalent to (𝑝 ∼ 𝑞) ∨ (𝑞∧ ∼ 𝑝).
≡ ∧ ∨ ∧
∼(𝑝 ↔ 𝑞) (𝑝 ∼ 𝑞) (𝑞 ∼ 𝑝)
9. This means 𝑝 and 𝑞 do not have the same truth values; one is true while the
other is false.
Given a conditional statement 𝑝 → 𝑞 (If 𝑝 then 𝑞), we can form related statements:
1. Converse: Formed by reversing the premise and conclusion.
2. The converse of 𝑝 → 𝑞 is 𝑞 → 𝑝.
3. Inverse: Formed by negating both the premise and the conclusion.
4. The inverse of 𝑝 → 𝑞 is ∼𝑝 → ∼ 𝑞.
5. Contrapositive: Formed by both reversing and negating the premise and
conclusion.
6. The contrapositive of 𝑝 → 𝑞 is ∼𝑞 → ∼ 𝑝.
Important Note: A conditional statement and its contrapositive are logically
equivalent. Similarly, the converse and inverse are logically equivalent.
3. Logic Laws and Switching Circuits
Commutative Laws
Core Concept: The commutative laws state that the order of operands does not affect
the result of a logical operation. This means you can swap the order of propositions in
an OR or AND operation without changing the truth value.
• (1) p ∨q≡q∨ p
• (2) p ∧q≡q∧ p
Associative Laws
Core Concept: The associative laws state that the grouping of propositions in a series of
identical logical operations (all ORs or all ANDs) does not alter the overall logical
equivalence. This allows you to rearrange parentheses in a chain of ORs or ANDs.
• (1) (p ∨ q) ∨r≡p∨ (q ∨ r)
• (2) (p ∧ q) ∧r≡p∧ (q ∧ r)
Distributive Laws
Core Concept: The distributive laws describe how logical operations interact when
combining AND and OR. They allow you to distribute one operation over another,
similar to distribution in algebra.
• (1) p ∨ (q ∧ r) ≡ (p ∨ q) ∧ (p ∨ r)
• (2) p ∧ (q ∨ r) ≡ (p ∧ q) ∨ (p ∧ r)
Identity Laws
Core Concept: The identity laws define the behavior of propositions when combined
with true ( t ) or false ( f ) values. These laws help simplify expressions by identifying
elements that do not change the truth value.
• (1) p ∨ f ≡ p
• (2) p ∧ t ≡ p
• (3) p ∨ t ≡ t
• (4) p ∧ f ≡ f
Involution Law
Core Concept: The involution law, also known as the law of double negation, states that
negating a proposition twice returns the original proposition. This is a fundamental
property of negation.
• ¬(¬p) ≡ p
De Morgan’s Laws
Core Concept: De Morgan’s Laws provide a way to simplify the negation of complex
logical expressions. They describe how to distribute a negation over OR and AND
operations.
• (1) ¬(p ∨ q) ≡ ¬p ∧ ¬q
• (2) ¬(p ∧ q) ≡ ¬p ∨ ¬q
This mapping is fundamental for translating physical circuits into logical expressions,
which is essential for the analysis and design of digital logic gates and systems.
Euler Graphs
Definition: An Euler graph is a connected graph that has an Euler circuit, which is a
closed walk that traverses each edge exactly once. A connected graph is Eulerian if and
only if every vertex has an even degree.
1. Group Fundamentals
Introduction to Groups
Before diving into groups, let’s define some essential preliminary concepts:
1. Groupoid:
3. Binary Operation:
6. Semigroup:
8. Associativity means that the order in which you perform the operation on
three elements doesn’t matter: For all a, b, c \in G , (a * b) * c = a
* (b * c) .
9. Monoid:
Group Axioms
For an algebraic system (G, *) to be a group, it must satisfy the following four
axioms:
1. Closure:
5. Identity Element:
8. Inverse Element:
9. For each a \in G , there exists an element a^{-1} \in G such that a *
a^{-1} = a^{-1} * a = e , where e is the identity element.
2. Types of Groups
Types of Groups
Basic Definitions
2. Finite Group: A group with a finite number of elements. The order of the group,
denoted by $$|G|$$ , is the number of elements in the group.
5. Graph: A graph consists of vertices (nodes) and edges that connect these vertices.
It is denoted as $$G = (V, E)$$ , where $$V$$ is the set of vertices and
$$E$$ is the set of edges. Graphs are fundamental mathematical structures for
modeling relationships between objects.
Cyclic Groups
Definition: A group $$G$$ is cyclic if there exists an element $$a \in G$$ such that
every element of $$G$$ can be written as $$a^n$$ for some integer $$n$$ . We
denote this as $$G = \langle a \rangle$$ . In simpler terms, a cyclic group is
generated by a single element.
Subgroups
Properties of Subgroups:
To verify that a subset $$H$$ of a group $$G$$ is indeed a subgroup, the following
properties must hold:
2. If $$a \in H$$ , then the inverse of $$a$$ in $$G$$ is also in $$H$$ . These
properties ensure that $$H$$ satisfies the group axioms.
These properties are crucial for efficiently verifying whether a given subset is a
subgroup without checking all group axioms. They are necessary conditions implied by
the subgroup definition.
3. Graph Theory
Fundamental Concepts
Core Idea: Graph theory is the study of graphs, which are mathematical structures used
to model pairwise relations between objects. A graph consists of vertices (nodes) and
edges (lines) that connect these vertices.
• Order of a Graph: The number of vertices in the graph. This metric provides a
basic measure of the graph’s complexity or the number of entities it represents.
• Size of a Graph: The number of edges in the graph. This metric provides a basic
measure of the graph’s connectivity or the number of relationships it represents.
Types of Graphs
Simple Graph
A simple graph is a graph that does not contain self-loops (edges connecting a vertex to
itself) or parallel edges (multiple edges connecting the same pair of vertices).
Multigraph
A multigraph is a graph that may contain parallel edges. This allows for modeling
scenarios where multiple distinct relationships can exist between the same two entities.
Bipartite Graph
Definition: A bipartite graph has its vertices divided into two disjoint sets. Edges only
connect vertices from different sets; no edges connect vertices within the same set.
Bipartite graphs are used to model relationships between two distinct groups of entities,
such as students and subjects, or clients and services.
Definition: A bipartite graph where every vertex in one set is connected to every vertex
in the other set. It is denoted as 𝐾𝑚, 𝑛 , where 𝑚 and 𝑛 are the sizes of the two sets.
In a complete bipartite graph, the relationship between the two sets of vertices is fully
connected, meaning every possible connection exists.
Definition of Data
Key Fact: Data is a collection of facts, figures, symbols, and observations that can be
processed or analyzed to produce meaningful information. It serves as the raw input
for analysis and interpretation.
Definition of a Variable
Core Concept: A variable is a characteristic that can take on different values. Variables
are essential for distinguishing between different types of information being collected
and analyzed.
Frequency Distribution
Core Concept: A frequency distribution is a table that displays how many data points
fall within specific, predefined intervals or classes. It provides a structured overview of
data dispersion, making it easier to interpret the distribution of values in a dataset.
Measures of central tendency are used to describe the ‘center’ of a dataset. The three
most common measures are the mean, median, and mode.
Definitions
• Mean: The average of all values in a dataset. It is calculated by summing all the
values and dividing by the number of values.
• Median: The middle value in a dataset when the data is ordered from least to
greatest.
Ungrouped Data
The mean (
𝑥‾
) for ungrouped data is calculated using the following formula:
∑𝑥
𝑥‾ = 𝑛 𝑖
where:
• ∑ 𝑥𝑖
is the sum of all data points.
• 𝑛
is the number of data points.
Grouped Data
The mean (
𝑥‾
) for grouped data is calculated using the following formula:
∑ 𝑓𝑖 𝑥𝑖
𝑥‾ =
∑ 𝑓𝑖
where:
• 𝑓𝑖
is the frequency of the 𝑖-th class.
• 𝑥𝑖
is the midpoint of the 𝑖-th class.
The median is the middle value in an ordered dataset. The method for finding the
median depends on whether the data is grouped or ungrouped, and whether the
number of data points is even or odd.
Ungrouped Data
1. Order the data: Arrange the data points from least to greatest.
Grouped Data
To find the median from grouped data, use the following formula:
𝑁 − 𝑐𝑓
Median = 𝐿 + 2 ×ℎ
𝑓
where:
• 𝐿
is the lower boundary of the median class. This is the smallest value that falls into
the median class.
• 𝑁
is the total frequency. This is the sum of the frequencies of all classes.
• 𝑐𝑓
is the cumulative frequency of the class preceding the median class. This is the
sum of the frequencies of all classes before the median class.
• 𝑓
is the frequency of the median class. This is the number of data points that fall into
the median class.
• ℎ
is the class width. This is the range of values that fall into the median class.
Ungrouped Data
The mode for ungrouped data is the value that appears most often in the dataset. To
find the mode, simply count the occurrences of each value and identify the value with
the highest frequency. A dataset can have one mode (unimodal), more than one mode
(multimodal), or no mode if all values occur with the same frequency.
Core Concept: Measures of dispersion and skewness are statistical tools used to
describe the spread and shape of a dataset. Dispersion measures quantify how much
the data points vary from a central value, while skewness measures the asymmetry of
the data distribution.
Measures of Dispersion
1. Range
Definition: The range is the simplest measure of dispersion, calculated as the difference
between the largest and smallest values in a dataset.
2. Mean Deviation
Definition: Mean Deviation (M.D.) is the average of the absolute deviations from a
measure of central tendency (usually the mean or median).
Formulas:
3. Quartile Deviation
4. Variance
Note: Variance is the square of the standard deviation and is a fundamental component
for calculating standard deviation.
5. Standard Deviation
Formulas:
6. Coefficient of Variation
Definition: The Coefficient of Variation (C.V.) is a measure of relative variability,
expressing the standard deviation as a percentage of the mean.
Usefulness: Allows for the comparison of variability between datasets with different
units or vastly different means.
Measures of Skewness
1. Skewness
To find the mode from grouped data, use the following formula:
Where:
Unit 5: Matrices
1. Matrix Fundamentals
Definition of a Matrix
Dimensions of a Matrix
Types of Matrices
Square Matrix
• Definition: A matrix where the number of rows does not equal the number of
columns.
Row Matrix
Column Matrix
Null Matrix
Matrix Operations
Matrix addition and subtraction can only be performed on matrices of the same
dimensions.
Matrix Addition
• Process: Performed by adding corresponding elements of two matrices that have
the same dimensions.
• Condition: Matrices must have the same number of rows and columns.
Matrix Subtraction
• Condition: Matrices must have the same number of rows and columns.
2. Matrix Types
Types of Matrices
Matrices are fundamental mathematical objects, and certain types of matrices have
special properties and applications. Here’s an overview of some key matrix types:
Key Property: All the matrix types described below are square matrices.
1. Identity Matrix
Definition: An identity matrix (𝐼) is a diagonal matrix with all diagonal elements equal
to 1. It acts as the multiplicative identity for matrices.
Example:
𝐼=[ 1 0 00 1 00 0 1 ]
2. Diagonal Matrix
Definition: A square matrix where all entries are zero except for the entries on the
main diagonal.
Example:
𝐷=[ 𝑎 0 00 𝑏 00 0 𝑐 ]
3. Scalar Matrix
Example:
𝑆 = [ 𝑘 0 0 0 𝑘 0 0 0 𝑘 ] = 𝑘𝐼
Definition: A square matrix in which all elements below the main diagonal are zero.
Example:
𝑈=[ 𝑎 𝑏 𝑐0 𝑑 𝑒0 0 𝑓 ]
Definition: A square matrix in which all elements above the main diagonal are zero.
Example:
𝐿=[ 𝑎 0 0𝑏 𝑐 0𝑑 𝑒 𝑓 ]
6. Symmetric Matrix
𝑇
Definition: A square matrix that is equal to its transpose (i.e., 𝐴 = 𝐴 ). This means that
the element in the i-th row and j-th column is equal to the element in the j-th row and i-
th column.
Example:
𝐴=[ 𝑎 𝑏 𝑐𝑏 𝑑 𝑒𝑐 𝑒 𝑓 ]
7. Skew-Symmetric Matrix
𝑇
Definition: A square matrix that is equal to the negative of its transpose (i.e., 𝐴 = −𝐴 ).
The diagonal elements of a skew-symmetric matrix are always zero.
Example:
𝐴 = [ 0 𝑏 𝑐 − 𝑏 0 𝑒 − 𝑐 −𝑒 0 ]
8. Singular Matrix
Property: Singular matrices are not invertible, which has implications for the
solvability of linear systems.
9. Non-Singular Matrix
Matrix Transpose
Matrix Multiplication
Definition: Matrix multiplication involves multiplying two matrices A and B . For the
multiplication to be valid, the number of columns of A must be equal to the number of
rows of B . If A is an m x n matrix and B is an n x p matrix, the resulting matrix
C = AB will be an m x p matrix.
Rank of a Matrix
Definition: The rank of a matrix A is defined as the order of the largest non-zero
minor of A . The rank provides information about the number of linearly independent
rows or columns in the matrix.