STUDENT NUMBER: MATH Final Exam. Lakehead University. April 13, Dr. Adam Van Tuyl

Similar documents
r=1 The Binomial Theorem. 4 MA095/98G Revision

A Survey of Mathematics with Applications 8 th Edition, 2009

ASSIGNMENT 4 SOLUTIONS

Topic 10 Part 2 [474 marks]

Indicate the option which most accurately completes the sentence.

Math 485, Graph Theory: Homework #3

It is important that you show your work. There are 134 points available on this test.

MATHEMATICAL STRUCTURES FOR COMPUTER SCIENCE

NANYANG TECHNOLOGICAL UNIVERSITY SEMESTER II EXAMINATION MH 1301 DISCRETE MATHEMATICS TIME ALLOWED: 2 HOURS

Introductory Combinatorics

1. Consider the 62-element set X consisting of the twenty-six letters (case sensitive) of the English

About the Author. Dependency Chart. Chapter 1: Logic and Sets 1. Chapter 2: Relations and Functions, Boolean Algebra, and Circuit Design

CS6702 GRAPH THEORY AND APPLICATIONS QUESTION BANK

Assignment 4 Solutions of graph problems

Student Name and ID Number. MATH 3012 Final Exam, December 11, 2014, WTT

CPS 102: Discrete Mathematics. Quiz 3 Date: Wednesday November 30, Instructor: Bruce Maggs NAME: Prob # Score. Total 60

MATH 139 W12 Review 1 Checklist 1. Exam Checklist. 1. Introduction to Predicates and Quantified Statements (chapters ).

Discrete Mathematics SECOND EDITION OXFORD UNIVERSITY PRESS. Norman L. Biggs. Professor of Mathematics London School of Economics University of London

DISCRETE MATHEMATICS

(l) Represent each of the sets A, B and C using bit strings. Then, use bit string representation and bitwise logical operations to find

Fundamentals of Discrete Mathematical Structures

Majority and Friendship Paradoxes

CSE 20 DISCRETE MATH. Winter

Discrete mathematics , Fall Instructor: prof. János Pach

UML CS Algorithms Qualifying Exam Fall, 2003 ALGORITHMS QUALIFYING EXAM

1. A busy airport has 1500 takeo s perday. Provetherearetwoplanesthatmusttake o within one minute of each other. This is from Bona Chapter 1 (1).

CS1800 Discrete Structures Final Version A

Course Introduction / Review of Fundamentals of Graph Theory

MC 302 GRAPH THEORY 10/1/13 Solutions to HW #2 50 points + 6 XC points

Final Exam May 6, 2015

Math.3336: Discrete Mathematics. Chapter 10 Graph Theory

Discrete Math: Selected Homework Problems

Discrete Mathematics 2 Exam File Spring 2012

Elements of Graph Theory

1. (15 points) Solve the decanting problem for containers of sizes 199 and 179; that is find integers x and y satisfying.

Discrete Structures. Fall Homework3

Math Summer 2012

a b c d a b c d e 5 e 7

Graphs and trees come up everywhere. We can view the internet as a graph (in many ways) Web search views web pages as a graph

1. Represent each of these relations on {1, 2, 3} with a matrix (with the elements of this set listed in increasing order).

Packet #6: Counting & Graph Theory. Applied Discrete Mathematics

CONTENTS Equivalence Classes Partition Intersection of Equivalence Relations Example Example Isomorphis

3. According to universal addressing, what is the address of vertex d? 4. According to universal addressing, what is the address of vertex f?

Math 575 Exam 3. (t). What is the chromatic number of G?

Integrated Math I. IM1.1.3 Understand and use the distributive, associative, and commutative properties.

Worksheet for the Final Exam - Part I. Graphs

Notation Index. Probability notation. (there exists) (such that) Fn-4 B n (Bell numbers) CL-27 s t (equivalence relation) GT-5.

quanüfied Statements; valid well-formed formulas; comparison of propositional and predicate wffs. Exercises

CSE 20 DISCRETE MATH. Fall

Know the Well-ordering principle: Any set of positive integers which has at least one element contains a smallest element.

γ(ɛ) (a, b) (a, d) (d, a) (a, b) (c, d) (d, d) (e, e) (e, a) (e, e) (a) Draw a picture of G.

REGULAR GRAPHS OF GIVEN GIRTH. Contents

Trail Making Game. Hyun Sung Jun Jaehoon Kim Sang-il Oum Department of Mathematical Sciences KAIST, Daejeon, , Republic of Korea.

Chapter 4. Relations & Graphs. 4.1 Relations. Exercises For each of the relations specified below:

Discrete Mathematics Exam File Fall Exam #1

COURSE: DATA STRUCTURES USING C & C++ CODE: 05BMCAR17161 CREDITS: 05

The Matrix-Tree Theorem and Its Applications to Complete and Complete Bipartite Graphs

Antisymmetric Relations. Definition A relation R on A is said to be antisymmetric

Reference Sheet for CO142.2 Discrete Mathematics II

