Definition 1.1.1. Vertex.
A vertex (also called a node) is a fundamental unit of a graph representing an object or entity. In this book, vertices will be labeled using letters.
| Vertex | Capital city |
| A | Dublin |
| B | Lisbon |
| C | Madrid |
| D | Paris |
| E | Brussels |
| F | Amsterdam |
| G | Berlin |
| H | Copenhagen |
| I | Stockholm |
| J | Warsaw |
| K | Prague |
| L | Vienna |
| M | Budapest |
| N | Rome |
| O | Athens |
| Vertex in \(G\) | Image in \(H\) |
|---|---|
| \(A\) | \(T\) |
| \(B\) | \(P\) |
| \(C\) | \(V\) |
| \(D\) | \(Q\) |
| \(E\) | \(U\) |
| \(F\) | \(R\) |
| \(G\) | \(S\) |



| From | To | Cost |
|---|---|---|
| Kansas City | Denver | $272 |
| Kansas City | Minneapolis | $194 |
| Kansas City | Chicago | $249 |
| Kansas City | Nashville | $466 |
| Denver | Minneapolis | $247 |
| Denver | Chicago | $250 |
| Denver | Nashville | $462 |
| Minneapolis | Chicago | $137 |
| Minneapolis | Nashville | $410 |
| Chicago | Nashville | $345 |
| Edge | Cost | Action | Reason |
|---|---|---|---|
| M–C | $137 | Add | Cheapest available |
| K–M | $194 | Add | Cheapest available |
| D–M | $247 | Skip | Would give M degree 3 |
| K–C | $249 | Skip | Would create early circuit K–M–C–K |
| D–C | $250 | Add | Connects D to component |
| K–D | $272 | Skip | Would create early circuit K–M–C–D–K |
| C–N | $345 | Skip | Would give C degree 3 |
| M–N | $410 | Skip | Would give M degree 3 |
| D–N | $462 | Add | Connects final vertex N |
| K–N | $466 | Add | Closes the circuit |
| K | C | M | D | N | O | A | |
|---|---|---|---|---|---|---|---|
| K | — | 249 | 194 | 272 | 466 | 576 | 127 |
| C | 249 | — | 137 | 250 | 345 | 312 | 130 |
| M | 194 | 137 | — | 247 | 410 | 430 | 147 |
| D | 272 | 250 | 247 | — | 462 | 451 | 125 |
| N | 466 | 345 | 410 | 462 | — | 552 | 284 |
| O | 576 | 312 | 430 | 451 | 552 | — | 423 |
| A | 127 | 130 | 147 | 125 | 284 | 423 | — |
| Step | Current | Move to | Cost |
|---|---|---|---|
| 1 | K | A | $127 |
| 2 | A | D | $125 |
| 3 | D | M | $247 |
| 4 | M | C | $137 |
| 5 | C | O | $312 |
| 6 | O | N | $552 |
| 7 | N | K | $466 |
| Edge | Cost | Action | Reason |
|---|---|---|---|
| A–D | $125 | Add | Cheapest available |
| K–A | $127 | Add | Cheapest available |
| C–A | $130 | Skip | Would give A degree 3 |
| M–C | $137 | Add | Cheapest available |
| M–A | $147 | Skip | Would give A degree 3 |
| K–M | $194 | Add | Joins two chains |
| D–M | $247 | Skip | Would give M degree 3 |
| D–C | $250 | Skip | Would create early circuit |
| K–D | $272 | Skip | Would give K degree 3 |
| N–A | $284 | Skip | Would give A degree 3 |
| C–O | $312 | Skip | Would give C degree 3 |
| C–N | $345 | Add | Extends chain to N |
| D–O | $451 | Add | Connects O to chain |
| O–N | $552 | Add | Closes the circuit |
| Store A | Store B | Store C | Store D | Store E | |
|---|---|---|---|---|---|
| Store A | — | 25 | 15 | 45 | 10 |
| Store B | 25 | — | 20 | 30 | 20 |
| Store C | 15 | 20 | — | 25 | 30 |
| Store D | 45 | 30 | 25 | — | 35 |
| Store E | 10 | 20 | 30 | 35 | — |
| Island A | Island B | Island C | Island D | Island E | |
|---|---|---|---|---|---|
| Island A | — | 2 | 4 | 3 | 5 |
| Island B | 2 | — | 1 | 4 | 6 |
| Island C | 4 | 1 | — | 2 | 3 |
| Island D | 3 | 4 | 2 | — | 7 |
| Island E | 5 | 6 | 3 | 7 | — |
| Edge | Cost | Action | Vertices Connected |
|---|---|---|---|
| B–C | 1 | Add | {B, C} |
| C–D | 2 | Add | {B, C, D} |
| A–B | 2 | Add | {A, B, C, D} |
| C–E | 3 | Add | {A, B, C, D, E} — Done! |
| Plant | Town A | Town B | Town C | Town D | Town E | |
|---|---|---|---|---|---|---|
| Plant | — | 15 | 20 | 18 | 22 | 25 |
| Town A | 15 | — | 10 | 12 | 14 | 30 |
| Town B | 20 | 10 | — | 16 | 13 | 17 |
| Town C | 18 | 12 | 16 | — | 11 | 19 |
| Town D | 22 | 14 | 13 | 11 | — | 9 |
| Town E | 25 | 30 | 17 | 19 | 9 | — |
| Edge | Cost | Action | Reason |
|---|---|---|---|
| D–E | 9 | Add | Cheapest available |
| A–B | 10 | Add | Cheapest available |
| C–D | 11 | Add | Cheapest available |
| A–C | 12 | Add | Joins A–B chain to C–D–E chain |
| B–D | 13 | Skip | Would create circuit A–B–D–C–A |
| A–D | 14 | Skip | Would create circuit A–C–D–A |
| Plant–A | 15 | Add | Connects Plant — spanning tree complete |

