1 Random graphs with specified degrees

Size: px
Start display at page:

Download "1 Random graphs with specified degrees"

Transcription

1 1 Ranom graphs with spii grs Rall that a vrtx s gr unr th ranom graph mol G(n, p) ollows a Poisson istribution in th spars rgim, whil most ral-worl graphs xhibit havy-tail gr istributions. This irn is on rason w say that G(n, p) is an unralisti mol. In this ltur, w will larn about ranom graph mols that hav a mor lxibl gr strutur. Thr ar two main lavors o ths mols: thos that gnrat ranom graphs with a spii gr squn (a oniguration mol ) or with a spii gr istribution. Ths ranomgraph mols ar typially in in trms o unirt an unwight graphs, but thy ar straightorwar to gnraliz to bipartit ntworks, or irt graphs. Extning thm to multilayr, tmporal, or wight ntworks rquirs aitional assumptions. A oniguration mol an b not as G(n, k) whr k = {k i } is a gr squn on n vrtis, with k i bing th gr o vrtx i. This mol rprsnts a uniorm istribution ovr all graphs with n vrtis, onition on thir having th k gr squn. So long as k i is vn (o you s why?), w ar r to hoos k in any way w lik. It thn only rmains to in how w will sampl iniviual ntworks rom this istribution. 1 Hr ar som spii xampls o spii oniguration mols. I w ix all th grs to b th som onstant k, w hav in a probability istribution ovr all k-rgular graphs. Or, w oul hoos a st o n valus rawn ii rom som gr istribution Pr(k). I that istribution is Poisson with man /(n 1), thn w rovr th G(n, p) mol. Or, w oul raw th grs rom som othr istribution, lik an xponntial, a log-normal or vn a powr law; th lattr as is somtims all a powr-law ranom graph. I th gr istribution that gnrats th gr squn has a mathmatially simpl orm, lik th istributions just mntion, w an otn omput xatly rtain proprtis o th orrsponing nsmbl o graphs, muh lik w i with Erős-Rényi ranom graphs. This provis us with a rih amily o mols to stuy. In prati, howvr, w ar intrst in a partiular ntwork an its gr strutur, an thus a vry ommon stp in ntwork analysis is to hoos k as th mpirially obsrv gr squn o a ral-worl ntwork. For instan, onsir th karat lub again. Th pair o igurs blow show th original ntwork, an a singl xampl o a ntwork rawn rom th nsmbl in by th oniguration mol, paramtriz by n an th mpirial k. Immiatly notiabl is that whil th gr strutur has bn prsrv, th original group strutur has bn ranomiz. 1 How w sampl rom th spii st o graphs turns out to b somwhat subtl, an it an mattr whthr on uss a haky mtho or a provably orrt way o oing it. Ths an rlat qustions ar isuss at lngth in a tour--or artil B. K. Fosik t al., Coniguring Ranom Graph Mols with Fix Dgr Squns. Prprint, arxiv: (2016). 1

2 karat lub oniguration mol 1.1 A null mol or ntwork analysis Th oniguration mol an srv as a null mol or invstigating th strutur o a ral ntwork A. That is, it allows us to quantitativly answr th qustion o How muh o som obsrv pattrn is rivn by th grs alon? Th oniguration mol ins a probability istribution ovr graphs Pr(G k) that has th sam grs as th original ntwork A. Thus, i w an omput a untion on A, w an omput th sam untion on a graph rawn rom this oniguration mol (G). An, baus G is a ranom variabl, w an omput th ntir istribution Pr((G) k). For simpl untions an simpl spiiations o th oniguration mol, w an otn omput ths istributions analytially. For mor ompliat untions or or a oniguration mol spii with an mpirial gr squn, w an omput Pr((G) k) numrially, by rawing many graphs {G 1, G 2,... } rom th mol, omputing on ah, an tabulating th rsults. I th mpirial valu (A) is unusual rlativ to this istribution, w an onlu that it is a proprty o A that is not wll xplain by th grs alon. W will rvisit this ia latr in this ltur. 1.2 Gnrating ntworks using th oniguration mol Th two most ommon mthos or gnrating a ranom graph with partiular gr strutur ar assoiat with th Chung-Lu mol or ranom simpl graphs an th Molloy-R mol or ranom multigraphs. 2

