st. michaels college, colchester, vt 05439 e-mail: jellis...
TRANSCRIPT
![Page 1: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/1.jpg)
Jo Ellis-MonaghanSt. Michaels College, Colchester, VT 05439e-mail: [email protected]: http://academics.smcvt.edu/jellis-monaghan
![Page 2: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/2.jpg)
EARLY MATHEMATICSEARLY MATHEMATICS----ARITHMETICARITHMETIC
The Mathematics of: Counting, Money, Inventory, Taxes, Census, Apportionment, Calendars
Enumeration
Cavemen
Prehistory
www.cartoonstock.com www.cartoonstock.com
www.valdostamuseum.org/hamsmith/eghier.html
![Page 3: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/3.jpg)
CLASSICAL MATHEMATICSCLASSICAL MATHEMATICS----GEOMETRYGEOMETRY
The Mathematics of: Measurement, Surveying, Architecture, Astronomy, Volumes and Areas
Static Measurement
Euclid of Alexandria(325 BC-265 BC)
![Page 4: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/4.jpg)
The Mathematics of:Projectiles, Optimization, Engineering, Machines, Rockets, Planetary Motion, Gravity…
Motion in time and space
MODERN MATHEMATICSMODERN MATHEMATICS----CALCULUSCALCULUS
Sir Isaac Newton
(1643-1727)
![Page 5: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/5.jpg)
MATHEMATICS OF THE FUTUREMATHEMATICS OF THE FUTURE——GRAPH THEORYGRAPH THEORY
The Mathematics of:Computer Chips, the Internet, Electrical Circuits, Cell Phone Coverage, Transportation Networks, Social Interactions, Genetics, Food Webs….
Interconnections and Relations
William Tutte
(1917- 2002)
![Page 6: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/6.jpg)
The edge e = (u,u) is called a loop.
A graph, G, is a bunch of dots, called vertices, together with a (possibly empty) bunch of lines connecting the vertices of G called edges.
DEFINITIONSDEFINITIONS
The edge f = (u,v) is said to join the vertices u and v. The vertices u and v are adjacent to each other, while f is said to beincident with u and v. If e1 and e2 are distinct edges of G with a common vertex, then e1 and e2 are said to be adjacent.
e1
e2
eu
v fA digraph, i.e. a directed or oriented graph.
![Page 7: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/7.jpg)
A FEW COMMON GRAPHSA FEW COMMON GRAPHS
C6 (cycle)
K3,4 (bipartite)
E
BF
A
CD
1 2
34
56A planar (multi) graph
(tree) K6(complete)
A vertex of degree 3
![Page 8: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/8.jpg)
KONIGSBERG BRIDGE PROBLEMKONIGSBERG BRIDGE PROBLEM
Can you take a walk crossing each bridge exactly once and returning to your starting place?
A map of Konigsberg
in Euler’s time….
Leonard Euler (1707-1783)
![Page 9: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/9.jpg)
KONIGSBERGEKONIGSBERGE BRIDGE WALK IS NOT POSSIBLEBRIDGE WALK IS NOT POSSIBLE……..
Theorem: A graph has a Euler cycle if and only if all the vertices have even degree (an even number of edges attached).
No…. All vertices have odd degree!
Yes…. All vertices have even degree!
Solution from Fleury’s algorithm, O(E2) or better.
![Page 10: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/10.jpg)
PROBLEMPROBLEM
Say we want to read this piece of single-stranded DNAWe can’t read it all in one piece, so we break it up into l-length “fragments,”and then piece it back together to reconstruct the DNA sequence.Here, we’ll use fragments of 4 nucleotides.For the sequence above, we would get fragments of:
ATCGACTATAAGGCATCGAA
TCGA
CGAC GACTACTA
CTATTATA
ATAA
TAAGAAGGAGGC
GGCA GCAT
CATC ATCG
TCGA CGAA
ATCG
A T C G A T C A T A A G G C A T C G A A
![Page 11: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/11.jpg)
CONSTRUCTING THE CONSTRUCTING THE DEBRUJINDEBRUJIN GRAPHGRAPH
The set of fragments can be represented by a graph.Each fragment has length 4. The “head” vertex contains the first three of one fragment and the “tail” vertex contains the last three. A directed edge joins the vertices.Example:
GGCA = GGC GCA
TCGA CGACGACTACTA
CTATTATA
ATAA
TAAG
AAGG
AGGC
GGCA
GCAT
CATC ATCG
TCGA
CGAA
ATCG
![Page 12: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/12.jpg)
CONSTRUCTING THE CONSTRUCTING THE DEBRUIJNDEBRUIJN GRAPH CONT.GRAPH CONT.
Do for all fragments – connect with directed edges.Above is a construction of the DeBruijn graph for the subsequence of DNA above
CGA
GAC ACT
CTA
TAT
ATA TAA
AAG
AGGGGCGGC
CAT
ATCGAA
TCG
GCA
ATCGACTATAAGGCATCGAA
![Page 13: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/13.jpg)
CREATING THE 2CREATING THE 2--IN 2IN 2--OUT DIGRAPHOUT DIGRAPH
Notice only 3 vertices with more than degree two. We can redraw this graph so it only has vertices with degree 4.
CGA
GAC ACT
CTA
TAT
ATA TAA
AAG
AGGGGCGGC
CAT
ATCGAA
TCG
GCACGA
ATC
TCG
CGATCGATC
![Page 14: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/14.jpg)
EULERIANEULERIAN DIGRAPHSDIGRAPHS
Assumptions (probalisticallyjustified):1st and last fragments don’t match—we connect them at the end.1.No three-way or greater repeats.
(From repeats of length greater than n)
(From sequences of length greater than n without repeats elsewhere)
This leads to Eulerian digraphs
Some simplifications
Final form is a 4-regular Eulariandigraph (two in-arrows and two out-arrows at each vertex
![Page 15: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/15.jpg)
ENUMERATING THE RECONSTRUCTIONSENUMERATING THE RECONSTRUCTIONS
Each Eulerian circuit corresponds to a reconstruction of the DNA strand.
Some graphs have many Eulerian circuits.
Only ONE corresponds to the correct sequencing of the original strand…
![Page 16: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/16.jpg)
ENUMERATION IS POSSIBLEENUMERATION IS POSSIBLE
Given the set of fragments, one can count the number of Eulerian circuits in the resulting graph.This gives the number of possible ‘misconstructions’ of the strand.The number of Eulerian circuits can be found in polynomial time (matrix tree/BEST).The related question of how many sets of DNA data could be ‘misconstructed’ in exactly k ways has been explored using graph polynomials.This question amounts to asking how many Euleriandigraphs with maximum degree 4 have k Eulerian circuits.
![Page 17: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/17.jpg)
RECOGNIZING AND RECOGNIZING AND ANALYZING NETWORKSANALYZING NETWORKS
http://infosthetics.com/archives/facebook_graph2.jpg
http://apps.facebook.com/touchgraph/?ref=appd_my_recent
Social Networks
Jo EllisJo Ellis--MonaghanMonaghan
![Page 18: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/18.jpg)
INFORMATION TRANSFER IN A NETWORKINFORMATION TRANSFER IN A NETWORK
The Small World Phenomenon
Stanley Milgram sent a series of traceable letters from people in the Midwest to one of two destinations in Boston. The letters could be sent only to someone whom the current holder knew by first name. Milgram kept track of the letters and found a median chain length of about six, thus supporting the notion of "six degrees of separation."
http://mathforum.org/mam/04/poster.html
![Page 19: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/19.jpg)
GRAPH DRAWINGGRAPH DRAWING——DISPLAYING DATA DISPLAYING DATA
"Risk network Structure in the early epidemic phase of HIV transmission in Colorado Springs," Sexually Transmitted Infections, 78 (2002). Pp. i159-i163.
![Page 20: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/20.jpg)
THE THE ‘‘SHAPESHAPE’’ OF OF YOUR DATAYOUR DATA
•Stock Ownership (2001 NY Stock Exchange)
•Children’s Social Network
http://mathforum.org/mam/04/poster.html
![Page 21: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/21.jpg)
QUANTIFYING STRUCTUREQUANTIFYING STRUCTURE
MapQuest
JetBlue
Scale FreeScale Free
DistributedDistributed
Num
ber o
f ver
tices
Vertex degree
Num
ber o
f ver
tices
Vertex degree
![Page 22: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/22.jpg)
ROLLING BLACKOUTS IN AUGUST 2003ROLLING BLACKOUTS IN AUGUST 2003
http://encyclopedia.thefreedictionary.com/_/viewer.aspx?path=2/2f/&name=2003-blackout-after.jpg
![Page 23: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/23.jpg)
SOME NETWORKS ARE MORE ROBUST THAN SOME NETWORKS ARE MORE ROBUST THAN OTHERS.OTHERS.
BUT HOW DO WE MEASURE THIS?BUT HOW DO WE MEASURE THIS?
http://www.caida.org/tools/visualization/mapnet/Backbones/
![Page 24: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/24.jpg)
A NETWORK MODELED BY A GRAPHA NETWORK MODELED BY A GRAPH(communication, transportation)
A functional network(can get from any vertex to any other along functioning edges)
A dysfunctional network (vertices s and t can’t
communicate)
s
t
Question: If each edge operates independently with probability p, what is the probability that the whole network is functional?
![Page 25: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/25.jpg)
If an edge is working (this happens with probability p), it’s as thought the two vertices were “touching”—i.e. just contract the edge:
If an edge is not working (this happens with probability 1-p), it might as well not be there—i.e. just delete it:
Thus, if R(G;p) is the reliability of the network G where all edges function with a probability of p, and e is not a bridge nor a loop, then
R(G;p) =(1-p)R(G-e;p) + p R(G/e;p)
DELETION AND CONTRACTION IS A NATURAL DELETION AND CONTRACTION IS A NATURAL REDUCTION FOR NETWORK RELIABILITYREDUCTION FOR NETWORK RELIABILITY
![Page 26: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/26.jpg)
= (1-p)p2 + p(1-p)p + p2+ p (1-p) + p p= (1-p)p2
(1-p) + p
RELIABILITY EXAMPLERELIABILITY EXAMPLE
Note that, if every edge of the network is a bridge*, then R(G;p) = (p)E, where E is the number of edges.
Also note that R(loop;p) = 1
E.g.:
So R(G;p) = 3p2- 2p3 gives the probability that the network is functioning if every edge functions with probability p.
E.g. R(G; .5)=.5625*A bridge is an edge whose removal disconnects the graph.
![Page 27: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/27.jpg)
THE THE ISINGISING/POTTS MODEL/POTTS MODEL
Consider a sheet of metal:
It has the property that at low temperatures it is magnetized, but as the temperature increases, the magnetism “melts away”*.
We would like to model this behavior. We make some simplifying assumptions to do so.
The individual atoms have a “spin”, i.e., they act like little bar magnets, and can either point up (a spin of +1), or down (a spin of –1).
Neighboring atoms with the same spins have an interaction energy, which we will assume is constant.
The atoms are arranged in a regular lattice.
*Mathematicians should NOT attempt this at home…
![Page 28: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/28.jpg)
ONE POSSIBLE STATE OF THE LATTICEONE POSSIBLE STATE OF THE LATTICE
A choice of ‘spin’ at each lattice point.
2q
Ising Model has a choice of two possible
spins at each point
![Page 29: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/29.jpg)
THE ENERGY (HAMILTONIAN) OF THE STATETHE ENERGY (HAMILTONIAN) OF THE STATE
here is ( )H w -10J
A state w with the value of δ marked on each edge.
Endpoints have different spins, so δ is 0.
Endpoints have the same spins, so δ is 1.
0
10
00
00 00
0
0
1
1
1 111
0
11
1
0
0
000 0
0 0 0
0
,0 for 1 for a b
a ba b
The Hamiltonian of a state is the sum of the energies on edges withendpoints having the same spins.
,edges
H J a b
where a and b are the endpoint of an edges, J is the interaction
energy, and
![Page 30: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/30.jpg)
NOT JUST MAGNETISMNOT JUST MAGNETISM——ANY SYSTEM WHERE LOCAL ANY SYSTEM WHERE LOCAL MICROSCALEMICROSCALE INTERACTION DETERMINE THE INTERACTION DETERMINE THE MACROSCALEPROPERTIESMACROSCALEPROPERTIES OF THE SYSTEMOF THE SYSTEM
Colorings of the points with q colors
Cellular models (temp= cellular motility)Healthy cancerous Necrotic
Epidemiology (temp = virulence)
Healthy Contagious Symptomatic Immune Deceased
![Page 31: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/31.jpg)
MORE STATESMORE STATES----SAME HAMILTONIANSAME HAMILTONIAN
The Hamiltonian still measures the overall energy of the a state of a system.
10H J
1
1
1
1
1
1 1
1
1
1 0 0
0
0
0
0
0
0
0
0
0
00
0
The Hamiltonian of a state of a 4X4 lattice with 3 choices of spins (colors) for each element.
,( ) a be d g e s
H w J
(note—qn possible states)
![Page 32: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/32.jpg)
The probability of a particular state S occurring depends on the temperature, T
(or other measure of activity level in the application—e.g. virulence of a disease)
--Boltzmann probability distribution--
PROBABILITY OF A STATEPROBABILITY OF A STATE
all states
exp( ( ))
exp( ( ))
H SP S
HS
S
4
231 where 1.38 10 joules/Kelvin and is the temperature of the system.k TkT
The numerator is easy. The denominator, called the Potts Model Partition Function,
is the interesting (hard) piece.Turns out to be related to that reliability polynomial (!)
![Page 33: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/33.jpg)
EXAMPLEEXAMPLE
all states
exp( ( ))
exp( ( ))
H SP SH
S
S
The Potts model partition function of a square lattice with two possible spins
12exp(2 ) 2exp(4 ) 2J J
4
4H J 2H J 2H J 2H J
2H J 2H J 2H J
2H J 2H J 2H J
2H J 2H J 2H J 4H J
0H
0H
exp(4 )
12exp(2
all r
) 2exp(4 ) 2
edPJ
J J
Minimum Energy States
![Page 34: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/34.jpg)
PROBABILITY OF A STATE OCCURRING DEPENDS ON PROBABILITY OF A STATE OCCURRING DEPENDS ON THE TEMPERATURETHE TEMPERATURE
P(all red, T=0.01) = .50 or 50%
P(all red, T=2.29) = 0.19 or 19%
P(all red, T = 100, 000) = 0.0625 = 1/16
Setting J = k for convenience, so
exp(4/ )12exp(2/ ) 2exp(4/ ) 2
all red TPT T
![Page 35: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/35.jpg)
EFFECT OF TEMPERATUREEFFECT OF TEMPERATURE
Consider two different states A and B, with H(A) < H(B). The relative probability of the two states is:
At high temperatures (i.e., for kT much larger than the energy difference |D|), the system becomes equally likely to be in either of the states A or B - that is, randomness and entropy "win". On the other hand, if the energy difference is much larger than kT (very likely at low temperatures), the system is far more likely to be in the lower energy state.
( ) ( )
all states all states
H A H B
H H
P A e eP B
e e
S S
S S
( )
( ) , where 0.
H A D
kTH B
DkTee e D H A H B
e
![Page 36: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/36.jpg)
ISINGISING MODEL AT DIFFERENT TEMPERATURESMODEL AT DIFFERENT TEMPERATURES
Cold Temperature Hot Temperature
Critical TemperatureHere H is
and energy is
i js s
# of squaresH
movie
applet
Images from http://bartok.ucsc.edu/peter/java/ising/keep/ising.html
![Page 37: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/37.jpg)
MONTE CARLO SIMULATIONSMONTE CARLO SIMULATIONS
?
http://www.pha.jhu.edu/~javalab/potts/potts.html
![Page 38: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/38.jpg)
EPIDEMIOLOGY MODELEPIDEMIOLOGY MODEL
1. You are a node.2. Identify your neighbors (anyone you can reach out and touch).
These are the folks you can infect (there is an edge between youand each of them).
3. If you have an ‘L’ in your name, you are infected. Raise your hand.
4. If you are next to an infected person, think of a number between1 and 10.
5. If your number is ___________, then you are infected. Raise your hand. (END Round 1)
6. Go to step (4).7. If you have been sick for two rounds, fold your arms. You are
now immune.8. QUESTIONS: Will this disease ‘peter out’? Will everyone end
up immune? How many people might be sick at a time?
![Page 39: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/39.jpg)
MONTE CARLO SIMULATIONSMONTE CARLO SIMULATIONS
B (old)
A (change to new)
B (stay old)
Generate a random number r between 0 and 1.
P Ar
P B
P Ar
P B
![Page 40: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/40.jpg)
CAPTURE EFFECT OF TEMPERATURECAPTURE EFFECT OF TEMPERATURE
exp(‘-’/kT) ~ 0exp(‘-’/kT) ~1H(B) < H(A)B is a lower energy
state than A
H(B) > H(A)B is a higher energy
state than A > r, so change to lower energy state.
> r, so change states.
exp(‘+’/kT) ~1exp(‘+’/kT) ~1
< r, so stay in low energy state.
> r, so change states.
Low TempHigh Temp
Given r between 0 and 1, and that , with Bthe current state and A the one we are considering changing to, we have:
expP A H B H AP B kT
![Page 41: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/41.jpg)
This models how tumor growth is influenced by the amount and location of a nutrient.
The energy function is modified by the volume of a cell and the amount of nutrients.
TUMOR MIGRATIONTUMOR MIGRATION
' ' ' '
2( ) ( ) 1 ( ) ( , )
ij i j ij i j Tij i j
H J V Kp i j
7
1
11
1
![Page 42: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/42.jpg)
FOAMSFOAMS
“Foams are of practical importance in applications as diverse as brewing, lubrication, oil recovery, and fire fighting”.
The energy function is modified by the area of a bubble.
Results: Larger bubbles flow faster.There is a critical velocity at which the foam starts to flow uncontrollably
2
{ , }
(1 ) ( )i j n n
i j n
H J a A
9
![Page 43: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/43.jpg)
Y. Jiang, J. Glazier, Foam Drainage: Extended Large-Q Potts Model Simulation
We study foam drainage using the large-Q Potts model... profiles of draining beer foams, whipped cream, and egg white ...
Olympic Foam: http://mathdl.maa.org/mathDL?pa=mathNews&sa=view&newsId=392
A PERSONAL FAVORITEA PERSONAL FAVORITE
http://www.lactamme.polytechnique.fr/Mosaic/images/ISIN.41.16.D/display.html
![Page 44: St. Michaels College, Colchester, VT 05439 e-mail: jellis …academics.smcvt.edu/jellis-monaghan/Talks/NIMBioS Graph... · 2010-08-17 · PROBLEM Say we want to read this piece of](https://reader033.vdocuments.us/reader033/viewer/2022050314/5f77168fe13767624714125c/html5/thumbnails/44.jpg)
SOCIOLOGICAL APPLICATIONSOCIOLOGICAL APPLICATION
The Potts model may be used to “examine some of the individual incentives, and perceptions of difference, that can lead collectively to segregation …”.(T. C. Schelling won the 2005 Nobel prize in economics for this work)
Variables: ‘temperature’ = economic factorsPreferences of individualsSize of the neighborhoodsNumber of individuals
8