当前位置:网站首页>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
边栏推荐
- Five minutes per day machine learning: use gradient descent to complete the fitting of multi feature linear regression model
- LVGL 8.2 Line
- Opencv learning notes - linear filtering: box filtering, mean filtering, Gaussian filtering
- Leetcode 1200 minimum absolute difference [sort] The Path of leetcode for heroding
- LVGL 8.2 keyboard
- Detailed analysis of pytorch's automatic derivation mechanism, pytorch's core magic
- 现代控制理论入门+理解
- 深度学习 神经网络案例(手写数字识别)
- 深度学习7 Transformer系列实例分割Mask2Former
- No servers available for service: xxxx
猜你喜欢
Ultrasonic distance meter based on 51 single chip microcomputer
潘多拉 IOT 开发板学习(RT-Thread)—— 实验3 按键实验(学习笔记)
Practical puzzle solving | how to extract irregular ROI regions in opencv
LVGL 8.2 text shadow
Kubernets Pod 存在 Finalizers 一直处于 Terminating 状态
自动控制原理快速入门+理解
Data center concept
信号处理之一阶RC低通滤波器宏指令实现(繁易触摸屏)
【C语言】指针笔试题
Programmers exposed that they took private jobs: they took more than 30 orders in 10 months, with a net income of 400000
随机推荐
Digi XBee 3 RF: 4个协议,3种封装,10个大功能
Node mongodb installation
PLC Analog input analog conversion FC s_ ITR (CoDeSys platform)
LVLG 8.2 circular scrolling animation of a label
Ranking list of databases in July: mongodb and Oracle scores fell the most
Pandora IOT development board learning (RT thread) - Experiment 3 button experiment (learning notes)
UFO: Microsoft scholars have proposed a unified transformer for visual language representation learning to achieve SOTA performance on multiple multimodal tasks
Openresty redirection
leetcode:6109. Number of people who know the secret [definition of DP]
(1) The standard of performance tuning and the correct posture for tuning - if you have performance problems, go to the heapdump performance community!
leetcode:6110. The number of incremental paths in the grid graph [DFS + cache]
内存管理总结
Transplant tinyplay for imx6q development board QT system
SAIC Maxus officially released its new brand "mifa", and its flagship product mifa 9 was officially unveiled!
Count the running time of PHP program and set the maximum running time of PHP
Codeforce:c. sum of substrings
Yyds dry goods inventory # solve the real problem of famous enterprises: continuous maximum sum
开发中常见问题总结
SqlServer函数,存储过程的创建和使用
Respect others' behavior