3 1.2.1 Simpl graphs rom lipping oins Th ntral mathmatial proprty o all ranom-graph mols is th probability that two vrtis i an j ar onnt. In th ranom graph mols w onsir hr, this probability pns only on th grs k i an k j o that pair. Thus, rom th prsptiv o i, th probability that on o its gs onnts to j is qual to th ration o th m total gs w hoos that point to j. Baus w hav hosn j s gr, this ration is xatly k j /2m. An, baus w hav also hosn i s gr, this vnt has k i hans to our an th probability that (i, j) xists is ( ) kj p ij = k i 2m = k ik j n l=1 k l. (1) Th Chung-Lu mol taks this probability as a paramtr an simply lips a singl oin or ah o th pairs i, j to gnrat a simpl graph: { 1 with probability pij i>j A ij = A ji = 0 othrwis, whr p ij is givn by Eq. (1). Just as with gnrating Erős-Rényi graphs, ah pair is onsir only on; hn, this pross prous a simpl graph, with no sl-loops an no multi-gs. (In ontrast, th Molloy-R mol prous a ranom multigraph, whih may hav multi-gs an sl-loops.) This mtho an also b us to gnrat irt ntworks by irst spiying th in-gr an out-gr squns, subjt to th rquirmnt that i kin i hoos p i j = k out i k in j /m an rop th rquirmnt that A ij = A ji. = j kout j. W thn As a rsult o this orm, th gr o ah vrtx i unr this mtho o gnration quals th spii valu k i only in xptation (an similarly or th in- an out-grs in th irt vrsion). Th obsrv gr or no i in th Chung-Lu nsmbl is a Poisson istribution with man k i (o you s why?). Hn, viations rom th xpt valu ar gnrally small, whn th graph is spars an th maximum gr is n. Notably, rawing ranom graphs rom th Chung-Lu mol is omputationally xpnsiv, spially or larg n, as w n to lip Θ(n 2 ) oins, on or ah possibl pair o vrtis i, j V. This ost is on rason that th Molloy-R mol is mor ommonly us or larg mpirial stuis (but s Fosik t al. [2016]) Multigraphs rom ranom mathings Th stanar mtho or gnrating a Molloy-R ranom multigraph is to hoos a uniormly ranom mathing on th gr stubs (hal gs) o th spii gr squn. Unlik in th Chung-Lu mol srib abov, whih only gnrats simpl graphs by sign, this stub mathing mtho will typially prou som numbr o sl-loops an multi-gs. In prati, 3

4 ths viations rom a simpl graph rprsnt an asymptotially small ration o all gs, an w an simpliy th ntwork by isaring sl-loops an ollapsing multi-gs, an potntially also isaring isonnt omponnts. 2 Givn a gr squn k = {k 1, k 2,..., k n }, w say that ah vrtx i has a numbr o stubs qual to its gr. Evry mathing on ths stubs, in whih w rpatly hoos an unmath stub on som vrtx i an onnt it with som unmath stub on vrtx j, rprsnts a ntwork. Unr this mtho o gnrating a graph, w will hoos suh a mathing uniormly at ranom rom among all suh mathings. Eah possibl mathing thus ours with qual probability; howvr, ah ntwork with th spii gr squn os not our with qual probability unr this mol, as som mathings prou th sam ntwork. To illustrat this ia, onsir th st o mathings on thr vrtis, ah with gr 2, that rsult in a triangl. Th ollowing igur shows th istint lablings, an hn istint mathings, that orm a triangl. In th oniguration mol, w hoos ah o ths with qual probability. a b b a a b b a a b b a a b b a Howvr, ths ar not th only possibl mathings on ths six g stubs. Th ollowing igur shows thr othr istint mathings, whih prou non-simpl ntworks, i.., ntworks with slloops an/or multi-gs. a b b a a b In prati, th ration o gs involv in ithr sl-loops or multi-gs is vanishingly small in th larg-n limit, an thus w may gnrally ignor thm without muh impat. (Howvr, thr ar appliations in whih ths aturs ar important, an so it is worth rmmbring that thy xist.) 2 Ths prours o hang th graph strutur slightly, an a sar approah is to us Fosik t al. s (2016) mthos to sampl irtly rom th simpl graph nsmbl. 4

5 On a gr squn k has bn hosn,.g., by taking th gr squn in som mpirial ntwork or by rawing a squn rom a gr istribution, to raw a ntwork rom th orrsponing oniguration mol, w simply n an iint mtho by whih to hoos a uniormly ranom mathing on th i k i stubs. Lt v b an array o lngth 2m an lt us writ th inx o ah vrtx i xatly k i tims in th vtor v. Eah o ths ntris will rprsnt a singl g stub attah to vrtx i. Thn, w tak a ranom prmutation o th ntris o v an ra th ontnts o th array in orr, in pairs. For ah pair that w ra, w a th orrsponing g to th ntwork. (On w hav taking a ranom prmutation o th stubs, w oul hoos th pairs in any othr way, but raing thm in orr allows us to writ own th ull ntwork with only a singl pass through th array.) For instan, th igur abov shows an xampl o this stub mathing onstrution o a oniguration mol ranom graph. On th lt is shown both th vrtis with thir stubs, whih shows th gr squn graphially, an th initial ontnts o th array v. On th right is shown th wir up ntwork in by th in-orr squn o pairs givn in th array, whih has bn rpla with a ranom prmutation o v. In this as, th ranom prmutation prous both on sl-loop an on multi-g. Stanar mathmatial libraris otn provi th untionality to slt a uniormly ranom prmutation on th ontnts o v. Howvr, it is straightorwar to o it manually, as wll: to ah ntry v i, assoiat a uniormly ranom variabl r i U(0, 1) (whih most goo psuoranom numbr gnrators will prou). Sorting th r i valus prous a ranom prmutation 3 on th 3 Eah o ths prmutations ours with probability qual to 1/n!, an baus thr ar n! suh prmutations, w ar hoosing uniormly rom among thm. I w hoos th r i valus uniormly at ranom, thn th probability that any partiular lmnt v i has th smallst r i is 1/n. Similarly, th probability that v i has th ith smallst valu is 1/(n i + 1). By inution, th probability o hoosing any partiular orring is n i=1 (n i + 1) 1 = 1/n!. It is possibl to hoos a ranom prmutation in O(m) tim using an in-pla ranomizr. Insta o sorting th uniorm viats, w insta loop rom i = 1 to n within v an swap v i with a uniormly ranomly hosn lmnt v j whr 5

6 assoiat v i valus, whih an b on using QuikSort in tim O(m log m), or you an gnrat a ranom prmutation irtly in O(m) tim. 1.3 Mathmatial proprtis Th pris mathmatial proprtis or th oniguration mol pn on th hoi o gr squn. In th vrsion o th mol whr w raw th gr squn rom som istribution, w may otn alulat proprtis o th oniguration mol nsmbl analytially (otn using powrul thniqus all gnrating untions). 4 Unr th ranom mathing approah or onstruting an instan o th mol, or a partiular stub attah to vrtx i, thr ar k j possibl stubs, out o 2m 1 (xluing th stub on i unr onsiration), attah to j to whih it oul onnt. An, thr ar k i hans that this oul happn. Thus, th probability that i an j ar onnt is p ij = k ik j 2m 1 k ik j 2m, (2) whr th son orm hols in th limit o larg m. Noti that this immiatly implis that th highr th grs ar o i an j, th gratr th probability that thy onnt unr th oniguration mol Expt numbr o multi-gs Eq. (2) givs th probability that on g appars btwn i an j. A losly rlat quantity is th probability that a son g appars btwn i an j, an this quantity allows us to alulat th xpt numbr o multi-gs in th ntir ntwork. Th onstrution is vry similar to that abov, xpt that w must upat our ounts o stubs to aount or th xistn o th irst g btwn i an j. Th probability that a son g appars is (k i 1)(k j 1)/2m, baus w hav us on stub rom ah o i an j to orm th irst g. Thus, th probability o both a irst an a son g apparing is k i k j (k i 1)(k j 1)/(2m) 2. Summing this xprssion ovr all istint pairs givs us i j n. Th proo that this prous a ranom prmutation ollows th proo abov. 4 For a goo introution to this thniqu, s Wil gnratinguntionology, AK Ptrs (2006). 6

7 th xpt numbr o multi-gs in th ntir ntwork: ( ) ( ) ki k j (ki 1)(k j 1) = 1 1 n 2m 2m 2 (2m) 2 k i (k i 1) istint i,j i=1 j=1 ( ) 1 = 2 k 2 n 2 ki 2 k i i j ( = k 2 n = ( k 2 k ) 2 ki 2 1 n i i n k j (k j 1) kj 2 k j k i ) 1 n kj 2 1 n 2 k 2 [ k 2 ] 2 k. (3) j j k j = 1 2 k In this rivation, w us svral intitis: 2m = k n, whih rlats th numbr o g stubs to th man gr an numbr o vrtis, an k m = 1 n i km i, whih is th mth (unntr) momnt o th gr squn. Th rsult, Eq. (3), is a ompat xprssion that pns only on th irst an son momnts o th gr squn, an not on th siz o th ntwork. Thus, th xpt numbr o multi-gs is a onstant 5 implying a vanishingly small O(1/n) ration o all gs in th larg-n limit Expt numbr o sl-loops This argumnt works almost th sam or sl-loops, xpt that th numbr o pairs o possibl onntions is ( k i ) 2 insta o ki k j. Thus, th probability o a sl-loop is p ii = k i (k i 1) /4m, an th xpt numbr o sl-loops is k 2 k 2 k, whih is a onstant pning only on th irst an son momnts o th gr squn. Thus, just as with multi-gs, sl-loops ar a vanishingly small O(1/n) ration o all gs in th larg-n limit whn k 2 is init. 5 So long as th irst an son momnts o th istribution prouing k ar init, whih is not th as i th gr istribution ollows a powr law with α < 3. W ar also ignoring th at that w trat th i = j as, i.., sl-loops, intially to th i j as, but this irn is small, as th nxt stion shows. 7

8 1.3.3 Expt numbr o ommon nighbors Givn a pair o vrtis i an j, with grs k i an k j, how many ommon nighbors n ij o w xpt thm to hav? For som l to b a ommon nighbor o a pair i an j, both th (i, l) g an th (j, l) gs must xist. As with th multi-g alulation abov, th orrt alulation must aount or th rution in th numbr o availabl stubs or th (j, l) g on w onition on th (i, l) g xisting. Thus, th probability that l is a ommon nighbor is th prout o th probability that l is a nighbor o i, whih is givn by Eq. (2), an th probability that l is a nighbor o j, givn that th g (i, l) xists, whih is also givn by Eq. (2) xpt that w must rmnt th stub ount on l. ( ) ( ) ki k l kj (k l 1) n ij = l = ( ki k j 2m 2m ) = p ij k 2 k k l 2m k l (k l 1) k n. (4) Thus, th probability that i an j hav a ommon nighbor is proportional to th probability that thy thmslvs ar onnt (whr th onstant o proportionality again pns on th irst an son momnts o th gr squn) Th xss gr istribution Many quantitis about th oniguration mol, inluing th lustring oiint, an b alulat using somthing all th xss gr istribution, whih givs th gr istribution o a ranomly hosn nighbor o a ranomly hosn vrtx, xluing th g ollow to gt thr. This istribution also shows us somthing slightly ountrintuitiv about oniguration mol ntworks. Lt p k b th ration o vrtis in th ntwork with gr k, an suppos that ollowing th g brings us to a vrtx o gr k. What is th probability that vnt? To hav arriv at a vrtx with gr k, w must hav ollow an g attah to on o th n p k vrtis o gr k in th ntwork. Baus gs ar a ranom mathing onition on th vrtx s grs, th n point o vry g in th ntwork has th sam probability k/2m (in th limit o larg m) o onnting to on o th stubs attah to our vrtx. 8

9 Thus, th gr istribution o a ranomly hosn nighbor is p nighbor has k = k 2m n p k = k p k k. (5) Although th xss gr istribution is losly rlat to Eq. (5), thr ar a w intrsting things this ormula implis that ar worth sribing. From this xprssion, w an alulat th avrag gr o suh a nighbor, as k nighbor = k k p nighbor has k = k 2 / k, whih is stritly gratr than th man gr itsl k (o you s why?). Countrintuitivly, this mans that your nighbors in th ntwork tn to hav a gratr gr than you o. This happns baus high-gr vrtis hav mor gs attah to thm, an ah g provis a han that th ranom stp will hoos thm. Rturning to th xss gr istribution, not that baus w ollow an g to gt to our inal stination, its gr must b at last 1, as thr ar no gs w oul ollow to arriv a vrtx with gr 0. Th xss gr istribution is th probability o th numbr o othr gs attah to our stination, an thus w substitut k + 1 or k in our xprssion or th probability o a gr k. This yils q k = (k + 1)p k+1 k. (6) Expt lustring oiint Th lustring oiint C is th avrag probability that two nighbors o a vrtx ar thmslvs nighbors o ah othr, whih w an alulat now using Eq. (6). Givn that w start at som vrtx v (whih has gr k 2), w hoos a ranom pair o its nighbors i an j, an ask or th probability that thy thmslvs ar onnt. Th gr istribution o i (or j), howvr, is xatly th xss gr istribution, baus w hos a ranom vrtx v an ollow a ranomly hosn g. Th probability that i an j ar thmslvs onnt is k i k j /2m, an th lustring oiint is givn by this probability multipli by th probability that i has xss gr k i an that j has 9

10 xss gr k j, an summ ovr all hois o k i an k j : C = k i =0 k j =0 = 1 2m = = [ q k k k=0 1 2m k 2 1 2m k 2 q ki q kj k i k j 2m ] 2 [ ] 2 k(k + 1)p k+1 k=0 [ ] 2 k(k 1)p k k=0 [ ] 2 1 = 2m k 2 k 2 p k k p k k=0 k=0 [ k 2 k ] 2 = 1 n k 3. (7) whr w hav us th inition o th mth momnt o a istribution to ru th summations. Lik th xprssion w riv or th xpt numbr o multi-gs, th xpt lustring oiint is a vanishing ration O(1/n) in th limit o larg ntworks, so long as th son momnt o th gr istribution is init Expt lustring oiint (altrnativ) It shoul also b possibl to alulat th xpt lustring oiint unr th oniguration mol by starting with th xpt numbr o ommon nighbors n ij or som pair i, j, whih w riv in Eq. (4). In partiular, givn th rsult riv in Eq. (7), w an xprss th lustring oiint in trms o n ij an p ij : C = 1 2m (Can you xplain why this ormula is orrt?) ( nij Th giant omponnt, an ntwork iamtr p ij ) 2. (8) Just as with th Erős-Rényi ranom graph mol, th oniguration mol also xhibits a phas transition or th apparan o a giant omponnt. Th most ompat alulation uss gnrating untions, an is givn in Chaptr 13.8 in Ntworks. Th rsult o ths alulations is a simpl 10

11 ormula or stimating whn a giant omponnt will xist, whih, lik all o our othr rsults, pns only on th irst an son momnts o th gr istribution: k 2 2 k > 0. (9) Unlik our prvious rsults, howvr, this quation works vn whn th son momnt o th istribution is ininit. In that as, th rquirmnt is trivially tru. A orollary o th xistn o th giant omponnt in this mol is th impliation that th iamtr o th ntwork grows logarithmially with n, whn a giant omponnt xists. As with G(n, p), th oniguration mol is loally tr-lik (whih is onsistnt with th vanishingly small lustring oiint riv abov), implying that th numbr o vrtis within a istan l o som vrtx v grows xponntially with l, whr th rat o this growth again pns on th irst two momnts o th gr istribution (whih ar thmslvs rlat to th numbr o irst- an son-nighbors o v). 1.4 Dirt ranom graphs All o ths rsults an b gnraliz to th as o irt graphs, an th intuition w built rom th unirt as gnrally arris ovr to th irt as, as wll. Thr ar, o ours, small irns, as now w must onrn ourslvs with both th in- an out-gr istributions, an th rsults will pn on son momnts o ths. (Th irst momnts o th in- an out-gr istributions must b qual. Do you s why?) Construting irt ranom graphs using th oniguration mol is also analogous, but with on small variation. Now, insta o maintaining a singl array v ontaining th nams o th stubs, w must maintain two arrays, v in an v out, ah o lngth m, whih ontain th in- an out-stubs rsptivly. Th uniormly ranom mathing w hoos is thn btwn ths arrays, with th bginning o an g hosn rom v out an th ning o an g hosn rom v in. 2 A null mol or mpirial ntworks Th most ommon us o th oniguration mol in analyzing ral-worl ntworks is as a null mol, i.., as an xptation against whih w masur viations. Rall rom th last ltur our xampl o th karat lub, an an instan rawn rom th orrsponing oniguration mol. Using th oniguration mol to gnrat many suh instans, w an us ah ntwork as input to our strutural masurs. This prous a istribution o masurs, whih w an thn ompar irtly to th mpirial valus. Eah o th mini-xprimnts blow us 1000 instans o th oniguration mol, an whr multi-gs wr ollaps an sl-loops isar. 11

12 Th gr istribution (shown blow as both p an ) is vry similar, but with a w notabl irns. In partiular, thr th highst-gr vrtis in th mol hav slightly lowr gr valus than obsrv mpirially. This is rlts th at that both multi-gs an sl-loops hav a highr probability o ourring i k i is larg, an thus onvrting th gnrat ntwork into a simpl ntwork tns to rmov gs attah to ths high-gr vrtis. Othrwis, th gnrat gr istribution is vry los to th mpirial on, as w xpt Karat lub oniguration mol Pr(k) Pr(K k) gr, k gr, k Both th istribution o pairwis gosi istans an th ntwork s iamtr ar auratly rprou unr th oniguration mol, iniating that nithr o ths masurs o th ntwork ar partiularly intrsting as pattrns thmslvs. That is, thy ar about what w woul xpt 6 It is possibl to hang th oniguration mol slightly in orr to liminat sl-loops an multi-gs, by lipping a oin or ah pair i, j (whr i j) with bias xatly k ik j/2m. In this mol, th xpt gr w gnrat is istribut as ˆk i Poisson(k i), whih assums th spii valu in xptation. 12

13 or a ranom graph with th sam gr istribution. On ni atur o th oniguration mol s pairwis istan istribution is that it both ollows an xtns th mpirial pattrn out to gosi istans byon what ar obsrv in th ntwork itsl Karat lub oniguration mol Pr() 10 2 Pr(iamtr) gosi istan, iamtr W may also xamin vrtx-lvl masurs, suh as masurs o ntrality. From th gosi istans us in th prvious igurs, w may also stimat th man harmoni ntrality o ah vrtx. Th irst igur blow plots both th mpirial harmoni ntralitis (in orr o vrtx labl, rom 1 to 34) an th man valus unr th oniguration mol. Th various ntrality sors ar now pla in ontxt, showing that thir sors ar largly rivn by th assoiat vrtx gr, as monstrat by th similar ovrall pattrn sn in th oniguration mol ntworks. 7 But, not all o th valus ar xplain by gr alon. Th son igur plots th irn btwn th obsrv an xpt ntrality sors, whr th lin = 0 iniats no irn btwn obsrv an xpt valus. I an obsrv valu is abov this lin, thn it is mor ntral than w woul xpt bas on gr alon, whil i it is blow th lin, it is lss ntral. Whn making suh omparisons, howvr, it is important to rmmbr that th null mol ins a istribution ovr ntworks, an thus th irn is also a istribution. Fortunatly, howvr, omputing th xpt ntrality sors by rawing many instans rom th oniguration mol also prous th istribution o ntrality sors or ah vrtx, whih provis us with a quantitativ notion o how muh varian is in th oniguration mol valu. Th gry sha rgion shows th 25 an 75% quantils on th istribution o ntrality sors or ah vrtx. Whn th = 0 lin is outsi o this rang, w may laim with som onin that th obsrv valu is 7 Rall also that th Parson orrlation oiint or harmoni ntrality an gr was larg r 2 = 0.83, a at that rinors our onlusion hr. 13

14 irnt rom th xpt valu Karat lub oniguration mol harmoni ntrality irn vrtx labl vrtx labl This analysis shows that th main vrtis (1 an 34, th prsint an instrutor) ar somwhat mor ntral than w woul xpt just bas on thir gr alon. In at, most vrtis ar mor ntral than w woul xpt, on is lss ntral than w xpt, an about a thir o th vrtis all in lin with th xptation. 3 Taking stok o our ranom graph mols Th oniguration mol is rtainly an improvmnt ovr th simpl ranom graph mol in that it allows us to spiy its gr strutur. As a null mol, this proprty is otn suiint or us to us th mol to i whthr som othr proprty o a ntwork oul b xplain by its gr strutur alon. Mor gnrally, th oniguration mol shars many proprtis with th simpl ranom graph mol. For instan, in th spars rgim an whn th gr istribution is wll bhav (i.., whn it has a init son momnt) oniguration mol ntworks hav loally tr-lik strutur. This proprty implis its iamtr is O(log n), it has a O(1/n) lustring oiint, an O(1/n) riproity (whr th pris valus o ths proprtis pn on th strutur o th gr istribution, as w saw abov). Th Tabl blow summarizs ths proprtis an ompars thm with th simpl ranom graph mol. As w vlop mor sophistiat ranom-graph mols throughout th smstr, w will xpan this tabl. 14

15 ntwork proprty ral-worl Erős-Rényi oniguration gr istribution havy tail Poisson( k ) spii iamtr small ( log n) O(log n) O(log n) lustring oiint soial: morat non-soial: low O(1/n) O(1/n) riproity high O(1/n) O(1/n) giant omponnt vry ommon k > 1 k 2 2 k > 0 4 At hom 1. Ra Chaptr (pags ) in Ntworks 15

Solutions to Homework 5

Solutions to Homework 5 Solutions to Homwork 5 Pro. Silvia Frnánz Disrt Mathmatis Math 53A, Fall 2008. [3.4 #] (a) Thr ar x olor hois or vrtx an x or ah o th othr thr vrtis. So th hromati polynomial is P (G, x) =x (x ) 3. ()

More information

Steinberg s Conjecture is false

Steinberg s Conjecture is false Stinrg s Conjtur is als arxiv:1604.05108v2 [math.co] 19 Apr 2016 Vinnt Cohn-Aa Mihal Hig Danil Král Zhntao Li Estan Salgao Astrat Stinrg onjtur in 1976 that vry planar graph with no yls o lngth our or

More information

MA1506 Tutorial 2 Solutions. Question 1. (1a) 1 ) y x. e x. 1 exp (in general, Integrating factor is. ye dx. So ) (1b) e e. e c.

MA1506 Tutorial 2 Solutions. Question 1. (1a) 1 ) y x. e x. 1 exp (in general, Integrating factor is. ye dx. So ) (1b) e e. e c. MA56 utorial Solutions Qustion a Intgrating fator is ln p p in gnral, multipl b p So b ln p p sin his kin is all a Brnoulli quation -- st Sin w fin Y, Y Y, Y Y p Qustion Dfin v / hn our quation is v μ

