Total score: /100 points

Similar documents
Total score: /100 points

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

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

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

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

Factorising FACTORISING.

Lecture 6: Coding theory

I 3 2 = I I 4 = 2A

Lesson 2.1 Inductive Reasoning

Lesson 2.1 Inductive Reasoning

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

CIT 596 Theory of Computation 1. Graphs and Digraphs

Graph Theory. Simple Graph G = (V, E). V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)}

Algebra 2 Semester 1 Practice Final

CS311 Computational Structures Regular Languages and Regular Grammars. Lecture 6

CS 491G Combinatorial Optimization Lecture Notes

Momentum and Energy Review

QUESTIONS BEGIN HERE!

I1 = I2 I1 = I2 + I3 I1 + I2 = I3 + I4 I 3

Linear Algebra Introduction

Logic, Set Theory and Computability [M. Coppenbarger]

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point

Applied. Grade 9 Assessment of Mathematics. Multiple-Choice Items. Winter 2005

Section 2.1 Special Right Triangles

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

Lecture 2: Cayley Graphs

Lecture 8: Abstract Algebra

MCH T 111 Handout Triangle Review Page 1 of 3

Proportions: A ratio is the quotient of two numbers. For example, 2 3

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

CARLETON UNIVERSITY. 1.0 Problems and Most Solutions, Sect B, 2005

QUESTIONS BEGIN HERE!

APPENDIX. Precalculus Review D.1. Real Numbers and the Real Number Line

CS 2204 DIGITAL LOGIC & STATE MACHINE DESIGN SPRING 2014

Lecture 2e Orthogonal Complement (pages )

CHEM1611 Answers to Problem Sheet 9

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

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

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

H SERIES. Algebra Basics. Algebra Basics. Solutions. Curriculum Ready.

Identifying and Classifying 2-D Shapes

Solutions to Problem Set #1

Surds and Indices. Surds and Indices. Curriculum Ready ACMNA: 233,

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

KENDRIYA VIDYALAYA IIT KANPUR HOME ASSIGNMENTS FOR SUMMER VACATIONS CLASS - XII MATHEMATICS (Relations and Functions & Binary Operations)

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

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of:

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4

Section 1.3 Triangles

CSE : Exam 3-ANSWERS, Spring 2011 Time: 50 minutes

System Validation (IN4387) November 2, 2012, 14:00-17:00

Trigonometry Revision Sheet Q5 of Paper 2

Ch. 2.3 Counting Sample Points. Cardinality of a Set

CHENG Chun Chor Litwin The Hong Kong Institute of Education

If the numbering is a,b,c,d 1,2,3,4, then the matrix representation is as follows:

Mathematics Number: Logarithms

332:221 Principles of Electrical Engineering I Fall Hourly Exam 2 November 6, 2006

Name Ima Sample ASU ID

Bases for Vector Spaces

Lesson 55 - Inverse of Matrices & Determinants

Arrow s Impossibility Theorem

Non Right Angled Triangles

Matrix- System of rows and columns each position in a matrix has a purpose. 5 Ex: 5. Ex:

GM1 Consolidation Worksheet

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

Plotting Ordered Pairs Using Integers

Instructions. An 8.5 x 11 Cheat Sheet may also be used as an aid for this test. MUST be original handwriting.

First Midterm Examination

List all of the possible rational roots of each equation. Then find all solutions (both real and imaginary) of the equation. 1.

Part I: Study the theorem statement.

Minimal DFA. minimal DFA for L starting from any other

Grade 6. Mathematics. Student Booklet SPRING 2008 RELEASED ASSESSMENT QUESTIONS. Assessment of Reading,Writing and Mathematics, Junior Division

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

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

SIMPLE NONLINEAR GRAPHS

Probability. b a b. a b 32.

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

Vidyalankar S.E. Sem. III [CMPN] Discrete Structures Prelim Question Paper Solution

Designing Information Devices and Systems I Spring 2018 Homework 7

CSE396 Prelim I Answer Key Spring 2017

CM10196 Topic 4: Functions and Relations

Lecture 3: Equivalence Relations

STRAND J: TRANSFORMATIONS, VECTORS and MATRICES

Eigenvectors and Eigenvalues

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

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 )

Regular expressions, Finite Automata, transition graphs are all the same!!

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

Common intervals of genomes. Mathieu Raffinot CNRS LIAFA

September 13 Homework Solutions

50 AMC Lectures Problem Book 2 (36) Substitution Method

CS 330 Formal Methods and Models

3 Angle Geometry. 3.1 Measuring Angles. 1. Using a protractor, measure the marked angles.

1. For each of the following theorems, give a two or three sentence sketch of how the proof goes or why it is not true.

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely

