离散数学期末复习

文章目录

Logic

一些基础性的东西就不在这里赘述了。

Predicates

在这里插入图片描述

Quantifier

在这里插入图片描述
在这里插入图片描述

Something need to be payed attention to

对于 ∀ \forall 来说,一般采用的方式为: ∀ x ( Q ( x ) → P ( x ) ) \forall x(Q(x)\rightarrow P(x)) x(Q(x)P(x));
而对于 ∃ \exist 来说,一般采用的方式为: ∃ x ( Q ( x ) ) ∧ P ( x ) ) \exist x(Q(x))\land P(x)) x(Q(x))P(x))

Exactly One

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

Rules of Inference

在这里插入图片描述

Set

这节内容较为简单,只列出重要部分

Set Notation with Quantifiers

在这里插入图片描述

Property

在这里插入图片描述

Generalized Unions and Intersections

在这里插入图片描述

One to One Function

在这里插入图片描述

Onto Functions

在这里插入图片描述

One-to-one and Onto Functions

在这里插入图片描述

Inverse Functions

  • A function having an inverse function is called invertible
    说明其不是可逆,只需要验证其不是one to one
    要说明其可逆,需要验证它既是one to one 而且onto

Composition of Function

在这里插入图片描述

Relation

Representation form

normal form

在这里插入图片描述

Graph

在这里插入图片描述

Matrix

在这里插入图片描述

Relation on One Set

Relation on the set A is a relation from A to A.即为自身和自身的一种关系

Relation Properties(important point)

definition

这里要记清楚定义,用定义来判断

在这里插入图片描述
在这里插入图片描述

Graph

在这里插入图片描述
在这里插入图片描述

Matrix

在这里插入图片描述
在这里插入图片描述

Some special cases

If it only exits one element,then
在这里插入图片描述

Combining Relations

set form

在这里插入图片描述
在这里插入图片描述

Matrix

在这里插入图片描述

Composite

在这里插入图片描述
表示的形式是从右向左。

Properties

在这里插入图片描述

在这里插入图片描述

Matrix

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
和矩阵的乘法类似,每一行乘于每一列对应的元素。
PS:这里的顺序是倒过来的

The property of relation on one set

在这里插入图片描述
2.
在这里插入图片描述
3.
在这里插入图片描述
4.
If R is transitive, Rn is also transitive

n-ary Relation

在这里插入图片描述

Closure

Minimum terms are added to R to fulfill the requirements of property P

Reflexive Closure

在这里插入图片描述

Symmetric Closure

在这里插入图片描述

Transitive Closure

在这里插入图片描述
传递闭包是闭包里较为复杂的,这里需仔细复习。
在这里插入图片描述
Some rule:

  • Let A be a set with n elements, and let R be a relation on A
  • If there is a path from a to b, then the length of this path will not exceed n
Theorem

在这里插入图片描述

Warshall’s Algorithm

Warshall’s Algorithm can reduce the complexity of R* calculation
在这里插入图片描述
用于简化计算。

Theorem

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

Equivalence

Definition

A relation R on a set A is an equivalence relation iff R is reflexive, symmetric and transitive

Partition

在这里插入图片描述
1.
在这里插入图片描述
2.
在这里插入图片描述
3.
在这里插入图片描述

Partial Order

在这里插入图片描述

  • Partially Ordered Set
    在这里插入图片描述
  • Comparability
    The elements a and b of a poset(S, ≤ \le ) are called comparable if either a ≤ \le b or b ≤ \le a;
    otherwise, a and b are imcomparable
Non-Strict & Strict Partial Order

在这里插入图片描述

Total Order

在这里插入图片描述

Lexicographic Order

Lexicographic Order is a generalization of the way the alphabetical order of words is based on the alphabetical order of letters

Hasse Diagrams

Show the partial ordering using a graph
在这里插入图片描述

Covering Relation

在这里插入图片描述
即为直接相连的意思

Minimal/Maximal Element

在这里插入图片描述
在给出的集合中该元素上面或下面没有其他元素了

Least/Greatest Element

在这里插入图片描述
在给出的集合中,任意得元素比最大值小,比最小值大

Well Ordered

在这里插入图片描述

Lower/Upper Bound

在这里插入图片描述
这里的集合范围扩大到全集,对于任意在S上的元素

Greatest Lower/Least Upper Bound

在这里插入图片描述
这里即为去其中最小的或最大的边界

Lattice

A partially ordered set in which every pair of elements has both a least upper bound and a greatest lower bound is called a lattice
在这里插入图片描述
在这里插入图片描述

Distributive Lattice

在这里插入图片描述
每行只有1个或2个元素

Bounded Lattice

在这里插入图片描述