More information

CS553 Lecture Register Allocation I 3

CS553 Lecture Register Allocation I 3 Low-Lvl Issus Last ltur Intrproural analysis Toay Start low-lvl issus Rgistr alloation Latr Mor rgistr alloation Instrution shuling CS553 Ltur Rgistr Alloation I 2 Rgistr Alloation Prolm Assign an unoun

More information

Cycles and Simple Cycles. Paths and Simple Paths. Trees. Problem: There is No Completely Standard Terminology!

Cycles and Simple Cycles. Paths and Simple Paths. Trees. Problem: There is No Completely Standard Terminology! Outlin Computr Sin 331, Spnnin, n Surphs Mik Joson Dprtmnt o Computr Sin Univrsity o Clry Ltur #30 1 Introution 2 3 Dinition 4 Spnnin 5 6 Mik Joson (Univrsity o Clry) Computr Sin 331 Ltur #30 1 / 20 Mik

More information

10. EXTENDING TRACTABILITY

10. EXTENDING TRACTABILITY Coping with NP-compltnss 0. EXTENDING TRACTABILITY ining small vrtx covrs solving NP-har problms on trs circular arc covrings vrtx covr in bipartit graphs Q. Suppos I n to solv an NP-complt problm. What

More information

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely

(2) If we multiplied a row of B by λ, then the value is also multiplied by λ(here lambda could be 0). namely . DETERMINANT.. Dtrminnt. Introution:I you think row vtor o mtrix s oorint o vtors in sp, thn th gomtri mning o th rnk o th mtrix is th imnsion o th prlllppi spnn y thm. But w r not only r out th imnsion,