RANDINT function that does exactly this.
| Score range | Number of students |
|---|---|
| 60 to 69 | 3 |
| 70 to 79 | 8 |
| 80 to 89 | 10 |
| 90 to 100 | 4 |
| Score range | Number of students |
|---|---|
| 60 to 64 | 1 |
| 65 to 69 | 2 |
| 70 to 74 | 3 |
| 75 to 79 | 5 |
| 80 to 84 | 4 |
| 85 to 89 | 5 |
| 90 to 94 | 3 |
| 95 to 99 | 2 |
| \(Z\) | 0.00 | 0.01 | 0.02 | 0.03 | 0.04 | 0.05 | 0.06 | 0.07 | 0.08 | 0.09 |
|---|---|---|---|---|---|---|---|---|---|---|
| 0.0 | 0.0000 | 0.0040 | 0.0080 | 0.0120 | 0.0150 | 0.0199 | 0.0239 | 0.0279 | 0.0319 | 0.0359 |
| 0.1 | 0.0398 | 0.0438 | 0.0478 | 0.0517 | 0.0557 | 0.0596 | 0.0636 | 0.0675 | 0.0714 | 0.0754 |
| 0.2 | 0.0793 | 0.0832 | 0.0871 | 0.0910 | 0.0948 | 0.0987 | 0.1026 | 0.1064 | 0.1103 | 0.1141 |
| 0.3 | 0.1179 | 0.1217 | 0.1253 | 0.1293 | 0.1331 | 0.1368 | 0.1406 | 0.1443 | 0.1480 | 0.1517 |
| 0.4 | 0.1554 | 0.1591 | 0.1628 | 0.1664 | 0.1700 | 0.1736 | 0.1772 | 0.1808 | 0.1844 | 0.1879 |
| 0.5 | 0.1915 | 0.1950 | 0.1985 | 0.2019 | 0.2054 | 0.2088 | 0.2123 | 0.2157 | 0.2190 | 0.2224 |
| 0.6 | 0.2258 | 0.2291 | 0.2324 | 0.2357 | 0.2389 | 0.2422 | 0.2454 | 0.2486 | 0.2518 | 0.2549 |
| 0.7 | 0.2580 | 0.2612 | 0.2642 | 0.2673 | 0.2704 | 0.2734 | 0.2764 | 0.2794 | 0.2823 | 0.2852 |
| 0.8 | 0.2881 | 0.2910 | 0.2939 | 0.2967 | 0.2996 | 0.3023 | 0.3051 | 0.3078 | 0.3106 | 0.3133 |
| 0.9 | 0.3159 | 0.3186 | 0.3212 | 0.3238 | 0.3264 | 0.3289 | 0.3315 | 0.3340 | 0.3365 | 0.3389 |
| 1.0 | 0.3413 | 0.3438 | 0.3461 | 0.3485 | 0.3508 | 0.3531 | 0.3554 | 0.3577 | 0.3599 | 0.3621 |
| 1.1 | 0.3643 | 0.3665 | 0.3686 | 0.3708 | 0.3729 | 0.3749 | 0.3770 | 0.3790 | 0.3810 | 0.3830 |
| 1.2 | 0.3849 | 0.3869 | 0.3888 | 0.3907 | 0.3925 | 0.3944 | 0.3962 | 0.3980 | 0.3997 | 0.4015 |
| 1.3 | 0.4032 | 0.4049 | 0.4066 | 0.4082 | 0.4099 | 0.4115 | 0.4131 | 0.4147 | 0.4162 | 0.4177 |
| 1.4 | 0.4192 | 0.4207 | 0.4222 | 0.4236 | 0.4251 | 0.4265 | 0.4279 | 0.4292 | 0.4306 | 0.4319 |
| 1.5 | 0.4332 | 0.4345 | 0.4357 | 0.4370 | 0.4382 | 0.4394 | 0.4406 | 0.4418 | 0.4429 | 0.4441 |
| 1.6 | 0.4452 | 0.4463 | 0.4474 | 0.4484 | 0.4495 | 0.4505 | 0.4515 | 0.4525 | 0.4535 | 0.4545 |
| 1.7 | 0.4554 | 0.4564 | 0.4573 | 0.4582 | 0.4591 | 0.4599 | 0.4608 | 0.4616 | 0.4625 | 0.4633 |
| 1.8 | 0.4641 | 0.4649 | 0.4656 | 0.4664 | 0.4671 | 0.4678 | 0.4686 | 0.4693 | 0.4699 | 0.4706 |
| 1.9 | 0.4713 | 0.4719 | 0.4726 | 0.4732 | 0.4738 | 0.4744 | 0.4750 | 0.4756 | 0.4761 | 0.4767 |
| 2.0 | 0.4772 | 0.4778 | 0.4783 | 0.4788 | 0.4793 | 0.4798 | 0.4803 | 0.4808 | 0.4812 | 0.4817 |
| 2.1 | 0.4821 | 0.4826 | 0.4830 | 0.4834 | 0.4838 | 0.4842 | 0.4846 | 0.4850 | 0.4854 | 0.4857 |
| 2.2 | 0.4861 | 0.4864 | 0.4868 | 0.4871 | 0.4875 | 0.4878 | 0.4881 | 0.4884 | 0.4887 | 0.4890 |
| 2.3 | 0.4893 | 0.4896 | 0.4898 | 0.4901 | 0.4904 | 0.4906 | 0.4909 | 0.4911 | 0.4913 | 0.4916 |
| 2.4 | 0.4918 | 0.4920 | 0.4922 | 0.4925 | 0.4927 | 0.4929 | 0.4931 | 0.4932 | 0.4934 | 0.4936 |
| 2.5 | 0.4938 | 0.4940 | 0.4941 | 0.4943 | 0.4945 | 0.4946 | 0.4948 | 0.4949 | 0.4951 | 0.4952 |
| 2.6 | 0.4953 | 0.4955 | 0.4956 | 0.4957 | 0.4959 | 0.4960 | 0.4961 | 0.4962 | 0.4963 | 0.4964 |
| 2.7 | 0.4965 | 0.4966 | 0.4967 | 0.4968 | 0.4969 | 0.4970 | 0.4971 | 0.4972 | 0.4973 | 0.4974 |
| 2.8 | 0.4974 | 0.4975 | 0.4976 | 0.4977 | 0.4977 | 0.4978 | 0.4979 | 0.4979 | 0.4980 | 0.4981 |
| 2.9 | 0.4981 | 0.4982 | 0.4982 | 0.4983 | 0.4984 | 0.4984 | 0.4985 | 0.4985 | 0.4986 | 0.4986 |
| 3.0 | 0.4987 | 0.4987 | 0.4987 | 0.4988 | 0.4988 | 0.4989 | 0.4989 | 0.4989 | 0.4990 | 0.4990 |
| Confidence level \(C\) | 90% | 95% | 99% |
|---|---|---|---|
| Critical value \(z^*\) | 1.645 | 1.960 | 2.576 |