-definition
-characteristics
-operations
-association rules
-definition
-characteristics
-operations
-association rules
-Sets: a well-defined collection of distinct objects.
Examples:
Q: Your examples?
For any set \(A\) and any element \(b\) only one of two statements is true: - \(A\) includes \(b\) (\(b \in A\)) - \(A\) does not include \(b\) (\(b \notin A\))
Correctly notated set suggest the definition of universal set \(U\) (general population).
\(A\) – set
\(n(A)\) – number of the set elements (cardinality of set)
\(\varnothing\); \({}\) - empty set, does not contain any elements
Empty set is a subset of any set
\(U\) - universal set (general population)
Universal sets varies for different cases
\(0 \in \varnothing ?\)
\(U\) for population census (is it the same in different countries?)
Set A (superset) includes B: \(B \subseteq A\)
\(B \subseteq A \implies (B = A) \lor (B \subset A)\)
\((B \subset A)\) – \(B\) is a proper subset of \(A\)
\(F = C \cup E\) – union \(C = F \cap B\) – intersection
Sochum = {Sociology and social informatics, Oriental studies, Political Science, Management in Government Sector, History, Philology}
SEM = {Economics, Management, Logistics}
Write down a formula of C which includes bachelor programs in HSE and draw Euler Diagram
A = {Bike drivers}
B = {Car drivers}
C = {Pedestrians}
Write down a formula of D which includes all road users and draw Euler Diagram
G names = {George, Grigoriy, Gosha, Galina, Gulnara}
Girls’ names = {Anastasia, Masha, Galina, Alexandra, Gulnara}
Write down a formula of C which includes girls’ names starting with G and draw Euler Diagram
A = {People who have a bike}
B = {People who have a car}
C = {People who have a skateboard}
Write down a formula of D which includes people having bikes, cars, skateboards and draw Euler Diagram
A = {Teachers doing lectures and seminars at bachelor’s program “Sociology and Social Informatics”}
B = {Teachers working at department of Management and Economics}
Write down a formula of C which includes Teachers working at department of Management and Economics and doing lectures and seminars for sociologists and draw Euler Diagram
A = {Muslim countries}
B = {Countries with high life expectancy}
C = {Countries with high income per person}
Write down a formula of D which includes Muslim countries with high life expectancy and high income and draw Euler Diagram
Use Gapminder to answer this question
\(S \setminus T = \left\{{x \in S: x \notin T}\right\}\)
A = {People playing Dota}
B = {People playing Counter Strike}
Write down a formula of C which includes those who play only Dota and draw Euler Diagram
A = {People who have iOS device}
B = {People who have Android device}
Some students have smartphones or tablets with Android or iOS only and some students have smartphones or tablets with both systems.
Write down a formula of C which includes those who have only Android devices and draw Euler Diagram
\(S - T = (S \setminus T) \cup (T \setminus S)\)
A = {People who have iOS device}
B = {People who have Android device}
Some students have smartphones or tablets with Android or iOS only and some students have smartphones or tablets with both systems.
Write down a formula of C which includes those who have only Android or iOS devices and draw Euler Diagram
What does C include?
\(A^c = U ∖ A\)
A = {red cars, black cars, white cars}
U = {cars of all possible colors}
Cars of which colors will be in \(A^c\) ?
U = {People who have any device}
A = {People who have iOS device}
All students have smartphones and some of them have iOS device.
Let C include people who don’t have iOS devices.
What does C include?
Draw using Euler Diagram
The teacher asks the group of students:
How many students are studying academic writing? – 15
How many students are studying programming? – 13
How many students do not study any of two subjects? – 5
The group consists of 26 students.
How many students are studying programming, but not studying academic writing?
A = {Volkswagen, Jeep, Ferrari, Audi, Bugatti, Citroёn, Honda, Mazda}
B = {Fiat, Ford, Audi, Honda, Chrysler, Buick, Jeep}
Count a cardinality for \(A \cup B\)?