More information

Outline. 1 Introduction. 2 Min-Cost Spanning Trees. 4 Example

Outline. 1 Introduction. 2 Min-Cost Spanning Trees. 4 Example Outlin Computr Sin 33 Computtion o Minimum-Cost Spnnin Trs Prim's Alorithm Introution Mik Joson Dprtmnt o Computr Sin Univrsity o Clry Ltur #33 3 Alorithm Gnrl Constrution Mik Joson (Univrsity o Clry)

More information

Evans, Lipson, Wallace, Greenwood

Evans, Lipson, Wallace, Greenwood Camrig Snior Mathmatial Mthos AC/VCE Units 1& Chaptr Quaratis: Skillsht C 1 Solv ah o th ollowing or x: a (x )(x + 1) = 0 x(5x 1) = 0 x(1 x) = 0 x = 9x Solv ah o th ollowing or x: a x + x 10 = 0 x 8x +

More information

CS 241 Analysis of Algorithms

CS 241 Analysis of Algorithms CS 241 Anlysis o Algorithms Prossor Eri Aron Ltur T Th 9:00m Ltur Mting Lotion: OLB 205 Businss HW6 u lry HW7 out tr Thnksgiving Ring: Ch. 22.1-22.3 1 Grphs (S S. B.4) Grphs ommonly rprsnt onntions mong

More information

Outline. Computer Science 331. Computation of Min-Cost Spanning Trees. Costs of Spanning Trees in Weighted Graphs

Outline. Computer Science 331. Computation of Min-Cost Spanning Trees. Costs of Spanning Trees in Weighted Graphs Outlin Computr Sin 33 Computtion o Minimum-Cost Spnnin Trs Prim s Mik Joson Dprtmnt o Computr Sin Univrsity o Clry Ltur #34 Introution Min-Cost Spnnin Trs 3 Gnrl Constrution 4 5 Trmintion n Eiiny 6 Aitionl

More information

An undirected graph G = (V, E) V a set of vertices E a set of unordered edges (v,w) where v, w in V

An undirected graph G = (V, E) V a set of vertices E a set of unordered edges (v,w) where v, w in V Unirt Grphs An unirt grph G = (V, E) V st o vrtis E st o unorr gs (v,w) whr v, w in V USE: to mol symmtri rltionships twn ntitis vrtis v n w r jnt i thr is n g (v,w) [or (w,v)] th g (v,w) is inint upon

More information

COMPLEXITY OF COUNTING PLANAR TILINGS BY TWO BARS

COMPLEXITY OF COUNTING PLANAR TILINGS BY TWO BARS OMPLXITY O OUNTING PLNR TILINGS Y TWO RS KYL MYR strt. W show tht th prolm o trmining th numr o wys o tiling plnr igur with horizontl n vrtil r is #P-omplt. W uil o o th rsults o uquir, Nivt, Rmil, n Roson

More information

The University of Sydney MATH2969/2069. Graph Theory Tutorial 5 (Week 12) Solutions 2008

The University of Sydney MATH2969/2069. Graph Theory Tutorial 5 (Week 12) Solutions 2008 Th Univrsity o Syny MATH2969/2069 Grph Thory Tutoril 5 (Wk 12) Solutions 2008 1. (i) Lt G th isonnt plnr grph shown. Drw its ul G, n th ul o th ul (G ). (ii) Show tht i G is isonnt plnr grph, thn G is

More information

Chapter Finding Small Vertex Covers. Extending the Limits of Tractability. Coping With NP-Completeness. Vertex Cover

Chapter Finding Small Vertex Covers. Extending the Limits of Tractability. Coping With NP-Completeness. Vertex Cover Coping With NP-Compltnss Chaptr 0 Extning th Limits o Tractability Q. Suppos I n to solv an NP-complt problm. What shoul I o? A. Thory says you'r unlikly to in poly-tim algorithm. Must sacriic on o thr

More information

Linked-List Implementation. Linked-lists for two sets. Multiple Operations. UNION Implementation. An Application of Disjoint-Set 1/9/2014

Linked-List Implementation. Linked-lists for two sets. Multiple Operations. UNION Implementation. An Application of Disjoint-Set 1/9/2014 Disjoint Sts Data Strutur (Chap. 21) A disjoint-st is a olltion ={S 1, S 2,, S k } o distint dynami sts. Eah st is idntiid by a mmbr o th st, alld rprsntativ. Disjoint st oprations: MAKE-SET(x): rat a

More information

First order differential equation Linear equation; Method of integrating factors

First order differential equation Linear equation; Method of integrating factors First orr iffrntial quation Linar quation; Mtho of intgrating factors Exampl 1: Rwrit th lft han si as th rivativ of th prouct of y an som function by prouct rul irctly. Solving th first orr iffrntial

More information

THE CORRELATION DECAY (CD) TREE AND STRONG SPATIAL MIXING IN MULTI-SPIN SYSTEMS

THE CORRELATION DECAY (CD) TREE AND STRONG SPATIAL MIXING IN MULTI-SPIN SYSTEMS THE CORRELATION DECAY (CD) TREE AND STRONG SPATIAL MIXING IN MULTI-SPIN SYSTEMS CHANDRA NAIR AND PRASAD TETALI Astrat. This papr als with th onstrution o a orrlation ay tr (hyprtr) or intrating systms

