Math 42, Discrete Mathematics

Similar documents
Math 42, Discrete Mathematics

MATH 556: PROBABILITY PRIMER

Definition: A binary relation R from a set A to a set B is a subset R A B. Example:

Chapter 9: Relations Relations

Lecture 4. Selected material from: Ch. 6 Probability

Section Summary. Relations and Functions Properties of Relations. Combining Relations

CSC Discrete Math I, Spring Relations

Notes. Relations. Introduction. Notes. Relations. Notes. Definition. Example. Slides by Christopher M. Bourke Instructor: Berthe Y.

Week 4-5: Binary Relations

Relations Graphical View

Math 42, Discrete Mathematics

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E.

Probability- describes the pattern of chance outcomes

DRAFT CONCEPTUAL SOLUTION REPORT DRAFT

Math 42, Discrete Mathematics

Recap. The study of randomness and uncertainty Chances, odds, likelihood, expected, probably, on average,... PROBABILITY INFERENTIAL STATISTICS

1.4 Equivalence Relations and Partitions

Axioms of Probability

(6, 1), (5, 2), (4, 3), (3, 4), (2, 5), (1, 6)

Week 4-5: Binary Relations

Probability COMP 245 STATISTICS. Dr N A Heard. 1 Sample Spaces and Events Sample Spaces Events Combinations of Events...

Chapter 3 : Conditional Probability and Independence

Discrete Probability

Example: Suppose we toss a quarter and observe whether it falls heads or tails, recording the result as 1 for heads and 0 for tails.

Relations. Relations of Sets N-ary Relations Relational Databases Binary Relation Properties Equivalence Relations. Reading (Epp s textbook)

Fundamentals of Probability CE 311S

Chapter Summary. 7.1 Discrete Probability 7.2 Probability Theory 7.3 Bayes Theorem 7.4 Expected value and Variance

UNIT 5 ~ Probability: What Are the Chances? 1

REVIEW QUESTIONS. Chapter 1: Foundations: Sets, Logic, and Algorithms

Math Exam 1 Review. NOTE: For reviews of the other sections on Exam 1, refer to the first page of WIR #1 and #2.

University of Technology, Building and Construction Engineering Department (Undergraduate study) PROBABILITY THEORY

Automata and Languages

Lecture 3 - Axioms of Probability

Mean, Median and Mode. Lecture 3 - Axioms of Probability. Where do they come from? Graphically. We start with a set of 21 numbers, Sta102 / BME102

MATH 118 FINAL EXAM STUDY GUIDE

Elements of probability theory

Chapter 6: Probability The Study of Randomness

ENGI 4421 Introduction to Probability; Sets & Venn Diagrams Page α 2 θ 1 u 3. wear coat. θ 2 = warm u 2 = sweaty! θ 1 = cold u 3 = brrr!

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail}

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

CSE 20 DISCRETE MATH. Winter

Relations, Functions, and Sequences

1. To be a grandfather. Objects of our consideration are people; a person a is associated with a person b if a is a grandfather of b.

14 Equivalence Relations

Week 2. Section Texas A& M University. Department of Mathematics Texas A& M University, College Station 22 January-24 January 2019

1.6/1.7 - Conditional Probability and Bayes Theorem

STAT 430/510 Probability

5. Partitions and Relations Ch.22 of PJE.

CSE 20 DISCRETE MATH. Fall

Math.3336: Discrete Mathematics. Chapter 9 Relations

Section 13.3 Probability

Discrete Probability. Mark Huiskes, LIACS Probability and Statistics, Mark Huiskes, LIACS, Lecture 2

4. Probability of an event A for equally likely outcomes:

Chapter 2: Probability Part 1

Properties of Probability

Section 7.1 Relations and Their Properties. Definition: A binary relation R from a set A to a set B is a subset R A B.

Math 3338: Probability (Fall 2006)

Information Science 2

Introduction to probability

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

Probability Theory and Applications

Basic Statistics and Probability Chapter 3: Probability

Discrete Mathematics. 2. Relations

Lecture Lecture 5

Chapter 2 - Basics Structures

Example. What is the sample space for flipping a fair coin? Rolling a 6-sided die? Find the event E where E = {x x has exactly one head}

Discrete Probability

Chapter 1 (Basic Probability)

Relations --- Binary Relations. Debdeep Mukhopadhyay IIT Madras

2011 Pearson Education, Inc

1. (B) The union of sets A and B is the set whose elements belong to at least one of A

Relations. P. Danziger. We may represent a relation by a diagram in which a line is drawn between two elements if they are related.

Combinatorics & Discrete Probability Theory

Discrete Structures (2IT50)

MA : Introductory Probability

CHAPTER 1. Relations. 1. Relations and Their Properties. Discussion

4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio

1 Chapter 1: SETS. 1.1 Describing a set

Introduction to Probability

Executive Assessment. Executive Assessment Math Review. Section 1.0, Arithmetic, includes the following topics:

Chap 4 Probability p227 The probability of any outcome in a random phenomenon is the proportion of times the outcome would occur in a long series of

STAT 509: Statistics for Engineers Dr. Dewei Wang. Copyright 2014 John Wiley & Sons, Inc. All rights reserved.

Probability the chance that an uncertain event will occur (always between 0 and 1)

Stats Probability Theory

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability

Copyright c 2006 Jason Underdown Some rights reserved. choose notation. n distinct items divided into r distinct groups.

BOOLEAN ALGEBRA INTRODUCTION SUBSETS

STAT:5100 (22S:193) Statistical Inference I

CMPSCI 240: Reasoning about Uncertainty

Exam III Review Math-132 (Sections 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 8.1, 8.2, 8.3)

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

Statistical Inference

Review of Probabilities and Basic Statistics

Lecture 6. Probability events. Definition 1. The sample space, S, of a. probability experiment is the collection of all

What are relations? f: A B

Chapter 2 - Basics Structures MATH 213. Chapter 2: Basic Structures. Dr. Eric Bancroft. Fall Dr. Eric Bancroft MATH 213 Fall / 60

Introduction to Probability Theory, Algebra, and Set Theory

Slide 1 Math 1520, Lecture 21

STAT Chapter 3: Probability

Conditional Probability

Transcription:

c Fall 2018 last updated 12/10/2018 at 18:16:18 For use by students in this class only; all rights reserved. Note: some prose & some tables are taken directly from Kenneth R. Rosen, and Its Applications, 8th Ed., the ocial text adopted for this course.

As noted in class, this list is incomplete, and the absence of an item from the list does not preclude it's showing up on an examespecially if it's an item I've said is important. Probability Experiment, outcome, sample space, event. Equal likelihood probability. p(e) = E / S. Choosing at random" implies equal likelihood. Practical applications of equal likelihood probability employing, e.g., counting results from Chapter 6. Probabilities of complements: p(ē) = 1 p(e). Probabilities of unions: p(e F) = p(e) + p(f) p(e F). Basics of probability distributions p : S R. 0 p(s) 1 s S p(s) = 1 c R. P.

p(e) = s E p(s). p( ) = 0; p(s) = 1. If E F, then p(e) p(f). Mutually exclusive events E and F: E F =. p(e F) = 0. If E and F are mutually exclusive, then p(e F) = p(e) + p(f). Conditional probability: if p(f) 0, then p(e F) = p(e F). p(f) p(e F) = p(e F)p(F) c R. P.

Independence of E and F : if and only if p(e F) = p(e) if and only if p(e F) = p(e)p(f) if and only if p(f E) = p(f). Do not confuse mutually exclusive" with independent." mutually exclusive events are never independent. Don't use p(e F) = p(e)p(f) unless you know that E and F are independent events. Law of Total Probability: p(f) = p((f E) (F Ē)) = p(f E) + p(f Ē) = p(f E)p(E) + p(f Ē)p(Ē). (1) Note that the second equation in (1) holds because the union F = (F E) (F Ē) is a disjoint union. c R. P.

Tree diagrams and Venn diagrams to help remember/visualize the Law of Total Probability. Bayes' Theorem: p(e F) p(f E) p(f E)p(E) p(e F) = = = p(f) p(f) p(f) p(f E)p(E) = p(f E)p(E) + p(f Ē)p(Ē) (2) Note that we have used (1) in (2). Applications of the Law of Total Probability and of Bayes' Theorem to specic problems. c R. P.

Relations A (binary) relation R from a set A to a set B: R A B. Relation notation: if (a, b) R, we write arb and say that a is related to b by R. If (a, b) / R, we write a Rb. Examples of relations from A to B. A relation R on a set A: R A A, i.e., R is a relation from A to itself. Examples of relations on a set A. Properties of relations on A: Reexivity (R is reexive); examples. Symmetry (R is symmetric); examples. Transitivity (R is transitive); examples. Antisymmetry (R is antisymmetric); examples. c R. P.

Equivalence relations on A: relations that are reexive, symmetric, and transitive. Equivalence of elements of A: a 1 is equivalent to a 2 if and only if (a 1, a 2 ) R. Notation: a 1 a 2. Examples of equivalence relations. Proving/disproving that a relation is an equivalence relation. Congruence mod n: k l mod n if and only if n divides k l evenly. Equivalence classes: [a] = {b A b a} Representatives of equivalence classes: If b [a] then b is a representative of [a]. a b if and only if [a] = [b] if and only if [a] [b]. c R. P.

A partition of a set A is a collection of disjoint nonempty subsets of A whose union is all of A. In other words, P = {A i A i A i I} is a partition of A if and only if 1. A i i I; 2. A i A j = i j I; and 3. i I A i = A. Every equivalence relation on A yields a partition of A into its equivalence classes. Conversely, every partition gives rise to an equivalence relation. Examples of partitions. Representing a relation R on a set A = {a 1,..., a n } using a binary matrix M = [m ij ] as follows: { 1 if a i Ra j m ij = (3) 0 if a i Ra j. c R. P.

Examples of representing relations by matrices. Finding the original relation R on A = {a 1,..., a n }, given a binary matrix M. Detecting reexivity of the relation R, given the matrix M. Detecting symmetry of the relation R, given the matrix M. Detecting anti-symmetry of the relation R, given the matrix M. Computing M [2] = M M, the Boolean square of a binary matrix. Detecting transitivity of the relation R, using M [2] of the matrix M. Digraphs. Drawing the digraph of a relation R on A = {a 1,..., a n }. Finding the original relation R on A = {a 1,..., a n }, given a digraph. c R. P.