UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

Size: px
Start display at page:

Download "UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis"

Transcription

1 UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Instructor: Prof. Andrew B. Kahng OHs: W 12:30-1:30pm, F 10:00-11:00am, and by appt Office: EBU3B 2134 Class URL:

2 Goals of This Course Reasoning about combinatorial and discrete structures Lists, sets, and multisets; Subsets and k-lists Rule of sum and rule of product Binomial coefficients Discrete probability; expectation; Bayes rule, conditioning, independence analysis of randomized algorithms Functions and their properties Decision trees complexity: lower bounds, average-case Graphs and digraphs Eulerian circuits; Hamiltonian cycles easy vs. hard Spanning trees, shortest paths greed, dynamic programming Rates of growth big-o asymptotics Problem-solving Zeitz book on class webpage; Polya How To Solve It Google interviews Prepare you for success in CSE 100, 101 and beyond

3 Discrete Math and Problem Solving Discrete Math = foundation for all CS Problem Solving = The Spirit of Computing Driven by real-world necessity Computational science (biology, chemistry, ) AI (intelligent vehicles, computational finance, ) Optimization (logistics, scheduling, ) Data science (web social big data and cloud/mobile) Problems are solved on computers with algorithms and data structures Tools: counting, recurrences, graph models All in CSE 21!

4 Class Structure Textbook: Bender and Williamson (online) Links to MIT, Harvard courses, boot camp Many other resources can be found online Platform iclickers for quiz, participation Please register on ted.ucsd.edu WeBWorK for HW HW #0 pipe-cleaner is due Thursday before class Piazza for discussion, announcements Class website: Grading 5% participation, 10% quiz, 15% HW, 30% MT, 40% Final

5 Class Structure (cont.) Dr. Rob Rubalcaba teaches Section A00 (MWF) Shared between the two sections TAs OHs Discussion sessions (M and W, 4pm and 5pm; Center 115) HWs NOT shared between the two sections Quizzes and Participation Midterm Final Questions?

6 Tips for Effective Group Discussion Take turns being the first one to talk Even if you all agree on the answer, don t stop there! Go over each wrong answer and explain why it is wrong Ask yourselves why somebody might be tempted to choose it. What s the trick? Even if your group-mate has said something very clearly and correctly, think about other ways to phrase it in your own words So, what I think you said was,... Your brain will remember it better if you say it too!

7 Today: CL Sections 1, 2 Question: Teams A and B play in a basketball tournament. The first team to win two games in a row or a total of three games wins the tournament. What is the number of ways in which the tournament can occur?

8 Today: CL Sections 1, 2 Question: Teams A and B play in a basketball tournament. The first team to win two games in a row or a total of three games wins the tournament. What is the number of ways in which the tournament can occur? Ideas.. The answer is even ( symmetry ) We can t have more than five games in total The possibilities can be organized as a tree

9 Sets and Lists Set : a collection of distinct objects where order does not matter Notation: {a, b, c, d} List (or string) : an ordered collection Notation: (a, b, c, d, a) or abcda (Whether repetition is allowed will be specified when referring to a list) Size or cardinality : A k-set is a set of size k S = {a, b, c, d} is a 4-set, and S = 4 A k-list is a list of size k L = (a, b, c, d, a) is a 5-list, and L = 5 Multiset : a collection of objects where order does not matter, but repetition does matter Example: {a, b, b, a, a}

10 Examples Consider the 4-set S = {w,x,y,z} I ve starting a list of all the 2-element subsets of S : {w,x}, {w,y}, {x,y}, {x,z}, Clicker question C1-1: How many of the following should be added to my list of 2-element subsets? {x,x} {x,w} {, x} {{x,y}} {z,w} (A): 0 (B): 1 (C): 2 (D): 3 (E) 4 or more

11 Examples How many 2-element subsets of the 4-set S = {w,x,y,z}? How many 2-lists of elements from S? How many 4-lists of elements from S? How many 2-lists of elements from S without repetition? How many 4-lists of elements from S without repetition? How many 4-lists of elements from S = {t,u,v,w,x,y,z}?

12 Theorems Theorem 1: There are n k ways to form a k-list from the elements of an n-set. Theorem 4: There are n (n 1) (n 2) (n k + 1) ways to form a k-list from distinct elements of an n-set. Remember: distinct means without repetition That is, n (n 1) (n 2) (n k + 1) = n! / (n k)! Ways There are n! ways to order the n elements of an n-set Use k = n in Theorem 4 above

13 Cartesian Product and Lexicographic Order Given sets C 1, C 2,, C k Their Cartesian product is C 1 C 2 C k and has elements (x 1,x 2,,x k ) where x i C i, i = 1,, k Cardinalities: C 1 C 2 C k = C 1 C 2 C k Example: S = {a,b,c}; T = {1,2} S T = {(a,1), (a,2), (b,1), (b,2), (c,1), (c,2)} S T = 6 = 3 2

14 Cartesian Product and Lexicographic Order Given sets C 1, C 2,, C k Their Cartesian product is C 1 C 2 C k and has elements (x 1,x 2,,x k ) where x i C i, i = 1,, k Cardinalities: C 1 C 2 C k = C 1 C 2 C k Lexicographic order = dictionary order, given existence of an order on the elements of each set C i in the Cartesian product S = {a,b,c} with a < b < c. Then, S S in lexicographic order:

15 HW #1 (due Sunday April 6 11:59 PM) HW 1.1 (1 pts) Standard automobile license plates in Pennsylvania have 1 nonzero digit, followed by 3 letters, followed by 4 digits. How many different standard plates are possible in this system? HW 1.2 (3 pts) A vendor sells ice cream from a cart on a sidewalk in Mission Bay. He offers 4 different flavors and 5 different kinds of cones. (a) How many different single-scoop ice cream cones can you buy from this vendor? (b) How many different two-scoop ice cream cones, where, e.g., chocolate on top of strawberry is different than strawberry on top of chocolate? (c) What would be the answer to (b) if, e.g., chocolate-strawberry is considered the same as strawberry-chocolate? HW 1.3 (4 pts) There are 9 chairs in a row. 5 boys and 4 girls are to be seated in the chairs. In how many ways can this be done if (a) there are no restrictions; (b) if boys and girls must alternate; (c) if all the boys must sit next to each other (i.e., in consecutive chairs); and (d) if all the boys must sit next to each other, and all the girls must sit next to each other? HW 1.4 (4 pts) An n-digit number is a list of n 1 digits where the first digit is nonzero. (a) How many n-digit numbers are there (as a function of n)? (b) How many n-digit numbers contain no 1 s? (c) How many n-digit numbers contain at least one 2? (d) For n > 2, how many n-digit numbers contain at least one 2 and at least one 3, but no 7 s? HW 1.5 (2 pts) How many distinct anagrams can be created from the word MILLENNIUM if the new words do not need to be meaningful? (An anagram is a rearrangement of letters.) HW 1.6 (2 pts) (a) How many ways are there to form a list of three letters from the letters in the word MILLENNIUM, if no letter can be used more often than it appears in MILLENNIUM? (b) What about lists with four letters? HW 1.7 (3 pts) Consider words which only use the letters A, B, C, D, E. (a) How many four-letter words can be made using these letters? (b) How many four-letter words have exactly two vowels and two consonants? (c) Of the four-letter words with exactly two vowels and two consonants, how many have distinct vowels? HW 1.8 (3 pts) A monotone increasing number consists of digits taken from the set {1, 2,, 9}, with each digit greater than or equal to its neighbor digit to the left (if that digit exists). E.g., is a monotone increasing number with 13 digits. How many 7-digit monotone increasing numbers are there? HW1.9 (3 pts) An icosahedron has 20 faces. Each is an equilateral triangle. Five faces meet at each vertex. Determine the number of vertices V and the number of edges E in an icosahedron. Write the sum V + E for your answer.

16 Problems 1: Parity, Pigeonhole, Invariants P1.1 You have 7 glasses, all right-side up. In any single move, you can turn over exactly 4 glasses. Is there a sequence of moves that end up with all 7 glasses upsidedown? Explain. P1.2 Prove that if five points lie in a 2 x 2 square region, some two of them must be no more than sqrt(2) distance apart. P1.3 Given any small positive real > 0, prove that there is some integer n such that n is within of an integer value. P1.4 Given the set of integers S = {1, 2,, 200}. Prove that no matter how you choose 101 numbers from S, there will be two chosen numbers such that one evenly divides the other.

17 Problems 1: Parity, Pigeonhole, Invariants P1.5 Three frogs are initially located in the infinite plane at points (1,1), (1,0) and (0,0). When one frog jumps over another frog, its position is reflected about the other frog s position. E.g., if the frog at (0,0) jumps over the frog at (1,0), it lands at (2,0). Can one of the three frogs ever get to (1, 1)? Explain. P1.6 At a big international conference, many handshakes are exchanged. We call a person an odd person if she has exchanged an odd number of handshakes. Otherwise, she is called an even person. Explain why, at any moment, there is an even number of odd persons.

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 6 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 6 Notes Goals: CL Sections 3, 4; FN Section

More information

Counting Strategies: Inclusion/Exclusion, Categories

Counting Strategies: Inclusion/Exclusion, Categories Counting Strategies: Inclusion/Exclusion, Categories CSE21 Winter 2017, Day 16 (B00), Day 11 (A00) February 17, 2017 http://vlsicad.ucsd.edu/courses/cse21-w17 Sum rule For any disjoint sets, A and B: A

More information

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 8 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 8 Notes Goals for Today Counting Partitions

More information

Counting Strategies: Inclusion/Exclusion, Categories

Counting Strategies: Inclusion/Exclusion, Categories Counting Strategies: Inclusion/Exclusion, Categories CSE21 Winter 2017, Day 16 (B00), Day 11 (A00) February 17, 2017 http://vlsicad.ucsd.edu/courses/cse21-w17 Miis In some video games, each player can

More information

Counting Strategies: Inclusion-Exclusion, Categories

Counting Strategies: Inclusion-Exclusion, Categories Counting Strategies: Inclusion-Exclusion, Categories Russell Impagliazzo and Miles Jones Thanks to Janine Tiefenbruck http://cseweb.ucsd.edu/classes/sp16/cse21-bd/ May 4, 2016 A scheduling problem In one

More information

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Final Exam Review Session Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Notes 140608 Review Things to Know has

More information

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 15 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 15 Notes Goals for this week Big-O complexity

More information

Counting with Categories and Binomial Coefficients

Counting with Categories and Binomial Coefficients Counting with Categories and Binomial Coefficients CSE21 Winter 2017, Day 17 (B00), Day 12 (A00) February 22, 2017 http://vlsicad.ucsd.edu/courses/cse21-w17 When sum rule fails Rosen p. 392-394 Let A =

More information

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 14 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 14 Notes Goals for this week Big-O complexity

More information