More information

First derivative analysis

First derivative analysis Robrto s Nots on Dirntial Calculus Chaptr 8: Graphical analysis Sction First drivativ analysis What you nd to know alrady: How to us drivativs to idntiy th critical valus o a unction and its trm points

More information

Searching Linked Lists. Perfect Skip List. Building a Skip List. Skip List Analysis (1) Assume the list is sorted, but is stored in a linked list.

Searching Linked Lists. Perfect Skip List. Building a Skip List. Skip List Analysis (1) Assume the list is sorted, but is stored in a linked list. 3 3 4 8 6 3 3 4 8 6 3 3 4 8 6 () (d) 3 Sarching Linkd Lists Sarching Linkd Lists Sarching Linkd Lists ssum th list is sortd, but is stord in a linkd list. an w us binary sarch? omparisons? Work? What if

More information

Paths. Connectivity. Euler and Hamilton Paths. Planar graphs.

Paths. Connectivity. Euler and Hamilton Paths. Planar graphs. Pths.. Eulr n Hmilton Pths.. Pth D. A pth rom s to t is squn o gs {x 0, x 1 }, {x 1, x 2 },... {x n 1, x n }, whr x 0 = s, n x n = t. D. Th lngth o pth is th numr o gs in it. {, } {, } {, } {, } {, } {,

More information

Junction Tree Algorithm 1. David Barber

Junction Tree Algorithm 1. David Barber Juntion Tr Algorithm 1 David Barbr Univrsity Collg London 1 Ths slids aompany th book Baysian Rasoning and Mahin Larning. Th book and dmos an b downloadd from www.s.ul.a.uk/staff/d.barbr/brml. Fdbak and

More information

LR(0) Analysis. LR(0) Analysis

LR(0) Analysis. LR(0) Analysis LR() Analysis LR() Conlicts: Introuction Whn constructing th LR() analysis tal scri in th prvious stps, it has not n possil to gt a trministic analysr, caus thr ar svral possil actions in th sam cll. I

More information

CSE 373. Graphs 1: Concepts, Depth/Breadth-First Search reading: Weiss Ch. 9. slides created by Marty Stepp

CSE 373. Graphs 1: Concepts, Depth/Breadth-First Search reading: Weiss Ch. 9. slides created by Marty Stepp CSE 373 Grphs 1: Conpts, Dpth/Brth-First Srh ring: Wiss Ch. 9 slis rt y Mrty Stpp http://www.s.wshington.u/373/ Univrsity o Wshington, ll rights rsrv. 1 Wht is grph? 56 Tokyo Sttl Soul 128 16 30 181 140

More information

Present state Next state Q + M N

Present state Next state Q + M N Qustion 1. An M-N lip-lop works s ollows: I MN=00, th nxt stt o th lip lop is 0. I MN=01, th nxt stt o th lip-lop is th sm s th prsnt stt I MN=10, th nxt stt o th lip-lop is th omplmnt o th prsnt stt I

More information

3) Use the average steady-state equation to determine the dose. Note that only 100 mg tablets of aminophylline are available here.

3) Use the average steady-state equation to determine the dose. Note that only 100 mg tablets of aminophylline are available here. PHA 5127 Dsigning A Dosing Rgimn Answrs provi by Jry Stark Mr. JM is to b start on aminophyllin or th tratmnt o asthma. H is a non-smokr an wighs 60 kg. Dsign an oral osing rgimn or this patint such that

More information

The second condition says that a node α of the tree has exactly n children if the arity of its label is n.

The second condition says that a node α of the tree has exactly n children if the arity of its label is n. CS 6110 S14 Hanout 2 Proof of Conflunc 27 January 2014 In this supplmntary lctur w prov that th λ-calculus is conflunt. This is rsult is u to lonzo Church (1903 1995) an J. arkly Rossr (1907 1989) an is

More information

Week 3: Connected Subgraphs

Week 3: Connected Subgraphs Wk 3: Connctd Subgraphs Sptmbr 19, 2016 1 Connctd Graphs Path, Distanc: A path from a vrtx x to a vrtx y in a graph G is rfrrd to an xy-path. Lt X, Y V (G). An (X, Y )-path is an xy-path with x X and y

More information

CSC Design and Analysis of Algorithms. Example: Change-Making Problem

CSC Design and Analysis of Algorithms. Example: Change-Making Problem CSC 801- Dsign n Anlysis of Algorithms Ltur 11 Gry Thniqu Exmpl: Chng-Mking Prolm Givn unlimit mounts of oins of nomintions 1 > > m, giv hng for mount n with th lst numr of oins Exmpl: 1 = 25, 2 =10, =

More information

Module graph.py. 1 Introduction. 2 Graph basics. 3 Module graph.py. 3.1 Objects. CS 231 Naomi Nishimura

Module graph.py. 1 Introduction. 2 Graph basics. 3 Module graph.py. 3.1 Objects. CS 231 Naomi Nishimura Moul grph.py CS 231 Nomi Nishimur 1 Introution Just lik th Python list n th Python itionry provi wys of storing, ssing, n moifying t, grph n viw s wy of storing, ssing, n moifying t. Bus Python os not

More information

N1.1 Homework Answers

N1.1 Homework Answers Camrig Essntials Mathmatis Cor 8 N. Homwork Answrs N. Homwork Answrs a i 6 ii i 0 ii 3 2 Any pairs of numrs whih satisfy th alulation. For xampl a 4 = 3 3 6 3 = 3 4 6 2 2 8 2 3 3 2 8 5 5 20 30 4 a 5 a

More information

1 Introduction to Modulo 7 Arithmetic

1 Introduction to Modulo 7 Arithmetic 1 Introution to Moulo 7 Arithmti Bor w try our hn t solvin som hr Moulr KnKns, lt s tk los look t on moulr rithmti, mo 7 rithmti. You ll s in this sminr tht rithmti moulo prim is quit irnt rom th ons w

More information

CSE 373: More on graphs; DFS and BFS. Michael Lee Wednesday, Feb 14, 2018

CSE 373: More on graphs; DFS and BFS. Michael Lee Wednesday, Feb 14, 2018 CSE 373: Mor on grphs; DFS n BFS Mihl L Wnsy, F 14, 2018 1 Wrmup Wrmup: Disuss with your nighor: Rmin your nighor: wht is simpl grph? Suppos w hv simpl, irt grph with x nos. Wht is th mximum numr of gs

More information

Garnir Polynomial and their Properties

Garnir Polynomial and their Properties Univrsity of Cliforni, Dvis Dprtmnt of Mthmtis Grnir Polynomil n thir Proprtis Author: Yu Wng Suprvisor: Prof. Gorsky Eugny My 8, 07 Grnir Polynomil n thir Proprtis Yu Wng mil: uywng@uvis.u. In this ppr,

More information

Homework #3. 1 x. dx. It therefore follows that a sum of the

Homework #3. 1 x. dx. It therefore follows that a sum of the Danil Cannon CS 62 / Luan March 5, 2009 Homwork # 1. Th natural logarithm is dfind by ln n = n 1 dx. It thrfor follows that a sum of th 1 x sam addnd ovr th sam intrval should b both asymptotically uppr-

More information

Constructive Geometric Constraint Solving

Constructive Geometric Constraint Solving Construtiv Gomtri Constrint Solving Antoni Soto i Rir Dprtmnt Llngutgs i Sistms Inormàtis Univrsitt Politèni Ctluny Brlon, Sptmr 2002 CGCS p.1/37 Prliminris CGCS p.2/37 Gomtri onstrint prolm C 2 D L BC

More information

Pipe flow friction, small vs. big pipes

Pipe flow friction, small vs. big pipes Friction actor (t/0 t o pip) Friction small vs larg pips J. Chaurtt May 016 It is an intrsting act that riction is highr in small pips than largr pips or th sam vlocity o low and th sam lngth. Friction

More information

Exam 1 Solution. CS 542 Advanced Data Structures and Algorithms 2/14/2013

Exam 1 Solution. CS 542 Advanced Data Structures and Algorithms 2/14/2013 CS Avn Dt Struturs n Algorithms Exm Solution Jon Turnr //. ( points) Suppos you r givn grph G=(V,E) with g wights w() n minimum spnning tr T o G. Now, suppos nw g {u,v} is to G. Dsri (in wors) mtho or

More information

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)}

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)} Introution Computr Sin & Enginring 423/823 Dsign n Anlysis of Algorithms Ltur 03 Elmntry Grph Algorithms (Chptr 22) Stphn Sott (Apt from Vinohnrn N. Vriym) I Grphs r strt t typs tht r pplil to numrous

