Discrete Structures By: Tony Thi By: Tony Thi Aaron Morales Aaron Morales CS 490 CS 490.

Slides:



Advertisements
Similar presentations
Chapter 2 Probability. 2.1 Sample Spaces and Events.
Advertisements

Week 21 Basic Set Theory A set is a collection of elements. Use capital letters, A, B, C to denotes sets and small letters a 1, a 2, … to denote the elements.
Section 2 Union, Intersection, and Complement of Events, Odds
Union, Intersection, Complement of an Event, Odds
1 1 PRESENTED BY E. G. GASCON Introduction to Probability Section 7.3, 7.4, 7.5.
Chapter 7 Probability 7.1 Experiments, Sample Spaces, and Events
Basic Probability Sets, Subsets Sample Space Event, E Probability of an Event, P(E) How Probabilities are assigned Properties of Probabilities.
Chris Morgan, MATH G160 January 9, 2012 Lecture 1 Chapter 4.1, 4.2, & 4.3: Set Theory, Introduction to Probability.
1 Definitions Experiment – a process by which an observation ( or measurement ) is observed Sample Space (S)- The set of all possible outcomes (or results)
1 Definitions Experiment – a process by which an observation ( or measurement ) is observed Sample Space (S)- The set of all possible outcomes (or results)
Chapter 2 Chapter The sample space of an experiment, denoted S , is the set of all possible outcomes of that experiment. An event is any collection.
Basic Concepts and Approaches
Chapter 9 Introducing Probability - A bridge from Descriptive Statistics to Inferential Statistics.
1.2 Sample Space.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 2 Probability.
Copyright © 2000 by the McGraw-Hill Companies, Inc. Barnett/Ziegler/Byleen College Algebra: A Graphing Approach Chapter Six Sequences, Series, and Probability.
Chapter 1 Probability and Distributions Math 6203 Fall 2009 Instructor: Ayona Chatterjee.
10/1/20151 Math a Sample Space, Events, and Probabilities of Events.
Math 409/409G History of Mathematics
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
Counting and Probability. Counting Elements of Sets Theorem. The Inclusion/Exclusion Rule for Two or Three Sets If A, B, and C are finite sets, then N(A.
AP Statistics Chapter 6 Notes. Probability Terms Random: Individual outcomes are uncertain, but there is a predictable distribution of outcomes in the.
Chapter 7: Probability Lesson 2: Addition Counting Principles Mrs. Parziale.
CSCI 115 Chapter 3 Counting. CSCI 115 §3.1 Permutations.
LECTURE 15 THURSDAY, 15 OCTOBER STA 291 Fall
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications (5 th Edition) Kenneth H. Rosen Chapter 5 Counting.
Lesson 6 – 2b Probability Models Part II. Knowledge Objectives Explain what is meant by random phenomenon. Explain what it means to say that the idea.
R. Johnsonbaugh Discrete Mathematics 5 th edition, 2001 Chapter 4 Counting methods and the pigeonhole principle.
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Probability is a measure of the likelihood of a random phenomenon or chance behavior. Probability describes the long-term proportion with which a certain.
PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY
1 CHAPTER 7 PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Section 2 Union, Intersection, and Complement of Events, Odds
Probability: Terminology  Sample Space  Set of all possible outcomes of a random experiment.  Random Experiment  Any activity resulting in uncertain.
 In your own words, describe what probability is; giving me an example of probability is not explaining to me what probability is. I expect to see a complete.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
SECTION 11-2 Events Involving “Not” and “Or” Slide
INTRODUCING PROBABILITY. This is denoted with an S and is a set whose elements are all the possibilities that can occur A probability model has two components:
AP Statistics Section 6.2 B Probability Rules. If A represents some event, then the probability of event A happening can be represented as _____.
Probability theory is the branch of mathematics concerned with analysis of random phenomena. (Encyclopedia Britannica) An experiment: is any action, process.
UNIT 3. OUTLINE: Sets and Subsets Set Operations the Laws of Set Theory Counting and Venn Diagrams. A First Word on Probability. The Axioms of Probability.
Basic probability Sep. 16, Introduction Our formal study of probability will base on Set theory Axiomatic approach (base for all our further studies.
5.2 Day One Probability Rules. Learning Targets 1.I can describe a probability model for a chance process. 2.I can use basic probability rules, including.
CSCI 115 Chapter 3 Counting. CSCI 115 §3.1 Permutations.
1 Discrete Structures - CSIS2070 Text Discrete Mathematics and Its Applications Kenneth H. Rosen Chapter 4 Counting.
Probability and Simulation The Study of Randomness.
Chapter 1 Random events and the probability §1. Random event.
Experiments, Outcomes and Events. Experiment Describes a process that generates a set of data – Tossing of a Coin – Launching of a Missile and observing.
Chapter 7 Sets & Probability Section 7.3 Introduction to Probability.
1 Probability- Basic Concepts and Approaches Dr. Jerrell T. Stracener, SAE Fellow Leadership in Engineering EMIS 7370/5370 STAT 5340 : PROBABILITY AND.
Basic Probability. Introduction Our formal study of probability will base on Set theory Axiomatic approach (base for all our further studies of probability)
6.2 – Probability Models It is often important and necessary to provide a mathematical description or model for randomness.
Counting and Probability. Imagine tossing two coins and observing whether 0, 1, or 2 heads are obtained. Below are the results after 50 tosses Tossing.
Chapter 4 Some basic Probability Concepts 1-1. Learning Objectives  To learn the concept of the sample space associated with a random experiment.  To.
Math a - Sample Space - Events - Definition of Probabilities
Chapter 7: Counting Principles
Chapter 6 6.1/6.2 Probability Probability is the branch of mathematics that describes the pattern of chance outcomes.
PROBABILITY AND PROBABILITY RULES
What is Probability? Quantification of uncertainty.
Copyright © 2016, 2013, and 2010, Pearson Education, Inc.
CONDITIONAL PROBABILITY
Chapter 2 Notes Math 309 Probability.
Describing Events (4.1.1) February 27th, 2017.
Definition of Probability
Sets A set is simply any collection of objects
Mrs.Volynskaya Alg.2 Ch.1.6 PROBABILITY
7.2 Union, intersection, complement of an event, odds
Unit 6: Probability: What are the Chances?
Presentation transcript:

Discrete Structures By: Tony Thi By: Tony Thi Aaron Morales Aaron Morales CS 490 CS 490

SETS: -Sets are a collection of object NOTATIONS: Î  belongs to/element of a set   does not belong to/ is not an element of a set   empty set U  universal set   subset

Definitions: A.) Equality of Sets: Two sets are equal if and only if they have the same elements. A = B if and only if  x [x  A  x  B]. Ex: A = { 2, 4, 6 } B = { 2, 4, 6 } B.) Subsets: For any sets A and B, A is a subset of B if and only if  x [ x  A  x  B ]. A  B Ex: A = { 1, 3} B = {1, 2, 3, 4, 5, 6} C.) Proper Subset: A  B. A is a subset of B, but A  B

