MAT 115: Finite Math for Computer Science Problem Set 5

Similar documents
Discrete Mathematics with Applications MATH236

CPCS 222 Discrete Structures I Counting

Exercises Exercises. 1. List all the permutations of {a, b, c}. 2. How many different permutations are there of the set {a, b, c, d, e, f, g}?

CS100: DISCRETE STRUCTURES. Lecture 8 Counting - CH6

CONTENTS CONTENTS PAGES 11.0 CONCEPT MAP A. PERMUTATIONS a EXERCISE A B. COMBINATIONS a EXERCISE B PAST YEAR SPM

The Product Rule can be viewed as counting the number of elements in the Cartesian product of the finite sets

Review I. October 14, 2008

COUNTING TECHNIQUES. Prepared by Engr. JP Timola Reference: Discrete Math by Kenneth H. Rosen

CS1802 Week 3: Counting Next Week : QUIZ 1 (30 min)

Jong C. Park Computer Science Division, KAIST

MATH 135 Algebra, Solutions to Assignment 7

The Product Rule The Product Rule: A procedure can be broken down into a sequence of two tasks. There are n ways to do the first task and n

MATH 215 DISCRETE MATHEMATICS INSTRUCTOR: P. WENG

Discrete Mathematics and Probability Theory Spring 2018 Ayazifar and Rao Midterm 2 Solutions

Latin Squares for Elementary and Middle Grades

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

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

Foundations of Computing Discrete Mathematics Solutions to exercises for week 12

CSE 312: Foundations of Computing II Quiz Section #2: Combinations, Counting Tricks (solutions)

1. An office building contains 27 floors and has 37 offices on each floor. How many offices are in the building?

Discrete Mathematics. Spring 2017

