当前位置:网站首页>What are the concepts of union, intersection, difference and complement?
What are the concepts of union, intersection, difference and complement?
2022-07-04 14:50:00 【joshua317】
This paper is about joshua317 Original article , Reprint please indicate : Reprinted from joshua317 Blog Combine 、 intersection 、 Difference set 、 What is the concept of complement ? - joshua317 The blog of
1 Combine
remember A,B It's two sets , To belong to A Or of B The element of is a collection of elements called A And B And ( Set ), Write it down as A∪B( or B∪A), pronounce as “A and B”( or “B and A”), namely A∪B={x|x∈A, or x∈B} .
2 intersection
remember A,B It's two sets , To belong to A And belongs to B The element of is a collection of elements called A And B Of ( Set ), Write it down as A∩B( or B∩A), pronounce as “A hand over B”( or “B hand over A”), namely A∩B={x|x∈A, And x∈B}
3 Difference set
remember A,B It's two sets , Then all belong to A And it doesn't belong to B A collection of elements , It's called a collection A Subtractive set B( Or set A And assemble B The difference between the ), Similarly , For collection A、B, Assemble {x∣x∈A, And x∉B} be called A And B The difference between the set .
4 Complement set
remember A,U It's two sets , It belongs to the complete works U It doesn't belong to a collection A The set composed of elements of is called set A The complement of , Write it down as CuA, namely CuA={x|x∈U, And x Do not belong to A}.
5 Extended data
Morgan's law , Also called inversion law , It can be simply described as : The complement of the intersection of two sets is equal to the union of their respective complements , The complement of the union of two sets is equal to the intersection of their respective complements .
If we gather A、B It's the whole book U Two subsets of , Then the following relationship is established :
(1)∁U(A∩B)=(∁UA)∪(∁UB), namely “ Make up for it ” be equal to “ Complement and merge ”;
(2)∁U(A∪B)=(∁UA)∩(∁UB), namely “ Make up for it ” be equal to “ At the turn of mending ”
This paper is about joshua317 Original article , Reprint please indicate : Reprinted from joshua317 Blog Combine 、 intersection 、 Difference set 、 What is the concept of complement ? - joshua317 The blog of
边栏推荐
- C language course design questions
- 潘多拉 IOT 开发板学习(RT-Thread)—— 实验3 按键实验(学习笔记)
- LeetCode 1200 最小絕對差[排序] HERODING的LeetCode之路
- Node mongodb installation
- 软件测试之测试评估
- A collection of classic papers on convolutional neural networks (deep learning classification)
- Combined with case: the usage of the lowest API (processfunction) in Flink framework
- LVGL 8.2 List
- Xcode abnormal pictures cause IPA packet size problems
- Yyds dry goods inventory # solve the real problem of famous enterprises: continuous maximum sum
猜你喜欢
Docker compose public network deployment redis sentinel mode
如何配和弦
5g TV cannot become a competitive advantage, and video resources become the last weapon of China's Radio and television
Talk about 10 tips to ensure thread safety
Node mongodb installation
Ali was laid off employees, looking for a job n day, headhunters came bad news
How to match chords
Halo effect - who says that those with light on their heads are heroes
Leetcode T48: rotating images
深度学习 神经网络的优化方法
随机推荐
92. (cesium chapter) cesium building layering
An overview of 2D human posture estimation
Leetcode t47: full arrangement II
Is it safe to open an account online for stock speculation? Will you be cheated.
Leetcode 61: rotating linked list
【C语言】指针笔试题
LVGL 8.2 Line
A keepalived high availability accident made me learn it again
Digi XBee 3 RF: 4个协议,3种封装,10个大功能
Ranking list of databases in July: mongodb and Oracle scores fell the most
Exploration and practice of eventbridge in the field of SaaS enterprise integration
Solutions to the problems of miui12.5 red rice k20pro using Au or povo2
Query optimizer for SQL optimization
Talk about 10 tips to ensure thread safety
Is BigDecimal safe to calculate the amount? Look at these five pits~~
No servers available for service: xxxx
LVGL 8.2 Draw label with gradient color
openresty 重定向
Nowcoder rearrange linked list
LVGL 8.2 Sorting a List using up and down buttons