Discrete Mathematics 2 Exam File Spring 2012

Similar documents
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.

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

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

Discrete Mathematics Exam File Fall Exam #1

Elements of Graph Theory

Mathematics and Statistics, Part A: Graph Theory Problem Sheet 1, lectures 1-4

Discrete Math: Selected Homework Problems

Discrete Mathematics Course Review 3

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

Week 12: Trees; Review. 22 and 24 November, 2017

1. The following graph is not Eulerian. Make it into an Eulerian graph by adding as few edges as possible.

Chapter 1: Number and Operations

Graphs Introduction and Depth first algorithm

WUCT121. Discrete Mathematics. Graphs

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, CS1800 Discrete Structures Final

Scheduling, Map Coloring, and Graph Coloring

Figure 2.1: A bipartite graph.

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

Graph theory. Po-Shen Loh. June We begin by collecting some basic facts which can be proved via bare-hands techniques.

7.1 Introduction. A (free) tree T is A simple graph such that for every pair of vertices v and w there is a unique path from v to w

Discrete Structures. Fall Homework3

Part II. Graph Theory. Year

Assignment 1 Introduction to Graph Theory CO342

Study Guide and Review

Math 15 - Spring Homework 5.2 Solutions

CHAPTER 11 Trees. 294 Chapter 11 Trees. f) This is a tree since it is connected and has no simple circuits.

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

CS1800 Discrete Structures Fall 2016 Profs. Aslam, Gold, Ossowski, Pavlu, & Sprague December 16, CS1800 Discrete Structures Final

Worksheet for the Final Exam - Part I. Graphs

The Game of Criss-Cross

TWO CONTRIBUTIONS OF EULER

Solutions to First Exam, Math 170, Section 002 Spring 2012

CS 280 Problem Set 10 Solutions Due May 3, Part A

GRAPHS, GRAPH MODELS, GRAPH TERMINOLOGY, AND SPECIAL TYPES OF GRAPHS

Senior Math Circles November 25, 2009 Graph Theory II

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

Extra Practice Problems 2

Review for Midterm Exam

Matching and Planarity

The Size of the Cantor Set

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

1 Introduction. Counting with Cubes. Barringer Winter MathCamp, 2016

Lattice Polygon s and Pick s Theorem From Dana Paquin and Tom Davis 1 Warm-Up to Ponder

Topic 10 Part 2 [474 marks]

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

Solutions to Quiz 1. (a) (3 points) Vertices x and y are in the same connected component. Solution. P (x, y)

MT365 Examination 2007 Part 1. Q1 (a) (b) (c) A

Module 2: NETWORKS AND DECISION MATHEMATICS

Exam 3 Practice Problems

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

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

4.1.2 Merge Sort Sorting Lower Bound Counting Sort Sorting in Practice Solving Problems by Sorting...

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

Further Mathematics 2016 Module 2: NETWORKS AND DECISION MATHEMATICS Chapter 9 Undirected Graphs and Networks

Finnish National High School Mathematics Competition

5 Graphs

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

Graph Theory. 1 Graphs and Subgraphs

Trees : Part 1. Section 4.1. Theory and Terminology. A Tree? A Tree? Theory and Terminology. Theory and Terminology

Lecture 5: Graphs. Rajat Mittal. IIT Kanpur

CSE 21 Summer 2017 Homework 4

Discovering. Algebra. An Investigative Approach. Condensed Lessons for Make-up Work

Scope and Sequence for the New Jersey Core Curriculum Content Standards

8.NS.1 8.NS.2. 8.EE.7.a 8.EE.4 8.EE.5 8.EE.6

Computational Discrete Mathematics

Instructor: Paul Zeitz, University of San Francisco

An Introduction to Combinatorics and Graph Theory. David Guichard

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

<The von Koch Snowflake Investigation> properties of fractals is self-similarity. It means that we can magnify them many times and after every

Pick s Theorem and Lattice Point Geometry

Discrete Mathematics, Spring 2004 Homework 8 Sample Solutions

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:

DS UNIT 4. Matoshri College of Engineering and Research Center Nasik Department of Computer Engineering Discrete Structutre UNIT - IV

INTRODUCTION TO GRAPH THEORY. 1. Definitions

Math 101 Final Exam Study Notes:

TILING PROBLEMS: FROM DOMINOES, CHECKERBOARDS, AND MAZES TO DISCRETE GEOMETRY

CS1800 Discrete Structures Spring 2017 Profs. Gold & Schnyder April 28, CS1800 Discrete Structures Final

2 hours THE UNIVERSITY OF MANCHESTER. 23 May :45 11:45

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

Module 7. Independent sets, coverings. and matchings. Contents


Discrete mathematics II. - Graphs

2009 Fall Startup Event Thursday, September 24th, 2009

1. [1 pt] What is the solution to the recurrence T(n) = 2T(n-1) + 1, T(1) = 1

CS70 - Lecture 6. Graphs: Coloring; Special Graphs. 1. Review of L5 2. Planar Five Color Theorem 3. Special Graphs:

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

Combinatorics MAP363 Sheet 1. Mark: /10. Name. Number. Hand in by 19th February. date marked: / /2007

Math Summer 2012

Final Exam May 6, 2015

Using Euler s Theorem

1 Some Solution of Homework

A Survey of Mathematics with Applications 8 th Edition, 2009

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

CHAPTER 2. Graphs. 1. Introduction to Graphs and Graph Isomorphism

School of Distance Education University of Kerala M.Sc Computer Science Assignment Topics

arxiv: v1 [math.co] 17 Jan 2014

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

UNC Charlotte 2010 Comprehensive

Computer Science 280 Fall 2002 Homework 10 Solutions

Combinatorics Summary Sheet for Exam 1 Material 2019

Transcription:

Discrete Mathematics 2 Exam File Spring 2012 Exam #1 1.) Suppose f : X Y and A X. a.) Prove or disprove: f -1 (f(a)) A. Prove or disprove: A f -1 (f(a)). 2.) A die is rolled four times. What is the probability that it comes up 3 at least once? 3.) Prove that is irrational. 4.) A box contains eight red apples, six green apples and five plaid apples. a.) You reach into the box and pull out an apple at random. What is the probability the apple is plaid? You reach into the box and pull out an apple at random. You then pull out another apple. What is the probability that both apples are green? c.) You reach into the box and pull out an apple at random. You then pull out another apple. What is the probability that both apples are the same color? 5.) Suppose w, x, y and z are integers. Find the number of ways we can have w + x + y + z = 10 if: a.) w, x, y and z are non-negative. w, x, y and z are positive. c.) w and x are positive, y and z are non-negative. 6.) A class has 12 girls and 10 boys. a.) If a five person committee is chosen at random, how many committees are possible? If a five person committee is chosen at random, how many committees are possible if the committee must have three girls and two boys? 7.) Ignoring years and February 29, what is the probability that, in a group of 6 people, two people share the same birth date? 8.) Three dice are tossed. What is the probability that the sum is greater than 5? 9.) Suppose f: A B and g:b C are one-to-one functions. Prove that g f is one-toone. Exam #2 1.) An inventory consists of a numbered list of 89 items, each marked "available" or "unavailable." There are 50 available items. Show that there are at least two available items in the list exactly nine items apart on the list. (For example, available items at positions 13 and 22 or positions 69 and 78 satisfy the condition.) 2.) The Koch Snowflake is a fractal that comes from repeated iterations of a construction on an equilateral triangle. Start with a triangle with each side length 1 (Figure 1). Then, in the middle of each side, put an equilateral triangle with side length 1/3 (Figure 2). Next, on each edge, insert an equilateral triangle of length 1/9 (Figure 3). Continuing, on each edge insert an equilateral triangle of length 1/27. Continue.... Find a recurrence relation for S n = number of edges in step n. Obviously S 1 = 3.

3.) Solve the recurrence relation d n = 4(d n-1 - d n-2 ) subject to the initial conditions d 0 = d 1 = 1. 4.) If possible, draw the following graphs. If it is not possible, explain why not. a.) K 5 K 3,5 c.) a bipartite graph with 3 red vertices and 4 white vertices that is not K 3,4 d.) a simple graph with degree sequence 3, 2, 2, 2, 1, 1, 0 e.) a tree with degree sequence 3, 3, 1, 1, 1, 1, 1, 1 5.) For each of the following graphs, indicate whether it contains an Eulerian path and whether or not it contains an Eulerian cycle? Give reasons for your answers A B C D E F K 6 K 3,4