Discrete Mathematics Course Review 3

CS1800 Discrete Structures Final Version B

Notation Index 9 (there exists) Fn-4 8 (for all) Fn-4 3 (such that) Fn-4 B n (Bell numbers) CL-25 s ο t (equivalence relation) GT-4 n k (binomial coef

University of Toronto Department of Mathematics

Proposition 1. The edges of an even graph can be split (partitioned) into cycles, no two of which have an edge in common.

-Discrete Math 504 Homework Assignment #8 TO: Dr. Jim Gleason FROM: Deborah Britt, ACCLAIM Cohort 2 Date: March 1, 2005

v V Question: How many edges are there in a graph with 10 vertices each of degree 6?

Math 15 - Spring Homework 2.6 Solutions 1. (2.6 # 20) The following graph has 45 vertices. In Sagemath, we can define it like so:

Varying Applications (examples)

END-TERM EXAMINATION

BHARATHIDASAN ENGINEERING COLLEGE NATTARAMPALLI Department of Science and Humanities CS6702-GRAPH THEORY AND APPLICATION

LOGIC AND DISCRETE MATHEMATICS

Chapter 18 out of 37 from Discrete Mathematics for Neophytes: Number Theory, Probability, Algorithms, and Other Stuff by J. M. Cargal.

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Midterm 1

Combinatorics Summary Sheet for Exam 1 Material 2019

Introduction to Sets and Logic (MATH 1190)

DO NOT RE-DISTRIBUTE THIS SOLUTION FILE

Graphs (MTAT , 6 EAP) Lectures: Mon 14-16, hall 404 Exercises: Wed 14-16, hall 402

About the Tutorial. Audience. Prerequisites. Copyright & Disclaimer. Discrete Mathematics

Math Introduction to Advanced Mathematics

Ma/CS 6b Class 26: Art Galleries and Politicians

To illustrate what is intended the following are three write ups by students. Diagonalization

Three applications of Euler s formula. Chapter 10

1. Fill in the entries in the truth table below to specify the logic function described by the expression, AB AC A B C Z

2.2 Set Operations. Introduction DEFINITION 1. EXAMPLE 1 The union of the sets {1, 3, 5} and {1, 2, 3} is the set {1, 2, 3, 5}; that is, EXAMPLE 2

CS 311 Discrete Math for Computer Science Dr. William C. Bulko. Graphs

CHENNAI MATHEMATICAL INSTITUTE M.Sc. / Ph.D. Programme in Computer Science

2.) From the set {A, B, C, D, E, F, G, H}, produce all of the four character combinations. Be sure that they are in lexicographic order.

Week 8: The fundamentals of graph theory; Planar Graphs 25 and 27 October, 2017

Graph Theory Questions from Past Papers

Discrete Mathematics Introduction

MC302 GRAPH THEORY SOLUTIONS TO HOMEWORK #1 9/19/13 68 points + 6 extra credit points

BEng (Hons) Telecommunications. Examinations for / Semester 2

GARDEN CITY UNIVERSITY. Bachelor of Computer Applications SEMESTER- I. Course: CONCEPTS OF PROGRAMMING USING C LANGUAGE CODE: 05ABCAR17111 CREDITS: 04

Brief History. Graph Theory. What is a graph? Types of graphs Directed graph: a graph that has edges with specific directions

Recursively Defined Functions

1 Elementary number theory

TA: Jade Cheng ICS 241 Recitation Lecture Notes #12 November 13, 2009

implementing the breadth-first search algorithm implementing the depth-first search algorithm

Star Decompositions of the Complete Split Graph

Lecture 1: Examples, connectedness, paths and cycles

Transcription:

Page 1 of 13 NAME: STUDENT NUMBER: MATH 1281 - Final Exam Lakehead University April 13, 2011 Dr. Adam Van Tuyl Instructions: Answer all questions in the space provided. If you need more room, answer on the back of the page. Where appropriate, you must provide clear explanations. You are not allowed to use a calculator. If a question involves a calculation you may leave it in an unexpanded form, e.g., you can write 5 4 instead of 625. If doubt exists as to the interpretation of any question, you are urged to submit with the answer paper a clear statement of any assumptions made. Page Possible Received 2 8 3 8 4 8 5 6 6 8 7 8 8 8 9 8 10 10 11 10 12 8 13 10 Total 100

MATH 1281 Page 2 of 13 Chapter 1 Logic and Proofs 1. [4pts] Find the truth table for the following compound proposition: ((P Q) (Q R)) (P R) 2. [4pts] Let n be any integer. Prove that if n 3 is odd, then n is odd. [Note: You may use any proof technique introduced in the course.]

MATH 1281 Page 3 of 13 Chapter 2 Sets, Functions, Sequences, and Sums 3. [4pts] Let A and B be sets. Using a membership table, prove the following set identity ( A B ) = A B. 4. [4pts] Consider the function f : Z Z given by f(n) = 3 n 3. Is this function one-to-one? Is this function onto? Justify your answers.

MATH 1281 Page 4 of 13 Chapter 3 Algorithms, Integers and Matrices 5. [4pts] Consider the following algorithm: procedure smash(x) if x > 100 then return x/100 else return x + smash(10x) Using this algorithm, answer the following questions: (i) Compute smash(200) (ii) Compute smash(50) (iii) What happens if you try to compute smash(x) with x < 0? 6. [4pts] Use Euclid s algorithm to find the greatest common divisor of 145 and 30. Show all your work.

MATH 1281 Page 5 of 13 Chapter 4 Induction and Recursion 7. [2pts] Explain the difference between strong induction and normal induction. 8. [4pts] Use induction to prove the following identity holds for all integers n 1: 1 1!+2 2!+ +n n! = (n+1)! 1

MATH 1281 Page 6 of 13 Chapter 5 Counting 9. [4pts] Suppose 100 lottery tickets are given out in sequence to the first 100 guests to arrive at a party. Of these 100 tickets, only 12 are winning tickets. The generalized pigeonhole principle guarantees that there must be a streak of at least l losing tickets in a row. Find l. 10. [2pts] Use the binomial theorem to expand (2a b) 4. 11. [2pts] Find the number of permutations of the word RAXACORICOFALLAPATORIUS.

MATH 1281 Page 7 of 13 Chapter 6 Discrete Probability 12. [4pts] In a class of 20 students, 5 are math majors. A group of 4 students are chosen at random. (i) What is the probability that the group has no math majors? (ii) What is the probability that the group has at least one math major? 13. [4pts] Two shelves on a bookcase contain math books. The top shelf has 6 calculus books and 3 discrete books. The bottom shelf has 5 calculus books and 8 discrete books. A shelf is chosen at random, and from this shelf, a book is chosen at random. It the book happens to be a calculus book, what is the probability that the book was picked from the top shelf.

MATH 1281 Page 8 of 13 Chapter 7 Advance Counting Techniques 14.[4pts] Find the solution of the linear homogeneous recurrence relation a n = 7a n 1 6a n 2 with a 0 = 1 and a 1 = 4. 15. [2pts] Use the principle of inclusion-exclusion to write a formula for A B C, where A,B, and C are sets. [2pts] How many positive integers not exceeding 100 are divisible by 4, 6, or 10?

MATH 1281 Page 9 of 13 Chapter 8 Relations 16. [4pts] Let S denote the set of all students at Lakehead, and define a relation on S as follows: R = {(a,b) a and b are in a class together}. Determine whether the relation is reflexive, symmetric, antisymmetric, and/or transitive. Justify your answer for each property. 17. [4pts] Let A = {a,b,c}, and let R be a relation on A which is represented by 0 1 0 M R = 0 0 1. 1 1 0 What is the 0-1 matrix of the transitive closure of R?

MATH 1281 Page 10 of 13 Chapter 9 Graphs 18. For the questions below, use the following graph: a b c d e f h g (i) [2pts] Write out the adjacency matrix for the above graph. (ii) [2pts] Is the above graph a planar graph? If yes, draw the graph as a planar graph; if no, explain why not. (iii) [2pts] Compute the degree of each vertex. (iv) [2pts] Does the above graph have a Hamilton path? a Hamilton circuit? If so, write out the path/circuit. (v) [2pts] Find the chromatic number of the above graph.

MATH 1281 Page 11 of 13 19. [8pts] A finite simple graph G is r-regular if every vertex has degree r. (i) Give an example of a 2-regular graph (ii) Which complete bipartite graphs K m,n are r-regular? (iii) Prove that if G is 4-regular with v vertices and e edges, then 2v = e. (iv) Prove that if G is r-regular with r odd, then G must have an even number of vertices. 20. [2pts] Draw an example of a graph with an Euler path, but not Euler circuit.

MATH 1281 Page 12 of 13 Chapter 10 Trees 21. Answer the following questions about the weighted graph given below: a 4 b 2 c 1 2 4 3 4 d 2 e 1 f 4 1 9 11 2 g 2 h 1 i (i) [2pts] Find the shortest path between a and i (you can do this by inspection). (ii) [3pts] Use Kruskal s algorithm to find a minimal spanning tree of the above graph. As in class, list the order in which you picked the edges for your spanning tree, and draw your spanning tree. (iii) [3pts] (For this question ignore the weights of the graph). Use the breadth-first search to find a spanning tree of the above graph that is rooted at c.

MATH 1281 Page 13 of 13 Chapter 11 Boolean Algebras 22. For the following questions, consider the following Boolean function: F(x,y,z) = xyz +xyz +xyz. (i) [2pts] Use a table to express all the values of F(x,y,z). (ii) [2pts] Find the dual of F(x,y,z). (iii) [2pts] Construct a circuit from inverters, AND gates, and OR gates that produces F(x,y,z) as output. (iv) [2pts] Simplify F(x,y,z) using a Karnough map. 23. [2pts] Of all the things that you learnt in Math 1281 (Discrete Math), what was your favourite topic/result, and why? (Hint: no wrong answer!)