CS 360 Exam 2 Fall 2014 Name

Review of Gaussian Quadrature method

Automata and Regular Languages

TOPPER SAMPLE PAPER - 5 CLASS XI MATHEMATICS. Questions. Time Allowed : 3 Hrs Maximum Marks: 100

Transcription:

Points misse: Stuent's Nme: Totl sore: /100 points Est Tennessee Stte University Deprtment of Computer n Informtion Sienes CSCI 2710 (Trnoff) Disrete Strutures TEST 2 for Fll Semester, 2004 Re this efore strting! This test is lose ook n lose notes You my NOT use lultor All nswers must hve ox rwn roun them. This is to i the grer (who might not e me!) Filure to o so might result in no reit for nswer. If you perform work on the k of pge in this test, inite tht you hve one so in se the nee rises for prtil reit to e etermine. Sttement regring emi misonut from Setion 5.7 of the Est Tennessee Stte University Fulty Hnook, June 1, 2001: "Aemi misonut will e sujet to isiplinry tion. Any t of ishonesty in emi work onstitutes emi misonut. This inlues plgirism, the hnging of flsifying of ny emi ouments or mterils, heting, n the giving or reeiving of unuthorize i in tests, exmintions, or other ssigne shool work. Penlties for emi misonut will vry with the seriousness of the offense n my inlue, ut re not limite to: gre of 'F' on the work in question, gre of 'F' of the ourse, reprimn, protion, suspension, n expulsion. For seon emi offense the penlty is permnent expulsion." A short list of some tutologies: 1. (p q) p 2. (p q) q 3. p (p q) 4. q (p q) 5. ~p (p q) 6. ~(p q) p 7. ((p q) p) q 8. ((p q) ~p) q 9. ((p q) ~q) ~p 10. ((p q) (q r)) (p r) Mthemtil inution: If P(n 0 ) is true n ssuming P(k) is true implies P(k+1) is true, then P(n) is true for ll n > n 0 Permuttions n Comintions: np r = n! n! (n - r)! nc r = r!(n - r)! Properties of Reltions: A reltion is reflexive if R, for ll A. A reltion is irreflexive if R, for ll A. A reltion is symmetri if whenever R, then R. A reltion is symmetri if whenever R, then R. A reltion is ntisymmetri if whenever R n R, then =. A reltion is trnsitive if whenever R n R, then R. A reltion is lle n equivlene reltion if it is reflexive, symmetri, n trnsitive.

Eh of the following six rguments uses one of the tutologies liste on the oversheet. (See tle uner the heing, " short list of some tutologies.") For eh of the four rguments, ientify whih tutology ws use from this list y entering vlue 1 through 10 in the spe provie. (2 points eh) 1. If it is thunering, then there is lightning 2. It is either rining or snowing There is thuner It isn't rining There is lightning It must e snowing Answer: 7 Answer: 8 3. Either E is short or E is tll 4. If I rive to shool, I will e lte to lss E is not short I m on time for lss E is tll I in't rive to shool Answer: 8 Answer: 9 5. This test is esy 6. Mtthew is my son Either I stuie well or this test is esy Mtthew is hil of mine Answer: 3 or 4 Answer: _1, 2, 3, or 4 For the next four rguments, inite whih re vli n whih re invli. (2 points eh) 7. If I pulish novel, I will e fmous 8. If I rive to shool, I will e lte to lss If I m fmous, I will e hppy I ws lte to lss I m hppy, therefore, I pulishe novel I rove to shool Vli Invli Vli The following seven prolems present seven situtions where r items re selete from set of n items. Selet the formul, n r, n P r, n C r, or (n+r-1) C r, tht will ompute the numer of ifferent, vli sequenes n ientify the vlues of r n n. (4 points eh) To nswer these prolems, you simply nee to rememer whih formul pertins to whih sitution: orere/unorere n uplites llowe/uplites not llowe. Eh sitution is either orere with uplites llowe, n r, orere with no uplites llowe, n P r, unorere with no uplites llowe, nc r, or unorere with uplites llowe, (n+r-1) C r. From there, it s just mtter of setting n to the numer of items in the set eing selete from n r to the numer of items eing selete. 11. Compute the numer of 4-igit ATM PINs where uplite igits re llowe. Invli 9. If I try hr, then I will suee 10. Pete is the nme of my pet If I suee, then I will e hppy The only ogs I own re lk ls I m not hppy, therefore, I in't try hr Pete is lk l Vli Invli Vli Invli.) n r.) np r.) nc r,.) (n+r-1) C r n = 10 r = 4