6.) For each of the following graphs, indicate whether it contains a Hamilton path and whether or not it contains a Hamilton cycle? Give reasons for your answers A B C D E F K 6 K 3,4 7.) Redraw the first graph in #6 and label the vertices. Construct the adjacency matrix for the graph. Label the rows and columns of the matrix with the vertex labels. Exam #3 1.) Obviously the following graph is planar. Count the numbers of edges, vertices and faces and verify that Euler's formula holds. (in case it is hard to see, everywhere lines intersect a vertex exists)

2.) Using the graph from #1, use a breadth-first approach to finding a spanning tree. 3.) Using the graph from #1, use a depth-first approach to finding a spanning tree. 4.) Draw a graph having six edges and eight vertices or explain why one does not exist. 5.) Draw a graph that is acyclic with four edges and six vertices or explain why one does not exist. 6.) Use Prim's algorithm to find a minimal spanning tree. 7.) Show ALL solutions to the four queens problem. Exam #4 1.) For each pair of graphs, define an isomorphism, if possible, between the two graphs. If it is not possible, give a reason why not. a.)

2.) Use a system of equations (as in the recent homework) to show that. 3.) A game begins with 8 stones. Each player may remove one or two stones on each move with the one removing the last stone LOSING the game. Draw a graph that illustrates how this game can proceed and deduce a winning strategy, if possible, for the first player. 4.) Another game involved a queen on a chessboard (8 rows, 8 columns). The first player places the queen anywhere in the topmost row. The two players then alternate moves. A legal move is moving the queen any number of moves down or to the left. The queen may NOT be moved up or to the right. The winner is the player who places the queen on the bottom left square. Draw a graph that illustrates how this game can proceed and deduce a winning strategy, if possible, for the first player. 5.) Prove that the union of two countably infinite sets is countable. 6.) Prove that is irrational. 7.) Consider the following rooted tree. a.) c.) Give the preorder traversal of the tree. Give the inorder traversal of the tree. Give the postorder traversal of the tree. Final Exam 1.) For each of the following numbers, determine, with proof, whether the number is rational or irrational. a.) 12

2.) For each pair of graphs, define an isomorphism, if possible, between the two graphs. If it is not possible, give a reason why not. a.) 3.) Suppose w, x, y and z are integers. Find the number of ways we can have w + x + y + z = 14 if: a.) w, x, y and z are non-negative. w, x, y and z are positive. c.) w, x and y are positive and z is non-negative. 4.) A class has 12 girls and 10 boys. a.) If a five person committee is chosen at random, how many committees are possible? If a five person committee is chosen at random, how many committees are possible if the committee must have three girls and two boys? 5.) If possible, draw the following graphs. If it is not possible, explain why not. a.) K 5 K 3,5 c.) a bipartite graph with 3 red vertices and 4 white vertices that is not K 3,4 d.) a simple graph with degree sequence 3, 2, 2, 2, 1, 1, 0 e.) a tree with degree sequence 3, 3, 1, 1, 1, 1, 1, 1 6.) Suppose f: A B and g:b C are one-to-one functions. Prove that g f is one-toone. 7.) A game involves a queen on a chessboard (8 rows, 8 columns). The first player places the queen anywhere in the topmost row. The two players then alternate moves. A legal move is moving the queen any number of moves down or to the

left. The queen may NOT be moved up or to the right. The loser is the player who places the queen on the bottom left square. Deduce a winning strategy, if possible, for the first player. 8.) What is the probability that in a group of six people, two will have birthdays in the same month? (Assume all months are equally likely) 9.) In your drawer you have 11 identical plaid socks, six identical blue socks, two identical green socks and five identical red socks. You grab socks out of the drawer without looking. a.) How many socks must be pulled from the drawer to be certain of having a matching pair of socks? How many socks must be pulled from the drawer to be certain of having four matching socks (my dog will be wearing them)? c.) How many socks must be pulled from the drawer to be certain of having a matching pair of green or plaid socks? 10.) a.) Prove that for every connected graph, G, if G has no cycles, then for every pair of vertices a and b in G, there is only one path from a to b in G. Prove that, in a simple, connected graph, two vertices must have the same degree.