Ch. 2.3 Counting Sample Points. Cardinality of a Set

Similar documents
MTH202 Discrete Mathematics LECTURE 31 K-COMBINATIONS K-SELECTIONS

Probability. b a b. a b 32.

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

Linear Algebra Introduction

20 b The prime numbers are 2,3,5,7,11,13,17,19.

Discrete Structures, Test 2 Monday, March 28, 2016 SOLUTIONS, VERSION α

Probability The Language of Chance P(A) Mathletics Instant Workbooks. Copyright

Problem Set 9. Figure 1: Diagram. This picture is a rough sketch of the 4 parabolas that give us the area that we need to find. The equations are:

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

Individual Contest. English Version. Time limit: 90 minutes. Instructions:

Discrete Structures Lecture 11

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES

378 Relations Solutions for Chapter 16. Section 16.1 Exercises. 3. Let A = {0,1,2,3,4,5}. Write out the relation R that expresses on A.

Plotting Ordered Pairs Using Integers

Bases for Vector Spaces

Computing data with spreadsheets. Enter the following into the corresponding cells: A1: n B1: triangle C1: sqrt

Intermediate Math Circles Wednesday 17 October 2012 Geometry II: Side Lengths

( ) { } [ ] { } [ ) { } ( ] { }

Finite State Automata and Determinisation

Homework 3 Solutions

NON-DETERMINISTIC FSA

Arrow s Impossibility Theorem

Logic Synthesis and Verification

Algebra Basics. Algebra Basics. Curriculum Ready ACMNA: 133, 175, 176, 177, 179.

Activities. 4.1 Pythagoras' Theorem 4.2 Spirals 4.3 Clinometers 4.4 Radar 4.5 Posting Parcels 4.6 Interlocking Pipes 4.7 Sine Rule Notes and Solutions

Expectation and Variance

Section 1.3 Triangles

Unique Solutions R. 4. Probability. C h a p t e r. G l a n c e

#A42 INTEGERS 11 (2011) ON THE CONDITIONED BINOMIAL COEFFICIENTS

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b

Review Topic 14: Relationships between two numerical variables

First Midterm Examination

THE PYTHAGOREAN THEOREM

Table of contents: Lecture N Summary... 3 What does automata mean?... 3 Introduction to languages... 3 Alphabets... 3 Strings...

Arrow s Impossibility Theorem

Intermediate Math Circles Wednesday, November 14, 2018 Finite Automata II. Nickolas Rollick a b b. a b 4

TOPIC: LINEAR ALGEBRA MATRICES

PYTHAGORAS THEOREM WHAT S IN CHAPTER 1? IN THIS CHAPTER YOU WILL:

Exercise 3 Logic Control

Math 4310 Solutions to homework 1 Due 9/1/16

Lecture 3: Equivalence Relations

Thoery of Automata CS402

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106

A Study on the Properties of Rational Triangles

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs

1 Probability Density Functions

First Midterm Examination

Algebra 2 Semester 1 Practice Final

Lecture 6: Coding theory

Chapter 3. Vector Spaces. 3.1 Images and Image Arithmetic

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite!

Improper Integrals. The First Fundamental Theorem of Calculus, as we ve discussed in class, goes as follows:

Pre-Lie algebras, rooted trees and related algebraic structures

GRADE 4. Division WORKSHEETS

Chance. Chance. Curriculum Ready.

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS

Functions. mjarrar Watch this lecture and download the slides

The area under the graph of f and above the x-axis between a and b is denoted by. f(x) dx. π O

GM1 Consolidation Worksheet

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University

Total score: /100 points

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution

Let's start with an example:

Chapter 8.2: The Integral

CHAPTER 1 Regular Languages. Contents. definitions, examples, designing, regular operations. Non-deterministic Finite Automata (NFA)

Equivalent fractions have the same value but they have different denominators. This means they have been divided into a different number of parts.

QUADRATIC EQUATION. Contents

CS103B Handout 18 Winter 2007 February 28, 2007 Finite Automata

6.5 Improper integrals

CS667 Lecture 6: Monte Carlo Integration 02/10/05

CS 310 (sec 20) - Winter Final Exam (solutions) SOLUTIONS