Statics - TAM 210 & TAM 211. Spring 2018

Statics - TAM 210 & TAM 211. Spring 2018 Statics - TAM 210 & TAM 211 Spring 2018 Course distribution Required TAM 210 TAM 211 Aerospace Engineering 31 1 Agricultural & Biological 12 3 Bioengineering 2 6 Civil Engineering 41 Engineering Mechanics

More information

CSEP 521 Applied Algorithms. Richard Anderson Winter 2013 Lecture 1

CSEP 521 Applied Algorithms. Richard Anderson Winter 2013 Lecture 1 CSEP 521 Applied Algorithms Richard Anderson Winter 2013 Lecture 1 CSEP 521 Course Introduction CSEP 521, Applied Algorithms Monday s, 6:30-9:20 pm CSE 305 and Microsoft Building 99 Instructor Richard

More information

CS1800 Discrete Structures Final Version A

CS1800 Discrete Structures Final Version A CS1800 Discrete Structures Fall 2017 Profs. Aslam, Gold, & Pavlu December 11, 2017 CS1800 Discrete Structures Final Version A Instructions: 1. The exam is closed book and closed notes. You may not use

More information

PUTNAM TRAINING PROBLEMS

PUTNAM TRAINING PROBLEMS PUTNAM TRAINING PROBLEMS (Last updated: December 3, 2003) Remark This is a list of Math problems for the NU Putnam team to be discussed during the training sessions Miguel A Lerma 1 Bag of candies In a

More information

CISC-102 Fall 2017 Week 1 David Rappaport Goodwin G-532 Office Hours: Tuesday 1:30-3:30

CISC-102 Fall 2017 Week 1 David Rappaport Goodwin G-532 Office Hours: Tuesday 1:30-3:30 Week 1 Fall 2017 1 of 42 CISC-102 Fall 2017 Week 1 David Rappaport daver@cs.queensu.ca Goodwin G-532 Office Hours: Tuesday 1:30-3:30 Homework Homework every week. Keep up to date or you risk falling behind.

More information

Lecture 2 [Chapter 21] Tuesday, Jan 17th

