离散数学
文章平均质量分 76
_tianyuxue
这个作者很懒,什么都没留下…
展开
-
Unit 1-Lecture 4:Logical & Propositions
Logic and Proposition原创 2016-12-27 19:19:58 · 584 阅读 · 0 评论 -
Unit 2-Lecture6: Directed Acyclic Graphs & Scheduling
1 DAG Definition: A directed acyclic graph (DAG) is a directed graph with no cycles.2 Scheduling2.1 Topological SortA topological sort of a finite DAG is a list of all the vertices such that each verte原创 2017-01-26 14:10:17 · 427 阅读 · 0 评论 -
Unit 2-Lecture 3-4: Euler's Theorem & RSA Public key Encryption
Unit 2-Lecture 3-4: Euler’s Theorem & RSA Public key Encryption1 Euler’s Theorem原创 2017-01-22 11:16:40 · 469 阅读 · 0 评论 -
Unit 3-Lecture1: Sum & Product
1 SumsArithmetic sumsGeometric sumsHarmonic sums1.1 Integral methodTheorem: let f:R+→R+ f: R^+ \to R^+ be weakly increasing function. Define S::=∑i=1nf(i)S ::= \sum_{i=1}^nf(i) and I::=∫n1f(x原创 2017-02-15 16:46:38 · 350 阅读 · 0 评论 -
Unit 2-Lecture7: Summary of Relational Properties
A relation R:A→AR: A \to A is the same as a digraph with vertices A. - Reflexivity: R is reflexive when ∀x∈A.xRx\forall x \in A.xRx Every vertex in R has a self-loop. - Irreflexivity: R is irr原创 2017-02-03 20:52:28 · 251 阅读 · 0 评论 -
Unit 2-Lecture8: Degrees & Isomorphism
1 Simple graphsSimple graphs are defined as digraphs in which edges are undirected.2 Handshaking LemmaThe sum of the degrees of the vertices in a graph equals twice the number of edges.3 Some Common Gr原创 2017-02-03 20:58:06 · 287 阅读 · 0 评论 -
#Unit 3-Lecture 4:Repetitions & Binomial Theorem
1 The Division RuleA k-to-1 function maps exactly k elements of the domain to every element of the codomain. Rule: If f:A→B is k−to−l, then |A|=k⋅|B|If\ \ f:A \to B\ \ is\ \ k-to-l,\ then\ \ |A|原创 2017-03-04 22:31:11 · 278 阅读 · 0 评论 -
Unit 3-Lecture 5: The Pigeonhole Principle and Inclusion-Exclusion
1 The Pigeonhole PrinciplePigeonhole Principle: If there are more pigeons than holes they occupy, then at least two pigeons must be in the same hole. Generalized Pigeonhole Principle: If |a|>k⋅|b| |原创 2017-03-10 10:31:10 · 363 阅读 · 0 评论 -
Unit 4-Lecture 1:Intro to Discrete Probability
1 The Four Step Method to Solve Problems like “What is the probability that… ?” Step 1: Find the Sample Space:Every possible combination of these randomly-determined quantities is called an outcome.T原创 2017-03-10 10:35:23 · 319 阅读 · 0 评论 -
Unit 4-Lecure 2: Conditional Probability
1 Conditional Probility1.1 DefinitionLet X and Y be events where Y has positive probability, then Pr[X|Y]::=Pr[X∩Y]Pr[Y]Pr[X|Y] ::= \frac{Pr[X\cap Y]}{Pr[Y]}1.2 The Four Step Method for Conditional原创 2017-03-11 12:50:35 · 374 阅读 · 0 评论 -
Unit 4-Lecture 3: Independence
1 IndependenceDefinition:An event with probability 0 is defined to be independent of every event (including itself).If Pr[b]≠0Pr[b] \neq 0 , then the event A is independent of event B iff Pr[A|B]=Pr[原创 2017-03-12 17:56:06 · 303 阅读 · 0 评论 -
Unit 4-Lecture 4: Random Variable
1 Random Variable1.1 Definition:A random variable R on a probability space is a total function whose domain is the sample space.Notice that the name “random variable” is a misnomer, random variables原创 2017-03-14 11:16:24 · 550 阅读 · 0 评论 -
Unit 2-Lecture 5: Walks & Paths
1 Vertex DegreesDefinition: The in-degree of a vertex in a digraph is the number of arrows coming into it, and similarly its out-degree is the number of arrows out of it.Hand shake theory:Lemma: ∑原创 2017-01-24 14:00:37 · 488 阅读 · 0 评论 -
Unit 3-Lecture3: Counting with Bijections
1 Counting One Thing by Counting AnotherThe Bijection Rule: if you figure out the size of one set, then you can immediately determine the sizes of many other sets via bijections.2 Counting SequencesPro原创 2017-03-02 10:12:42 · 343 阅读 · 0 评论 -
Unit 2-Lecture 2: Modular Arithmetic
Modular Arithmetic原创 2017-01-19 19:32:57 · 328 阅读 · 0 评论 -
Unit 1-Lecture 3:Well Order Principle (WOP)
Well Order Principle : Every nonempty set of nonnegative integers has a smallest element.原创 2016-12-25 08:21:00 · 759 阅读 · 0 评论 -
Unit 1-Lecture 2:证明的方法
Unit 1-Lecture 2:证明的方法原创 2016-12-21 12:39:59 · 359 阅读 · 0 评论 -
Unit 1-Lecture 1:证明简介
Proof基本概念的定义原创 2016-12-19 14:35:40 · 288 阅读 · 0 评论 -
Unit 1-Lecture 5:Quantifiers & Predicate Logic
Quantifiers and Predicate Logic原创 2016-12-29 09:31:42 · 399 阅读 · 0 评论 -
Unit 1-Lecture 6:Sets and Sequence
Set and Sequence原创 2017-01-01 09:07:46 · 321 阅读 · 0 评论 -
Unit 1-Lecture 7:Binary Relation & Function
Binary Relation & Function原创 2017-01-03 20:33:02 · 656 阅读 · 0 评论 -
Unit 1-Lecture 8:Induction
Induction原创 2017-01-07 10:23:45 · 391 阅读 · 0 评论 -
Unit 1-Lecture 9:State Machine
State Machine原创 2017-01-08 08:28:48 · 441 阅读 · 0 评论 -
Unit 1-Lecture 10:Recursive Data Type
Recursive Data Type原创 2017-01-10 22:24:48 · 345 阅读 · 0 评论 -
Unit 2-Lecture9: Coloring & Connectivity
Unit 2-Lecture9: Coloring & Connectivity1 ColoringGraph coloring problem: given a graph G, assign colors to each node such that adjacent nodes have different colors. Chromatic number: The minimum valu原创 2017-02-09 23:58:18 · 264 阅读 · 0 评论 -
Unit 2-Lecture10: Forests & Tree
1 DefinitionAn acyclic graph is called a forest. A connected acyclic graph is called a tree. A degree 1 node in a forest is called a leaf.2 Properties of TreeEvery connected subgraph is a tree.Ther原创 2017-02-09 23:59:11 · 293 阅读 · 0 评论 -
Unit 4-Lecture 5: Expectation
1 Exception1.1 Definition:If R is a random variable defined on a sample space S, then the expectation of R is: Ex[R]::=∑w∈SR(ω)Pr[ω]Ex[R] ::= \sum_{w\in S}R(\omega)Pr[\omega]Alternate Definition for原创 2017-03-15 16:01:09 · 538 阅读 · 0 评论