Complemented Lattice

在这里插入图片描述

Counting

一些高中学过比较基础的东西这里就不写了。

permutation and combination

在这里插入图片描述
在这里插入图片描述
重点:注意隔板法的应用。

Generating Combinations

在这里插入图片描述

Next Larger Bit String

在这里插入图片描述
从右往左操作,完成一个流程就到下一个数。
这种算法的原理是从右往左,把1置为0,直至到0这位,把后把0这位置为1

Next Larger r-combinations

在这里插入图片描述
这里的r是指集合里有多少个元素。
算法的原理是选完小的,再选大的。比如在{1,2,3,4,5,6}中。{1,2,3,4},{1,2,3,5},{1,2,4,5},{1,3,4,5}……

Generating Permutations

在这里插入图片描述

The basic Algorithm

在这里插入图片描述
即为按字典序排序。
中文翻译过来,过程大致如下:

  1. 从右往左找出符合 a j a_j aj< a j + 1 a_{j+1} aj+1的j的值
  2. 找出符合 a j a_j aj< a k a_{k} ak的k的值 (k从n开始减小)
  3. 互换 a j a_j aj a k a_{k} ak
  4. 互换 a s a_s as a r a_r ar (s从j+1开始增加,r从n开始减小)
r-Permutations

在这里插入图片描述

Pigeonhole Principle

  • If k is a positive integer and k + 1 or more objects are placed into k boxes, then there is at least one box containing two or more of the object,called the Dirichlet Drawer Principle
Generalized Pigeonhole Principle
  • If N objects are placed into k boxes, then there is at least one box containing at least ⌈ N / k ⌉ \lceil N/k\rceil N/k objects

Subsequence

  • A subsequence of this sequence is a sequence of the form a i 1 , a i 2 , a i 3 , ⋯ a i m a_{i_1},a_{i_2},a_{i_3},\cdots a_{i_m} ai1,ai2,ai3,aim,where 1 < i 1 < i 2 < ⋯ < i m < N 1<i_1<i_2<\cdots <i_m<N 1<i1<i2<<im<N
  • A sequence is called strictly increasing if each term is larger than the one that precedes it(严格单调递增)
  • A sequence is called strictly decreasing if each term is smaller than the one that precedes it(严格单调递减)
Theorem
  • Every sequence of n 2 n^2 n2 + 1 distinct real numbers contains a subsequence of length n + 1 that is either strictly increasing or strictly decreasing

Ramsey Theory

  • Ramsey theory, after the English mathematician F. Ramsey, deals with the distribution of subsets of elements of sets.
  • The rules are as follows:
    在这里插入图片描述
    在这里插入图片描述

Recurrence Relations

中文:递推关系

  • The initial conditions for a sequence specify the terms that precede the first term where the recurrence relation takes effect
  • A sequence is determined uniquely by Recurrence relation and Initial conditions.

Solving Linear Recurrence Relation(考试重点)

  • The Definition of LiHoReCoCo
    在这里插入图片描述

  • The procedure
    在这里插入图片描述

  • 如果出现重根的情况,那么第二个参数要多乘一个n

  • k 阶的表达式也差不多
    在这里插入图片描述

Generating Functions

在这里插入图片描述

Extended Binomial Theorem

( n r ) = C ( n , r ) = C n r \dbinom{n}{r}=C(n,r)=C_n^r (rn)=C(n,r)=Cnr
在这里插入图片描述

Graph

在这里插入图片描述

Graph structure

在这里插入图片描述
2.
在这里插入图片描述
However, Multigraph doesn’t allow loop.
3. But Pseudograph is a special multigraph allows loop.
在这里插入图片描述

Adjacent/Neighbor

在这里插入图片描述
在这里插入图片描述

Neighbor Set

Neighbor Set N(v) contains all adjacent vertices of v

Degree

  • For undirected graph,number of edges containing that vertex (Adjacent vertex number)
  • For directed graph, degrees mean In-Degree and Out-Degree
    在这里插入图片描述
    PS: Pendant vertex means 悬挂点,只有一条边与之相连

Degree Sequence

A degree sequence is a monotonic nonincreasing sequence of the degrees of vertices in an undirected graph.
For emample, (3,2,2,2,1,0)

HandShaking Theorem

中文名:握手定理
1.
在这里插入图片描述
2.
在这里插入图片描述
3.
在这里插入图片描述

Path

A path is simple if all vertices on the path are distinct

Cycle (Circuit)

在这里插入图片描述

Acyclic

在这里插入图片描述

Connectedness

在这里插入图片描述
a-b-e 和 a-e are two connected component

Connectedness

在这里插入图片描述

Complete Graph

在这里插入图片描述

