First Midterm Examination

Size: px
Start display at page:

Download "First Midterm Examination"

Transcription

1 Spring Semester First Midterm Examination 1) How many numbers in the set {1000, 1001, 1002,..., 9999} have sum of digits equal to 17? 2) Let n Z +. Find the negation, converse and contrapositive of the following propositions: ( ) ( ) a) P 1 : If 4 n and 5 n then 40 n b) P 2 : If (12 ) n then (16 ) n and 3 n 3) Show that (2n 1) 2 = n(2n 1)(2n + 1) 3 4) You have three containers. The two smaller ones have volumes of 189 and 119 cm 3. The third one is much larger. You have unlimited amount of water. Can you put exactly a) 6 cm 3 b) 7 cm 3 of water to the large container? How? 5) Consider the set of all 5 letter words, not necessarily meaningful. Define two relations Q and R on that set as follows: (w 1, w 2 ) Q if exactly three letters of w 1 and w 2 are identical (w 1, w 2 ) R if three or more letters of w 1 and w 2 are identical Here, position of the letter is also important. For example: (TRWQA,ARWSA) Q, (BSTUU,BSTUP) / Q (APNBT,AQWYZ) / Q (TRWQA,ARWSA) R, (BSTUU,BSTUP) R (APNBT,AQWYZ) / R a) Is Q an equivalence relation? b) Is R an equivalence relation? Explain your reasons.

2 Answers 1) Distribute 17 balls to 4 boxes such that the first box has at least 1 ball, and any box has at most 9 balls. Give 1 to first, distribute remaining 16 randomly in ( ) = different ways. Now, to find the cases where one box gets too many balls, give 9 to first, or 10 to any other and distribute remaining ones randomly in ( ) ( )( ) = different ways. So the answer is: = 597 ( ) 2) a) Negation: n such that 4 n and 5 n and (40 ) n ( ) ( ) Converse: If 40 n then 4 n and 5 n Contrapositive: If (40 ) n then (4 ) n or 5 n b) Negation: n such that (12 ) ( ) n and 16 n or 3 n Converse: If (16 n and 3 n) then (12 ) n ( ( ) Contrapositive: If 16 n or 3 n) then 12 n 3) If n = 1, we have 1 = 1. Assume it is correct for n = k, in other words: (2k 1) 2 = Add (2k + 1) 2 to both sides to obtain k(2k 1)(2k + 1) (2k 1) 2 + (2k + 1) 2 = [ ] k(2k 1) = (2k + 1) + 2k [ ] 2k 2 + 5k + 3 = (2k + 1) 3 k(2k 1)(2k + 1) 3 + (2k + 1) 2 (k + 1)(2k + 1)(2k + 3) = 3 So it is correct for n = k + 1, therefore it is correct for all positive integers by mathematical induction.

3 4) First, we have to find gcd(189, 119) using Euclid s algorithm: = = = = = 0 We can see that gcd(189, 119) = 7. Therefore it is impossible to obtain 6 (or any number less than 7) using 189 and 119. Now reversing this process we obtain: 7 = = 49 2 (70 49) = = (119 70) = = ( ) = In other words, we can obtain 7 cm 3 water by adding water 8 times with 119 and removing 5 times with ) These relations are not transitive, therefore they are not equivalence relations. For example: (ABCDE,ABCZW) Q and (ABCZW,XYCZW) Q But: (ABCDE,XYCZW) / Q Exactly the same example also proves R is not transitive.

4 Spring Semester Second Midterm Examination 1) A factory produces a certain model of a car with the following options: 8 different colors. 3 different engines. with or without sunroof. 4 different music systems. Other properties of these cars are identical. This month, the factory produced 400 cars. Which of the following statements (about this month s production) is always correct? Explain. All cars are different. At least 2 cars are identical. At least 3 cars are identical. At least 4 cars are identical. 2) 7 students will sit at a round table. 3 are from Ankara, 2 are from İstanbul and 2 are from İzmir. To meet new people, nobody wants to sit next to someone from the same city with himself/herself. In how many different ways can these students be seated? 3) There are 8 distinct modules to be written for a large software project. There are 10 distinct programmers available. You have to assign the programmers to modules such that: There will be at least one programmer working on each module. More than one programmers may work on a module. A programmer can work on a single module only. Each programmer must work on something. In how many different ways can we do this assignment?

5 4) In how many different ways can we distribute 100 identical balls to 4 different kids such that each kid gets at least 3 and at most 30 balls? 5) We will form an 8-letter string using the letters x, y, z, u, w with the following conditions: There must be at least one x. There must be at least two y s. Number of u s must be even. Number of w s must be odd. How many different strings are possible?

6 Answers 1) = = 2.08 = At least 3 cars are identical. At least 2 cars are identical. 2) Let s call these students a 1, a 2, a 3, i 1, i 2, z 1, z 2. The unwanted couples are: 1. a 1 a 2 2. a 1 a 3 3. a 2 a 3 4. i 1 i 2 5. z 1 z 2 Using inclusion-exclusion, we obtain: 6! 5 5! 2 (All permutations - unwanted couples) + 7 4! ! 2 (+2 unwanted couples) 3 3! ! 2 2 ( 3 unwanted couples) + 3 2! 2 3 (+4 unwanted couples) = 96 Second Method: Place a 1. Choose one arrangement: a 1 a 2 a 3 or a 1 a 3 a 2. (2 options). There will be 3 blanks after a 1. These can be or or ( 3 options) You have to place one i and one z to the double blank. Choose one from each set. (4 options) Order your choice. ( 2) Then order the remaining one-blank elements ( 2 4 options) There is a total number of = 96 options.

7 3) This is equivalent to the number of onto functions from a 10-element set to an 8-element set: 8 10 ( ) ( ) ( ) ( ) ( ) ( ) ( ) = Second Method: Using Stirling table, we find that 8 groups from 10 elements can be made in: = 750 different ways. But here, groups are distinct, so the answer is: 750 8! = ) (x 3 + x x 30 ) 4 = x 12 (1 + x + + x 27 ) 4 ( ) 1 x = x x In this expansion, the coefficient of x 100 is: ( ) ( ) ( ) ( ) = = x 12 ( 1 4x x 56 4x 84 + x 112 ) n=0 ( n + 3 n ) x n