Mathematics. ( (Chapter 7) (Permutations and Combinations) (Class XI) Exercise 7.3

MAT 409 Semester Exam: 80 points

Counting. Chapter 6. With Question/Answer Animations

Mathematical Foundations of Computer Science Lecture Outline August 30, 2018

Final Exam, Math 6105

Week 6: Advance applications of the PIE. 17 and 19 of October, 2018

MAT3707. Tutorial letter 202/1/2017 DISCRETE MATHEMATICS: COMBINATORICS. Semester 1. Department of Mathematical Sciences MAT3707/202/1/2017

EXPLAINING THE SHAPE OF RSK

Unit Nine Precalculus Practice Test Probability & Statistics. Name: Period: Date: NON-CALCULATOR SECTION

Name: Exam 1. September 14, 2017

Topics to be covered

Sec 5.1 The Basics of Counting

Discrete Mathematics: Logic. Discrete Mathematics: Lecture 15: Counting

With Question/Answer Animations. Chapter 6

6.1.1 The multiplication rule

Math236 Discrete Maths with Applications

Know how to represent permutations in the two rowed notation, and how to multiply permutations using this notation.

A complete set of dominoes containing the numbers 0, 1, 2, 3, 4, 5 and 6, part of which is shown, has a total of 28 dominoes.

Purpose of Section To introduce some basic tools of counting, such as the multiplication principle, permutations and combinations.

Finite Math Section 6_4 Solutions and Hints

6.1 Basics of counting

12. 6 jokes are minimal.

Chapter 3 PRINCIPLE OF INCLUSION AND EXCLUSION

CIS 2033 Lecture 6, Spring 2017

Mat 344F challenge set #2 Solutions

MAT104: Fundamentals of Mathematics II Summary of Counting Techniques and Probability. Preliminary Concepts, Formulas, and Terminology

9.5 Counting Subsets of a Set: Combinations. Answers for Test Yourself

MC215: MATHEMATICAL REASONING AND DISCRETE STRUCTURES

Name: Practice Exam 3B. April 16, 2015

LEVEL I. 3. In how many ways 4 identical white balls and 6 identical black balls be arranged in a row so that no two white balls are together?

Rosen, Discrete Mathematics and Its Applications, 6th edition Extra Examples

Math Released Item Grade 7. Sum of Perimeters VF801806

UNIVERSITY OF MANITOBA DATE: December 7, FINAL EXAMINATION TITLE PAGE TIME: 3 hours EXAMINER: M. Davidson

Quotients of the Malvenuto-Reutenauer algebra and permutation enumeration

A STUDY OF EULERIAN NUMBERS FOR PERMUTATIONS IN THE ALTERNATING GROUP

MATH 433 Applied Algebra Lecture 12: Sign of a permutation (continued). Abstract groups.

Perfect Octagon Quadrangle Systems with an upper C 4 -system and a large spectrum

University of British Columbia. Math 312, Midterm, 6th of June 2017

What is counting? (how many ways of doing things) how many possible ways to choose 4 people from 10?

Assignment 1, due Monday September 19, 2005

"SHE always wins. It s not fair!" W I N! Answer:

σ-coloring of the Monohedral Tiling

A Covering System with Minimum Modulus 42

Counting and Probability Math 2320


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

Tilings with T and Skew Tetrominoes

Class 8 Cubes and Cube Root

Week 3-4: Permutations and Combinations

Equivalence Classes of Permutations Modulo Replacements Between 123 and Two-Integer Patterns

SUDOKU Colorings of the Hexagonal Bipyramid Fractal

The Sign of a Permutation Matt Baker

Solutions to Problem Set 7

Introduction to Mathematical Reasoning, Saylor 111

Combinatorics in the group of parity alternating permutations

CSE 21: Midterm 1 Solution

Probability and Counting Techniques

Sensors, Signals and Noise

Lesson 2: Using the Number Line to Model the Addition of Integers

Math 3012 Applied Combinatorics Lecture 2

COUNTING AND PROBABILITY

MAT points Impact on Course Grade: approximately 10%

Math 1111 Math Exam Study Guide

5. (1-25 M) How many ways can 4 women and 4 men be seated around a circular table so that no two women are seated next to each other.

Counting: Basics. Four main concepts this week 10/12/2016. Product rule Sum rule Inclusion-exclusion principle Pigeonhole principle

PD-SETS FOR CODES RELATED TO FLAG-TRANSITIVE SYMMETRIC DESIGNS. Communicated by Behruz Tayfeh Rezaie. 1. Introduction

THE PIGEONHOLE PRINCIPLE. MARK FLANAGAN School of Electrical and Electronic Engineering University College Dublin

Patterns and random permutations II

With Question/Answer Animations. Chapter 6

MA 524 Midterm Solutions October 16, 2018

Avoiding consecutive patterns in permutations

Constructions of Coverings of the Integers: Exploring an Erdős Problem

Permutations and Combinations

Name: Exam I. February 5, 2015

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

Name: Exam 01 (Midterm Part 2 take home, open everything)

Massachusetts Institute of Technology 6.042J/18.062J, Spring 04: Mathematics for Computer Science April 16 Prof. Albert R. Meyer and Dr.

Enumerating 3D-Sudoku Solutions over Cubic Prefractal Objects

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions)

Transcription:

MAT 115: Finite Math for Computer Science Problem Set 5 Out: 04/10/2017 Due: 04/17/2017 Instructions: I leave plenty of space on each page for your computation. If you need more sheet, please attach your work right behind the corresponding problem. If your answer is incorrect but you show the computation process, then partial credits will be given. Please staple your solution and use the space wisely. First Name: Last Name: Score: /100

Problem 1 2 Problem 1 Permutation: the length of the cycle 3+4+4+4 pts All the permutations given below are in cycle form. Let A = {1, 2, 3, 4, 5, 6, 7} (a) Please compute ((1, 3), (2, 5, 4)) 300 (b) f : A A is a permuation and f = (3, 4, 5, 2, 1, 7, 6), g = (1, 4, 6, 3, 2, 5, 7)). (1) f in cycle form (2) (f g) 1 in 2 line form (3) What is the period of (f g) 1