12. Compute the numer of ifferent 5 r hns n e rwn from ek of 52 rs..) n r.) np r.) nc r,.) (n+r-1) C r n = 52 r = 5 13. How mny ommittees of 5 people n e rete from group of 8 people?.) n r.) np r.) nc r,.) (n+r-1) C r n = 8 r = 5 14. How mny wys n the letters in the wor MICHAEL e rrnge?.) n r.) np r.) nc r,.) (n+r-1) C r n = 7 r = 7 15. Assume you nee to uy 10 ottles of so from seletion of {Coke, Pepsi, Dr. Pepper, n Sprite}. How mny wys oul you o this?.) n r.) np r.) nc r,.) (n+r-1) C r n = 4 r = 10 16. How mny three-igit numers re there in se-5? Assume leing zeros re inlue s igits..) n r.) np r.) nc r,.) (n+r-1) C r n = 5 r = 3 17. How mny ifferent wys n 2 six-sie ie ome up? There is no orer, e.g., 3 & 4 re the sme s 4 & 3..) n r.) np r.) nc r,.) (n+r-1) C r n = 6 r = 2 18. True or flse: In seleting r items from set of n items where orer oesn't mtter n uplites re llowe, r my e greter thn n. (2 points) 19. Whih of the following expressions esries how to lulte the numer of ville liense plte omintions of the formt ABC 123? (2 points).) 26 C 3 10 C 3.) (26 + 10 1) C 10.) 26 P 3 10 P 3.) (26 + 10 1) P 6 e.) (36 + 6 1) C 6 f.) 26 3 10 3 g.) 26 C 3 10 3 h.) None of the ove 20. Assume we hve lottery where you first pik 5 from group of 60 then pik one powerll option from group of 45? Wht is the rtio of piking the wrong powerll to piking the right powerll? (2 points).) 45:1.) 44:1.) 60 C 5 44 : 60C 5 45.) 45 C 1 : 1 f.) None of the ove 21. Let A = {, } n B = {1, 2, 3}. List ll of the elements in A B. (3 points) A B = {(, 1), (, 2), (, 3), (, 1), (, 2), (, 3)} 22. If A = 5 n B = 10, then the rinlity of A B is: (2 points).) 5 10.) 10 5.) 5 10.) 5 C 10.) 5 P 10 f.) None of the ove

The next 5 prolems represent reltions ross the Crtesin prout A A where A = {,,, }. The reltions re represente either s susets of A A, mtries, or igrphs. For eh prolem, etermine whether the reltion is reflexive, irreflexive, symmetri, symmetri, ntisymmetri, n/or trnsitive. Chek ll tht pply. (4 points eh) For eh of the following nswers, either the mtrix or the igrph is use to etermine the reltion s hrteristis. Reflexive sys tht there must e ones ll long the min igonl of the mtrix n every vertex in the igrph hs n ege tht loops k to itself. Irreflexive sys tht there must e zeros ll long the min igonl of the mtrix n no vertex in the igrph hs n ege tht loops k to itself. Symmetri sys tht the mtrix is symmetri ross the min igonl n for every ege in the igrph, there is n equl ege going k the other wy, i.e., every ege is iiretionl (yles of length one re llowe). Asymmetri sys tht for every 1 in the mtrix, there must e 0 opposite the min igonl from it n there n e no 1 s on the igonl while every ege in the igrph must e only one-wy n there n e no loop ks, i.e., yles of length one. Antisymmetri sys tht for every 1 in the mtrix, there must e 0 opposite the min igonl from it, ut 1 s re llowe on the igonl. Every ege in the igrph must e only one-wy, ut loop ks, i.e., yles of length one, re llowe. Trnsitive sys tht for every pir of 1 s in mtrix ij n jk, there must e 1 t ik. The igrph sys tht for every pth of length two, there must lso e pth of length one. 23. R = {(,), (,), (,), (,), (,), (,)} Below, I hve rete oth the mtrix efining R n the igrph. reflexive irreflexive symmetri symmetri ntisymmetri trnsitive 24. R = A A M R = 0 1 1 1 0 0 1 1 0 0 0 1 0 0 0 0 Below, I hve rete oth the mtrix efining R n the igrph. M R = reflexive irreflexive symmetri symmetri ntisymmetri trnsitive

25. 0 1 0 1 1 0 1 1 0 1 0 0 1 1 0 1 reflexive irreflexive symmetri symmetri ntisymmetri trnsitive 26. 1 1 0 0 1 1 0 0 0 0 1 1 0 0 1 1 reflexive irreflexive symmetri symmetri ntisymmetri trnsitive 27. M R = reflexive irreflexive symmetri symmetri ntisymmetri trnsitive The next three prolems represent reltions ross the Crtesin prout A A where A = {1, 2, 3, 4, 5}. 0 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 28. Write the set of orere pirs represente y the reltion mtrix (4 points) R = {(1, 1), (1, 3), (2, 1), (2, 5), (3, 2), (4, 5), (5, 2), (5, 5)} 29. Convert the following igrph to mtrix. (3 points) 1 0 1 0 0 1 0 0 0 1 0 1 0 0 0 0 0 0 0 1 0 1 0 0 1 1 2 5 3 4 0 0 1 0 1 1 1 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 0 0 0

