Unit 7 Day 4 Section 4.5 & Practice Hamiltonian Circuits and Paths

Similar documents
MATH 22 HAMILTONIAN GRAPHS. Lecture V: 11/18/2003

Unit 2 Day 7. Quadratic Formula & the Discriminant

Hamiltonian Graphs Graphs

Unit 4 Day 4 & 5. Piecewise Functions

Circuits. CSE 373 Data Structures

Connection MATH Connection. Benjamin V.C. Collins, James A. Swenson MATH 2730

Check off these skills when you feel that you have mastered them. Write in your own words the definition of a Hamiltonian circuit.

Graphing Linear Equations: Warm Up: Brainstorm what you know about Graphing Lines: (Try to fill the whole page) Graphing

Algebra 2 and Trigonometry

Standard Diraphs the (unique) digraph with no vertices or edges. (modulo n) for every 1 i n A digraph whose underlying graph is a complete graph.

8.3 Hamiltonian Paths and Circuits

Warm-up Find the shortest trip (total distance) starting and ending in Chicago and visiting each other city once.

P versus NP. Math 40210, Spring September 16, Math (Spring 2012) P versus NP September 16, / 9

D1 Discrete Mathematics The Travelling Salesperson problem. The Nearest Neighbour Algorithm The Lower Bound Algorithm The Tour Improvement Algorithm

Chapter 2. Business Efficiency. Chapter Outline. Chapter Summary

Unit Calendar. Date Sect. Topic Homework HW On-Time April Direct Variation Page 256: #3-37 odd

Ranking Score Vectors of Tournaments

Intro to Contemporary Math

Unit 9: Quadratics Intercept Form

Unit 4 Advanced Functions Review Day

Discrete Math. Background Knowledge/Prior Skills Commutative and associative properties Solving systems of equations

Hamiltonian Cycle. Zero Knowledge Proof

6-4 Solving Special Systems

LECTURE 1: INTRODUCTION

Rao s degree sequence conjecture

Chapter 5: Quadratic Applications

2-7 Solving Quadratic Inequalities. ax 2 + bx + c > 0 (a 0)

Section 20: Arrow Diagrams on the Integers

Unit 6: Absolute Value

Precalculus Lesson 4.1 Polynomial Functions and Models Mrs. Snow, Instructor

Unit 4 Day 8 Symmetry & Compositions

Data Structures in Java. Session 22 Instructor: Bert Huang

DISCRETE STRUCTURES AMIN WITNO

3.1 Symmetry & Coordinate Graphs

Unit 9: Symmetric Functions

Spectral Graph Theory

Tutorial Obtain the principal disjunctive normal form and principal conjunction form of the statement

P, NP, NP-Complete. Ruth Anderson

Show all work on separate grid and lined paper. Number each question clearly.

ICM ~ Unit 4 ~ Day 3. Horizontal Asymptotes, End Behavior

Graph Theory. Thomas Bloom. February 6, 2015

Mathematical Thinking Exam 2 20 November 2017

Locke and Witte in [9] presented a class of circulant nonhamiltonian oriented graphs of type Cay(Z 2k ; a; b; b + k) Theorem 1 (Locke,Witte [9, Thm 41

Highly Hamiltonian Graphs and Digraphs

3) x -7 4) 3 < x. When multiplying or dividing by a NEGATIVE number, we SWITCH the inequality sign!

6 Euler Circuits and Hamiltonian Cycles

GUIDED NOTES 5.6 RATIONAL FUNCTIONS

Unit 5 Day 6 Law of Cosines

3-1 Graphing and Writing Inequalities. Warm Up Lesson Presentation Lesson Quiz

Traveling Salesman Problem (TSP) - Visit every city and then go home.

REVISION SHEET DECISION MATHS 2 DECISION ANALYSIS

FINAL EXAM PRACTICE PROBLEMS CMSC 451 (Spring 2016)

[tentative] Introduction to Abstract Mathematics through Inquiry

1 Hamiltonian properties

PGSS Discrete Math Solutions to Problem Set #4. Note: signifies the end of a problem, and signifies the end of a proof.

CS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle

P versus NP. Math 40210, Fall November 10, Math (Fall 2015) P versus NP November 10, / 9

(1) Which of the following are propositions? If it is a proposition, determine its truth value: A propositional function, but not a proposition.

Hamiltonian circuits in Cayley digraphs. Dan Isaksen. Wayne State University

