Presentation on theme: "Discrete math Objectives: To learn vocabulary, vertex/edge patterns in discrete math. Vertex Edge Graph - A collection of points some of which are joined."— Presentation transcript:
1 Discrete mathObjectives: To learn vocabulary, vertex/edge patterns in discrete math.Vertex Edge Graph - A collection of points some of which are joined by line segments or curves.This graph has 6 vertices and 7 edgesEach point is a vertex and each line is an edge
2 Degrees of a vertexThe degree of a vertex in a graph is the number of edges that touch it.23Each vertex is labeled with its degree43332A graph is regular if every vertex has the same degree.222
3 Euler Graph (pronounced oilier) An Eulerian path in a graph is a path that travels along every edge of the graph exactly once. An Eulerian path might pass through individual vertices of the graph more than once.A Euler path is a snowplow problem where a snow plow needs to plow every street once.Start and finishEuler circuits is a path that ends at the same vertex it started
4 Draw the Vertex/edge graph and answer the following questions. 1) How many vertices are there?62) How many edges are there?93)How many vertices have a degree of 2?34) How many vertices have a degree of 4?3Draw a Euler circuit starting at the vertex with a white dot.Remember: A circuit travels along every path exactly once and may pass through vertices multiple times before ending at the starting vertex.
5 Implication (for a connected graph) Use this chart to see if a Euler path or circuit may be drawn# of ODD VerticesImplication (for a connected graph)There is at least one Euler Circuit.1THIS IS IMPOSSIBLE! Can’t be drawn2There is no Euler Circuit but at least 1 Euler Path.more than 2There are no Euler Circuits or Euler Paths.
6 Vocabulary:Hamiltonian Circuit/Paths:A Hamiltonian path in a graph is a path that passes through every vertex in the graph exactly once. A Hamiltonian path does not necessarily pass through all the edges of the graph, however.A Hamiltonian path which ends in the same place in which it began is called a Hamiltonian circuit.
7 Trace a Hamiltonian path Only a path, not a circuit. The path did not end at the same vertex it started.The path does not need to go over every edge but it can only go over an edge once and must pass through every vertex exactly once.Hamiltonian Circuits are often called the mail man circuit because the mailman goes to every mailbox but does not need to go over every street.
8 N65234BankPharmacyPost OfficeDry CleanersGrocery StoreHome Sweet HomeVideo StoreFind the quickest route from home to the pharmacyA weighted edge has a value assigned to the edge (i.e.- miles, time, gallons of gas, any unit of measure)
9 Review:Euler GraphsPasses over edge exactly once. May pass through a vertex more than once.HamiltonianGraphsPasses through every vertex exactly once but not necessarily over every edge.The path ends at the same vertex it started.Circuits