More information

The van der Waals interaction 1 D. E. Soper 2 University of Oregon 20 April 2012

The van der Waals interaction 1 D. E. Soper 2 University of Oregon 20 April 2012 Th van dr Waals intraction D. E. Sopr 2 Univrsity of Orgon 20 pril 202 Th van dr Waals intraction is discussd in Chaptr 5 of J. J. Sakurai, Modrn Quantum Mchanics. Hr I tak a look at it in a littl mor

More information

Y 0. Standing Wave Interference between the incident & reflected waves Standing wave. A string with one end fixed on a wall

Y 0. Standing Wave Interference between the incident & reflected waves Standing wave. A string with one end fixed on a wall Staning Wav Intrfrnc btwn th incint & rflct wavs Staning wav A string with on n fix on a wall Incint: y, t) Y cos( t ) 1( Y 1 ( ) Y (St th incint wav s phas to b, i.., Y + ral & positiv.) Rflct: y, t)

More information

The Matrix Exponential

The Matrix Exponential Th Matrix Exponntial (with xrciss) by D. Klain Vrsion 207.0.05 Corrctions and commnts ar wlcom. Th Matrix Exponntial For ach n n complx matrix A, dfin th xponntial of A to b th matrix A A k I + A + k!

More information

Kernels. ffl A kernel K is a function of two objects, for example, two sentence/tree pairs (x1; y1) and (x2; y2)

Kernels. ffl A kernel K is a function of two objects, for example, two sentence/tree pairs (x1; y1) and (x2; y2) Krnls krnl K is a function of two ojcts, for xampl, two sntnc/tr pairs (x1; y1) an (x2; y2) K((x1; y1); (x2; y2)) Intuition: K((x1; y1); (x2; y2)) is a masur of th similarity (x1; y1) twn (x2; y2) an ormally:

More information

Problem Set 6 Solutions

Problem Set 6 Solutions 6.04/18.06J Mathmatics for Computr Scinc March 15, 005 Srini Dvadas and Eric Lhman Problm St 6 Solutions Du: Monday, March 8 at 9 PM in Room 3-044 Problm 1. Sammy th Shark is a financial srvic providr

More information

A Propagating Wave Packet Group Velocity Dispersion

A Propagating Wave Packet Group Velocity Dispersion Lctur 8 Phys 375 A Propagating Wav Packt Group Vlocity Disprsion Ovrviw and Motivation: In th last lctur w lookd at a localizd solution t) to th 1D fr-particl Schrödingr quation (SE) that corrsponds to

More information

Addition of angular momentum

Addition of angular momentum Addition of angular momntum April, 0 Oftn w nd to combin diffrnt sourcs of angular momntum to charactriz th total angular momntum of a systm, or to divid th total angular momntum into parts to valuat th

More information

, each of which is a tree, and whose roots r 1. , respectively, are children of r. Data Structures & File Management

, each of which is a tree, and whose roots r 1. , respectively, are children of r. Data Structures & File Management nrl tr T is init st o on or mor nos suh tht thr is on sint no r, ll th root o T, n th rminin nos r prtition into n isjoint susts T, T,, T n, h o whih is tr, n whos roots r, r,, r n, rsptivly, r hilrn o

More information

CS 461, Lecture 17. Today s Outline. Example Run

CS 461, Lecture 17. Today s Outline. Example Run Prim s Algorithm CS 461, Ltur 17 Jr Si Univrsity o Nw Mxio In Prim s lgorithm, th st A mintin y th lgorithm orms singl tr. Th tr strts rom n ritrry root vrtx n grows until it spns ll th vrtis in V At h

More information

A Simple Method of Tuning PI Controllers for Interval Plant of Cold Rolling Mill

A Simple Method of Tuning PI Controllers for Interval Plant of Cold Rolling Mill ntrnational Journal of Rnt Trns in Enginring, Vol. 1, No. 4, May 009 A Simpl Mtho of Tuning P Controllrs for ntrval Plant of Col Rolling Mill S.Umamahswari 1, V.Palanisamy, M.Chiambaram 3, 1 Dpartmnt of

More information

The Matrix Exponential

The Matrix Exponential Th Matrix Exponntial (with xrciss) by Dan Klain Vrsion 28928 Corrctions and commnts ar wlcom Th Matrix Exponntial For ach n n complx matrix A, dfin th xponntial of A to b th matrix () A A k I + A + k!

More information

Multiple Short Term Infusion Homework # 5 PHA 5127

Multiple Short Term Infusion Homework # 5 PHA 5127 Multipl Short rm Infusion Homwork # 5 PHA 527 A rug is aministr as a short trm infusion. h avrag pharmacokintic paramtrs for this rug ar: k 0.40 hr - V 28 L his rug follows a on-compartmnt boy mol. A 300

More information

Assignment 4 Biophys 4322/5322

Assignment 4 Biophys 4322/5322 Assignmnt 4 Biophys 4322/5322 Tylr Shndruk Fbruary 28, 202 Problm Phillips 7.3. Part a R-onsidr dimoglobin utilizing th anonial nsmbl maning rdriv Eq. 3 from Phillips Chaptr 7. For a anonial nsmbl p E

More information

Utilizing exact and Monte Carlo methods to investigate properties of the Blume Capel Model applied to a nine site lattice.

Utilizing exact and Monte Carlo methods to investigate properties of the Blume Capel Model applied to a nine site lattice. Utilizing xat and Mont Carlo mthods to invstigat proprtis of th Blum Capl Modl applid to a nin sit latti Nik Franios Writing various xat and Mont Carlo omputr algorithms in C languag, I usd th Blum Capl

More information

EEO 401 Digital Signal Processing Prof. Mark Fowler

EEO 401 Digital Signal Processing Prof. Mark Fowler EEO 401 Digital Signal Procssing Prof. Mark Fowlr Dtails of th ot St #19 Rading Assignmnt: Sct. 7.1.2, 7.1.3, & 7.2 of Proakis & Manolakis Dfinition of th So Givn signal data points x[n] for n = 0,, -1

More information

Chapter 1. Analysis of a M/G/1/K Queue without Vacations

Chapter 1. Analysis of a M/G/1/K Queue without Vacations Chatr nalysis of a M/G// Quu without Vaations W onsir th singl srvr finit aaity quu with Poisson arrivals an gnrally istriut srvi tims. Th M/G// systm may analys using an im Marov Chain aroah vry similar

More information

ICCAD /96 $ IEEE

ICCAD /96 $ IEEE SIGMA: A Simulator or Sgmnt Dlay Faults Krthi Hragu Vishwani D. Agrawal Janak H. Patl Bll Labs, Lunt Thnologis Cntr or Rliabl an High-Prorman Computing 700 Mountain Avnu Univrsity o Illinois at Urbana-Champaign,

More information

0.1. Exercise 1: the distances between four points in a graph

0.1. Exercise 1: the distances between four points in a graph Mth 707 Spring 2017 (Drij Grinrg): mitrm 3 pg 1 Mth 707 Spring 2017 (Drij Grinrg): mitrm 3 u: W, 3 My 2017, in lss or y mil (grinr@umn.u) or lss S th wsit or rlvnt mtril. Rsults provn in th nots, or in

More information

Graphs. Graphs. Graphs: Basic Terminology. Directed Graphs. Dr Papalaskari 1

Graphs. Graphs. Graphs: Basic Terminology. Directed Graphs. Dr Papalaskari 1 CSC 00 Disrt Struturs : Introuon to Grph Thory Grphs Grphs CSC 00 Disrt Struturs Villnov Univrsity Grphs r isrt struturs onsisng o vrs n gs tht onnt ths vrs. Grphs n us to mol: omputr systms/ntworks mthml

More information

u x v x dx u x v x v x u x dx d u x v x u x v x dx u x v x dx Integration by Parts Formula

u x v x dx u x v x v x u x dx d u x v x u x v x dx u x v x dx Integration by Parts Formula 7. Intgration by Parts Each drivativ formula givs ris to a corrsponding intgral formula, as w v sn many tims. Th drivativ product rul yilds a vry usful intgration tchniqu calld intgration by parts. Starting

More information

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)}

V={A,B,C,D,E} E={ (A,D),(A,E),(B,D), (B,E),(C,D),(C,E)} s s of s Computr Sin & Enginring 423/823 Dsign n Anlysis of Ltur 03 (Chptr 22) Stphn Sott (Apt from Vinohnrn N. Vriym) s of s s r strt t typs tht r pplil to numrous prolms Cn ptur ntitis, rltionships twn

More information