Lecture 2 [Chapter 21] Tuesday, Jan 17th Lecture 2 [Chapter 21] Tuesday, Jan 17th Administrative Items Assignments this week: read Ch 21 and Ch 22 in the textbook complete Pre-Lecture Ch22 HW assignment complete Ch 21 HW assignment [Pre-Lecture

More information

Week 2: Counting with sets; The Principle of Inclusion and Exclusion (PIE) 13 & 15 September 2017

Week 2: Counting with sets; The Principle of Inclusion and Exclusion (PIE) 13 & 15 September 2017 (1/25) MA204/MA284 : Discrete Mathematics Week 2: Counting with sets; The Principle of Inclusion and Exclusion (PIE) Dr Niall Madden 13 & 15 September 2017 A B A B C Tutorials (2/25) Tutorials will start

More information

Trees/Intro to counting

Trees/Intro to counting Trees/Intro to counting Russell Impagliazzo and Miles Jones Thanks to Janine Tiefenbruck http://cseweb.ucsd.edu/classes/sp16/cse21-bd/ April 29, 2016 Equivalence between rooted and unrooted trees Goal

More information

Math 1553 Introduction to Linear Algebra. School of Mathematics Georgia Institute of Technology

Math 1553 Introduction to Linear Algebra. School of Mathematics Georgia Institute of Technology Math 1553 Introduction to Linear Algebra School of Mathematics Georgia Institute of Technology Chapter 1 Overview Linear. Algebra. What is Linear Algebra? Linear having to do with lines/planes/etc. For

More information

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 10 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 10 Notes Midterm Good job overall! = 81; =

More information

FINAL EXAM PRACTICE PROBLEMS CMSC 451 (Spring 2016)

FINAL EXAM PRACTICE PROBLEMS CMSC 451 (Spring 2016) FINAL EXAM PRACTICE PROBLEMS CMSC 451 (Spring 2016) The final exam will be on Thursday, May 12, from 8:00 10:00 am, at our regular class location (CSI 2117). It will be closed-book and closed-notes, except

More information

1.1 Administrative Stuff

1.1 Administrative Stuff 601.433 / 601.633 Introduction to Algorithms Lecturer: Michael Dinitz Topic: Introduction, Karatsuba/Strassen Date: 9/4/18 1.1 Administrative Stuff Welcome to Algorithms! In this class you will learn the

More information

Math.3336: Discrete Mathematics. Combinatorics: Basics of Counting

Math.3336: Discrete Mathematics. Combinatorics: Basics of Counting Math.3336: Discrete Mathematics Combinatorics: Basics of Counting Instructor: Dr. Blerina Xhabli Department of Mathematics, University of Houston https://www.math.uh.edu/ blerina Email: blerina@math.uh.edu

More information

Year 1: Fall. Year 1: Spring. HSB Topics - 2 Year Cycle

Year 1: Fall. Year 1: Spring. HSB Topics - 2 Year Cycle Year 1: Fall Pigeonhole 1 Pigeonhole 2 Induction 1 Induction 2 Inequalities 1 (AM-GM) Geometry 1 - Triangle Area Ratio Theorem (TART) Contest (Math Battle) Geometry 2 - Inscribed Quadrilaterals, Ptolemy

More information

Posted Thursday February 14. STUDY IN-DEPTH...the posted solutions to homeworks 1-3. Compare with your own solutions.

Posted Thursday February 14. STUDY IN-DEPTH...the posted solutions to homeworks 1-3. Compare with your own solutions. CIS 160 - Spring 2019 (Instructors Val Tannen, Clayton Greenberg Midterm 1 Review Posted Thursday February 14 1 Readings STUDY IN-DEPTH......the posted notes for lectures 1-8. STUDY IN-DEPTH......the posted

More information

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis

UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis UCSD CSE 21, Spring 2014 [Section B00] Mathematics for Algorithm and System Analysis Lecture 10 Class URL: http://vlsicad.ucsd.edu/courses/cse21-s14/ Lecture 10 Notes Midterm Good job overall! = 81; =

More information

An Introduction to Combinatorics

An Introduction to Combinatorics Chapter 1 An Introduction to Combinatorics What Is Combinatorics? Combinatorics is the study of how to count things Have you ever counted the number of games teams would play if each team played every

More information

Morpheus: Neo, sooner or later you re going to realize, just as I did, that there s a difference between knowing the path, and walking the path.

Morpheus: Neo, sooner or later you re going to realize, just as I did, that there s a difference between knowing the path, and walking the path. Morpheus: Neo, sooner or later you re going to realize, just as I did, that there s a difference between knowing the path, and walking the path. Why CS 53? Making linear algebra more concrete. Making it

More information

Today: Scalars and vectors Coordinate systems, Components Vector Algebra

Today: Scalars and vectors Coordinate systems, Components Vector Algebra PHY131H1F - Class 6 Today: Scalars and vectors Coordinate systems, Components Vector Algebra Clicker Question The ball rolls up the ramp, then back down. Which is the correct acceleration graph? [Define

More information

Recursive Definitions

Recursive Definitions Recursive Definitions Example: Give a recursive definition of a n. a R and n N. Basis: n = 0, a 0 = 1. Recursion: a n+1 = a a n. Example: Give a recursive definition of n i=0 a i. Let S n = n i=0 a i,

More information

Enumerative Combinatorics Through Guided Discovery 1

Enumerative Combinatorics Through Guided Discovery 1 Enumerative Combinatorics Through Guided Discovery 1 Kenneth P. Bogart March 20, 2005 1 This material is based upon work supported by the National Science Foundation under Grant No. 0087466. Any opinions,

More information

Combinatorics Through Guided Discovery 1

Combinatorics Through Guided Discovery 1 Combinatorics Through Guided Discovery 1 Kenneth P. Bogart March 19, 2002 1 Development of this project was supported by National Science Foundation Grant Number DUE-0087466 ii c Kenneth P. Bogart, 2002

More information

Organization Team Team ID#

Organization Team Team ID# 1. [4] A random number generator will always output 7. Sam uses this random number generator once. What is the expected value of the output? 2. [4] Let A, B, C, D, E, F be 6 points on a circle in that

More information

Homework every week. Keep up to date or you risk falling behind. Quizzes and Final exam are based on homework questions.

Homework every week. Keep up to date or you risk falling behind. Quizzes and Final exam are based on homework questions. Week 1 Fall 2016 1 of 25 CISC-102 Fall 2016 Week 1 David Rappaport daver@cs.queensu.ca Goodwin G-532 Office Hours: Monday 1:00-3:00 (or by appointment) Homework Homework every week. Keep up to date or

More information

Contents. Counting Methods and Induction

Contents. Counting Methods and Induction Contents Counting Methods and Induction Lesson 1 Counting Strategies Investigations 1 Careful Counting... 555 Order and Repetition I... 56 3 Order and Repetition II... 569 On Your Own... 573 Lesson Counting

More information

Announcements Wednesday, November 15

Announcements Wednesday, November 15 Announcements Wednesday, November 15 The third midterm is on this Friday, November 17. The exam covers 3.1, 3.2, 5.1, 5.2, 5.3, and 5.5. About half the problems will be conceptual, and the other half computational.

More information

Name: Harry Potter (pothar31) Discrete Math HW#6 Solutions March 9, Added: Chapter 6 Summary/Review: 17(a), 8, 15, 29, 42 and Q1 and Q2 below

Name: Harry Potter (pothar31) Discrete Math HW#6 Solutions March 9, Added: Chapter 6 Summary/Review: 17(a), 8, 15, 29, 42 and Q1 and Q2 below Name: Harry Potter (pothar31 Discrete Math HW#6 Solutions March 9, 2018 Instructions: Do the following problems. Type up those in bold in LaTeX. csf submit them. 6.2: 33, 34, 38, 44 6.3: 18, 20 (explain

More information

CS1800 Discrete Structures Spring 2018 February CS1800 Discrete Structures Midterm Version A

CS1800 Discrete Structures Spring 2018 February CS1800 Discrete Structures Midterm Version A CS1800 Discrete Structures Spring 2018 February 2018 CS1800 Discrete Structures Midterm Version A Instructions: 1. The exam is closed book and closed notes. You may not use a calculator or any other electronic

More information

n CS 160 or CS122 n Sets and Functions n Propositions and Predicates n Inference Rules n Proof Techniques n Program Verification n CS 161

n CS 160 or CS122 n Sets and Functions n Propositions and Predicates n Inference Rules n Proof Techniques n Program Verification n CS 161 Discrete Math at CSU (Rosen book) Sets and Functions (Rosen, Sections 2.1,2.2, 2.3) TOPICS Discrete math Set Definition Set Operations Tuples 1 n CS 160 or CS122 n Sets and Functions n Propositions and

More information

Announcements Monday, September 18

Announcements Monday, September 18 Announcements Monday, September 18 WeBWorK 1.4, 1.5 are due on Wednesday at 11:59pm. The first midterm is on this Friday, September 22. Midterms happen during recitation. The exam covers through 1.5. About

More information

Welcome to Math 102 Section 102

Welcome to Math 102 Section 102 Welcome to Math 102 Section 102 Mingfeng Qiu Sep. 5, 2018 Math 102: Announcements Instructor: Mingfeng Qiu Email: mqiu@math.ubc.ca Course webpage: https://canvas.ubc.ca Check the calendar!!! Sectional

More information

Design and Analysis of Algorithms

Design and Analysis of Algorithms CSE 101, Winter 2018 Design and Analysis of Algorithms Instructor: Prof. Andrew B. Kahng Webpage: http://vlsicad.ucsd.edu/~abk/ Email: abk@cs.ucsd.edu Telephone: 858-822-4884 Office Hours: Wed 12:30-1:30pm,

More information

Physics Fall Semester. Sections 1 5. Please find a seat. Keep all walkways free for safety reasons and to comply with the fire code.

Physics Fall Semester. Sections 1 5. Please find a seat. Keep all walkways free for safety reasons and to comply with the fire code. Physics 222 2018 Fall Semester Sections 1 5 Please find a seat. Keep all walkways free for safety reasons and to comply with the fire code. Electronic Devices Please separate your professional from your

More information

Combinatorics Through Guided Discovery 1

Combinatorics Through Guided Discovery 1 Combinatorics Through Guided Discovery 1 Kenneth P. Bogart January 11, 2004 1 Development of this project was supported by National Science Foundation Grant Number DUE-0087466 ii c Kenneth P. Bogart, 2002

More information

CSE 2001: Introduction to Theory of Computation Fall Suprakash Datta

CSE 2001: Introduction to Theory of Computation Fall Suprakash Datta CSE 2001: Introduction to Theory of Computation Fall 2012 Suprakash Datta datta@cse.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.cs.yorku.ca/course/2001 9/6/2012 CSE

More information

HIGH SCHOOL - PROBLEMS

HIGH SCHOOL - PROBLEMS PURPLE COMET! MATH MEET April 2017 HIGH SCHOOL - PROBLEMS Copyright c Titu Andreescu and Jonathan Kane Problem 1 Paul starts at 1 and counts by threes: 1, 4, 7, 10,.... At the same time and at the same

More information

BETWEEN PAPERS PRACTICE (F&H)

BETWEEN PAPERS PRACTICE (F&H) BETWEEN PAPERS PRACTICE (F&H) Summer 2018 QUESTIONS Not A best Guess paper. Neither is it a prediction... only the examiners know what is going to come up! Fact! You also need to REMEMBER that just because

More information

MATHEMATICS 105 Practice Final Exam, F Please answer the following questions (3 points each) 30 pt

MATHEMATICS 105 Practice Final Exam, F Please answer the following questions (3 points each) 30 pt MATHEMATICS 105 Practice Final Exam, F2005 Print name Last name First name Here are some useful equations: Linear growth Recursive P N = P N 1 + d d is the common difference Exponential growth Recursive

More information

CSE 2001: Introduction to Theory of Computation Fall Suprakash Datta

CSE 2001: Introduction to Theory of Computation Fall Suprakash Datta CSE 2001: Introduction to Theory of Computation Fall 2013 Suprakash Datta datta@cse.yorku.ca Office: CSEB 3043 Phone: 416-736-2100 ext 77875 Course page: http://www.eecs.yorku.ca/course/2001 9/10/2013

More information

Solution: There are 30 choices for the first person to leave, 29 for the second, etc. Thus this exodus can occur in. = P (30, 8) ways.

Solution: There are 30 choices for the first person to leave, 29 for the second, etc. Thus this exodus can occur in. = P (30, 8) ways. Math-2320 Assignment 7 Solutions Problem 1: (Section 7.1 Exercise 4) There are 30 people in a class learning about permutations. One after another, eight people gradually slip out the back door. In how

More information

2.57 PART E: THE FUNDAMENTAL THEOREM OF ALGEBRA (FTA) The Fundamental Theorem of Algebra (FTA)

2.57 PART E: THE FUNDAMENTAL THEOREM OF ALGEBRA (FTA) The Fundamental Theorem of Algebra (FTA) 2.57 PART E: THE FUNDAMENTAL THEOREM OF ALGEBRA (FTA) The Fundamental Theorem of Algebra (FTA) If f ( x) is a nonconstant n th -degree polynomial in standard form with real coefficients, then it must have

More information

Basic Combinatorics. Math 40210, Section 01 Fall Homework 8 Solutions

Basic Combinatorics. Math 40210, Section 01 Fall Homework 8 Solutions Basic Combinatorics Math 4010, Section 01 Fall 01 Homework 8 Solutions 1.8.1 1: K n has ( n edges, each one of which can be given one of two colors; so Kn has (n -edge-colorings. 1.8.1 3: Let χ : E(K k

More information

PRIMES Math Problem Set

PRIMES Math Problem Set PRIMES Math Problem Set PRIMES 017 Due December 1, 01 Dear PRIMES applicant: This is the PRIMES 017 Math Problem Set. Please send us your solutions as part of your PRIMES application by December 1, 01.

More information

Grade 8 FSA Mathematics Practice Test Answer Key

Grade 8 FSA Mathematics Practice Test Answer Key Grade 8 FSA Mathematics Practice Test Answer Key The Grade 8 FSA Mathematics Practice Test Answer Key provides the correct response(s) for each item on the practice test. The practice questions and answers

More information

Announcements Wednesday, October 04

Announcements Wednesday, October 04 Announcements Wednesday, October 04 Please fill out the mid-semester survey under Quizzes on Canvas. WeBWorK 1.8, 1.9 are due today at 11:59pm. The quiz on Friday covers 1.7, 1.8, and 1.9. My office is

More information

Combinatorics Through Guided Discovery 1

Combinatorics Through Guided Discovery 1 Combinatorics Through Guided Discovery 1 Kenneth P. Bogart January 1, 2003 1 Development of this project was supported by National Science Foundation Grant Number DUE-0087466 ii c Kenneth P. Bogart, 2002

More information

Today s Menu. Administrativia Two Problems Cutting a Pizza Lighting Rooms

Today s Menu. Administrativia Two Problems Cutting a Pizza Lighting Rooms Welcome! L01 Today s Menu Administrativia Two Problems Cutting a Pizza Lighting Rooms Administrativia Course page: https://www.cs.duke.edu/courses/spring13/compsci230/ Who we are: Instructor: TA: UTAs:

More information

Notes slides from before lecture. CSE 21, Winter 2017, Section A00. Lecture 16 Notes. Class URL:

Notes slides from before lecture. CSE 21, Winter 2017, Section A00. Lecture 16 Notes. Class URL: Notes slides from before lecture CSE 21, Winter 2017, Section A00 Lecture 16 Notes Class URL: http://vlsicad.ucsd.edu/courses/cse21-w17/ Notes slides from before lecture Notes March 8 (1) This week: Days

More information

Math576: Combinatorial Game Theory Lecture note IV

Math576: Combinatorial Game Theory Lecture note IV Math576: Combinatorial Game Theory Lecture note IV Linyuan Lu University of South Carolina Spring, 2017 Disclaimer The slides are solely for the convenience of the students who are taking this course.

More information

Chapter 8 Sequences, Series, and Probability

Chapter 8 Sequences, Series, and Probability Chapter 8 Sequences, Series, and Probability Overview 8.1 Sequences and Series 8.2 Arithmetic Sequences and Partial Sums 8.3 Geometric Sequences and Partial Sums 8.5 The Binomial Theorem 8.6 Counting Principles

More information

Machine Learning (CS 567) Lecture 3

Machine Learning (CS 567) Lecture 3 Machine Learning (CS 567) Lecture 3 Time: T-Th 5:00pm - 6:20pm Location: GFS 118 Instructor: Sofus A. Macskassy (macskass@usc.edu) Office: SAL 216 Office hours: by appointment Teaching assistant: Cheol

More information

MATH 10B METHODS OF MATHEMATICS: CALCULUS, STATISTICS AND COMBINATORICS

MATH 10B METHODS OF MATHEMATICS: CALCULUS, STATISTICS AND COMBINATORICS MATH 10B METHODS OF MATHEMATICS: CALCULUS, STATISTICS AND COMBINATORICS Lior Pachter and Lawrence C. Evans Department of Mathematics University of California Berkeley, CA 94720 January 21, 2013 Lior Pachter

More information

How can you use multiplication or division to solve an equation? ACTIVITY: Finding Missing Dimensions

How can you use multiplication or division to solve an equation? ACTIVITY: Finding Missing Dimensions 7.3 Solving Equations Using Multiplication or Division How can you use multiplication or division to solve an equation? 1 ACTIVITY: Finding Missing Dimensions Work with a partner. Describe how you would

More information

The Second Annual West Windsor-Plainsboro Mathematics Tournament

The Second Annual West Windsor-Plainsboro Mathematics Tournament The Second Annual West Windsor-Plainsboro Mathematics Tournament Saturday October 9th, 0 Grade 8 Test RULES The test consists of 0 multiple choice problems and 0 short answer problems to be done in 0 minutes.

More information

CSE 421 Algorithms. Richard Anderson Autumn 2015 Lecture 1

CSE 421 Algorithms. Richard Anderson Autumn 2015 Lecture 1 CSE 421 Algorithms Richard Anderson Autumn 2015 Lecture 1 CSE 421 Course Introduction CSE 421, Introduction to Algorithms MWF, 1:30-2:20 pm MGH 421 Instructor Richard Anderson, anderson@cs.washington.edu

More information

Grades 7 & 8, Math Circles 10/11/12 October, Series & Polygonal Numbers

Grades 7 & 8, Math Circles 10/11/12 October, Series & Polygonal Numbers Faculty of Mathematics Waterloo, Ontario NL 3G1 Centre for Education in Mathematics and Computing Grades 7 & 8, Math Circles 10/11/1 October, 017 Series & Polygonal Numbers Solutions Example 1 (a) 1 +

More information

Announcements Wednesday, August 30

Announcements Wednesday, August 30 Announcements Wednesday, August 30 WeBWorK due on Friday at 11:59pm. The first quiz is on Friday, during recitation. It covers through Monday s material. Quizzes mostly test your understanding of the homework.

More information

Some Review Problems for Exam 3: Solutions

Some Review Problems for Exam 3: Solutions Math 3355 Spring 017 Some Review Problems for Exam 3: Solutions I thought I d start by reviewing some counting formulas. Counting the Complement: Given a set U (the universe for the problem), if you want

More information

Discrete Probability

Discrete Probability Discrete Probability Counting Permutations Combinations r- Combinations r- Combinations with repetition Allowed Pascal s Formula Binomial Theorem Conditional Probability Baye s Formula Independent Events

More information

Ross Program 2017 Application Problems

Ross Program 2017 Application Problems Ross Program 2017 Application Problems This document is part of the application to the Ross Mathematics Program, and is posted at http://u.osu.edu/rossmath/. The Admission Committee will start reading

More information

CSE 20. Lecture 4: Introduction to Boolean algebra. CSE 20: Lecture4

CSE 20. Lecture 4: Introduction to Boolean algebra. CSE 20: Lecture4 CSE 20 Lecture 4: Introduction to Boolean algebra Reminder First quiz will be on Friday (17th January) in class. It is a paper quiz. Syllabus is all that has been done till Wednesday. If you want you may

More information

Course Staff. Textbook

Course Staff. Textbook Course Staff CS311H: Discrete Mathematics Intro and Propositional Logic Instructor: Işıl Dillig Instructor: Prof. Işıl Dillig TAs: Jacob Van Geffen, Varun Adiga, Akshay Gupta Class meets every Monday,

More information

1 The Basic Counting Principles

1 The Basic Counting Principles 1 The Basic Counting Principles The Multiplication Rule If an operation consists of k steps and the first step can be performed in n 1 ways, the second step can be performed in n ways [regardless of how

More information

Announcements Monday, November 19

Announcements Monday, November 19 Announcements Monday, November 19 You should already have the link to view your graded midterm online. Course grades will be curved at the end of the semester. The percentage of A s, B s, and C s to be

More information

Mathematical Thinking Exam 2 20 November 2017

Mathematical Thinking Exam 2 20 November 2017 Mathematical Thinking Exam 2 20 November 2017 Name: Instructions: Be sure to read each problem s directions. Write clearly during the exam and fully erase or mark out anything you do not want graded. You

More information

Counting Review R 1. R 3 receiver. sender R 4 R 2

Counting Review R 1. R 3 receiver. sender R 4 R 2 Counting Review Purpose: It is the foundation for many simple yet interesting examples and applications of probability theory. For good counting we need good crutches (fingers?). Hence good images for

More information

Lesson One Hundred and Sixty-One Normal Distribution for some Resolution

Lesson One Hundred and Sixty-One Normal Distribution for some Resolution STUDENT MANUAL ALGEBRA II / LESSON 161 Lesson One Hundred and Sixty-One Normal Distribution for some Resolution Today we re going to continue looking at data sets and how they can be represented in different

More information

2013 Junior High Mathematics Contest. Solutions: 7 th Grade Individual Contest:

2013 Junior High Mathematics Contest. Solutions: 7 th Grade Individual Contest: Solutions: 7 th Grade Individual Contest: 1) Solve for x. The roots are -1/3 and 5/2. (-1/3)*(5/2) = -5/6 2) The difference between each even and odd term is 1. Since there are 1000 of them, our answer

More information

Announcements Wednesday, August 30

Announcements Wednesday, August 30 Announcements Wednesday, August 30 WeBWorK due on Friday at 11:59pm. The first quiz is on Friday, during recitation. It covers through Monday s material. Quizzes mostly test your understanding of the homework.

More information

P versus NP. Math 40210, Spring April 8, Math (Spring 2012) P versus NP April 8, / 9

P versus NP. Math 40210, Spring April 8, Math (Spring 2012) P versus NP April 8, / 9 P versus NP Math 40210, Spring 2014 April 8, 2014 Math 40210 (Spring 2012) P versus NP April 8, 2014 1 / 9 Properties of graphs A property of a graph is anything that can be described without referring

More information

Updated Jan SESSION 4 Permutations Combinations Polynomials

Updated Jan SESSION 4 Permutations Combinations Polynomials SESSION 4 Permutations Combinations Polynomials Mathematics 30-1 Learning Outcomes Permutations and Combinations General Outcome: Develop algebraic and numeric reasoning that involves combinatorics. Specific

More information

Classes of Problems. CS 461, Lecture 23. NP-Hard. Today s Outline. We can characterize many problems into three classes:

Classes of Problems. CS 461, Lecture 23. NP-Hard. Today s Outline. We can characterize many problems into three classes: Classes of Problems We can characterize many problems into three classes: CS 461, Lecture 23 Jared Saia University of New Mexico P is the set of yes/no problems that can be solved in polynomial time. Intuitively

More information

1. Determine (with proof) the number of ordered triples (A 1, A 2, A 3 ) of sets which satisfy

1. Determine (with proof) the number of ordered triples (A 1, A 2, A 3 ) of sets which satisfy UT Putnam Prep Problems, Oct 19 2016 I was very pleased that, between the whole gang of you, you solved almost every problem this week! Let me add a few comments here. 1. Determine (with proof) the number

More information

Introductory Physics PHYS101

Introductory Physics PHYS101 Introductory Physics PHYS101 Dr Richard H. Cyburt Assistant Professor of Physics My office: 402c in the Science Building My phone: (304) 384-6006 My email: rcyburt@concord.edu In person or email is the

More information

Silver Spring International Middle School Algebra Summer Packet

Silver Spring International Middle School Algebra Summer Packet Name: Silver Spring International Middle School Algebra Summer Packet It is NOT mandatory to complete but, STRONGLY encouraged. MONTGOMERY COUNTY PUBLIC SCHOOLS SILVER SPRING INTERNATIONAL MIDDLE SCHOOL

More information

SYLLABUS SEFS 540 / ESRM 490 B Optimization Techniques for Natural Resources Spring 2017

SYLLABUS SEFS 540 / ESRM 490 B Optimization Techniques for Natural Resources Spring 2017 SYLLABUS SEFS 540 / ESRM 490 B Optimization Techniques for Natural Resources Spring 2017 Lectures: Winkenwerder Hall 107, 4:50-5:50pm, MW Labs: Mary Gates Hall 030, 1:30-2:50pm, Th Course Web Site: http://faculty.washington.edu/toths/course.shtml

More information

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya

Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya BBM 205 Discrete Mathematics Hacettepe University http://web.cs.hacettepe.edu.tr/ bbm205 Lecture 4: Counting, Pigeonhole Principle, Permutations, Combinations Lecturer: Lale Özkahya Resources: Kenneth

More information

CS173 Lecture B, November 3, 2015

CS173 Lecture B, November 3, 2015 CS173 Lecture B, November 3, 2015 Tandy Warnow November 3, 2015 CS 173, Lecture B November 3, 2015 Tandy Warnow Announcements Examlet 7 is a take-home exam, and is due November 10, 11:05 AM, in class.

More information

Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting

Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting Discrete Mathematics & Mathematical Reasoning Chapter 6: Counting Kousha Etessami U. of Edinburgh, UK Kousha Etessami (U. of Edinburgh, UK) Discrete Mathematics (Chapter 6) 1 / 39 Chapter Summary The Basics

More information

Physics 1140 Fall 2013 Introduction to Experimental Physics

Physics 1140 Fall 2013 Introduction to Experimental Physics Physics 1140 Fall 2013 Introduction to Experimental Physics Joanna Atkin Lecture 1: Introduction to Course Significant Figures Standard Notation General information Lecture instructor: Joanna Atkin email:

More information

Announcements Wednesday, September 20

Announcements Wednesday, September 20 Announcements Wednesday, September 20 WeBWorK 1.4, 1.5 are due on Wednesday at 11:59pm. The first midterm is on this Friday, September 22. Midterms happen during recitation. The exam covers through 1.5.

More information

CSE373: Data Structures and Algorithms Lecture 2: Math Review; Algorithm Analysis. Hunter Zahn Summer 2016

CSE373: Data Structures and Algorithms Lecture 2: Math Review; Algorithm Analysis. Hunter Zahn Summer 2016 CSE373: Data Structures and Algorithms Lecture 2: Math Review; Algorithm Analysis Hunter Zahn Summer 2016 Today Finish discussing stacks and queues Review math essential to algorithm analysis Proof by

More information

EECS 1028 M: Discrete Mathematics for Engineers

EECS 1028 M: Discrete Mathematics for Engineers EECS 1028 M: Discrete Mathematics for Engineers Suprakash Datta Office: LAS 3043 Course page: http://www.eecs.yorku.ca/course/1028 Also on Moodle S. Datta (York Univ.) EECS 1028 W 18 1 / 24 Course policies

More information

CS684 Graph Algorithms

CS684 Graph Algorithms CS684 Graph Algorithms Administration and Mathematical Background Instructor: Fei Li lifei@cs.gmu.edu with subject: CS684 Office hours: Engineering Building, Room 5326, Monday 5:00pm - 7:00pm or by appointments

More information

Discrete Mathematics with Applications MATH236

Discrete Mathematics with Applications MATH236 Discrete Mathematics with Applications MATH236 Dr. Hung P. Tong-Viet School of Mathematics, Statistics and Computer Science University of KwaZulu-Natal Pietermaritzburg Campus Semester 1, 2013 Tong-Viet

More information

Combinatorics. But there are some standard techniques. That s what we ll be studying.

Combinatorics. But there are some standard techniques. That s what we ll be studying. Combinatorics Problem: How to count without counting. How do you figure out how many things there are with a certain property without actually enumerating all of them. Sometimes this requires a lot of

More information

Discrete Mathematics & Mathematical Reasoning Course Overview

Discrete Mathematics & Mathematical Reasoning Course Overview Discrete Mathematics & Mathematical Reasoning Course Overview Colin Stirling Informatics Colin Stirling (Informatics) Discrete Mathematics Today 1 / 19 Teaching staff Lecturers: Colin Stirling, first half

More information

Georgia Tech High School Math Competition

Georgia Tech High School Math Competition Georgia Tech High School Math Competition Multiple Choice Test February 28, 2015 Each correct answer is worth one point; there is no deduction for incorrect answers. Make sure to enter your ID number on

More information

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

Definition: A binary relation R from a set A to a set B is a subset R A B. Example: Chapter 9 1 Binary Relations Definition: A binary relation R from a set A to a set B is a subset R A B. Example: Let A = {0,1,2} and B = {a,b} {(0, a), (0, b), (1,a), (2, b)} is a relation from A to B.

More information

Instructors Manual Algebra and Trigonometry, 2e Cynthia Y. Young

Instructors Manual Algebra and Trigonometry, 2e Cynthia Y. Young Dear Instructor, Instructors Manual Algebra and Trigonometry, 2e Cynthia Y. Young I hope that when you read my Algebra and Trigonometry book it will be seamless with how you teach. My goal when writing

More information

CSE 20 DISCRETE MATH WINTER

CSE 20 DISCRETE MATH WINTER CSE 20 DISCRETE MATH WINTER 2017 http://cseweb.ucsd.edu/classes/wi17/cse20-ab/ Reminders Homework 3 due Sunday at noon Exam 1 in one week One note card can be used. Bring photo ID. Review sessions Thursday

More information