Slide 1 Math 1520, Lecture 13

Similar documents
Section Introduction to Sets

ACHS Math Team Lecture: Introduction to Set Theory Peter S. Simon

Class 8 - Sets (Lecture Notes)

Block 1 - Sets and Basic Combinatorics. Main Topics in Block 1:

Sets. Definition A set is an unordered collection of objects called elements or members of the set.

Principles of Counting. Notation for counting elements of sets

Example: If A = {1, 2, 3} and B = {3, 4, 5}, then A B= {3}.

Math 166: Topics in Contemporary Mathematics II

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

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

In how many ways can we paint 6 rooms, choosing from 15 available colors? What if we want all rooms painted with different colors?

Chapter 1 Math Set: a collection of objects. For example, the set of whole numbers is W = {0, 1, 2, 3, }

CSE 21 Mathematics for Algorithm and System Analysis

Chapter 1. Set Theory

Chapter 5: Probability: What are the Chances? Section 5.2 Probability Rules

4.3 Finding Probability Using Sets

7.1 Experiments, Sample Spaces, and Events

Such a description is the basis for a probability model. Here is the basic vocabulary we use.

If you roll a die, what is the probability you get a four OR a five? What is the General Education Statistics

Math 1070 Sample Exam 1

Slide 1 Math 1520, Lecture 15

( ) = A. 2. Write the following sets using the roster method. 3. Write the following sets using set-builder notation.

The study of probability is concerned with the likelihood of events occurring. Many situations can be analyzed using a simplified model of probability

SET THEORY AND VENN DIAGRAMS

1. The empty set is a proper subset of every set. Not true because the empty set is not a proper subset of itself! is the power set of A.

8.2 Union, Intersection, and Complement of Events; Odds

MATH 1324 (Finite Mathematics or Business Math I) Lecture Notes Author / Copyright: Kevin Pinegar

Define and Diagram Outcomes (Subsets) of the Sample Space (Universal Set)

Probability. Ms. Weinstein Probability & Statistics

Poker Hands. Christopher Hayes

Sets, Venn Diagrams & Counting

Exam 2 Review (Sections Covered: 3.1, 3.3, , 7.1) 1. Write a system of linear inequalities that describes the shaded region.

The probability set-up

The probability set-up

Mathematical Foundations of Computer Science Lecture Outline August 30, 2018

Finite Math - Fall 2016

Reading 14 : Counting

4.1 Sample Spaces and Events

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Intermediate Math Circles November 1, 2017 Probability I

Mixed Counting Problems

CHAPTER 7 Probability

Mutually Exclusive Events

SETS OBJECTIVES EXPECTED BACKGROUND KNOWLEDGE 1.1 SOME STANDARD NOTATIONS. Sets. MODULE - I Sets, Relations and Functions

Grade 7/8 Math Circles February 21 st /22 nd, Sets

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

Name: Exam 1. September 14, 2017

Discrete Structures for Computer Science

November 6, Chapter 8: Probability: The Mathematics of Chance

Compound Probability. Set Theory. Basic Definitions

Probability and Statistics. Copyright Cengage Learning. All rights reserved.

Permutations: The number of arrangements of n objects taken r at a time is. P (n, r) = n (n 1) (n r + 1) =

DVA325 Formal Languages, Automata and Models of Computation (FABER)

CHAPTER 8 Additional Probability Topics

MATH CALCULUS & STATISTICS/BUSN - PRACTICE EXAM #1 - SPRING DR. DAVID BRIDGE

It is important that you show your work. The total value of this test is 220 points.

Introduction to probability

Permutations and Combinations. MATH 107: Finite Mathematics University of Louisville. March 3, 2014

Basic Probability Models. Ping-Shou Zhong

Permutations and Combinations Section

Math 1070 Sample Exam 1

MATHEMATICS 152, FALL 2004 METHODS OF DISCRETE MATHEMATICS Outline #10 (Sets and Probability)


Name Date. Goal: Understand sets and set notation.

Lecture 6 Probability

4. Are events C and D independent? Verify your answer with a calculation.

Chapter 5 - Elementary Probability Theory

MATH6 - Introduction to Finite Mathematics

Theory of Probability - Brett Bernstein

Exam 2 Review F09 O Brien. Finite Mathematics Exam 2 Review

Week 1: Probability models and counting

Chapter 2. Permutations and Combinations

Strings. A string is a list of symbols in a particular order.

There are three types of mathematicians. Those who can count and those who can t.

Principle of Inclusion-Exclusion Notes

Lecture 2: Sum rule, partition method, difference method, bijection method, product rules

Poker: Further Issues in Probability. Poker I 1/29

Math 227 Elementary Statistics. Bluman 5 th edition

CS1802 Week 6: Sets Operations, Product Sum Rule Pigeon Hole Principle (Ch )

1 = 3 2 = 3 ( ) = = = 33( ) 98 = = =

Math 42, Discrete Mathematics

Counting integral solutions

Probability. Engr. Jeffrey T. Dellosa.

SALES AND MARKETING Department MATHEMATICS. Combinatorics and probabilities. Tutorials and exercises

