Question of the Day (slight reprise):
To find the dual $\overline{G}$ of a graph $G$, use the following scheme:
We can use graphs to organize our work with graphs: simple graphcs with four vertices. Could we have done it better, to illustrate duality, for example?
For homework I asked you to draw all simple graphs with five vertices: here they are, organized by duality.
In "The Enemy of My Enemy", Steven Strogatz considers negative numbers and graphs.
"...you can't see negative 4 cookies and you certainly can't eat them -- but you can think about them...." ("and you have to", says Strogatz).
And the key to understanding stability in three-way social relationships is that the product of two interactions (signified by either +1 or -1) must be "equal" to the other interaction: so that if two legs are positive, the third in the triangle must be positive; if one leg positive, and the other negative, then the third leg must be negative as well.
Furthermore, if two interactions are negative, then the third must be positive -- (-1)(-1)=(+1) -- a negative times a negative equals a positive.
Strogatz sums up the second case above in the familiar saying that "The enemy of my enemy is my friend".
The following (two) graphs are unbalanced:
Finally Strogatz shows how historical relationships settled down into this pattern of stability: in "...the run-up to World War I. The diagram that follows shows the shifting alliances among Great Britain, France, Russia, Italy, Germany, and Austria-Hungary between 1872 and 1907."
The bottom right graph (complete!) is the only stable configuration, "...balanced, but on the brink of war."
This section describes how Google uses the "Pagerank" algorithm to determine the importance or value of a webpage (and hence where it falls in the search results for a particular topic).
Strogatz asserts that "A page is good if good pages link to it," then discusses this self-referential definition of a good page. (p. 193)
The question is this: who decides which pages are good in the first place? As Strogatz describes, the network does!
"Worrying about content turned out to be an impractical way to rank webpages." (p. 192) We left people vote with their feet (or rather, with their clicks.)
Graphs provide a useful way of illustrating how pages interact. If there's a link between two pages, then a directed arrow indicates it. Here's the graph of the "toy web" Strogatz considers, with the final rankings:
He justifies this ranking in a series of graphs, and a set of equations on page 195. Let's see how these equations work (we'll use this Excel spreadsheet).
He starts by assigning all pages equal weight: in this case, if we call the total weight 1, each page starts with weight 1/3.
Notice that I've written the equations with an index, ,
rather than with the primes. That's because we keep updating
the values to get them at the
stage, and we update based on the previous stage's (
)
values.
We just "do it again", over and over....
This "systems of equations" is an example from the field of mathematics called "linear algebra". If you loved algebra, wait -- there's more!:)
Now here's the big question: How do you improve the value of your website, given that you understand the PageRank algorithm?
Side note: Google's plan to prioritize facts ticks off climate deniers: The strategy isn't being implemented yet, but the paper presented a method for adapting algorithms such that they would generate a "Knowledge-Based Trust" score for every page. To do this, the algorithm would pick out statements and compare them with Google's Knowledge Vault, a database of facts. It would also attempt to assess the trustworthiness of sources -- for example, a reputable news site versus a newly created WordPress blog....