30. Fill out the tle elow listing the in-egree n out egree of eh element for the igrph of the previous prolem. (4 points) 1 2 3 4 5 In-Degree 1 2 1 1 2 Out-Degree 2 2 1 1 1 31. Crete the igrph of the reltion R = A A for the set A = {,, }. (3 points) 32. Selet only one of the following sttements to prove true using mthemtil inution. (7 points).) 2 + 4 + 6 + + 2n = n(n + 1).) 1 + 2 1 + 2 2 + 2 3 + + 2 n = 2 n+1 1.) 1 + 1 + 2 + 3 + + n 1 = n 1 1.) First, test to see if the se se is true, i.e., the n=1 se: 1 (1+1) = 1 2 = 2 this se is TRUE! Now, ssume tht the k se is true. The k se looks like this: 2 + 4 + 6 + + 2k = k(k + 1) Wht we wnt to o is mke this look like the k+1 se, i.e., wht we re trying to prove is 2 + 4 + 6 + + 2k + 2(k + 1) = (k + 1) (k + 2). To get the k se to look like this, we nee to egin y ing 2(k+1) to oth sies of the k expression ove. 2 + 4 + 6 + + 2k + 2(k + 1) = k(k + 1) + 2(k + 1) On the right sie of the eqution, pulling (k + 1) from oth of the prout terms gives us: 2 + 4 + 6 + + 2k + 2(k + 1) = (k + 1)(k + 2) An this proves tht the expression 2 + 4 + 6 + + 2n = n(n + 1) is true for ll n>1.

.) First, test to see if the se se is true, i.e., the n=1 se: 1 + 2 1 = 3 = 2 1+1 1 = 2 2 1 = 4 1 = 3 this se is TRUE! Now, ssume tht the k se is true. The k se looks like this: 1 + 2 1 + 2 2 + 2 3 + + 2 k = 2 k+1 1 Wht we wnt to o is mke this look like the k+1 se, i.e., wht we re trying to prove is 1 + 2 1 + 2 2 + 2 3 + + 2 k+1 = 2 k+2 1. To get the k se to look like this, we nee to egin y ing 2 k+1 to oth sies of the k expression ove. 1 + 2 1 + 2 2 + 2 3 + + 2 k + 2 k+1 = 2 k+1 1 + 2 k+1 1 + 2 1 + 2 2 + 2 3 + + 2 k + 2 k+1 = 2 k+1 + 2 k+1 1 1 + 2 1 + 2 2 + 2 3 + + 2 k + 2 k+1 = 2 2 k+1 1 1 + 2 1 + 2 2 + 2 3 + + 2 k + 2 k+1 = 2 k+1+1 1 1 + 2 1 + 2 2 + 2 3 + + 2 k + 2 k+1 = 2 k+2 1 An this proves tht the expression 1 + 2 1 + 2 2 + 2 3 + + 2 n = 2 n+1 1 is true for ll n>1..) First, test to see if the se se is true, i.e., the n=1 se: ( 1 1)/( 1) = ( 1)/( 1) = 1 this se is TRUE! Now, ssume tht the k se is true. The k se looks like this: 1 + 1 + 2 + 3 + + k-1 = ( k 1)/( 1) Wht we wnt to o is mke this look like the k+1 se, i.e., wht we re trying to prove is 1 + 1 + 2 + 3 + + k-1 + k = ( k+1 1)/( 1). To get the k se to look like this, we nee to egin y ing k to oth sies of the k expression ove. 1 + 1 + 2 + 3 + + k-1 + k = ( k 1)/( 1) + k Now, multiply the k term on the right sie of the eqution y ( 1)/( 1) so tht we n omine it with the first term. 1 + 1 + 2 + 3 + + k-1 + k = ( k 1)/( 1) + k ( 1)/( 1) = [( k 1) + k ( 1)]/( 1) Next, multiply the term k ( 1) through 1 + 1 + 2 + 3 + + k-1 + k = [( k 1) + k+1 k )]/( 1) 1 + 1 + 2 + 3 + + k-1 + k = [ k k 1 + k+1 )]/( 1) = ( k+1 1)/( 1) An this proves tht the expression 1 + 1 + 2 + 3 + + n-1 = ( n 1)/( 1) is true for ll n>1.