8 5) The series expansion representing the solution is: ) ( (x + x2 x 2 2! + 2! + x3 3! + ) (1 + x + x2 2! + ( ) ( ) e = (e x 1) (e x 1 x) e x x + e x e x e x 2 2 = 1 ) (e 5x 2e 4x + e 3x e x + 2 e x x ) (e 4x e 3x 1 + e x 4 4 ) ) ) (1 + (x x2 2! + + x3 3! + The coefficient of x8 8! is: 1 ( ) ( ) =

9 Second Solution: To see how much series expansion simplify this problem, we can actually count all cases. If we choose, for example, 0u, 1v, 1x, 2y and 4z, there will be 8! 0! 1! 1! 2! 4! = 840 different strings made from these elements. u v x y z strings

10 Spring Semester Final Examination 1) Show that, for n 1: 1 (1!) + 2 (2!) + + n (n!) = (n + 1)! 1 2) There are 10 students in a class: Alperen, Bihter, Cem, Damla, Ege, Gözde, Merve, Saygın, Tolga and Utku. We will select a project team of 4 students, but: Bihter and Damla do NOT want to be in the same team. Damla and Merve do NOT want to be in the same team. Merve and Bihter do NOT want to be in the same team. Tolga and Utku want to be in the same team. In how many different ways can we choose the team satisfying all these constraints? 3) Consider strings of length n generated using the alphabet {a, b, c, d, e, f, g, h} with the following constraints: Number of a s is odd. Number of b s and c s are even. There is at least one d. There are at least two e s. Determine the exponential generating function giving the number of such strings. (You don t have to find the coefficient of xn, just find the function) n! 4) You have to process n data items. You have two available options: Algorithm A finishes the job in 0.5 n 2 operations. Algorithm B finishes the job in 200 n 3/2 operations. For which values of n would you prefer A and for which values of n would you prefer B? (Assuming you want to finish as quickly as possible) 5) Find the solution of the recurrence relation: 6a n a n+1 + 4a n = 0, a 1 = 16, a 2 = 18

11 Answers 1) For n = 1, we have 1(1!) = 2! 1 So the claim is correct for n = 1. Assume it is correct for n = k. 1 (1!) + 2 (2!) + + k (k!) = (k + 1)! 1 Add (k + 1)(k + 1)! to both sides to obtain: 1 (1!) + 2 (2!) + + k (k!) + (k + 1) (k + 1)! = (k + 1) (k + 1)! + (k + 1)! 1 = (k + 2) (k + 1)! 1 = (k + 2)! 1 It is also correct for n = k + 1. So, the claim is correct for all n 1 by mathematical induction. 2) Case 1 - Tolga and Utku are IN: ( ) 8 Choose 2 students from the remaining 8 students in ways. Subtract the cases where you 2 choose Bihter - Damla, or Damla - Merve, or Bihter - Merve: ( ) 8 3 = 25 2 Case 2 - Tolga and Utku are OUT: ( ) 8 Choose 4 students from the remaining 8 students in ways. Subtract the cases where you 4 choose Bihter - Damla and two others (except Merve) etc., and Bihter - Damla - Merve and one other student: ( ) ( ) ( ) = So the answer is: = 60

12 3) ( ) ( ) e x e x e x + e x 2 (e x 1) (e x 1 x) e 3x 2 2 4) They are equally good for 0.5 n 2 = 200 n 3/2 n 1/2 = 400 n = Considering 200 n 3/2 = O ( 0.5 n 2), we should choose A for n < and B for n > ) Assuming a n = x n 6x x + 4 = 0 x = 11 ± x = 11 ± 5 12 x = 1 2 OR x = 4 3 ( a n = c 1 1 ) n ( + c 2 4 ) n 2 3 n = 1 16 = c 1 2 4c 2 3 n = 2 18 = c c 2 9 c 1 = 8, c 2 = 9 ( a n = 8 1 n ( + 9 2) 4 ) n 3

13 Name-Surname: CLASSWORK 1 Find the number of integer solutions of the equation x 1 + x 2 + x 3 + x 4 + x 5 = 18 where 1 x i 10. Give 1 to each. Distribute the remaining 13 items to 5 boxes randomly. ( ) = 13 ( ) 17 = Now we have to subtract the number of distributions where one box gets 11 or more. Choose one, give it 10, distribute the remaining 3 items to 5 boxes randomly. ( )( ) The result is: = = 2205

14 Name-Surname: CLASSWORK 1 Find the number of integer solutions of the equation x 1 + x 2 + x 3 + x 4 + x 5 + x 6 = 24 where 2 x i 9. Give 2 to each. Distribute the remaining 12 items to 6 boxes randomly. ( ) = 12 ( ) 17 = Now we have to subtract the number of distributions where one box gets 10 or more. Choose one, give it 8, distribute the remaining 4 items to 6 boxes randomly. ( )( ) The result is: = = 5432

15 Name-Surname: CLASSWORK 2 There are three cards. 2 of them has FF written behind them, one of them has AA. There is a sentence on the front of each card: CARD I CARD II CARD III AA is here There is FF behind Card III AA is NOT here You know that of these 3 statements, at least one is TRUE and at least one is FALSE. Which card would you choose? (Assuming you want AA) There are three cases. The AA is behind Card I, or Card II or Card III. Card I Card II Card III Card I has AA T T T Card II has AA F T T Card III has AA F F F The first and third lines give impossible results. (All true or all false) Therefore second line is correct: Choose Card II for AA.

