|
94 | 94 | <p>
|
95 | 95 | Graph Theory is a relatively new area of mathematics,
|
96 | 96 | first studied by the super famous mathematician Leonhard Euler in 1735.
|
97 |
| - Since then it has blossomed in to a powerful tool used in nearly every branch of science and is currently an active area of mathematics research. |
| 97 | + Since then it has blossomed into a powerful tool used in nearly every branch of science and is currently an active area of mathematics research. |
98 | 98 | </p>
|
99 | 99 |
|
100 | 100 | <p>
|
101 | 101 | The problem above, known as the
|
102 | 102 | <em>Seven Bridges of Königsberg</em>,
|
103 | 103 | is the problem that originally inspired graph theory.
|
104 | 104 | Consider a <q>different</q> problem: Below is a drawing of four dots connected by some lines.
|
105 |
| - Is it possible to trace over each line once and only once (without lifting up your pencil, |
| 105 | + Is it possible to trace over each line once and only once (without lifting your pencil, |
106 | 106 | starting and ending on a dot)?
|
107 | 107 | </p>
|
108 | 108 |
|
|
139 | 139 | we say they are <term>adjacent</term>.
|
140 | 140 | <idx><h>adjacent</h><h>vertices</h></idx>
|
141 | 141 | The nice thing about looking at graphs instead of pictures of rivers,
|
142 |
| - islands and bridges is that we now have a mathematical object to study. |
| 142 | + islands, and bridges is that we now have a mathematical object to study. |
143 | 143 | We have distilled the <q>important</q>
|
144 |
| - parts of the bridge picture for the purposes of the problem. |
| 144 | + parts of the bridge picture for the problem. |
145 | 145 | It does not matter how big the islands are,
|
146 | 146 | what the bridges are made out of,
|
147 | 147 | if the river contains alligators, etc.
|
148 | 148 | All that matters is which land masses are connected to which other land masses,
|
149 | 149 | and how many times.
|
150 |
| - This was the great insight that Euler had. |
| 150 | + This was the great insight Euler had. |
151 | 151 | </p>
|
152 | 152 |
|
153 | 153 | <p>
|
154 |
| - We will return to the question of finding paths through graphs in <xref ref="sec_gt-paths"/>. In this section we will explore various ways that graphs can be used to represent, or <em>model</em>, real world problems. Along the way we will introduce some basic definitions, terminology, and notation that will be used in the rest of the chapter. |
| 154 | + We will return to the question of finding paths through graphs in <xref ref="sec_gt-paths"/>. In this section, we will explore various ways that graphs can be used to represent, or <em>model</em>, real-world problems. Along the way, we will introduce some basic definitions, terminology, and notation that will be used in the rest of the chapter. |
155 | 155 |
|
156 | 156 | </p>
|
157 | 157 | <worksheet xml:id="PA-gt-intro">
|
|
274 | 274 |
|
275 | 275 | <statement>
|
276 | 276 | <p>
|
277 |
| - First, let's just count the number of vertices and edges in each graph. |
| 277 | + First, let's count the number of vertices and edges in each graph. |
278 | 278 | </p>
|
279 | 279 | <p component="interactive">
|
280 | 280 | Number of vertices: <m>G_1</m>: <var name="10" width="5"/>; <m>G_2</m>: <var name="6" width="5"/>; <m>G_3</m>: <var name="6" width="5"/>; <m>G_4</m>: <var name="6" width="5"/>.
|
|
448 | 448 | <p>
|
449 | 449 | The way we avoid ambiguities in mathematics is to provide concrete and rigorous <em>definitions</em>.
|
450 | 450 | Crafting good definitions is not easy, but it is incredibly important. The definition is the
|
451 |
| - agreed upon starting point from which all truths in mathematics proceed. Is there a graph with |
| 451 | + agreed-upon starting point from which all truths in mathematics proceed. Is there a graph with |
452 | 452 | no edges? We have to look at the definition to see if this is possible. </p>
|
453 | 453 |
|
454 | 454 | <p>
|
455 | 455 | We want our
|
456 | 456 | definition to be precise and unambiguous, but it also must agree with our intuition for the
|
457 |
| - objects we are studying. It needs to be useful: we <em>could</em> define a graph to be a six legged |
| 457 | + objects we are studying. It needs to be useful: we <em>could</em> define a graph to be a six-legged |
458 | 458 | mammal, but that would not let us solve any problems about bridges. Instead, here is the (now)
|
459 | 459 | standard definition of a graph.
|
460 | 460 | </p>
|
|
573 | 573 | <solution>
|
574 | 574 | <p> No. Here the vertex sets of each graph are equal, which is a
|
575 | 575 | good start. Also, both graphs have two edges. In the first graph, we have edges <m>\{a,b\}</m>
|
576 |
| - and <m>\{b,c\}</m>, while in the second graph we have edges <m>\{a,c\}</m> and <m>\{c,b\}</m>. Now we |
577 |
| - do have <m>\{b,c\} = \{c,b\}</m>, so that is not the problem. The issue is that <m>\{a,b\} \ne |
| 576 | + and <m>\{b,c\}</m>, while in the second graph we have edges <m>\{a,c\}</m> and <m>\{c,b\}</m>. Of course, <m>\{b,c\} = \{c,b\}</m>, so that is not the problem. The issue is that <m>\{a,b\} \ne |
578 | 577 | \{a,c\}</m>. Since the edge sets of the two graphs are not equal (as sets), the graphs are
|
579 | 578 | not equal (as graphs). </p>
|
580 | 579 | </solution>
|
|
724 | 723 | <solution>
|
725 | 724 | <p> The graphs are NOT equal, since <m>\{a,d\}
|
726 | 725 | \in E_1</m> but <m>\{a,d\} \notin E_2</m>. However, since both graphs contain the same number
|
727 |
| - of vertices and same number of edges, they <em>might</em> be isomorphic (this is not enough in |
| 726 | + of vertices and the same number of edges, they <em>might</em> be isomorphic (this is not enough in |
728 | 727 | most cases, but it is a good start). </p>
|
729 | 728 |
|
730 | 729 | <p> We can try to build an isomorphism. How about we
|
|
825 | 824 | <idx><h>graph</h><h>isomorphism class</h>
|
826 | 825 | </idx> Sometimes we will talk about a graph
|
827 | 826 | with a special name (like <m>K_n</m> or the <em>Petersen graph</em>) or perhaps draw a graph without
|
828 |
| - any labels. In this case we are really referring to <em>all</em> graphs isomorphic to any copy of |
829 |
| - that particular graph. A collection of isomorphic graphs is often called an <term>isomorphism class</term> |
830 |
| - . |
831 |
| - <fn> This is not unlike geometry, where we might have more than one copy of a particular |
| 827 | + any labels. In this case, we are really referring to <em>all</em> graphs isomorphic to any copy of |
| 828 | + that particular graph. A collection of isomorphic graphs is often called an <term>isomorphism class</term>.<fn> This is not unlike geometry, where we might have more than one copy of a particular |
832 | 829 | triangle. There instead of <em>isomorphic</em> we say <em>congruent</em>. </fn></p>
|
833 | 830 |
|
834 | 831 | <p>
|
|
1027 | 1024 | Back to some basic graph theory definitions. Notice that all the graphs we have drawn above have
|
1028 | 1025 | the property that no pair of vertices is connected more than once, and no vertex is connected to
|
1029 | 1026 | itself. Graphs like these are sometimes called <term>simple</term>, although we will just call them <em>
|
1030 |
| - graphs</em>. This is because our definition for a graph says that the edges form a set of |
| 1027 | + graphs</em>. This is because our definition of a graph says that the edges form a set of |
1031 | 1028 | 2-element subsets of the vertices. Remember that it doesn't make sense to say a set contains an
|
1032 | 1029 | element more than once. So no pair of vertices can be connected by an edge more than once. Also,
|
1033 | 1030 | since each edge must be a set containing two vertices, we cannot have a single vertex connected
|
|
1041 | 1038 | <idx><h>multiset</h><h>relation
|
1042 | 1039 | to multigraph</h>
|
1043 | 1040 | </idx> That said, there are times we want to consider double (or more)
|
1044 |
| - edges and single edge loops. For example, the <q>graph</q> we drew for the Bridges of Königsberg |
| 1041 | + edges and single-edge loops. For example, the <q>graph</q> we drew for the Bridges of Königsberg |
1045 | 1042 | problem had double edges because there really are two bridges connecting a particular island to
|
1046 | 1043 | the near shore. We will call these objects <term>multigraphs</term>. This is a good name: a <em>multiset</em>
|
1047 | 1044 | is a set in which we are allowed to include a single element multiple times. </p>
|
|
0 commit comments