Addition of angular momentum

Addition of angular momentum Addition of angular momntum April, 07 Oftn w nd to combin diffrnt sourcs of angular momntum to charactriz th total angular momntum of a systm, or to divid th total angular momntum into parts to valuat

More information

1 Minimum Cut Problem

1 Minimum Cut Problem CS 6 Lctur 6 Min Cut and argr s Algorithm Scribs: Png Hui How (05), Virginia Dat: May 4, 06 Minimum Cut Problm Today, w introduc th minimum cut problm. This problm has many motivations, on of which coms

More information

Examples and applications on SSSP and MST

Examples and applications on SSSP and MST Exampls an applications on SSSP an MST Dan (Doris) H & Junhao Gan ITEE Univrsity of Qunslan COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST Dijkstra s Algorithm Th algorithm solvs

More information

Math 61 : Discrete Structures Final Exam Instructor: Ciprian Manolescu. You have 180 minutes.

Math 61 : Discrete Structures Final Exam Instructor: Ciprian Manolescu. You have 180 minutes. Nm: UCA ID Numr: Stion lttr: th 61 : Disrt Struturs Finl Exm Instrutor: Ciprin nolsu You hv 180 minuts. No ooks, nots or lultors r llow. Do not us your own srth ppr. 1. (2 points h) Tru/Fls: Cirl th right

More information

L I R M M O N T P E L L I E R

L I R M M O N T P E L L I E R L I R M M O N T P E L L I E R Laoratoir 'Informatiqu, Rootiqu t Miroltroniqu Montpllir Unit Mixt CNRS - Univrsit Montpllir II C 0998 ' Rapport Rhrh $ Maximal Inlusion Sarh: A nw algorithm for horal graphs

More information

Section 11.6: Directional Derivatives and the Gradient Vector

Section 11.6: Directional Derivatives and the Gradient Vector Sction.6: Dirctional Drivativs and th Gradint Vctor Practic HW rom Stwart Ttbook not to hand in p. 778 # -4 p. 799 # 4-5 7 9 9 35 37 odd Th Dirctional Drivativ Rcall that a b Slop o th tangnt lin to th

More information

Why the Junction Tree Algorithm? The Junction Tree Algorithm. Clique Potential Representation. Overview. Chris Williams 1.

Why the Junction Tree Algorithm? The Junction Tree Algorithm. Clique Potential Representation. Overview. Chris Williams 1. Why th Juntion Tr lgorithm? Th Juntion Tr lgorithm hris Willims 1 Shool of Informtis, Univrsity of Einurgh Otor 2009 Th JT is gnrl-purpos lgorithm for omputing (onitionl) mrginls on grphs. It os this y

More information

MCE503: Modeling and Simulation of Mechatronic Systems Discussion on Bond Graph Sign Conventions for Electrical Systems

MCE503: Modeling and Simulation of Mechatronic Systems Discussion on Bond Graph Sign Conventions for Electrical Systems MCE503: Modling and Simulation o Mchatronic Systms Discussion on Bond Graph Sign Convntions or Elctrical Systms Hanz ichtr, PhD Clvland Stat Univrsity, Dpt o Mchanical Enginring 1 Basic Assumption In a

More information

Edge-Triggered D Flip-flop. Formal Analysis. Fundamental-Mode Sequential Circuits. D latch: How do flip-flops work?

Edge-Triggered D Flip-flop. Formal Analysis. Fundamental-Mode Sequential Circuits. D latch: How do flip-flops work? E-Trir D Flip-Flop Funamntal-Mo Squntial Ciruits PR A How o lip-lops work? How to analys aviour o lip-lops? R How to sin unamntal-mo iruits? Funamntal mo rstrition - only on input an an at a tim; iruit

More information

Exam 1. It is important that you clearly show your work and mark the final answer clearly, closed book, closed notes, no calculator.

Exam 1. It is important that you clearly show your work and mark the final answer clearly, closed book, closed notes, no calculator. Exam N a m : _ S O L U T I O N P U I D : I n s t r u c t i o n s : It is important that you clarly show your work and mark th final answr clarly, closd book, closd nots, no calculator. T i m : h o u r

More information

4. Money cannot be neutral in the short-run the neutrality of money is exclusively a medium run phenomenon.

4. Money cannot be neutral in the short-run the neutrality of money is exclusively a medium run phenomenon. PART I TRUE/FALSE/UNCERTAIN (5 points ach) 1. Lik xpansionary montary policy, xpansionary fiscal policy rturns output in th mdium run to its natural lvl, and incrass prics. Thrfor, fiscal policy is also

More information

AP Calculus BC Problem Drill 16: Indeterminate Forms, L Hopital s Rule, & Improper Intergals

AP Calculus BC Problem Drill 16: Indeterminate Forms, L Hopital s Rule, & Improper Intergals AP Calulus BC Problm Drill 6: Indtrminat Forms, L Hopital s Rul, & Impropr Intrgals Qustion No. of Instrutions: () Rad th problm and answr hois arfully () Work th problms on papr as ndd () Pik th answr

More information

Unit 6: Solving Exponential Equations and More

Unit 6: Solving Exponential Equations and More Habrman MTH 111 Sction II: Eonntial and Logarithmic Functions Unit 6: Solving Eonntial Equations and Mor EXAMPLE: Solv th quation 10 100 for. Obtain an act solution. This quation is so asy to solv that

More information

Case Study Vancomycin Answers Provided by Jeffrey Stark, Graduate Student

Case Study Vancomycin Answers Provided by Jeffrey Stark, Graduate Student Cas Stuy Vancomycin Answrs Provi by Jffry Stark, Grauat Stunt h antibiotic Vancomycin is liminat almost ntirly by glomrular filtration. For a patint with normal rnal function, th half-lif is about 6 hours.

More information

b. How many ternary words of length 23 with eight 0 s, nine 1 s and six 2 s?

b. How many ternary words of length 23 with eight 0 s, nine 1 s and six 2 s? MATH 3012 Finl Exm, My 4, 2006, WTT Stunt Nm n ID Numr 1. All our prts o this prolm r onrn with trnry strings o lngth n, i.., wors o lngth n with lttrs rom th lpht {0, 1, 2}.. How mny trnry wors o lngth

More information

Application of Uncertain Temporal Relations Algebra to Diagnostic Problems

Application of Uncertain Temporal Relations Algebra to Diagnostic Problems Appliation of Unrtain Tmporal Rlations Algbra to iagnosti Problms VLAIMIR RYAOV, VAGAN TERZIYAN partmnt of Computr Sin an Information Systms, partmnt of Mathmatial Information Thnology, Univrsity of Jyväskylä,

More information

PROBLEM SET Problem 1.

PROBLEM SET Problem 1. PROLEM SET 1 PROFESSOR PETER JOHNSTONE 1. Problm 1. 1.1. Th catgory Mat L. OK, I m not amiliar with th trminology o partially orr sts, so lt s go ovr that irst. Dinition 1.1. partial orr is a binary rlation

More information

Case Study 4 PHA 5127 Aminoglycosides Answers provided by Jeffrey Stark Graduate Student

Case Study 4 PHA 5127 Aminoglycosides Answers provided by Jeffrey Stark Graduate Student Cas Stuy 4 PHA 527 Aminoglycosis Answrs provi by Jffry Stark Grauat Stunt Backgroun Gntamicin is us to trat a wi varity of infctions. Howvr, u to its toxicity, its us must b rstrict to th thrapy of lif-thratning

More information

12/3/12. Outline. Part 10. Graphs. Circuits. Euler paths/circuits. Euler s bridge problem (Bridges of Konigsberg Problem)

12/3/12. Outline. Part 10. Graphs. Circuits. Euler paths/circuits. Euler s bridge problem (Bridges of Konigsberg Problem) 12/3/12 Outlin Prt 10. Grphs CS 200 Algorithms n Dt Struturs Introution Trminology Implmnting Grphs Grph Trvrsls Topologil Sorting Shortst Pths Spnning Trs Minimum Spnning Trs Ciruits 1 Ciruits Cyl 2 Eulr

More information

Three Concepts: Probability Henry Tirri, Petri Myllymäki

Three Concepts: Probability Henry Tirri, Petri Myllymäki 6..6 robability as a masur o bli Thr Conpts: robability Hnry Tirri, tri Myllymäki 998-6 56 robabilitis ar to b intrprtd Ditionary dinition: probability han liklihood probability? Thr Conpts: robability

More information

A. Limits and Horizontal Asymptotes ( ) f x f x. f x. x "±# ( ).