2. Let E and F be two events of the same sample space. If P (E) =.55, P (F ) =.70, and

3.3 Intersection and Union

CHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events

An art collector might own a collection of paintings, while a music lover might keep a collection of CDs. Any collection of items can form a set.

7.4 Permutations and Combinations

1) 1) 2) 2) 3) 3) 4) 4) 5) 5) 6) 6) 7) 7) 8) 8) 9) 9) 10) 10) 11) 11) 12) 12)

Sample Spaces, Events, Probability

Chapter 1: Sets and Probability

CIS 2033 Lecture 6, Spring 2017

The topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following:

CS1802 Week 6: Sets Operations, Product Sum Rule Pigeon Hole Principle (Ch )

Solutions for Exam I, Math 10120, Fall 2016

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

4. Let U = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}, X = {2, 3, 4}, Y = {1, 4, 5}, Z = {2, 5, 7}. Find a) (X Y) b) X Y c) X (Y Z) d) (X Y) Z

Probability (Devore Chapter Two)

MATH CALCULUS & STATISTICS/BUSN - PRACTICE EXAM #1 - SPRING DR. DAVID BRIDGE

Transcription:

Slide 1 Math 1520, Lecture 13 In chapter 7, we discuss background leading up to probability. Probability is one of the most commonly used pieces of mathematics in the world. Understanding the basic concepts of sets and counting is fundamental to understanding probability. In this lecture we discuss some useful formulas that can be used to count the number of elements in a set. This is part of a much larger subject called combinatorics.

Slide 2 Set Notation and Terminology (Review) 1. A set is an unordered collection of objects so that no object may occur twice and we can determine definitively whether an object is an element of a set or not. We use braces, { }, to denote a set. Example: A = {a, b, c} 2. The objects in a set are called elements. If a is an element of a set A we write a A. Example: b {a, b, c} 3. A set written in roster notation lists all the elements of the set. Example: B = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10} 4. A set written in set builder notation gives a rule that describes the property or properties of the set. Example: B = {x x is an integer between 1 and 10} 5. Two sets are equal if they have exactly the same elements. Example: {a, b, c} = {b, c, a} 6. A is a subset of B if every element of A is also an element of B. We write this as A B. Example: {x x is a maple tree} {x x is a tree} 7. A is a proper subset of B if every element of A is also an element of B but A B. We write this as A B. Example: {x x is a maple tree} {x x is a tree} 8. The empty set is written as and is the set that has no elements. It is a subset of every set. Example: {x x is a tree} 9. The universal set is written as U and is the set that contains all objects of interest in a particular application. It is context dependent. Example: U is the set of all possible 5 card poker hands if we are studying only 5 card poker hands.

Slide 3 Unions, Intersections and Complements (Review) We frequently use the following operations on sets. The union of two sets A and B is written A B and is the collection of all elements that are either in A or in B or both. Example: {1, 3, 4} {1, 2, 4, 5} = {1, 2, 3, 4, 5} The intersection of two sets A and B is written A B and is the collection of all elements that are in both A and B. Example: {1, 3, 4} {1, 2, 4, 5} = {1, 4} Two sets are disjoint if their intersection is empty. Example: {1} {2} = so {1} and {2} are disjoint sets. The complement of a set A in the universal set U is written A c and is the set of all elements that are in U but not in A. Example: If U = {1, 2, 3, 4, 5} and A = {1, 3, 4} then A c = {2, 5}.

Slide 4 Why do we need counting in Probability? Recall this example from the last lecture: What is the probability of getting a flush in poker? We could write the set of all flushes to be F = S D H C where S = {x : x is a poker hand consisting of 5 spades} D = {x : x is a poker hand consisting of 5 diamonds} H = {x : x is a poker hand consisting of 5 hearts} C = {x : x is a poker hand consisting of all clubs} and the symbol means to take the union. 1. In finding the probability, we need to count the number of ways we get a flush. 2. To do this we need to count how many elements are in each of the sets S, D, H, C and add them together. 3. This is a basic rule we can use in general that we will see.

Slide 5 Counting the Number of Elements in a set The number of elements in the finite set A is denoted by n(a). This is also sometimes called the cardinality of the set. (All the sets for this lecture will be finite.) Examples 1. n( ) = 0 2. n({a, b, c, d}) = 4 3. If A = {1, 2, 3} and B = {4, 5} then n(a B) = 5 4. If A = {a, b, c} and B = {c, a, z} then n(a B) = 4 5. If A = {a, b, c} and B = {c, a, z} then n(a B) = 2 6. If U = {x x is an integer with 1 x 10} and A = {2, 4, 8} then n(a c ) = 7

Slide 6 iclicker Question If A = {1, 2, 3, 5, 7} and B = {2, 4} then what is n(a B) A. 6 B. 5 C. 7 D. 4

Answer to Question If A = {1, 2, 3, 5, 7} and B = {2, 4} then what is n(a B) A. 6 is the correct answer. B. 5 C. 7 D. 4