D.) Cardinality: If a set S has n, distinct elements for some natural number n, n is the cardinality (size) of S and S is a finite set. The cardinality of a set is denoted by |S|. Ex: S = { 1, 3, 5, 7, 9} |S| = 5 E.) Power Set: the set of all subsets of a set S is called the power set of S and is denoted by 2 |S| of  (S). Ex: S = { 1, 5 }, P(S) = { {}, {1}, {5}, {1,5} }

F.) Empty Set: A set which has no elements is called an empty set. Ex:S = { } G.) Universal Set: a set which has all the elements in the universe of discourse.

SET OPERATIONS : A.) Union of Sets: Def. The union of sets A and B, denoted by A  B, is the set defined as A  B = { x | x  A  x  B } Ex: If A = { 1, 2, 3 } and B = { 3, 4, 5}, then A  B = { 1, 2, 3, 4, 5 }

B.) Intersection of Sets: Def. The intersection of sets A and B, denoted by A  B, is the set defined as A  B = { x | x  A  x  B } Ex: If A = { 1, 2, 3 } and B = { 3, 4, 5}, then A  B = {3}

C.) Difference: the difference of sets A & B, denoted by A – B is the set defined as A – B = { x | x  A  x  B } Ex: A = { 1, 2, 3, 4, 5 } B = { 3, 5, 7} A – B = { 1, 2, 4 } NOTE: Generally, A – B  B – A