16 Name-Surname: CLASSWORK 3 Show that 4 5 n n + 1 for all n Z +. n = The claim is correct for n = 1. Assume it is correct for n = k, in other words, assume 5 k k + 1 = 4p Now consider n = k + 1: 5 k k = ) (4 5 k k + ( ) 5 k k + 1 = 4q + 4p = 4r where p, q, r are integers. Therefore the claim is correct by mathematical induction.

17 Name-Surname: CLASSWORK 3 Show that 8 3 2n n 1 for all n Z +. n = The claim is correct for n = 1. Assume it is correct for n = k, in other words, assume 9 k k 1 = 8p Now consider n = k + 1: 9 k k+1 1 = ) (8 9 k k + ( ) 9 k k 1 = 8q + 8p = 8r where p, q, r are integers. Therefore the claim is correct by mathematical induction.

18 Name-Surname: CLASSWORK 4 You have three containers. The two smaller ones have volumes of 64 and 59 cm 3. The third one is much larger. Its volume is around 1000 cm 3 but you don t know the exact number. You have unlimited amount of water. Can you put exactly 1 cm 3 of water to the large container? How? Adding once with 64 and removing once with 59 leaves 5 in the big container. Repeat this 12 times and you have 60. Now remove 59. A more systematic way is this: The greatest common divisor of 64 and 59 is 1, so it is possible. Using Euclid s algorithm: = = = = 0 Now reverse this process to obtain: 1 = = = So we have to add water 12 times using 64, and remove 13 times using 59.

19 Name-Surname: CLASSWORK 5 In a computer system, users have 4-letter passwords. Each character is a letter from the English alphabet, or a number. The system is not case sensitive. We are certain that if n the number of users then at least 5 users will have exactly the same password. What is n? Number of possible characters is: = 36 Number of possible passwords is: 36 4 = So the answer is: n = =

20 Name-Surname: CLASSWORK 6 In how many ways can we arrange the letters {A, a, B, b, C, c, D, d, E, e} as a 10-letter word such that lowercase and uppercase versions of the same letter are not next to each other? In total there are 10! permutations. Consider Aa as a unit (or Bb, or Cc etc.) Now there are 9 objects, so 9! permutations that we do NOT want. But considering Aa and aa as two separate items, there are 9! 2. Using inclusion exclusion, subtracting and adding, we obtain: 10! ( ) 5 9! ( ) 5 8! ( ) 5 7! ( ) 5 6! ( ) 5 5! =

21 Name-Surname: CLASSWORK 7 There are 9 students in a class. We want to form 5 project teams. Each team must have at least one member. In how many different ways can we do this? Hint: You may use Stirling table. Using Stirling table s values for S(8, 4) = 1701 and S(8, 5) = 1050 we obtain S(9, 5) = = 6951 OR Use inclusion-exclusion. Assign students to teams randomly. Then subtract the cases where one team is empty, then add the cases where two teams are empty etc. 5 9 ( ) ( ) ! ( ) ( ) = 6951 (We have to divide by 5! because teams are NOT distinct)

22 Name-Surname: CLASSWORK 7 Find the number of onto functions from the set A = {1, 2, 3, 4, 5, 6, 7, 8, 9} to the set B = {a, b, c, d, e}. Hint: You may use Stirling table. Using Stirling table s values for S(8, 4) = 1701 and S(8, 5) = 1050 we obtain S(9, 5) = = 6951 Now we have to multiply by 5! because each element on the set B is distinct: ! = OR Use inclusion-exclusion. Assign numbers to letters randomly. Then subtract the cases where nothing is mapped into letter a, add the cases where nothing is mapped into letter a or b, etc. 5 9 ( ) ( ) ( ) ( ) =

23 Name-Surname: CLASSWORK 8 5 students, Beyza, Cem, Mertcan, Sarper and Talha will share 29 pieces of identical chocolates according to the following constraints: Beyza gets at least 5. Cem gets at most 9. Mertcan gets at most 3. Sarper gets a multiple of 4. (including 0) In how many different ways can they do this? The series representing these constraints are: ( x 5 +x 6 +x 7 + )(1+x+x 2 + +x 9 )(1+x+x 2 +x 3 )( 1+x 4 +x 8 +x 12 + )( ) 1+x+x 2 +x 3 + = x5 1 x 1 x10 1 x 1 x4 1 x 1 1 x x = x5 x 15 (1 x) 4 ) ( ) n + 3 = (x 5 x 15 x n n n=0 The coefficient of x 29 is: ( ) ( ) 17 =

24 Name-Surname: CLASSWORK 8 5 students, Berkay, Gizem, Merve, Sena, and Yunus will share 37 pieces of identical chocolates according to the following constraints: Berkay gets an odd number. Gizem gets at least 7. Merve gets at most 5. Sena gets 0 or 1. In how many different ways can they do this? The series representing these constraints are: ( )( )( )( ) x+x 3 +x 5 + x 7 +x 8 +x 9 + )(1+x+ +x 5 1+x 1+x+x 2 +x 3 + = x 1 x 2 x 7 1 x 1 ( ) x6 1 x 1 + x 1 1 x = x8 x 14 (1 x) 4 ) ( ) n + 3 = (x 8 x 14 x n n n=0 The coefficient of x 37 is: ( ) ( ) 26 =

25 Name-Surname: CLASSWORK 9 Find the Θ( ) class (i.e. asymptotic complexity) of the following algorithm: INPUT: integer n S = 0 For i = 1 to n For j = i to i + 17 S = S + 1 EndFor EndFor Return S Number of operations is: 18 n, so asymptotic complexity is Θ(18n). But, a better way to express this fact is: Θ(n)

26 Name-Surname: CLASSWORK 9 Find the Θ( ) class (i.e. asymptotic complexity) of the following algorithm: INPUT: integer n S = 0 For i = 2 to 2 * n For j = i - 1 to i + 1 S = S + 1 EndFor EndFor Return S Number of operations is: (2n 1) 3, so asymptotic complexity is Θ(6n 3). But, a better way to express this fact is: Θ(n) Author: Dr. Emre Sermutlu June 23, 2016

First Midterm Examination

First Midterm Examination 2015-2016 Fall Semester First Midterm Examination 1) 6 students will sit at a round table. Anıl, Sümeyye and Tahsin are in section 1 and Bora, İpek and Efnan are in section 2. They will sit such that nobody

More information

First Midterm Examination

First Midterm Examination 2012-2013 Fall Semester First Midterm Examination 1) You can buy a pizza with 5 toppings. There are 8 possibilities for toppings: Pepperoni, ham, chicken, tuna, mushroom, shrimp, onion, olives. a) How

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

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