Covers: Midterm Review

1. a. Give the converse and the contrapositive of the implication If it is raining then I get wet.

12.2 Existence proofs: examples

Unit I (Logic and Proofs)

Slide 7.1. Theme 7. Correlation

Basic definitions. Remarks

Day 4 ~ Increasing/Decreasing, and Extrema. A Graphical Approach

Unit 3 Day 4. Solving Equations with Rational Exponents and Radicals

Combinatorial Optimisation, Problems I, Solutions Term /2015

Solution of a conjecture of Volkmann on the number of vertices in longest paths and cycles of strong semicomplete multipartite digraphs

SB CH 2 answers.notebook. November 05, Warm Up. Oct 8 10:36 AM. Oct 5 2:22 PM. Oct 8 9:22 AM. Oct 8 9:19 AM. Oct 8 9:26 AM.

Chapter Solving Equations by Adding, Subtracting, Multiplying, and Dividing.notebook

P P P NP-Hard: L is NP-hard if for all L NP, L L. Thus, if we could solve L in polynomial. Cook's Theorem and Reductions

Determining conditions sufficient for the existence of arc-disjoint hamiltonian paths and out-branchings in tournaments

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

a. Explain whether George s line of fit is reasonable.

Bipartite graphs with at most six non-zero eigenvalues

Graph Theory and Optimization Computational Complexity (in brief)

CHUNG-ANG UNIVERSITY Linear Algebra Spring Solutions to Computer Project #2

Linear Programming Test Review. Day 6

Chapter One: Pre-Geometry

Hamiltonicity of digraphs for universal cycles of permutations

Math 304 Handout: Linear algebra, graphs, and networks.

Math 220: Summer Midterm 1 Questions

On non-hamiltonian circulant digraphs of outdegree three

Rational Points on Curves

The P versus NP Problem. Ker-I Ko. Stony Brook, New York

Multipartite tournaments with small number of cycles

CS 241 Analysis of Algorithms

CS173 Strong Induction and Functions. Tandy Warnow

6-6 Solving Systems of Linear Inequalities 6-6. Solving Systems of Linear Inequalities

Matrices. Introduction to Matrices Class Work How many rows and columns does each matrix have? 1. A = ( ) 2.

Technische Universität München, Zentrum Mathematik Lehrstuhl für Angewandte Geometrie und Diskrete Mathematik. Combinatorial Optimization (MA 4502)

Data Structures in Java

Solution Choose several values for x, and find the corresponding values of (x), or y.

Data Structures and Algorithms

Dear AP Calculus AB student,

CSCI3390-Lecture 17: A sampler of NP-complete problems

Algebra 2 Notes AII.7 Polynomials Part 2

Mathematical Olympiad for Girls

Hamiltonian paths in tournaments A generalization of sorting DM19 notes fall 2006

Transcription:

Unit 7 Day 4 Section 4.5 & Practice 4.1-4.5 Hamiltonian Circuits and Paths

Warm Up ~ Day 4 D B Is the following graph E 1) Connected? 2) Complete? F G 3) An Euler Circuit? If so, write the circuit. If not, explain why not. 4) An Euler Path? If so, write the path. If not, explain why not. C A 5) What is the degree of vertex C?

Warm Up ~ Day 4 ANSWERS E Is the following graph 1) Connected? Yes! 2) Complete? No! F G 3) An Euler Circuit? If so, write the circuit. If not, explain why not. Yes! E,D,C,B,A,G,C,F,E 4) An Euler Path? If so, write the path. If not, explain why not. No, its an Euler circuit! They are mutually exclusive! 5) What is the degree of vertex C? D C deg(c)=4 B A

Section 4.3 Answers

Packet p. 3 A F B C D a. Sample Answer: F, D b. F, E, D, C c. No. There is no path from A to F d. No. To be complete, every vertex must be connected to every other vertex. E

Packet p. 3

Packet p. 3 A B C D A B C D M N O P R S M N O P R S

Packet p. 3-4 7. The number of vertices that are adjacent to a given vertex; the degree of each vertex. 8. deg(v)=3, deg(w)=4, deg(x)=2, deg(y)=2, deg(z)=1

9. Packet p. 4 * A B C D E A B C D E * a. deg(b)=2, deg(c)=6, deg(d)=3, deg(e)=2