D.) Complement: Given a universal set U and a subset X of U, the set U – X is called the complement of X. Ex. U ={ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 } X = { 1, 2, 3, 4, 5 } Complement of X = {6, 7, 8, 9,10}

II.) Discrete Probability An experiment is an process that yields and outcome. An event is an outcome or combination of outcomes from and experiment. The sample space is the event consisting of all possible outcomes.

The probability P(E) of an event E from the finite sample space S is P(E) = |E| / |S| Ex: Two fair dice are rolled. What is the probability that the sum of the numbers on the dice is 10?

Ans: The 1 st die can be any one of the 6 numbers. The 2 nd die can also be one of the 6 numbers. 6 x 6 = 36 possible combinations S ={(1,1), (1,2), (1,3), (1,4), (1,5), (1,6), (2,1), (2,2), (2,3), (2,4), (2,5), (2,6), (3,1), (3,2), (3,3), (3,4), (3,5), (3,6), (4,1), (4,2), (4,3), (4,4), (4,5), (4,6), (5,1), (5,2), (5,3), (5,4), (5,5), (5,6), (6,1), (6,2), (6,3), (6,4), (6,5), (6,6) }

E = { (4,6), (5,5), (6,4) } So, P(E) = |E| / |S| = 3 / 36 = 1/ 12

Let E 1 E 2 be events, then P(E 1  E 2 ) = P(E 1 ) + P(E 2 ) - P(E 1  E 2 ) Ex: Two fair dice are rolled, what is the probability of getting doubles ( 2 dice showing the same number ) or a sum of 6?

Let E 1 = event of getting “doubles” Let E 2 = event of a sum of 6. P(E 1 ) = 6/36 = 1/ 6 There are 5 ways to get a sum of 6: [(1,5), (2,4), (3,3), (4,2), (5,1)] P(E 2 ) = 5/36

The event E 1  E 2 is “getting doubles AND getting a sum of 6. P(E 1  E 2 ) = 1/ 36 Hence, P(E 1  E 2 ) = P(E 1 ) + P(E 2 ) - P(E 1  E 2 ) = 6/36 + 5/36 – 1/36 = 10/36 = 5/18

Events E 1 and E 2 are mutually exclusive E 1  E 2 =  P(E 1  E 2 ) = P(E 1 ) + P(E 2 ) Conditional Probability: A probability given that some event has occurred. Def: Let E and F be events and P(F) > 0. The conditional probability of E given F is P( E | F ) = P(E  F) / P(F)

Ex: Suppose that among all of the freshmen of an engineering college took calculus and discrete math last semester. 70% of the students passed calculus, 55% passed discrete math, and 45% passed both. If a randomly selected freshmen is found to have passed calculus last semester, what is the probability that he or she also passed discrete math last semester?

P( E | F ) = P(E  F) / P(F) Let E = event that the student passed discrete math Let F = event that the student passed calculus P(E) = 0.55 P(E  F) = 0.45 P(F) = 0.70 P( E | F ) = 0.45 /0.70

Recurrence Relation: a recurrence relation for a sequence a 0, a 1,... is an equation that relates a n to certain of its predecessors a 0, a 1,..., a n-1

Ex. Consider the following instructions for generating a sequence: 1. Start with 5 2. Given any term, add 3 to get the next term, If we list the terms of the sequence, we obtain 5, 8, 11, 14, 17,...

The Fibonacci sequence is defined by the recurrence relation f n = f n-1 + f n-2, n  3 and the initial conditions f 1 = 1 f 2 = 2 1, 2, 3, 5, 8, 13,...

Source: Johnsonbaugh, R. (2001). Discrete Mathematics (5th ed.). Prentice- Hall, Inc.