1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : 5 points

1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : 5 points Introduction to Discrete Mathematics 3450:208 Test 1 1. Consider the conditional E = p q r. Use de Morgan s laws to write simplified versions of the following : The negation of E : The inverse of E : The

More information

Math 13, Spring 2013, Lecture B: Midterm

Math 13, Spring 2013, Lecture B: Midterm Math 13, Spring 2013, Lecture B: Midterm Name Signature UCI ID # E-mail address Each numbered problem is worth 12 points, for a total of 84 points. Present your work, especially proofs, as clearly as possible.

More information

Some Review Problems for Exam 3: Solutions

Some Review Problems for Exam 3: Solutions Math 3355 Fall 018 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

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

CMSC Discrete Mathematics SOLUTIONS TO SECOND MIDTERM EXAM November, 2005

CMSC Discrete Mathematics SOLUTIONS TO SECOND MIDTERM EXAM November, 2005 CMSC-37110 Discrete Mathematics SOLUTIONS TO SECOND MIDTERM EXAM November, 2005 Instructor: László Babai Ryerson 164 e-mail: laci@cs This exam contributes 20% to your course grade. 1. (6 points) Let a

More information

Discrete Structures Homework 1

Discrete Structures Homework 1 Discrete Structures Homework 1 Due: June 15. Section 1.1 16 Determine whether these biconditionals are true or false. a) 2 + 2 = 4 if and only if 1 + 1 = 2 b) 1 + 1 = 2 if and only if 2 + 3 = 4 c) 1 +

More information

Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions

Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions Discrete Mathematics, Spring 2004 Homework 4 Sample Solutions 4.2 #77. Let s n,k denote the number of ways to seat n persons at k round tables, with at least one person at each table. (The numbers s n,k

More information

COMP Logic for Computer Scientists. Lecture 16

COMP Logic for Computer Scientists. Lecture 16 COMP 1002 Logic for Computer Scientists Lecture 16 5 2 J dmin stuff 2 due Feb 17 th. Midterm March 2 nd. Semester break next week! Puzzle: the barber In a certain village, there is a (male) barber who

More information

MCS Introduction to Probability and Statistics FIRST MIDTERM

MCS Introduction to Probability and Statistics FIRST MIDTERM Department of Mathematics and Computer Sciences 1-11 Spring Semester MCS 4 - Introduction to Probability and Statistics FIRST MIDTERM 1 The following data represents the grades of a group of students:

More information

2030 LECTURES. R. Craigen. Inclusion/Exclusion and Relations

2030 LECTURES. R. Craigen. Inclusion/Exclusion and Relations 2030 LECTURES R. Craigen Inclusion/Exclusion and Relations The Principle of Inclusion-Exclusion 7 ROS enumerates the union of disjoint sets. What if sets overlap? Some 17 out of 30 students in a class

More information

Propositional Logic, Predicates, and Equivalence

Propositional Logic, Predicates, and Equivalence Chapter 1 Propositional Logic, Predicates, and Equivalence A statement or a proposition is a sentence that is true (T) or false (F) but not both. The symbol denotes not, denotes and, and denotes or. If

More information

Counting Methods. CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo

Counting Methods. CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo Counting Methods CSE 191, Class Note 05: Counting Methods Computer Sci & Eng Dept SUNY Buffalo c Xin He (University at Buffalo) CSE 191 Discrete Structures 1 / 48 Need for Counting The problem of counting

More information

Lesson 18: Recognizing Equations of Circles

Lesson 18: Recognizing Equations of Circles Student Outcomes Students complete the square in order to write the equation of a circle in center-radius form. Students recognize when a quadratic in xx and yy is the equation for a circle. Lesson Notes

More information

CS1800 Discrete Structures Fall 2016 Profs. Gold & Schnyder April 25, CS1800 Discrete Structures Final

CS1800 Discrete Structures Fall 2016 Profs. Gold & Schnyder April 25, CS1800 Discrete Structures Final CS1800 Discrete Structures Fall 2016 Profs. Gold & Schnyder April 25, 2017 CS1800 Discrete Structures Final Instructions: 1. The exam is closed book and closed notes. You may not use a calculator or any

More information

University of Illinois at Chicago Department of Computer Science. Final Examination. CS 151 Mathematical Foundations of Computer Science Fall 2012

University of Illinois at Chicago Department of Computer Science. Final Examination. CS 151 Mathematical Foundations of Computer Science Fall 2012 University of Illinois at Chicago Department of Computer Science Final Examination CS 151 Mathematical Foundations of Computer Science Fall 01 Thursday, October 18, 01 Name: Email: Print your name and

More information

Discrete Mathematics

Discrete Mathematics Discrete Mathematics Discrete mathematics is devoted to the study of discrete or distinct unconnected objects. Classical mathematics deals with functions on real numbers. Real numbers form a continuous

More information

Announcements. CSE 321 Discrete Structures. Counting. Counting Rules. Important cases of the Product Rule. Counting examples.

Announcements. CSE 321 Discrete Structures. Counting. Counting Rules. Important cases of the Product Rule. Counting examples. Announcements CSE 321 Discrete Structures Winter 2008 Lecture 16 Counting Readings Friday, Wednesday: Counting 6 th edition: 5.1, 5.2, 5.3, 5 th edition: 4.1, 4.2. 4.3 Lecture 16 video will be posted on

More information

Do not open this exam until you are told to begin. You will have 75 minutes for the exam.

Do not open this exam until you are told to begin. You will have 75 minutes for the exam. Math 2603 Midterm 1 Spring 2018 Your Name Student ID # Section Do not open this exam until you are told to begin. You will have 75 minutes for the exam. Check that you have a complete exam. There are 5

More information