Packet p. 4-5 10. a) Euler Circuit all even degree vertices b) Neither more than 2 odd degree vertices c) Euler Path 2 odd degree vertices, rest even d) Euler Circuit all even degree vertices 11. Answers may vary one possible: e,d,f,h,d,c,h,b,c,g,a,h,g,f,e

Packet p. 5 12. Only complete graphs with odd number of vertices will have Euler circuits: K 3 K 5 K 7 K 2n-1 9. a) Yes b) No c) Yes 10. a) No, not the same number of indegrees as outdegrees. b) Yes! b, e, f, g, c, b, a, c, d, f Start at mismatched in and out degrees.

Tonight s Homework Finish Review Packet p. 6-8 Packet p. 9 13

Arrival Get out Notebook Paper we ll start with Notes Open Packet to p. 4 and 5 for HW Check later Update your Outline for Post Snow

Notes Day 4 Hamiltonian Circuits and Paths Section 4.5

The last section was about Euler Circuits that visit each EDGE only once. This section is about visiting each VERTEX only once. Suppose you are a city inspector, but instead of inspecting the streets, you must inspect the fire hydrants at each street intersection. Can you start at the Garage (G), visit each intersection only once and return to the Garage? Try it. A graph that visits each vertex only once is known as a HAMILTONIAN PATH If that Hamilton path can end at the starting vertex, it is called a HAMILTONIAN CIRCUIT

Sir William Rowan Hamilton How old was he when he died? Irish mathematician, appointed astronomer and knighted at age 30. Born in Dublin, Ireland and the 4 th of 9 children! He carries the title of discovering Algebra. (1805-1865)

Hamiltonian Circuits & Paths Try to find a Hamiltonian Circuit for each of the graphs.

Hamiltonian Circuits & Paths ANSWERS Try to find a Hamiltonian Circuit for each of the graphs. Yes it does have a Hamilton Circuit Yes, it has a Hamilton Circuit Does NOT have a Hamilton Circuit

Hamiltonian Circuits & Paths A simple test for determining whether a graph has a Hamiltonian circuit has not been found. It may be impossible. There is a test to guarantee the existence of a Hamiltonian circuit. If the graph fails the test, however, there still may be a Hamiltonian circuit. Try it with each graph from before. HW refers to this theorem.

Find all circuits and paths Euler or Hamilton

Find all circuits and paths Euler or Hamilton ANSWERS No Euler Circuit or Path Yes Hamilton Circuit: A,B,C,D,E,A Yes Hamilton Path: A,B,C,D,E

Drawing connections Note that if a graph has a Hamilton circuit, then it automatically has a Hamilton path (the Hamilton circuit can always be truncated into a Hamilton path by dropping the last vertex of the circuit.) Contrast this with the mutually exclusive relationship between Euler circuits and paths: If a graph has an Euler circuit it CANNOT have an Euler path and vice versa. Now try: Packet p. 9 #1 in your HW!

Tournaments A Tournament is a Complete Digraph. Remember: Digraphs MUST have directional arrows This digraph shows A beat B A beat C C beat B One interesting characteristic of a complete digraph is that every tournament contains at least one Hamiltonian Path. If there is exactly one Hamiltonian Path, it can be used to rank the teams in order from winner to loser. Hamiltonian Path: A C B shows A is 1 st, C is 2 nd, B is 3 rd

Tournaments (Directed edge from B to A means that B beat A.) This is a complete digraph. Is there only one Hamiltonian Path? Rank the teams from first place to last. Construct an adjacency matrix.

Tournaments ANSWERS This is a complete digraph. (Directed edge from B to A means that B beat A.) Is there only one Hamiltonian Path? Yes! Rank the teams from first place to last. D, B, A, C Tip: go from highest to lowest outdegree Construct an adjacency matrix.

Tournaments ANSWERS Construct an adjacency matrix. A B C D A 0 0 1 0 B 1 0 1 0 C 0 0 0 0 D 1 1 1 0 In matrix for digraph, 1 shows a win and 0 shows a loss

Can we rank RSTUV? Does this have exactly one Hamilton path? Is this complete? V R U Now, Try Packet p. 7 # 6 (part of HW)

Can we rank RSTUV? ANSWERS Does this have exactly one Hamilton path? Is this complete? NO! No ranking Not complete because all vertices are not adjacent (S and U; R and T) R V V U Now, Try Packet p. 7 # 6 (part of HW) R U

Packet p. 6-8 = Review & Practice of 4.1-4.5

Homework Finish Review Packet p. 6-8 Packet p. 9 31