A. Limits and Horizontal Asymptotes ( ) f x f x. f x. x ±# ( ). A. Limits and Horizontal Asymptots What you ar finding: You can b askd to find lim x "a H.A.) problm is asking you find lim x "# and lim x "$#. or lim x "±#. Typically, a horizontal asymptot algbraically,

More information

5/9/13. Part 10. Graphs. Outline. Circuits. Introduction Terminology Implementing Graphs

5/9/13. Part 10. Graphs. Outline. Circuits. Introduction Terminology Implementing Graphs Prt 10. Grphs CS 200 Algorithms n Dt Struturs 1 Introution Trminology Implmnting Grphs Outlin Grph Trvrsls Topologil Sorting Shortst Pths Spnning Trs Minimum Spnning Trs Ciruits 2 Ciruits Cyl A spil yl

More information

Numerical methods, Mixed exercise 10

Numerical methods, Mixed exercise 10 Numrial mthos, Mi ris a f ( ) 6 f ( ) 6 6 6 a = 6, b = f ( ) So. 6 b n a n 6 7.67... 6.99....67... 6.68....99... 6.667....68... To.p., th valus ar =.68, =.99, =.68, =.67. f (.6).6 6.6... f (.6).6 6.6.7...

More information

3 Finite Element Parametric Geometry

3 Finite Element Parametric Geometry 3 Finit Elmnt Paramtric Gomtry 3. Introduction Th intgral of a matrix is th matrix containing th intgral of ach and vry on of its original componnts. Practical finit lmnt analysis rquirs intgrating matrics,

More information

Lecture 14 (Oct. 30, 2017)

Lecture 14 (Oct. 30, 2017) Ltur 14 8.31 Quantum Thory I, Fall 017 69 Ltur 14 (Ot. 30, 017) 14.1 Magnti Monopols Last tim, w onsidrd a magnti fild with a magnti monopol onfiguration, and bgan to approah dsribing th quantum mhanis

More information

First we introduce some terminology. Suppose we are pushing a volumetric fluid flow rate of φ

First we introduce some terminology. Suppose we are pushing a volumetric fluid flow rate of φ Ltur Nots CHE 1 Flui Mhanis (Fall 010) 8. Flui-Partil Systms & Porous Mia 8b. Multil artils & Porous mia Partly bas on Chatr 6 an 11 o th D Nvrs txtboo. LN8a: 6.1 LN8b: 11.1, 11.4, 11.5 Flui rition in

More information

Digital Signal Processing, Fall 2006

Digital Signal Processing, Fall 2006 Digital Signal Prossing, Fall 006 Ltur 7: Filtr Dsign Zhng-ua an Dpartmnt of Eltroni Systms Aalborg Univrsity, Dnmar t@om.aau. Cours at a glan MM Disrt-tim signals an systms Systm MM Fourir-omain rprsntation

More information

Brief Introduction to Statistical Mechanics

Brief Introduction to Statistical Mechanics Brif Introduction to Statistical Mchanics. Purpos: Ths nots ar intndd to provid a vry quick introduction to Statistical Mchanics. Th fild is of cours far mor vast than could b containd in ths fw pags.

More information

3 a b c km m m 8 a 3.4 m b 2.4 m

3 a b c km m m 8 a 3.4 m b 2.4 m Chaptr Exris A a 9. m. m. m 9. km. mm. m Purpl lag hapr y 8p 8m. km. m Th triangl on th right 8. m 9 a. m. m. m Exris B a m. m mm. km. mm m a. 9 8...8 m. m 8. 9 m Ativity p. 9 Pupil s own answrs Ara =

More information

Algorithmic and NP-Completeness Aspects of a Total Lict Domination Number of a Graph

Algorithmic and NP-Completeness Aspects of a Total Lict Domination Number of a Graph Intrntionl J.Mth. Comin. Vol.1(2014), 80-86 Algorithmi n NP-Compltnss Aspts of Totl Lit Domintion Numr of Grph Girish.V.R. (PES Institut of Thnology(South Cmpus), Bnglor, Krntk Stt, Ini) P.Ush (Dprtmnt

More information

Announcements. These are Graphs. This is not a Graph. Graph Definitions. Applications of Graphs. Graphs & Graph Algorithms

Announcements. These are Graphs. This is not a Graph. Graph Definitions. Applications of Graphs. Graphs & Graph Algorithms Grphs & Grph Algorithms Ltur CS Fll 5 Announmnts Upoming tlk h Mny Crrs o Computr Sintist Or how Computr Sin gr mpowrs you to o muh mor thn o Dn Huttnlohr, Prossor in th Dprtmnt o Computr Sin n Johnson

More information

Propositional Logic. Combinatorial Problem Solving (CPS) Albert Oliveras Enric Rodríguez-Carbonell. May 17, 2018

Propositional Logic. Combinatorial Problem Solving (CPS) Albert Oliveras Enric Rodríguez-Carbonell. May 17, 2018 Propositional Logic Combinatorial Problm Solving (CPS) Albrt Olivras Enric Rodríguz-Carbonll May 17, 2018 Ovrviw of th sssion Dfinition of Propositional Logic Gnral Concpts in Logic Rduction to SAT CNFs

More information

Chemical Physics II. More Stat. Thermo Kinetics Protein Folding...

Chemical Physics II. More Stat. Thermo Kinetics Protein Folding... Chmical Physics II Mor Stat. Thrmo Kintics Protin Folding... http://www.nmc.ctc.com/imags/projct/proj15thumb.jpg http://nuclarwaponarchiv.org/usa/tsts/ukgrabl2.jpg http://www.photolib.noaa.gov/corps/imags/big/corp1417.jpg

More information

cycle that does not cross any edges (including its own), then it has at least

cycle that does not cross any edges (including its own), then it has at least W prov th following thorm: Thorm If a K n is drawn in th plan in such a way that it has a hamiltonian cycl that dos not cross any dgs (including its own, thn it has at last n ( 4 48 π + O(n crossings Th

More information

CS200: Graphs. Graphs. Directed Graphs. Graphs/Networks Around Us. What can this represent? Sometimes we want to represent directionality:

CS200: Graphs. Graphs. Directed Graphs. Graphs/Networks Around Us. What can this represent? Sometimes we want to represent directionality: CS2: Grphs Prihr Ch. 4 Rosn Ch. Grphs A olltion of nos n gs Wht n this rprsnt? n A omputr ntwork n Astrtion of mp n Soil ntwork CS2 - Hsh Tls 2 Dirt Grphs Grphs/Ntworks Aroun Us A olltion of nos n irt

More information

ph People Grade Level: basic Duration: minutes Setting: classroom or field site

ph People Grade Level: basic Duration: minutes Setting: classroom or field site ph Popl Adaptd from: Whr Ar th Frogs? in Projct WET: Curriculum & Activity Guid. Bozman: Th Watrcours and th Council for Environmntal Education, 1995. ph Grad Lvl: basic Duration: 10 15 minuts Stting:

More information

Carriers Concentration in Semiconductors - VI. Prof.P. Ravindran, Department of Physics, Central University of Tamil Nadu, India

Carriers Concentration in Semiconductors - VI. Prof.P. Ravindran, Department of Physics, Central University of Tamil Nadu, India Carrirs Conntration in Smionutors - VI 1 Prof.P. Ravinran, Dpartmnt of Pysis, Cntral Univrsity of Tamil au, Inia ttp://folk.uio.no/ravi/smi01 P.Ravinran, PHY0 Smionutor Pysis, 17 January 014 : Carrirs

More information

Section 10.4 Connectivity (up to paths and isomorphism, not including)

Section 10.4 Connectivity (up to paths and isomorphism, not including) Toy w will isuss two stions: Stion 10.3 Rprsnting Grphs n Grph Isomorphism Stion 10.4 Conntivity (up to pths n isomorphism, not inluing) 1 10.3 Rprsnting Grphs n Grph Isomorphism Whn w r working on n lgorithm

More information

Handout 28. Ballistic Quantum Transport in Semiconductor Nanostructures

Handout 28. Ballistic Quantum Transport in Semiconductor Nanostructures Hanout 8 Ballisti Quantum Transport in Smionutor Nanostruturs In this ltur you will larn: ltron transport without sattring (ballisti transport) Th quantum o onutan an th quantum o rsistan Quanti onutan

More information

Analysis of Algorithms - Elementary graphs algorithms -

Analysis of Algorithms - Elementary graphs algorithms - Analysis of Algorithms - Elmntary graphs algorithms - Anras Ermahl MRTC (Mälaralns Ral-Tim Rsarch Cntr) anras.rmahl@mh.s Autumn 004 Graphs Graphs ar important mathmatical ntitis in computr scinc an nginring

More information