Slide 7 Counting Rules On previous slides we encountered problems on finding the number of elements in sets with unions. Here are some general rules that may help. If U is the universal set and A U then n(a c ) = n(u) n(a) If A and B are disjoint sets then n(a B) = n(a) + n(b) If A and B are two sets, not necessarily disjoint, then n(a B) = n(a) + n(b) n(a B) If A, B, C are three sets, not necessarily disjoint, then n(a B C) = n(a) + n(b) + n(c) n(a B) n(a C) n(b C) +n(a B C) This can be generalized to any (finite) number of (finite) sets. 1. Illustrate these rules using Venn Diagrams and/or examples.

Slide 8 iclicker Question Suppose that n(b) = 10, n(a B) = 4 and n(a) = 12 then what is n(a B) A. 22 B. 26 C. 14 D. 16

Answer to Question Suppose that n(b) = 10, n(a B) = 4 and n(a) = 12 then what is n(a B) A. 22 B. 26 C. 14 D. 16 is the correct answer. The correct answer is 12 + 10 4 = 18

Slide 9 iclicker Question Suppose that n(b) = 5, n(a B) = 6 and n(a B) = 3 then what is n(a) A. 4 B. 3 C. 5 D. 7

Answer to Question Suppose that n(b) = 5, n(a B) = 6 and n(a B) = 3 then what is n(a) A. 4 is the correct answer. B. 3 C. 5 D. 7 Substituting the known numbers into n(a B) = n(a) + n(b) n(a B) we get 6 = n(a) + 5 3 so we solve for n(a) to get n(a) = 4.

Slide 10 iclicker Question Of 50 employees of a store located in downtown Boston, 18 people take the subway to work, 12 take the bus and 7 take both the subway and the bus. How many take either the subway or the bus or both to work? A. 23 B. 50 C. 19 D. 30

Answer to Question Of 50 employees of a store located in downtown Boston, 18 people take the subway to work, 12 take the bus and 7 take both the subway and the bus. How many take either the subway or the bus or both to work? A. 23 is the correct answer. B. 50 C. 19 D. 30 The answer is 18 + 12 7 = 23

Slide 11 iclicker Question Of 50 employees of a store located in downtown Boston, 18 people take the subway to work, 12 take the bus and 7 take both the subway and the bus. How many come to work without taking the subway or the bus? A. 23 B. 27 C. 20 D. 13

Answer to Question Of 50 employees of a store located in downtown Boston, 18 people take the subway to work, 12 take the bus and 7 take both the subway and the bus. How many come to work without taking the subway or the bus? A. 23 B. 27 is the correct answer. C. 20 D. 13 If U is the set of all employees, we want n ((A B) c ) where A is the set of people that take the subway and B is the set of people that take the bus. We calculate n ((A B) c ) = n(u) n(a B) = 50 23 = 27

Slide 12 iclicker Question Of 50 employees of a store located in downtown Boston, 18 people take the subway to work, 12 take the bus and 7 take both the subway and the bus. How many people take only the subway (and not the bus) to work? A. 11 B. 5 C. 12 D. 7

Answer to Question Of 50 employees of a store located in downtown Boston, 18 people take the subway to work, 12 take the bus and 7 take both the subway and the bus. How many people take only the subway (and not the bus) to work? A. 11 is the correct answer. B. 5 C. 12 D. 7 The answer is 18 7 = 11

Slide 13 iclicker Question To help plan the number of meals to be prepared at a college cafeteria, a survey conducted of students revealed the following data: 130 students ate breakfast, 180 students ate lunch, 275 students ate dinner, and 68 ate breakfast and lunch, 112 ate breakfast and dinner, 90 ate lunch and dinner, and 58 students ate all three meals. How many students were there that ate at least one meal in the cafeteria according to the survey? A. 370 B. 371 C. 372 D. 373

Answer to Question To help plan the number of meals to be prepared at a college cafeteria, a survey conducted of students revealed the following data: 130 students ate breakfast, 180 students ate lunch, 275 students ate dinner, and 68 ate breakfast and lunch, 112 ate breakfast and dinner, 90 ate lunch and dinner, and 58 students ate all three meals. How many students were there that ate at least one meal in the cafeteria according to the survey? A. 370 B. 371 C. 372 D. 373 is the correct answer. The total is 130 + 180 + 276 68 112 90 + 58 = 373

Slide 14 iclicker Question To help plan the number of meals to be prepared at a college cafeteria, a survey conducted of students revealed the following data: 130 students ate breakfast, 180 students ate lunch, 275 students ate dinner, and 68 ate breakfast and lunch, 112 ate breakfast and dinner, 90 ate lunch and dinner, and 58 students ate all three meals. How many students were there that ate at exactly two meals in the cafeteria according to the survey? A. 99 B. 98 C. 97 D. 96

Answer to Question To help plan the number of meals to be prepared at a college cafeteria, a survey conducted of students revealed the following data: 130 students ate breakfast, 180 students ate lunch, 275 students ate dinner, and 68 ate breakfast and lunch, 112 ate breakfast and dinner, 90 ate lunch and dinner, and 58 students ate all three meals. How many students were there that ate at exactly two meals in the cafeteria according to the survey? A. 99 B. 98 C. 97 D. 96 is the correct answer. This is an example where it is best to draw out a Venn Diagram rather than using formulas.