Cycle Graph

在这里插入图片描述
Just a circle

Wheel Graph

在这里插入图片描述
just like a wheel ,where there has a middle point

Cube

在这里插入图片描述

Bipartite Graph

在这里插入图片描述
在这里插入图片描述
And the number of vertex in the circle should be even.

Complete Bipartite Graph

在这里插入图片描述

Subgraph

在这里插入图片描述

Union

在这里插入图片描述

Graph Isomorphism

中文名:图形同构
在这里插入图片描述
在这里插入图片描述

Euler and Hamiltonian Path

在这里插入图片描述

Euler Path

在这里插入图片描述
欧拉路径判断:能否从某个顶点出发,只经过每条边当且一次
欧拉回路:能否从某个顶点出发,只经过每条边当且一次且最后回到这个顶点

Some Obeservation

在这里插入图片描述

Theorem

在这里插入图片描述
利用这个定理可以较快得判断是否是欧拉路径

Fleury’s Algorithm

在这里插入图片描述
这个算法的目的告诉你欧拉路径怎么走,而前面说的只是判断它是不是欧拉路径。

Hierholzer’s Algorithm

在这里插入图片描述

Hamiltonian Path

在这里插入图片描述

Dirac’s and Ore’s Theorem

在这里插入图片描述
2.
在这里插入图片描述
However,
在这里插入图片描述

Planar Graph

在这里插入图片描述
注意: Planar Graph 是can be drawn, 而plane 是drawn
在这里插入图片描述

Region

在这里插入图片描述

  • boundary
    在这里插入图片描述

  • Bridge
    Bridge is on the boundary of only one region (unbounded region)

  • Example
    K 3 , 3 K_{3,3} K3,3 is not a planar

Euler’s Formular

在这里插入图片描述

Corollary
  • If a connected planar simple graph, then G has a vertex of degree not exceeding 5
  • If a connected planar simple graph has e edges and v vertices with v ≥ 3, then e ≤ 3v – 6
  • If a connected planar simple graph has e edges and v vertices with v ≥ 3 and no circuits of length three, then e ≤ 2v – 4
    通过推论来判断该图形是不是planar

Homeomorphic

在这里插入图片描述

Kuratowski’s Theorem

The graph is not planar if it contains a nonplanar subgraph.
A graph is nonplanar iif it contains a subgraph homeomorphic to K 3 , 3 K_{3,3} K3,3 or K 5 K_5 K5

Coloring

  • Two regions sharing a border are assigned different colors
  • The smallest number of colors needed to produce a proper coloring of G
Example

在这里插入图片描述
Bipartite Graph only need 2 colors

Small conclusion

在这里插入图片描述

Abstract Algebra

  • 说明:考试只考Group Theory,所以这里只复习这块的内容

Group

Definition

Any mathematics systems that always havean unique solution

Characteristic: closure,associativity,identity, inverse

在这里插入图片描述
* A commutative group is called Abelian Group(a ⋅ \cdot b=b ⋅ \cdot a),in other word,it is symmetric

Therom
  1. The identity element of a group is unique
  2. If a and b are elements of a group and a • b = e, then b = a-1
  3. If a • x = b • x then a = b so as x ⋅ \cdot a=x ⋅ \cdot b
  4. The inverse of a • b is b − 1 ⋅ a − 1 b^{-1}\cdot a^{-1} b1a1
  5. ( a − 1 ) − 1 (a^{-1})^{-1} (a1)1 = a and e − 1 e^{-1} e1 = e
Cayley Table

nihao
4.Each row and each column of the inner table contains each element exactly once

Law of Exponents

在这里插入图片描述

Subgroup

在这里插入图片描述
在这里插入图片描述

Coset

The subgroup can be shift by operation, which is Coset
在这里插入图片描述

Lemma

在这里插入图片描述
只要一个成立了,所有都成立。

Theorem
  1. Let H be a subgroup of a group G. Then left cosets of H in G partition G.That means the group G is the disjoint union of the left cosets of H in G
  2. Let H be a subgroup of a group G. The number of left cosets of H in G is the same as the number of right cosets of H in G
  3. Let H be a finite subgroup of a group G.Then each left coset of H in G has the same number of elements as H.

The Theorem above also for right coset

Cyclic Group
  • Groups that can be generated in their entirety from one member (called generator) are called cyclic groups.
Theorem
  1. Every cyclic group is abelian
  2. Every subgroup of a cyclic group is cyclic
  3. Let G be a cyclic group of order n and suppose that a is a generator for G. Then a k a^k ak = e if and only if n divides k。
    也就是说 n 是满足 a k a^k ak = e的最小的数
  • 3
    点赞
  • 30
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值