Data Structures LECTURE 10. Huffman coding. Example. Coding: problem definition

Linear Inequalities. Work Sheet 1

, g. Exercise 1. Generator polynomials of a convolutional code, given in binary form, are g. Solution 1.

p-adic Egyptian Fractions

CS 573 Automata Theory and Formal Languages

Surface maps into free groups

GRUPOS NANTEL BERGERON

5. Every rational number have either terminating or repeating (recurring) decimal representation.

Minimal DFA. minimal DFA for L starting from any other

CSE 401 Compilers. Today s Agenda

LESSON 11: TRIANGLE FORMULAE

Lesson 2.1 Inductive Reasoning

03. Early Greeks & Aristotle

Simplifying Algebra. Simplifying Algebra. Curriculum Ready.

CSCI 340: Computational Models. Transition Graphs. Department of Computer Science

Consolidation Worksheet

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4.

CM10196 Topic 4: Functions and Relations

AP CALCULUS Test #6: Unit #6 Basic Integration and Applications

Name Ima Sample ASU ID

Designing finite automata II

Worksheet #2 Math 285 Name: 1. Solve the following systems of linear equations. The prove that the solutions forms a subspace of

Lecture 2 : Propositions DRAFT

Bravais lattices and crystal systems

Spacetime and the Quantum World Questions Fall 2010

Chapter 8 Roots and Radicals

Part I: Study the theorem statement.

CS 373, Spring Solutions to Mock midterm 1 (Based on first midterm in CS 273, Fall 2008.)

Transcription:

Ch..3 Counting Smple Points CH 8 Crdinlity of Set Let S e set. If there re extly n distint elements in S, where n is nonnegtive integer, we sy S is finite set nd n is the rdinlity of S. The rdinlity of S is denoted y S or n(s). A set is sid to e infinite if it is not finite. Exmples 1-: 1. Let A = {1,, }. Then n(s) = 3.. Let S e the set of letters in the English lphet. Then n(s) =. 3. n({}) = 4. n( ) = 4. n({ }) =. n({ }) =. n({1}) = 7. n({1,,,1}) = 8. n({1,,1}) =. How mny smple points re in the rndom smple spe, S, when tossing 3 oins re tossed? We finlly egin to ount more omplited sets. In this setion we will utilize the following ounting tehniques Additive Rule Multiplition Rule Permuttions Comintions Additive Rule: n(a B) = n(a) + n(b) n(a B) If A nd B re disjoint, then n(a B) = n(a) + n(b) A B

CH Exmple 1: A survey of some UHD students on English nd Mth ourses determines tht of the students surveyed: 3 tke English this semester, 1 tke Mth nd tht 8 students re tking oth. How mny students were surveyed? Solution: Let E represent the set of UHD students who responded tht they re tking English. Let M represent the set of UHD students who responded tht they re tking Mth. Given: n(e) = 3 n(m) = 1 n( ) = 8 Question: n(e M) = Theorem 1 (The Multiplition rule): Suppose tht proedure n e roken down into two opertions. If there re n 1 wys to do the first opertion nd n wys to do the seond opertion fter the first opertion hs een done, then there re n 1 n wys to do the proedure. Note. The produt rule n e extended to more thn two tsks. Exmple 11: How mny smple points re in the smple spe when pir of die is thrown one? Solution: Proedure: throwing pir of die Opertion 1: the first die lnds, whih n e performed in wys. Opertion : the seond die lnds, whih n e performed in wys. By the multiplition rule, when throwing pir of die there re = 3 outomes. The smple spe n e desried s S = {(x,y) x nd y rnge from 1 to } Visulize y tree digrm:

CH 1 Exmple 1: A developer of new sudivision offers prospetive home uyers hoie of Tudor, rusti, olonil, nd trditionl exterior styling in rnd, two-story, nd split-level floor plns. In how mny wys n uyer order one of these homes? Tudor rusti olonil trdition l rnh two-story split-level rnh two-story split-level rnh two-story split-level rnh two-story split-level There re wys uyer n order one of these homes. Exmple 13: How mny four-digit numers n e formed from the digits, 1,,,, nd if eh digit n e used only one? Numer of possiilities Thousnds Hundreds Tens Ones Thousnds 1 Hundreds 1...

