集合

作者: 赤蛇 | 来源:发表于2023-12-18 08:07 被阅读0次

集合!今天我们来学集合(*^_^*)

集合定义

Set(集合)-collection of distinct objects

Element(元素)-each object in the set

Empty Set(空集)-a set does not contain any elements, symbol: ø

Subset(子集)-for two sets A and B, if B contains all the elements of A, then A is a subset of B

Universal Set(全集)-the set contains all the elements of the situation under consideration

Complement(补集)-in a universal set, the complement of the set A A' is the set of all the elements that do not belong to A

Venn Diagram(韦恩图)-diagrams drawn below️, used to show the relationships between sets

Venn diagrams

Union(并集)-the union of two sets is the set of all the elements that belong to either one of the set or the other or both

Intersection(交集)-the intersection of two sets is the set of all the elements that belong to both

Union&Intersection

当集合被用于概率性研究

Possible Outcomes -所有可能结果,如图A与B'的交集,其Possible outcomes即黑点、白点和星星;图A'并B'中,possible outcome就只有白点

Sample Space (S) -formed by all of the possible outcomes

Favorable Outcome -特定结果,如A交B'中,favorable outcome就是黑点,而A'与B'的并集中,没有favorable outcome

Event (E) -a subset of the sample space, representing a specific outcome or a combination of outcomes.

Impossible Event -contains no outcomes, 在韦恩图中是个空集

Using Set Language in Possibility

Mutually Exclusive Events -two sets that cannot occur at the same time, 韦恩图中两个集合不会相交重合

Non-mutually Exclusive Events -two sets that can occur at the same time, 韦恩图中两个集合会相交重合

Mutually Exclusive Events&Non-mutually Exclusive Events

Complementary Event -如下图,从universal set U中抽取elements, 抽到的不是黑点就会是白点,不会有第三种情况。这种情况就是两个事件互为complementary events。在Venn Diagram中,这两个setsA'与B'的交集并A与B的交集和A与B'的交集并A'与B的交集互为complementary sets

Complementary Events

各类知识点例题+易错点(注意点)

第一题

相关文章

  • 我的Swift的学习总结 -->第二周

    集合 集合:Set,定义一个集合可以写成:var 集合名 : Set<集合类型> = [集合元素],具体的集合应用...

  • markdown 测试

    集合 集合 集合 引用

  • kotlin学习第五天:集合,高阶函数,Lambda表达式

    集合 list集合 list集合分为可变集合与不可变集合。由list of创建的集合为不可变集合,不能扩容,不能修...

  • kotlin练习 ---- 集合练习

    kotlin练习 - 集合练习 Set集合 Set集合创建 Set集合的使用 List集合 List集合创建 Li...

  • 集合总结

    集合 集合分为单列集合和双列集合两种: 一.单列集合: Collection是单列集合的顶级接口: 其中有三类集合...

  • 映射、元组、集合

    映射 元组 集合 集合之seq 集合之set 集合之map

  • 16.Collection集合

    主要内容: Collection 集合 迭代器 增强for List 集合 Set 集合 1,集合 集合是java...

  • 集合与有序集合

    集合分为有序集合 (zset) 和无序集合 (set), 一般无序集合也直接说成集合 无序集合 (set) 无序集...

  • python入坑第八天|集合

    好的,各位蛇友,我们今天来学习集合。 内容: 集合的创建 集合操作符号 集合的内置函数 集合的创建 集合用set(...

  • 集合框架

    集合框架的概念 集合:存放数据的容器 集合框架:java中,用于表示集合,以及操作集合的类和接口的统称 数组与集合...

网友评论

    本文标题:集合

    本文链接:https://www.haomeiwen.com/subject/ogrdwdtx.html