Set: A group of numbers!
Definition
A set is simply a collection of things (in our case, numbers).
Why Matters?
Why Concept of Set Matters in Cryptography
Since there are so many types of numbers (integers, decimals, rationals, etc. ), we need a way to categorize and organize them based on shared properties, helping us to better understand and use them in Math. That is where "Set" comes in.
Notations
The symbol means "is a member of a set." Basically, the element on the left side of belongs to the collection (set) on the right side.
Example on Notation
(We clarify what the example is about) Given the set : We can write 4 (4 is in the set ) 9 (9 is in the set ) 0 (0 is not in the set ) 5 (5 is not in the set )
How to Define Set
As seen above, we can define set by listing all of its members like explicitly. However, writing all of set's members is not really possible if the set has so many members or event infinite. Instead, we can define sets more broadly, using patterns or criteria that describe their shared properties.
Example on How to Define Set
-
By Pattern We list only some members enough to make people able to recognize the pattern, hence being able to imply the rest in ...
-
represents the set of all integers (whole numbers).
-
represents the set of positive integers. (Another common notation for positive integers or natural numbers is .)
-
Even Numbers: represents the set of all even integers.
-
Prime Numbers: represents the set of prime numbers.
-
Fibonacci Numbers: represents the set of Fibonacci numbers, where each number is the sum of the two preceding numbers.
-
-
By Criteria We explicitly state the criteria such that every number that satisfies the criteria belong to the set.
-
represents the set of rational numbers, which includes any number that can be written as a fraction of two integers.
-
Even Numbers: represents the set of all even integers, where each element is a multiple of 2.
-
Prime Numbers: represents the set of prime numbers, where a number is only divisible by 1 and itself. (Notation: is equivalent to "If A, then B")
-
Fibonacci Numbers: represents the Fibonacci sequence, where each element is defined recursively.
-
Write a set that represents square of integers
Write a set that represents irrational numbers
Sets let us define and organize collections of numbers based on shared characteristics. But in cryptography, we are not only interested in what collection of numbers we are using, but also how these numbers interact with each other. This is where operation comes in.
When we combine a set with an operation, under specific rules, we arrive at a special mathematical structure called a 'Group.' Groups are the building blocks of many cryptographic algorithms, offering powerful properties weβll soon explore.