CH 11 Exmple 14: How mny even four-digit numers n e formed from the digits, 1,,,, nd if eh digit n e used only one? Tens Ones Thousnds 1 Hundreds 1 This doesn t work with the multiplition rule, so wht shll we try?

CH 1 Definition: A permuttion is n rrngement of ll or prt of set of ojets. Exmple 1: Consider the three letters, nd. The possile permuttions of ll three ojets re,,,. 1 st nd 3 rd Definition: Let n e positive integer. n ftoril is denoted n! is the numer n (n-1) (n-) (n-3) 1. Theorem 3 The numer of permuttions of n distint ojets is n!. Exmple 1: Consider the three letters,, nd d. The possile permuttions of two of the four ojets,,,. 1 st d nd d d d d d d d d d

CH 13 Theorem 4 The numer of permuttions of n distint tken r t time is n! n P r = ( n r)! Exmple 17: Three wrds (reserh, tehing nd servie) will e given one yer for lss of grdute students in sttistis deprtment. If eh student n reeive t most one wrd, how mny possile seletions re there? Exmple 18: A president nd tresurer re to e hosen from student lu onsisting of people. How mny different hoies of offiers re possile if ) there re no restritions. ) A will serve only if he is president ) B nd C will serve together or not t ll d) D nd E will not serve together

CH 14 Definition: Permuttions tht our y rrnging ojets in irle re lled irulr permuttions. Exmple 1: Consider the four people, Jun, nd Sm. How mny wys n they sit t irulr tle? Sm Jun Sme s Sm Jun Jun Sm Jun Sm Jun Sm Sm Sm Jun Jun Theorem The numer of permuttions of n distint ojets rrnged in irle is (n-1)!.

CH 1 Theorem The numer of distint permuttions of n things of whih n 1 re of one kind, n of seond kind, n k of k th kind is n! n! n! n 1 k! Exmple : In ollege footll trining session, the defensive oordintor needs to hve 1 plyers stnding in row. Among these 1 plyers, there re 1 freshmn, sophomore, 4 juniors nd 3 seniors, respetively. How mny different wys n they e rrnged in row if only their lss level will e distinguished? Let f 1 e the freshmn, sp 1 nd sp e the sophomores, j 1, j, j 3 nd j 4 the juniors nd sn 1, sn nd sn 3 the seniors. An exmple of the 1 plyers stnding in row 1) f sp sp j j j j sn sn sn whih is the sme s the following f 1 sp 1 sp j 1 j j 3 j 4 sn 1 sn sn 3 f 1 sp 1 sp j 1 j 3 j j 4 sn 1 sn sn 3 f 1 sp 1 sp j 1 j 4 j j 3 sn 1 sn sn 3 f 1 sp sp 1 j 1 j j 3 j 4 sn 1 sn sn 3 f 1 sp sp 1 j 1 j 3 j j 4 sn 1 sn sn 3 f 1 sp sp 1 j 1 j 4 j j 3 sn 1 sn sn 3 Aording to Theorem the nswer is 1!/[1!!4!3!]= 1.

CH 1 Theorem 7 The numer of rrngement of set of n ojets into r ells with n 1 elements in the first ell, n elements in the seond, nd so forth, is n n! = n1, n,..., nr n1! n! nr! where n 1 + n + + n r = n. Note: Theorem 7 is formliztion of Theorem. Also Note: Theorem 7 is one wy to motivte nd explin omintions s in Theorem 8. Theorem 8 The numer of omintions of n distint ojets tken r t time is n n n! = = r r, n r r!( n r)! Exmple 1: In how mny wys n 7 sientists e ssigned to one triple nd two doule hotel rooms? Note we would use Theorems 7 if the order of prts of the rrngement do not mtter nd the whole set is eing rrnged. If only susets of the whole set re eing rrnged then Theorem 8 should e tried. Exmple : A young oy sks his mother to get five gme-oy rtridges from his olletion of 1 rde nd sports gmes. How mny wys re there tht his mother will get 3 rde nd sports gmes, respetively?