Summary 3 Discrete Probability (sections )

Slides:



Advertisements
Similar presentations
Chapter 9 Graphs.
Advertisements

Graph-02.
 Graph Graph  Types of Graphs Types of Graphs  Data Structures to Store Graphs Data Structures to Store Graphs  Graph Definitions Graph Definitions.
Representing Relations Using Matrices
1 Representing Graphs. 2 Adjacency Matrix Suppose we have a graph G with n nodes. The adjacency matrix is the n x n matrix A=[a ij ] with: a ij = 1 if.
1 Section 8.2 Graph Terminology. 2 Terms related to undirected graphs Adjacent: 2 vertices u & v in an undirected graph G are adjacent (neighbors) in.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Wednesday, 9/26/01 Graph Basics.
Discrete Structures Chapter 7A Graphs Nurul Amelina Nasharuddin Multimedia Department.
CSE 321 Discrete Structures Winter 2008 Lecture 25 Graph Theory.
CTIS 154 Discrete Mathematics II1 8.2 Paths and Cycles Kadir A. Peker.
Graphs G = (V,E) V is the vertex set. Vertices are also called nodes and points. E is the edge set. Each edge connects two different vertices. Edges are.
Applied Discrete Mathematics Week 12: Trees
KNURE, Software department, Ph , N.V. Bilous Faculty of computer sciences Software department, KNURE Discrete.
Discrete Mathematics Lecture 9 Alexander Bukharovich New York University.
Let us switch to a new topic:
Applied Discrete Mathematics Week 10: Equivalence Relations
9.2 Graph Terminology and Special Types Graphs
GRAPH Learning Outcomes Students should be able to:
Graph Theoretic Concepts. What is a graph? A set of vertices (or nodes) linked by edges Mathematically, we often write G = (V,E)  V: set of vertices,
1 Graphs Chapters 9.1 and 9.2 University of Maryland Chapters 9.1 and 9.2 Based on slides by Y. Peng University of Maryland.
GRAPHS CSE, POSTECH. Chapter 16 covers the following topics Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component,
Module #19: Graph Theory: part I Rosen 5 th ed., chs. 8-9 내년 3 월 ? 교환 학생 프로그램 영어 점수 미리미리 준비하세요.
Fall 2015 COMP 2300 Discrete Structures for Computation Donghyun (David) Kim Department of Mathematics and Physics North Carolina Central University 1.
7.1 and 7.2: Spanning Trees. A network is a graph that is connected –The network must be a sub-graph of the original graph (its edges must come from the.
Tree A connected graph that contains no simple circuits is called a tree. Because a tree cannot have a simple circuit, a tree cannot contain multiple.
1 CS104 : Discrete Structures Chapter V Graph Theory.
MATH 370 Final Review Chapter Know this well Chapter 5 and 6: Counting/ Probability Basic counting P(n,r), C(n,r), C(n-1+r,r),… Basic probability,
Graphs What are Graphs? General meaning in everyday math: A plot or chart of numerical data using a coordinate system. Technical meaning in discrete.
Data Structures & Algorithms Graphs
1/24 Introduction to Graphs. 2/24 Graph Definition Graph : consists of vertices and edges. Each edge must start and end at a vertex. Graph G = (V, E)
September1999 CMSC 203 / 0201 Fall 2002 Week #13 – 18/20/22 November 2002 Prof. Marie desJardins.
A Brief Summary for Exam 2 Subject Topics Number theory (sections ) –Prime numbers Definition Relative prime Fundamental theorem of arithmetic.
Chapter Relations and Their Properties
Data Structures & Algorithms Graphs Richard Newman based on book by R. Sedgewick and slides by S. Sahni.
GRAPHS. Graph Graph terminology: vertex, edge, adjacent, incident, degree, cycle, path, connected component, spanning tree Types of graphs: undirected,
 Quotient graph  Definition 13: Suppose G(V,E) is a graph and R is a equivalence relation on the set V. We construct the quotient graph G R in the follow.
Discrete Structures CISC 2315 FALL 2010 Graphs & Trees.
Chapter 9: Graphs.
CSCI 115 Course Review.
Chap 7 Graph Def 1: Simple graph G=(V,E) V : nonempty set of vertices E : set of unordered pairs of distinct elements of V called edges Def 2: Multigraph.
1 GRAPH Learning Outcomes Students should be able to: Explain basic terminology of a graph Identify Euler and Hamiltonian cycle Represent graphs using.
Relations and Graphs Relations and Graphs Sanjay Jain, Lecturer, School of Computing.
رياضيات متقطعة لعلوم الحاسب MATH 226. Chapter 10.
1 Graphs Chapters 10.1 and 10.2 University of Maryland Chapters 10.1 and 10.2 Based on slides by Y. Peng University of Maryland.
Representing Relations Using Digraphs
Applied Discrete Mathematics Week 14: Trees
Relations Chapter 9.
Chapter 9 (Part 2): Graphs
Matrix Representation of Graphs
Let us switch to a new topic:
Applied Discrete Mathematics Week 13: Graphs
Special Graphs By: Sandeep Tuli Astt. Prof. CSE.
Graphs Hubert Chan (Chapter 9) [O1 Abstract Concepts]
Chapters 8.1 and 8.2 Based on slides by Y. Peng University of Maryland
Discrete Structures – CNS2300
Graphs Chapters 10.1 and 10.2 Based on slides by Y. Peng University of Maryland.
Graphs.
Based on slides by Y. Peng University of Maryland
Rosen 5th ed., chs. 8-9 ~44 slides (more later), ~3 lectures
Chapters 8.1 and 8.2 Based on slides by Y. Peng University of Maryland
Relations (sections 7.1 – 7.5)
CS100: Discrete structures
Connectivity Section 10.4.
Let us switch to a new topic:
Proof Techniques.
Graphs G = (V, E) V are the vertices; E are the edges.
CSE 321 Discrete Structures
Applied Discrete Mathematics Week 13: Graphs
Exam 3 review Chapter 9- Graphs.
4.4 Properties of Relations
Presentation transcript:

Summary 3 Discrete Probability (sections 5.1 - 5.2) Experiments, outcomes, and sample space Use counting techniques to determine sample space p(s) for each sS 0  p(s)  1 for each sS sS p(s) = 1 If all outcome are equally probable, then p(s) = 1/|S| Events and event probability E  S, P(E) = |E|/|S| or P(E) = sE p(s) Use counting techniques to determine samples in E Complementary event: P(E) = 1 – P(-E).

Conditional probability P(E|F) Definition: probability of E, given F (or in subspace F S) Relation to joint probability P(E|F) = P(EF)/P(F) or P(E|F) = |EF|/|F| P(EF) = P(E|F)P(F) = P(F|E)P(E) Inclusion-exclusion rule: P(EF) = P(E) + P(F) – P(EF) Independence Events E and F are independent of each other if P(E|F) = P(E) (E’s probability not depending on F) P(EF) = P(E) + P(F) –P(E)P(F)

Bernoulli Trials Experiment with two outcomes, s and f, p = P(s), q = P(f) = 1– p (therefore p + q = 1) n independent trials with k s (and n – k f) C(n, k)pkqn-k

Relations (sections 7.1 – 7.5) Definitions. (Binary) relation R from A to B: R  AB: ordered pairs Relation R on A: R  AA n-ary relation R  A1A2…An Functions are special cases of relations. Properties of relations Reflexive/irreflexive Symmetric/asymmetric/antisymmetric Transitive Properties reflected in graph and matrix representations Combining relations: R1  R2, R1  R2, R1 – R2, SR.

Equivalence relations Definition: reflexive, symmetric and transitive. Equivalence class: [a]R For all b, if bRa, then b  [a]R aRb iff [a] = [b] iff [a]  [b]   not aRb iff [a]  [b] iff [a]  [b] =  Partition of a set: (i) Ai   for iI (ii) Ai  Aj = , if i  j (iii) iI Ai = S All equivalence classes of R on A partition A.

Representing relations Set of ordered pairs: {(a, b)| aRb for all (a, b)  AB} 0 – 1 matrix mij = 1, if (ai, bj)R, and mij = 0, if (ai, bj)R. Directed graph: (V, E) V = A  B ( or V = A if R is on A) (a, b) E iff (a, b) R Be able to convert between the three representations

Graphs (sections 8.1 – 8.4) Definitions. Simple, undirected and directed graphs. Degree (indegree, outdegree) of vertex Loop, isolated and pendant vertices Special graphs Complete, cycle, bipartite, and complete bipartite, n-cube Subgraph Adjacency For undirected graphs:vV deg(v) = 2|E| For directed graphs: vV deg-(v) = vV deg+(v) = |E|

Representing graphs Adjacency matrix aij = 1 if {vi, vj} is an edge of G; and aij = 0 otherwise. Connectivity Path, path length, simple path, circuit A (undirected) graph is connected if there is a path between any pair of vertices Strong and weak connected directed graphs Connected components of a graph

Types of Questions Conceptual Problem solving Proofs Definitions of terms True/false Simple questions Problem solving Work with small concrete example problems Proofs Simple theorems or propositions Possible proof methods Induction Directed proof Proof by contradiction