Problem 2 3 Problem 2 Pigeonhole Concept (10pts) As seen in class, we have a set A = {a 1, a 2,, a t } be a set containing t distinct positive integers. Suppose we expect to have a i + a j + a k = a l + a m + a n occur under the modulo function N where (1) 1 i, j, k, l, m, n t and i, j, k are distinct numbers (2) l, m, n are distinct integers and (3) (i, j, k) (l, m, n). Please find the smallest postive number t when N = 97 [Hint: Translate via C(t, 3)].

Problem 3 4 Problem 3 Permutation Application: 5 + 5 + 5 pts The clown is playing the pea and the cup trick at your birthday party with 1 pea and 5 cups. He places a pea under the third cup. He quickly interchanges the cups in the second and the third positions then the cups in the first and the third positions and then the cups in the second and the third positions. Finally he interchanges the second and the fourth cup. The entire set of interchanges is done a total of six times. (a) Write one entire set of interchanges as a permutation in cycle form: (b) Write one entire set of interchanges as a permutation in adjacency matrix form: (c) Where is the pea?

Problem 4 5 Problem 4 Permutation Application: Q.23, P.414: 5 + 5 pts (a) How many ways are there for 10 women and six men to stand in a line so that no two men stand next to each other? (b) Same as (a) but now the women are labeled {A, B, C, D, E, F, G, H, I, J} and the men are labeled {α, β, γ, δ, η, σ}

Problem 5 6 Problem 5 Pigeonhole Concept (10pts) Let t 1, t 2, t n be n distinct integers. Show that either n t k for some k or n (t i t j ) for some i j (Hint: classsify those t 1, t n numbers by a modulo n function).

Problem 6 7 Problem 6 Permutation: With and Without Repetition (5 3 = 15 pts) We are interested in forming 3 letter words using the letters in Massachusetts. purpose of the problem, a word is any list of letters. Please answer the following: (a) How many words can be made with no repeated letters? For the (b) How many words can be made with unlimited repetition allowed? (c) How many words can be made if repeats are allowed but no letter can be used more than it appears in Massachusetts?

Problem 7 8 Problem 7 Permutation: No Repetition 1 + 4*6=25 We work with the ordinary alphabet of 28-letters (A-Z plus τ, λ. Please solve the following: (a) Define a 5-letter word to be any list of 5 letters that contains at least one of the vowels A, E, I, O and U. How many 5-letter words are there? (b) We can solve (a) in one single step but we can do it in 6 steps. Here are the steps: (b-1) How many 5-letter words with exactly 1 vowel (b-2) How many 5-letter words with exactly 2 vowels (b-3) How many 5-letter words with exactly 3 vowels (b-4) How many 5-letter words with exactly 4 vowels (b-5) How many 5-letter words with exactly 5 vowels (b-6) Your sum from b-1 till b-5 is? The result should be equivalent to (a)

Problem 10 9 Problem 8 Permutation: With Repetition (No need to turn in solution) We work with the ordinary alphabet of 26-letters. Please solve the following: (a) Define a 5-letter word to be any list of 5 letters that contains at least one of the vowels A, E, I, O and U. How many 5-letter words are there? (b) We can solve (a) in one single step but we can do it in 6 steps. Here are the steps: (b-1) How many 5-letter words with exactly 1 vowel (b-2) How many 5-letter words with exactly 2 vowels (b-3) How many 5-letter words with exactly 3 vowels (b-4) How many 5-letter words with exactly 4 vowels (b-5) How many 5-letter words with exactly 5 vowels (b-6) Your sum from b-1 till b-5 is? The result should be equivalent to (a) Problem 9 Combinatorial (No need to turn in solution) Q.28, P. 414 A professor writes 40 discrete mathematics true/false questions. Of the statements in these questions, 17 are true. If the questions can be positioned in any order, how many different answer keys are possible? Problem 10 Pigeon Holes (No need to turn in solution) Q.34, P. 406 Assuming that no one has more than 1,000,000 hairs on the head of any person and that the population of New York City was 8,008,278 in 2010, show there had to be at least nine people in NewYork City in 2010 with the same number of hairs on their heads.