{ 0! = 1 n! = n(n 1)!, n 1. n! =

{ 0! = 1 n! = n(n 1)!, n 1. n! = Summations Question? What is the sum of the first 100 positive integers? Counting Question? In how many ways may the first three horses in a 10 horse race finish? Multiplication Principle: If an event

More information

Notes. Combinatorics. Combinatorics II. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006

Notes. Combinatorics. Combinatorics II. Notes. Notes. Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry. Spring 2006 Combinatorics Slides by Christopher M. Bourke Instructor: Berthe Y. Choueiry Spring 2006 Computer Science & Engineering 235 Introduction to Discrete Mathematics Sections 4.1-4.6 & 6.5-6.6 of Rosen cse235@cse.unl.edu

More information

Discrete Structures for Computer Science: Counting, Recursion, and Probability

Discrete Structures for Computer Science: Counting, Recursion, and Probability Discrete Structures for Computer Science: Counting, Recursion, and Probability Michiel Smid School of Computer Science Carleton University Ottawa, Ontario Canada michiel@scs.carleton.ca December 18, 2017

More information

Math 230 Final Exam, Spring 2008

Math 230 Final Exam, Spring 2008 c IIT Dept. Applied Mathematics, May 15, 2008 1 PRINT Last name: Signature: First name: Student ID: Math 230 Final Exam, Spring 2008 Conditions. 2 hours. No book, notes, calculator, cell phones, etc. Part

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

Discrete Mathematics (CS503)

Discrete Mathematics (CS503) Discrete Mathematics (CS503) Module I Suggested Questions Day 1, 2 1. Translate the following statement into propositional logic using the propositions provided: You can upgrade your operating system only

More information

Review problems solutions

Review problems solutions Review problems solutions Math 3152 December 15, 2017 1. Use the binomial theorem to prove that, for all n 1 and k satisfying 0 k n, ( )( ) { n i ( 1) i k 1 if k n; i k 0 otherwise. ik Solution: Using

More information

MAS114: Solutions to Exercises

MAS114: Solutions to Exercises MAS114: s to Exercises Up to week 8 Note that the challenge problems are intended to be difficult! Doing any of them is an achievement. Please hand them in on a separate piece of paper if you attempt them.

More information

Exam 2 Solutions. x 1 x. x 4 The generating function for the problem is the fourth power of this, (1 x). 4

Exam 2 Solutions. x 1 x. x 4 The generating function for the problem is the fourth power of this, (1 x). 4 Math 5366 Fall 015 Exam Solutions 1. (0 points) Find the appropriate generating function (in closed form) for each of the following problems. Do not find the coefficient of x n. (a) In how many ways can

More information

Homework 7 Solutions, Math 55

Homework 7 Solutions, Math 55 Homework 7 Solutions, Math 55 5..36. (a) Since a is a positive integer, a = a 1 + b 0 is a positive integer of the form as + bt for some integers s and t, so a S. Thus S is nonempty. (b) Since S is nonempty,

More information

Solution Sheet (i) q = 5, r = 15 (ii) q = 58, r = 15 (iii) q = 3, r = 7 (iv) q = 6, r = (i) gcd (97, 157) = 1 = ,

Solution Sheet (i) q = 5, r = 15 (ii) q = 58, r = 15 (iii) q = 3, r = 7 (iv) q = 6, r = (i) gcd (97, 157) = 1 = , Solution Sheet 2 1. (i) q = 5, r = 15 (ii) q = 58, r = 15 (iii) q = 3, r = 7 (iv) q = 6, r = 3. 2. (i) gcd (97, 157) = 1 = 34 97 21 157, (ii) gcd (527, 697) = 17 = 4 527 3 697, (iii) gcd (2323, 1679) =

More information

CMSC 250 Spring 2016: Final Exam Review Questions Key

CMSC 250 Spring 2016: Final Exam Review Questions Key CMSC 250 Spring 2016: Final Exam Review Questions Key 1 Description and disclaimer Use these questions to help review for the upcoming final exam. Note, these questions are not necessarily representative

More information

Algorithms: Background

Algorithms: Background Algorithms: Background Amotz Bar-Noy CUNY Amotz Bar-Noy (CUNY) Algorithms: Background 1 / 66 What is a Proof? Definition I: The cogency of evidence that compels acceptance by the mind of a truth or a fact.

More information

MATH 3012 N Solutions to Review for Midterm 2

MATH 3012 N Solutions to Review for Midterm 2 MATH 301 N Solutions to Review for Midterm March 7, 017 1. In how many ways can a n rectangular checkerboard be tiled using 1 and pieces? Find a closed formula. If t n is the number of ways to tile the

More information

Binomial Coefficient Identities/Complements

Binomial Coefficient Identities/Complements Binomial Coefficient Identities/Complements CSE21 Fall 2017, Day 4 Oct 6, 2017 https://sites.google.com/a/eng.ucsd.edu/cse21-fall-2017-miles-jones/ permutation P(n,r) = n(n-1) (n-2) (n-r+1) = Terminology

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

Fall 2017 Test II review problems

Fall 2017 Test II review problems Fall 2017 Test II review problems Dr. Holmes October 18, 2017 This is a quite miscellaneous grab bag of relevant problems from old tests. Some are certainly repeated. 1. Give the complete addition and

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

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime.

PUTNAM TRAINING NUMBER THEORY. Exercises 1. Show that the sum of two consecutive primes is never twice a prime. PUTNAM TRAINING NUMBER THEORY (Last updated: December 11, 2017) Remark. This is a list of exercises on Number Theory. Miguel A. Lerma Exercises 1. Show that the sum of two consecutive primes is never twice

More information

CSE 20. Final Review. CSE 20: Final Review

CSE 20. Final Review. CSE 20: Final Review CSE 20 Final Review Final Review Representation of integers in base b Logic Proof systems: Direct Proof Proof by contradiction Contraposetive Sets Theory Functions Induction Final Review Representation

More information

CSC 125 :: Final Exam May 3 & 5, 2010

CSC 125 :: Final Exam May 3 & 5, 2010 CSC 125 :: Final Exam May 3 & 5, 2010 Name KEY (1 5) Complete the truth tables below: p Q p q p q p q p q p q T T T T F T T T F F T T F F F T F T T T F F F F F F T T 6-15. Match the following logical equivalences

More information

Proof by Contradiction

Proof by Contradiction Proof by Contradiction MAT231 Transition to Higher Mathematics Fall 2014 MAT231 (Transition to Higher Math) Proof by Contradiction Fall 2014 1 / 12 Outline 1 Proving Statements with Contradiction 2 Proving

More information

Slides for a Course Based on the Text Discrete Mathematics & Its Applications (5 th Edition) by Kenneth H. Rosen

Slides for a Course Based on the Text Discrete Mathematics & Its Applications (5 th Edition) by Kenneth H. Rosen University of Florida Dept. of Computer & Information Science & Engineering COT 3100 Applications of Discrete Structures Dr. Michael P. Frank Slides for a Course Based on the Text Discrete Mathematics

More information

Some Review Problems for Exam 2: Solutions

Some Review Problems for Exam 2: Solutions Math 5366 Fall 017 Some Review Problems for Exam : Solutions 1 Find the coefficient of x 15 in each of the following: 1 (a) (1 x) 6 Solution: 1 (1 x) = ( ) k + 5 x k 6 k ( ) ( ) 0 0 so the coefficient

More information

CSC 125 :: Final Exam December 14, 2011

CSC 125 :: Final Exam December 14, 2011 1-5. Complete the truth tables below: CSC 125 :: Final Exam December 14, 2011 p q p q p q p q p q p q T T F F T F T F (6 9) Let p be: Log rolling is fun. q be: The sawmill is closed. Express these as English

More information

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively

Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively 6 Prime Numbers Part VI of PJE 6.1 Fundamental Results Definition 6.1 (p.277) A positive integer n is prime when n > 1 and the only positive divisors are 1 and n. Alternatively D (p) = { p 1 1 p}. Otherwise

More information

Computations - Show all your work. (30 pts)

Computations - Show all your work. (30 pts) Math 1012 Final Name: Computations - Show all your work. (30 pts) 1. Fractions. a. 1 7 + 1 5 b. 12 5 5 9 c. 6 8 2 16 d. 1 6 + 2 5 + 3 4 2.a Powers of ten. i. 10 3 10 2 ii. 10 2 10 6 iii. 10 0 iv. (10 5

More information

Recurrence Relations

Recurrence Relations Recurrence Relations Recurrence Relations Reading (Epp s textbook) 5.6 5.8 1 Recurrence Relations A recurrence relation for a sequence aa 0, aa 1, aa 2, ({a n }) is a formula that relates each term a k

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

CSE 321 Solutions to Practice Problems

CSE 321 Solutions to Practice Problems CSE 321 Solutions to Practice Problems Instructions: Feel free NOT to multiply out binomial coefficients, factorials, etc, and feel free to leave answers in the form of a sum. No calculators, books or

More information

Lesson 24: True and False Number Sentences

Lesson 24: True and False Number Sentences NYS COMMON CE MATHEMATICS CURRICULUM Lesson 24 6 4 Student Outcomes Students identify values for the variables in equations and inequalities that result in true number sentences. Students identify values

More information

Midterm 1. Name: TA: U.C. Berkeley CS70 : Algorithms Midterm 1 Lecturers: Anant Sahai & Christos Papadimitriou October 15, 2008

Midterm 1. Name: TA: U.C. Berkeley CS70 : Algorithms Midterm 1 Lecturers: Anant Sahai & Christos Papadimitriou October 15, 2008 U.C. Berkeley CS70 : Algorithms Midterm 1 Lecturers: Anant Sahai & Christos Papadimitriou October 15, 2008 Name: Midterm 1 TA: Answer all questions. Read them carefully first. Be precise and concise. The

More information

Teacher Road Map for Lesson 10: True and False Equations

Teacher Road Map for Lesson 10: True and False Equations Teacher Road Map for Objective in Student Friendly Language: Today I am: sorting equation cards So that I can: determine when an equation is true or false. I ll know I have it when I can: write my own

More information

MATH 114 Fall 2004 Solutions to practice problems for Final Exam

MATH 114 Fall 2004 Solutions to practice problems for Final Exam MATH 11 Fall 00 Solutions to practice problems for Final Exam Reminder: the final exam is on Monday, December 13 from 11am - 1am. Office hours: Thursday, December 9 from 1-5pm; Friday, December 10 from

More information

Discrete Mathematics: Midterm Test with Answers. Professor Callahan, section (A or B): Name: NetID: 30 multiple choice, 3 points each:

Discrete Mathematics: Midterm Test with Answers. Professor Callahan, section (A or B): Name: NetID: 30 multiple choice, 3 points each: Discrete Mathematics: Midterm Test with Answers Professor Callahan, section (A or B): Name: NetID: 30 multiple choice, 3 points each: 1. If f is defined recursively by: f (0) = -2, f (1) = 1, and for n

More information

Unit Combinatorics State pigeonhole principle. If k pigeons are assigned to n pigeonholes and n < k then there is at least one pigeonhole containing more than one pigeons. Find the recurrence relation

More information

Computer Science Foundation Exam

Computer Science Foundation Exam Computer Science Foundation Exam May 6, 2016 Section II A DISCRETE STRUCTURES NO books, notes, or calculators may be used, and you must work entirely on your own. SOLUTION Question Max Pts Category Passing

More information

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur

VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur VALLIAMMAI ENGINEERING COLLEGE SRM Nagar, Kattankulathur 603 203. DEPARTMENT OF COMPUTER SCIENCE ENGINEERING SUBJECT QUESTION BANK : MA6566 \ DISCRETE MATHEMATICS SEM / YEAR: V / III year CSE. UNIT I -

More information

Number theory (Chapter 4)

Number theory (Chapter 4) EECS 203 Spring 2016 Lecture 10 Page 1 of 8 Number theory (Chapter 4) Review Questions: 1. Does 5 1? Does 1 5? 2. Does (129+63) mod 10 = (129 mod 10)+(63 mod 10)? 3. Does (129+63) mod 10 = ((129 mod 10)+(63

More information

Discrete Structures, Final Exam

Discrete Structures, Final Exam Discrete Structures, Final Exam Monday, May 11, 2009 SOLUTIONS 1. (40 pts) Short answer. Put your answer in the box. No partial credit. [ ] 0 1 (a) If A = and B = 1 0 [ ] 0 0 1. 0 1 1 [ 0 1 1 0 0 1 ],

More information

CDM Combinatorial Principles

CDM Combinatorial Principles CDM Combinatorial Principles 1 Counting Klaus Sutner Carnegie Mellon University Pigeon Hole 22-in-exclusion 2017/12/15 23:16 Inclusion/Exclusion Counting 3 Aside: Ranking and Unranking 4 Counting is arguably

More information

6.1 Logic. Statements or Propositions. Negation. The negation of a statement, p, is not p and is denoted by p Truth table: p p

6.1 Logic. Statements or Propositions. Negation. The negation of a statement, p, is not p and is denoted by p Truth table: p p 6.1 Logic Logic is not only the foundation of mathematics, but also is important in numerous fields including law, medicine, and science. Although the study of logic originated in antiquity, it was rebuilt

More information

3 Finite continued fractions

3 Finite continued fractions MTH628 Number Theory Notes 3 Spring 209 3 Finite continued fractions 3. Introduction Let us return to the calculation of gcd(225, 57) from the preceding chapter. 225 = 57 + 68 57 = 68 2 + 2 68 = 2 3 +

More information

Counting. Mukulika Ghosh. Fall Based on slides by Dr. Hyunyoung Lee

Counting. Mukulika Ghosh. Fall Based on slides by Dr. Hyunyoung Lee Counting Mukulika Ghosh Fall 2018 Based on slides by Dr. Hyunyoung Lee Counting Counting The art of counting is known as enumerative combinatorics. One tries to count the number of elements in a set (or,

More information

DISCRETE MATH: FINAL REVIEW

DISCRETE MATH: FINAL REVIEW DISCRETE MATH: FINAL REVIEW DR. DANIEL FREEMAN 1) a. Does 3 = {3}? b. Is 3 {3}? c. Is 3 {3}? c. Is {3} {3}? c. Is {3} {3}? d. Does {3} = {3, 3, 3, 3}? e. Is {x Z x > 0} {x R x > 0}? 1. Chapter 1 review

More information

Big , and Definition Definition

Big , and Definition Definition Big O, Ω, and Θ Big-O gives us only a one-way comparison; if f is O(g) then g eventually is bigger than f from that point on, but in fact f could be very small in comparison. Example; 3n is O(2 2n ). We

More information

Probabilistic models

Probabilistic models Kolmogorov (Andrei Nikolaevich, 1903 1987) put forward an axiomatic system for probability theory. Foundations of the Calculus of Probabilities, published in 1933, immediately became the definitive formulation

More information

Counting. Spock's dilemma (Walls and mirrors) call it C(n,k) Rosen, Chapter 5.1, 5.2, 5.3 Walls and Mirrors, Chapter 3 10/11/12

Counting. Spock's dilemma (Walls and mirrors) call it C(n,k) Rosen, Chapter 5.1, 5.2, 5.3 Walls and Mirrors, Chapter 3 10/11/12 Counting Rosen, Chapter 5.1, 5.2, 5.3 Walls and Mirrors, Chapter 3 Spock's dilemma (Walls and mirrors) n n planets in the solar system n can only visit k

More information

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers.

MATH 324 Summer 2011 Elementary Number Theory. Notes on Mathematical Induction. Recall the following axiom for the set of integers. MATH 4 Summer 011 Elementary Number Theory Notes on Mathematical Induction Principle of Mathematical Induction Recall the following axiom for the set of integers. Well-Ordering Axiom for the Integers If

More information

IUPUI Department of Mathematical Sciences High School Math Contest Solutions to problems

IUPUI Department of Mathematical Sciences High School Math Contest Solutions to problems IUPUI Department of Mathematical Sciences 2017 High School Math Contest Solutions to problems Problem 1) Given any arc on a parabola (the part between any two distinct points), use compass and straightedge

More information

Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1 (Version B)

Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1 (Version B) CS 70 Discrete Mathematics and Probability Theory Summer 2014 James Cook Midterm 1 (Version B) Instructions: Do not turn over this page until the proctor tells you to. Don t write any answers on the backs

More information

Eureka Math. Algebra II Module 1 Student File_A. Student Workbook. This file contains Alg II-M1 Classwork Alg II-M1 Problem Sets

Eureka Math. Algebra II Module 1 Student File_A. Student Workbook. This file contains Alg II-M1 Classwork Alg II-M1 Problem Sets Eureka Math Algebra II Module 1 Student File_A Student Workbook This file contains Alg II- Classwork Alg II- Problem Sets Published by the non-profit GREAT MINDS. Copyright 2015 Great Minds. No part of

More information

2. (10 points) Consider the following algorithm performed on a sequence of numbers a 1, a 2,..., a n.

2. (10 points) Consider the following algorithm performed on a sequence of numbers a 1, a 2,..., a n. 1. (22 points) Below, a number is any string of digits that does not begin with a zero. (a) (2 points) How many 6-digit numbers are there? We may select the first digit in any of 9 ways (any digit from

More information

Lesson 1: Successive Differences in Polynomials

Lesson 1: Successive Differences in Polynomials Lesson 1 Lesson 1: Successive Differences in Polynomials Classwork Opening Exercise John noticed patterns in the arrangement of numbers in the table below. 2.4 3.4 4.4 5.4 6.4 5.76 11.56 19.36 29.16 40.96

More information

A spinner has a pointer which can land on one of three regions labelled 1, 2, and 3 respectively.

A spinner has a pointer which can land on one of three regions labelled 1, 2, and 3 respectively. Math For Liberal Arts Spring 2011 Final Exam. Practice Version Name A spinner has a pointer which can land on one of three regions labelled 1, 2, and 3 respectively. 1) Compute the expected value for the

More information

MATH 201 Solutions: TEST 3-A (in class)

MATH 201 Solutions: TEST 3-A (in class) MATH 201 Solutions: TEST 3-A (in class) (revised) God created infinity, and man, unable to understand infinity, had to invent finite sets. - Gian Carlo Rota Part I [5 pts each] 1. Let X be a set. Define

More information

MATH10040: Chapter 0 Mathematics, Logic and Reasoning

MATH10040: Chapter 0 Mathematics, Logic and Reasoning MATH10040: Chapter 0 Mathematics, Logic and Reasoning 1. What is Mathematics? There is no definitive answer to this question. 1 Indeed, the answer given by a 21st-century mathematician would differ greatly

More information

Introduction to Decision Sciences Lecture 11

Introduction to Decision Sciences Lecture 11 Introduction to Decision Sciences Lecture 11 Andrew Nobel October 24, 2017 Basics of Counting Product Rule Product Rule: Suppose that the elements of a collection S can be specified by a sequence of k

More information

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction

Math 324 Summer 2012 Elementary Number Theory Notes on Mathematical Induction Math 4 Summer 01 Elementary Number Theory Notes on Mathematical Induction Principle of Mathematical Induction Recall the following axiom for the set of integers. Well-Ordering Axiom for the Integers If

More information

Revision Topic 8: Solving Inequalities Inequalities that describe a set of integers or range of values

Revision Topic 8: Solving Inequalities Inequalities that describe a set of integers or range of values Revision Topic 8: Solving Inequalities Inequalities that describe a set of integers or range of values The inequality signs: > greater than < less than greater than or equal to less than or equal to can

More information

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions

Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions Math Circle Beginners Group February 28, 2016 Euclid and Prime Numbers Solutions Warm-up Problems 1. What is a prime number? Give an example of an even prime number and an odd prime number. A prime number

More information

MATH 243E Test #3 Solutions

MATH 243E Test #3 Solutions MATH 4E Test # Solutions () Find a recurrence relation for the number of bit strings of length n that contain a pair of consecutive 0s. You do not need to solve this recurrence relation. (Hint: Consider

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

MA Discrete Mathematics

MA Discrete Mathematics MA2265 - Discrete Mathematics UNIT I 1. Check the validity of the following argument. If the band could not play rock music or the refreshments were not delivered on time, then the New year s party would

More information

1. How many labeled trees are there on n vertices such that all odd numbered vertices are leaves?

1. How many labeled trees are there on n vertices such that all odd numbered vertices are leaves? 1. How many labeled trees are there on n vertices such that all odd numbered vertices are leaves? This is most easily done by Prüfer codes. The number of times a vertex appears is the degree of the vertex.

More information

Logic. Facts (with proofs) CHAPTER 1. Definitions

Logic. Facts (with proofs) CHAPTER 1. Definitions CHAPTER 1 Logic Definitions D1. Statements (propositions), compound statements. D2. Truth values for compound statements p q, p q, p q, p q. Truth tables. D3. Converse and contrapositive. D4. Tautologies

More information

Math 283 Spring 2013 Presentation Problems 4 Solutions

Math 283 Spring 2013 Presentation Problems 4 Solutions Math 83 Spring 013 Presentation Problems 4 Solutions 1. Prove that for all n, n (1 1k ) k n + 1 n. Note that n means (1 1 ) 3 4 + 1 (). n 1 Now, assume that (1 1k ) n n. Consider k n (1 1k ) (1 1n ) n

More information

Mathathon Round 1 (2 points each)

Mathathon Round 1 (2 points each) Mathathon Round ( points each). A circle is inscribed inside a square such that the cube of the radius of the circle is numerically equal to the perimeter of the square. What is the area of the circle?

More information

Introducing Proof 1. hsn.uk.net. Contents

Introducing Proof 1. hsn.uk.net. Contents Contents 1 1 Introduction 1 What is proof? 1 Statements, Definitions and Euler Diagrams 1 Statements 1 Definitions Our first proof Euler diagrams 4 3 Logical Connectives 5 Negation 6 Conjunction 7 Disjunction

More information

Discrete mathematics

Discrete mathematics Discrete mathematics Exercises. Introduction: sets and functions.. Let us consider the sets A = {x N x is even}, B = {x N x > 4}, and C = {x N x < 6}. What are the sets below? B \ C, A \ (B C, B C, (B

More information

Mathematical Background

Mathematical Background Chapter 1 Mathematical Background When we analyze various algorithms in terms of the time and the space it takes them to run, we often need to work with math. That is why we ask you to take MA 2250 Math

More information

Logic. Def. A Proposition is a statement that is either true or false.

Logic. Def. A Proposition is a statement that is either true or false. Logic Logic 1 Def. A Proposition is a statement that is either true or false. Examples: Which of the following are propositions? Statement Proposition (yes or no) If yes, then determine if it is true or

More information

Week Some Warm-up Questions

Week Some Warm-up Questions 1 Some Warm-up Questions Week 1-2 Abstraction: The process going from specific cases to general problem. Proof: A sequence of arguments to show certain conclusion to be true. If... then... : The part after

More information

Section 2.1: Introduction to the Logic of Quantified Statements

Section 2.1: Introduction to the Logic of Quantified Statements Section 2.1: Introduction to the Logic of Quantified Statements In the previous chapter, we studied a branch of logic called propositional logic or propositional calculus. Loosely speaking, propositional

More information

Q 1 Find the square root of 729. 6. Squares and Square Roots Q 2 Fill in the blank using the given pattern. 7 2 = 49 67 2 = 4489 667 2 = 444889 6667 2 = Q 3 Without adding find the sum of 1 + 3 + 5 + 7

More information

True/False. Math 10B with Professor Stankova Worksheet, Midterm #1; Friday, 2/16/2018 GSI name: Roy Zhao

True/False. Math 10B with Professor Stankova Worksheet, Midterm #1; Friday, 2/16/2018 GSI name: Roy Zhao Math 10B with Professor Stankova Worksheet, Midterm #1; Friday, 2/16/2018 GSI name: Roy Zhao True/False 1. True False Among the problems we considered in class, a multi-stage process can be encoded (and

More information

MCS-236: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, Methods of Proof

MCS-236: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, Methods of Proof MCS-36: Graph Theory Handout #A4 San Skulrattanakulchai Gustavus Adolphus College Sep 15, 010 Methods of Proof Consider a set of mathematical objects having a certain number of operations and relations

More information

Rational Expressions and Functions

Rational Expressions and Functions 1 Rational Expressions and Functions In the previous two chapters we discussed algebraic expressions, equations, and functions related to polynomials. In this chapter, we will examine a broader category

More information