Examples and applications on SSSP and MST
|
|
- Oswin Norman
- 5 years ago
- Views:
Transcription
1 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
2 Dijkstra s Algorithm Th algorithm solvs th singl-sourc shortst-paths (SSSP) problm on a irct graph G = (V, E) with positiv g wights. Lt V V b th currnt st of vrtics whos shortst paths from th sourc vrtx s hav bn foun an S = V \V. Th crucial part of th algorithm is th g rlaxation ia. Essntially, it is to maintain, for ach v S, th currnt shortst istanc from s only through th vrtics in V. COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
3 Exampl Suppos that th sourc vrtx is a. vrtx v ist(v) parnt(v) a 0 nil b nil c nil nil nil f nil g nil h nil V = an S = {a, b, c,,, f, g, h, i}. i nil Sinc ist(a) is th smallst among thos of vrtics in S, pick a. COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
4 Exampl Rlax th out-going gs of a: vrtx v ist(v) parnt(v) a 0 nil b 2 nil a c nil nil nil f nil g nil h nil V = {a} an S = {b, c,,, f, g, h, i}. i nil Th currnt shortst istanc of b from a only through th vrtics in V is upat. Aftr thn, ist(b) is th smallst among thos of vrtics in S. Pick b. COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
5 Exampl Rlax th out-going gs of b: vrtx v ist(v) parnt(v) a 0 nil b 2 a c nil 5 nil b nil f nil g nil h nil V = {a, b} an S = {c,,, f, g, h, i}. i nil Similarly, upat th currnt shortst istanc of from a only through th vrtics in V. An ist() is th smallst among thos in S. Pick. COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
6 Exampl Rlax th out-going gs of : vrtx v ist(v) parnt(v) a 0 nil b 2 a c 12 nil 5 b 6 nil f nil g nil h nil V = {a, b, } an S = {c,, f, g, h, i}. i nil Sinc aftr th upats, ist() is th smallst among thos in S, pick. COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
7 Exampl Rlax th out-going gs of : V = {a, b,, } an S = {c, f, g, h, i}. vrtx v ist(v) parnt(v) a 0 nil b 2 a c 12 5 b 6 f 7 nil g nil h nil i nil COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
8 Exampl Rlax th out-going gs of f : V = {a, b,,, f } an S = {c, g, h, i}. vrtx v ist(v) parnt(v) a 0 nil b 2 a c f 5 b 6 f 7 g nil h 11 nil f i nil COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
9 Exampl Rlax th out-going gs of c: V = {a, b, c,,, f } an S = {g, h, i}. vrtx v ist(v) parnt(v) a 0 nil b 2 a c 10 f 5 b 6 f 7 g nil h 11 f i nil COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
10 Exampl Rlax th out-going gs of h: V = {a, b, c,,, f, h} an S = {g, i}. vrtx v ist(v) parnt(v) a 0 nil b 2 a c 10 f 5 b 6 f 7 g 12 nil h h 11 f i 15 nil h COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
11 Exampl Rlax th out-going gs of g: V = {a, b, c,,, f, g, h} an S = {i}. vrtx v ist(v) parnt(v) a 0 nil b 2 a c 10 f 5 b 6 f 7 g 12 h h 11 f i h g COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
12 Exampl Rlax th out-going gs of i: V = {a, b, c,,, f, g, h, i} an S = {}. Don. vrtx v ist(v) parnt(v) a 0 nil b 2 a c 10 f 5 b 6 f 7 g 12 h h 11 f i 14 g COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
13 Prim s Algorithm Th algorithm grows a tr T mst by incluing on vrtx at a tim. At any momnt, it ivis th vrtx st V into two parts: Th st S of vrtics that ar alray in T mst. Th st of othr vrtics: V \S At th n of th algorithm, S = V. If an g conncts a vrtx in V an a vrtx in V \S, w call it an xtnsion g. At all tims, th algorithm nforcs th following lightst xtnsion principl: For vry vrtx v V \S, it rmmbrs which xtnsion g of v has th smallst wight rfrr to as th lightst xtnsion g of v, an not as bst-xt(v). COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
14 Exampl Eg {a, c} is th lightst of all. S = {a, c}. Th MST has on g {a, c}. vrtx v bst-xt(v) an wight a b {b, a}, 4 c {, c}, 2 nil, f {f, c}, 10 g nil, h nil, i nil, COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
15 Exampl Eg {, c} is th lightst of all. S = {a, c, }. A g {, c} into th MST. vrtx v bst-xt(v) an wight a b {b, a}, 4 c {, }, 3 f {f, c}, 10 g {g, }, 6 h nil, i nil, COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
16 Exampl Eg {, } is th lightst of all. S = {a, c,, }. A g {, } into th MST. vrtx v bst-xt(v) an wight a b {b, a}, 4 c f {f, }, 5 g {g, }, 6 h nil, i nil, COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
17 Exampl Eg {b, a} is th lightst of all. S = {a, c,,, b}. A g {b, a} into th MST. vrtx v bst-xt(v) an wight a b c f {f, }, 5 g {g, }, 6 h nil, i nil, COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
18 Exampl Eg {f, } is th lightst of all. S = {a, c,,, b, f }. A g {f, } into th MST. vrtx v bst-xt(v) an wight a b c f g {g, }, 6 h {h, f }, 12 i nil, COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
19 Exampl Eg {g, } is th lightst of all. S = {a, c,,, b, f, g}. A g {g, } into th MST. vrtx v bst-xt(v) an wight a b c f g h {h, f }, 12 i {i, g}, 8 COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
20 Exampl Eg {i, g} is th lightst of all. S = {a, c,,, b, f, g, i}. A g {i, g} into th MST. vrtx v bst-xt(v) an wight a b c f g h {h, i}, 3 i COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
21 Exampl At th n, g {h, i} is th lightst of all. S = {a, c,,, b, f, g, i, h}. A g {h, i} into th MST an w gt th final MST. vrtx v bst-xt(v) an wight a b c f g h i COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
22 Facility Allocation Application of Dijkstra s Algorithm Lt G = (V, E) b an unirct graph with positiv g wights, whr ach vrtx v V rprsnts ithr a usr or a facility. For a usr u an a facility f, th istanc btwn u an f is th shortst istanc from u to f on G not by ist(u, f ). Our goal is to assign th narst facility f to ach usr u such that: Thr is no facility f f such that ist(f, u) < ist(f, u). Furthrmor, w say f = narst-fac(u). COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
23 Exampl Givn a graph blow, f i (for i [1, 4]) rprsnts a facility an u j (for j [1, 4]) rprsnts a usr. u 1 Thn w hav: narst-fac(u 1 ) = f 2, narst-fac(u 2 ) = f 3, narst-fac(u 3 ) = f 1, narst-fac(u 4 ) = f f u f 1 u f 4 10 f u 2 COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
24 Facility Allocation Application of Dijkstra s Algorithm To solv th problm, th most trivial way is to run on Dijkstra s algorithm for ach facility. An thn, for ach usr u, pick th facility f with ist(f, u) smallst. Howvr, w can o much bttr. In fact, only on Dijkstra is nough! COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
25 Facility Allocation Application of Dijkstra s Algorithm Th algorithm is as follows: A an auxilary vrtx s to G. Crat an g {s, f } for ach facility f with g wight α, whr α > 0 is smallr than any g wight in G. Prform Dijkstra s algorithm with sourc vrtx s on th augmnt graph. In th rsult SSSP tr, for ach facility f, assign f to ach usr in th subtr of f. COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
26 Exampl 0.5 s s u f u f 1 u f f 3 u f 1 f 2 f 3 f 4 u 3 u 4 u 1 u 2 COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
27 Corrctnss Th corrctnss of th algorithm follows th facts blow: All th nos at lvl-1 (assum s is at lvl-0) in th SSSP tr ar th facility vrtics. All th usr nos u in th subtr of a facility f satisfy: ist(f, u) ist(f, u) for all facilitis f f. A short proof for th scon bullt: Suppos that thr os xist a facility f such that ist(f, u) < ist(f, u). Thn th path from s to u through f is shortr than that through f. It contraicts with th fact that u is in th subtr of f in th SSSP tr. COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
28 Travling Salsman Application of MST Givn a wight unirct graph G = (V, E) satisfying th followings: G is complt: for u, v V, {u, v} is in E. Th wight of ach g is positiv. All th wights satisfy th triangl inquality: w(u, v) w(u, x) + w(x, v) for u, v, x V, whr w(u, v) is th wight of g {u, v}. Th Travling Salsman Problm (TSP) is to fin a rout H such that: H is a cycl. Each vrtx v V is visit by H onc an xactly onc. Th total wight of th gs on H is smallst. COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
29 Exampl a a b f g b f g c h c h For simpl illustration, w show th input graph on th lft without rawing all th gs xplicitly. Insta, w mb th graph on th plan such that th wight of ach g is th uclian istanc btwn its two n points. Th r cycl shown on th right is th optimal solution H. Th TSP problm is NP-har! COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
30 Travling Salsman Application of MST For a cycl H in th input graph, not th total wight of gs on H by w(h). In th following, w will introuc a 2-approximat algorithm for th TSP problm in th sns that it always fins a solution H with w(h) 2 w(h ), whr H is th optimal solution. COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
31 Comput an MST T of G. Prform DFS on T from an arbitrary no an rcor th no visiting squnc S: a, b, c, b, h, b, a,,, f,, g,,, a. Only kp th first occurrnc of ach vrtx in th squnc S: a, b, c, h,,, f, g. c a b a h f g Lt H b th rout of this first occurrnc squnc. Rturn H as an approximat solution. c b h f g W claim that w(h) 2 w(h ). COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
32 Proof sktch: Sinc H is a cycl on all th vrtics, rmoving any g from H will rsult to a spanning tr T. As all th g wights ar positiv an T is an MST, w hav w(t ) w(t ) < w(h ). Sinc th DFS travrss ach g of T only twic, th total wight of all th gs on th visit squnc S, not by w(s), is 2 w(t ). Consir any two conscutiv vrtics u an v on H. By th triangl inquality, w know that w(u, v) is no mor than th total wight of all th gs on th sub-squnc of S btwn thir first occurrnc. Thrfor, w(h) w(s) = 2 w(t ) < 2 w(h ). COMP3506/7505, Uni of Qunslan Exampls an applications on SSSP an MST
Minimum Spanning Trees
Yufi Tao ITEE Univrsity of Qunslan In tis lctur, w will stuy anotr classic prolm: finin a minimum spannin tr of an unirct wit rap. Intrstinly, vn tou t prolm appars ratr iffrnt from SSSP (sinl sourc sortst
More information10. 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 informationAnalysis of Algorithms - Elementary graphs algorithms -
Analysis of Algorithms - Elmntary graphs algorithms - Anras Ermahl MRTC (Mälaralns Ral-Tim Rsach Cntr) anras.rmahl@mh.s Autumn 00 Graphs Graphs ar important mathmatical ntitis in computr scinc an nginring
More informationWeek 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 informationAnalysis 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 informationFinal Exam Solutions
CS 2 Advancd Data Structurs and Algorithms Final Exam Solutions Jonathan Turnr /8/20. (0 points) Suppos that r is a root of som tr in a Fionacci hap. Assum that just for a dltmin opration, r has no childrn
More informationCS 491 G Combinatorial Optimization
CS 49 G Cobinatorial Optiization Lctur Nots Junhui Jia. Maiu Flow Probls Now lt us iscuss or tails on aiu low probls. Thor. A asibl low is aiu i an only i thr is no -augnting path. Proo: Lt P = A asibl
More informationChapter 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 informationAbstract Interpretation: concrete and abstract semantics
Abstract Intrprtation: concrt and abstract smantics Concrt smantics W considr a vry tiny languag that manags arithmtic oprations on intgrs valus. Th (concrt) smantics of th languags cab b dfind by th funzcion
More informationY 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 informationStrongly Connected Components
Strongly Connctd Componnts Lt G = (V, E) b a dirctd graph Writ if thr is a path from to in G Writ if and is an quivalnc rlation: implis and implis s quivalnc classs ar calld th strongly connctd componnts
More information64. A Conic Section from Five Elements.
. onic Sction from Fiv Elmnts. To raw a conic sction of which fiv lmnts - points an tangnts - ar known. W consir th thr cass:. Fiv points ar known.. Four points an a tangnt lin ar known.. Thr points an
More informationDerangements and Applications
2 3 47 6 23 Journal of Intgr Squncs, Vol. 6 (2003), Articl 03..2 Drangmnts and Applications Mhdi Hassani Dpartmnt of Mathmatics Institut for Advancd Studis in Basic Scincs Zanjan, Iran mhassani@iasbs.ac.ir
More informationBasic Polyhedral theory
Basic Polyhdral thory Th st P = { A b} is calld a polyhdron. Lmma 1. Eithr th systm A = b, b 0, 0 has a solution or thr is a vctorπ such that π A 0, πb < 0 Thr cass, if solution in top row dos not ist
More informationSearching 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 information1 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 informationMathematics 1110H Calculus I: Limits, derivatives, and Integrals Trent University, Summer 2018 Solutions to the Actual Final Examination
Mathmatics H Calculus I: Limits, rivativs, an Intgrals Trnt Univrsity, Summr 8 Solutions to th Actual Final Eamination Tim-spac: 9:-: in FPHL 7. Brought to you by Stfan B lan k. Instructions: Do parts
More informationThe 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 informationAdditional Math (4047) Paper 2 (100 marks) y x. 2 d. d d
Aitional Math (07) Prpar b Mr Ang, Nov 07 Fin th valu of th constant k for which is a solution of th quation k. [7] Givn that, Givn that k, Thrfor, k Topic : Papr (00 marks) Tim : hours 0 mins Nam : Aitional
More informationRecounting the Rationals
Rconting th Rationals Nil Calkin and Hrbrt S. Wilf pril, 000 It is wll known (indd, as Pal Erd}os might hav said, vry child knows) that th rationals ar contabl. Howvr, th standard prsntations of this fact
More informationWhere k is either given or determined from the data and c is an arbitrary constant.
Exponntial growth and dcay applications W wish to solv an quation that has a drivativ. dy ky k > dx This quation says that th rat of chang of th function is proportional to th function. Th solution is
More informationcycle 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 informationOn spanning trees and cycles of multicolored point sets with few intersections
On spanning trs and cycls of multicolord point sts with fw intrsctions M. Kano, C. Mrino, and J. Urrutia April, 00 Abstract Lt P 1,..., P k b a collction of disjoint point sts in R in gnral position. W
More informationpriority queue ADT heaps 1
COMP 250 Lctur 23 priority quu ADT haps 1 Nov. 1/2, 2017 1 Priority Quu Li a quu, but now w hav a mor gnral dinition o which lmnt to rmov nxt, namly th on with highst priority..g. hospital mrgncy room
More informationCombinatorial Networks Week 1, March 11-12
1 Nots on March 11 Combinatorial Ntwors W 1, March 11-1 11 Th Pigonhol Principl Th Pigonhol Principl If n objcts ar placd in hols, whr n >, thr xists a box with mor than on objcts 11 Thorm Givn a simpl
More informationNetwork Congestion Games
Ntwork Congstion Gams Assistant Profssor Tas A&M Univrsity Collg Station, TX TX Dallas Collg Station Austin Houston Bst rout dpnds on othrs Ntwork Congstion Gams Travl tim incrass with congstion Highway
More informationSearch sequence databases 3 10/25/2016
Sarch squnc databass 3 10/25/2016 Etrm valu distribution Ø Suppos X is a random variabl with probability dnsity function p(, w sampl a larg numbr S of indpndnt valus of X from this distribution for an
More informationWalk Like a Mathematician Learning Task:
Gori Dprtmnt of Euction Wlk Lik Mthmticin Lrnin Tsk: Mtrics llow us to prform mny usful mthmticl tsks which orinrily rquir lr numbr of computtions. Som typs of problms which cn b on fficintly with mtrics
More informationHomework #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 informationFinding low cost TSP and 2-matching solutions using certain half integer subtour vertices
Finding low cost TSP and 2-matching solutions using crtain half intgr subtour vrtics Sylvia Boyd and Robrt Carr Novmbr 996 Introduction Givn th complt graph K n = (V, E) on n nods with dg costs c R E,
More informationSCHUR S THEOREM REU SUMMER 2005
SCHUR S THEOREM REU SUMMER 2005 1. Combinatorial aroach Prhas th first rsult in th subjct blongs to I. Schur and dats back to 1916. On of his motivation was to study th local vrsion of th famous quation
More informationFirst 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 informationThe Transfer Function. The Transfer Function. The Transfer Function. The Transfer Function. The Transfer Function. The Transfer Function
A gnraliation of th frquncy rsons function Th convolution sum scrition of an LTI iscrt-tim systm with an imuls rsons h[n] is givn by h y [ n] [ ] x[ n ] Taing th -transforms of both sis w gt n n h n n
More informationExam 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 informationThomas Whitham Sixth Form
Thomas Whitham Sith Form Pur Mathmatics Cor rvision gui Pag Algbra Moulus functions graphs, quations an inqualitis Graph of f () Draw f () an rflct an part of th curv blow th ais in th ais. f () f () f
More informationThe Equitable Dominating Graph
Intrnational Journal of Enginring Rsarch and Tchnology. ISSN 0974-3154 Volum 8, Numbr 1 (015), pp. 35-4 Intrnational Rsarch Publication Hous http://www.irphous.com Th Equitabl Dominating Graph P.N. Vinay
More informationMinimum Spanning Trees
Minimum Spnning Trs Minimum Spnning Trs Problm A town hs st of houss nd st of rods A rod conncts nd only houss A rod conncting houss u nd v hs rpir cost w(u, v) Gol: Rpir nough (nd no mor) rods such tht:
More informationCSI35 Chapter 11 Review
1. Which of th grphs r trs? c f c g f c x y f z p q r 1 1. Which of th grphs r trs? c f c g f c x y f z p q r . Answr th qustions out th following tr 1) Which vrtx is th root of c th tr? ) wht is th hight
More informationSection 6.1. Question: 2. Let H be a subgroup of a group G. Then H operates on G by left multiplication. Describe the orbits for this operation.
MAT 444 H Barclo Spring 004 Homwork 6 Solutions Sction 6 Lt H b a subgroup of a group G Thn H oprats on G by lft multiplication Dscrib th orbits for this opration Th orbits of G ar th right costs of H
More informationPaths. 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 informationFirst 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 informationApproximate Maximum Flow in Undirected Networks by Christiano, Kelner, Madry, Spielmann, Teng (STOC 2011)
Approximat Maximum Flow in Undirctd Ntworks by Christiano, Klnr, Madry, Spilmann, Tng (STOC 2011) Kurt Mhlhorn Max Planck Institut for Informatics and Saarland Univrsity Sptmbr 28, 2011 Th Rsult High-Lvl
More informationSupplementary Materials
6 Supplmntary Matrials APPENDIX A PHYSICAL INTERPRETATION OF FUEL-RATE-SPEED FUNCTION A truck running on a road with grad/slop θ positiv if moving up and ngativ if moving down facs thr rsistancs: arodynamic
More informationCOHORT MBA. Exponential function. MATH review (part2) by Lucian Mitroiu. The LOG and EXP functions. Properties: e e. lim.
MTH rviw part b Lucian Mitroiu Th LOG and EXP functions Th ponntial function p : R, dfind as Proprtis: lim > lim p Eponntial function Y 8 6 - -8-6 - - X Th natural logarithm function ln in US- log: function
More informationOn the Hamiltonian of a Multi-Electron Atom
On th Hamiltonian of a Multi-Elctron Atom Austn Gronr Drxl Univrsity Philadlphia, PA Octobr 29, 2010 1 Introduction In this papr, w will xhibit th procss of achiving th Hamiltonian for an lctron gas. Making
More informationECE602 Exam 1 April 5, You must show ALL of your work for full credit.
ECE62 Exam April 5, 27 Nam: Solution Scor: / This xam is closd-book. You must show ALL of your work for full crdit. Plas rad th qustions carfully. Plas chck your answrs carfully. Calculators may NOT b
More informationa 1and x is any real number.
Calcls Nots Eponnts an Logarithms Eponntial Fnction: Has th form y a, whr a 0, a an is any ral nmbr. Graph y, Graph y ln y y Th Natral Bas (Elr s nmbr): An irrational nmbr, symboliz by th lttr, appars
More informationEXST Regression Techniques Page 1
EXST704 - Rgrssion Tchniqus Pag 1 Masurmnt rrors in X W hav assumd that all variation is in Y. Masurmnt rror in this variabl will not ffct th rsults, as long as thy ar uncorrlatd and unbiasd, sinc thy
More information2008 AP Calculus BC Multiple Choice Exam
008 AP Multipl Choic Eam Nam 008 AP Calculus BC Multipl Choic Eam Sction No Calculator Activ AP Calculus 008 BC Multipl Choic. At tim t 0, a particl moving in th -plan is th acclration vctor of th particl
More informationSquare of Hamilton cycle in a random graph
Squar of Hamilton cycl in a random graph Andrzj Dudk Alan Friz Jun 28, 2016 Abstract W show that p = n is a sharp thrshold for th random graph G n,p to contain th squar of a Hamilton cycl. This improvs
More informationOn the irreducibility of some polynomials in two variables
ACTA ARITHMETICA LXXXII.3 (1997) On th irrducibility of som polynomials in two variabls by B. Brindza and Á. Pintér (Dbrcn) To th mmory of Paul Erdős Lt f(x) and g(y ) b polynomials with intgral cofficints
More informationCalculus II (MAC )
Calculus II (MAC232-2) Tst 2 (25/6/25) Nam (PRINT): Plas show your work. An answr with no work rcivs no crdit. You may us th back of a pag if you nd mor spac for a problm. You may not us any calculators.
More informationCSE 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 informationRecall that by Theorems 10.3 and 10.4 together provide us the estimate o(n2 ), S(q) q 9, q=1
Chaptr 11 Th singular sris Rcall that by Thorms 10 and 104 togthr provid us th stimat 9 4 n 2 111 Rn = SnΓ 2 + on2, whr th singular sris Sn was dfind in Chaptr 10 as Sn = q=1 Sq q 9, with Sq = 1 a q gcda,q=1
More informationSOME PARAMETERS ON EQUITABLE COLORING OF PRISM AND CIRCULANT GRAPH.
SOME PARAMETERS ON EQUITABLE COLORING OF PRISM AND CIRCULANT GRAPH. K VASUDEVAN, K. SWATHY AND K. MANIKANDAN 1 Dpartmnt of Mathmatics, Prsidncy Collg, Chnnai-05, India. E-Mail:vasu k dvan@yahoo.com. 2,
More informationComputing and Communications -- Network Coding
89 90 98 00 Computing and Communications -- Ntwork Coding Dr. Zhiyong Chn Institut of Wirlss Communications Tchnology Shanghai Jiao Tong Univrsity China Lctur 5- Nov. 05 0 Classical Information Thory Sourc
More informationSolution: APPM 1360 Final (150 pts) Spring (60 pts total) The following parts are not related, justify your answers:
APPM 6 Final 5 pts) Spring 4. 6 pts total) Th following parts ar not rlatd, justify your answrs: a) Considr th curv rprsntd by th paramtric quations, t and y t + for t. i) 6 pts) Writ down th corrsponding
More informationShortest Paths in Graphs. Paths in graphs. Shortest paths CS 445. Alon Efrat Slides courtesy of Erik Demaine and Carola Wenk
S 445 Shortst Paths n Graphs lon frat Sls courtsy of rk man an arola Wnk Paths n raphs onsr a raph G = (V, ) wth -wht functon w : R. Th wht of path p = v v v k s fn to xampl: k = w ( p) = w( v, v + ).
More informationCPSC 665 : An Algorithmist s Toolkit Lecture 4 : 21 Jan Linear Programming
CPSC 665 : An Algorithmist s Toolkit Lctur 4 : 21 Jan 2015 Lcturr: Sushant Sachdva Linar Programming Scrib: Rasmus Kyng 1. Introduction An optimization problm rquirs us to find th minimum or maximum) of
More informationMA1506 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 informationN1.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 informationSteinberg 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 informationCOMPUTER GENERATED HOLOGRAMS Optical Sciences 627 W.J. Dallas (Monday, April 04, 2005, 8:35 AM) PART I: CHAPTER TWO COMB MATH.
C:\Dallas\0_Courss\03A_OpSci_67\0 Cgh_Book\0_athmaticalPrliminaris\0_0 Combath.doc of 8 COPUTER GENERATED HOLOGRAS Optical Scincs 67 W.J. Dallas (onday, April 04, 005, 8:35 A) PART I: CHAPTER TWO COB ATH
More information4. (5a + b) 7 & x 1 = (3x 1)log 10 4 = log (M1) [4] d = 3 [4] T 2 = 5 + = 16 or or 16.
. 7 7 7... 7 7 (n )0 7 (M) 0(n ) 00 n (A) S ((7) 0(0)) (M) (7 00) 8897 (A). (5a b) 7 7... (5a)... (M) 7 5 5 (a b ) 5 5 a b (M)(A) So th cofficint is 75 (A) (C) [] S (7 7) (M) () 8897 (A) (C) [] 5. x.55
More informationMultiple 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 informationGeneral Caching Is Hard: Even with Small Pages
Algorithmica manuscript No. (will b insrtd by th ditor) Gnral Caching Is Hard: Evn with Small Pags Luká² Folwarczný Ji í Sgall August 1, 2016 Abstract Caching (also known as paging) is a classical problm
More informationTEMASEK JUNIOR COLLEGE, SINGAPORE. JC 2 Preliminary Examination 2017
TEMASEK JUNIOR COLLEGE, SINGAPORE JC Prliminary Eamination 7 MATHEMATICS 886/ Highr 9 August 7 Additional Matrials: Answr papr hours List of Formula (MF6) READ THESE INSTRUCTIONS FIRST Writ your Civics
More informationIntroduction to Arithmetic Geometry Fall 2013 Lecture #20 11/14/2013
18.782 Introduction to Arithmtic Gomtry Fall 2013 Lctur #20 11/14/2013 20.1 Dgr thorm for morphisms of curvs Lt us rstat th thorm givn at th nd of th last lctur, which w will now prov. Thorm 20.1. Lt φ:
More informationThomas Whitham Sixth Form
Thomas Whitham Sith Form Pur Mathmatics Unit C Algbra Trigonomtr Gomtr Calculus Vctor gomtr Pag Algbra Molus functions graphs, quations an inqualitis Graph of f () Draw f () an rflct an part of th curv
More informationIntroduction to the Fourier transform. Computer Vision & Digital Image Processing. The Fourier transform (continued) The Fourier transform (continued)
Introduction to th Fourir transform Computr Vision & Digital Imag Procssing Fourir Transform Lt f(x) b a continuous function of a ral variabl x Th Fourir transform of f(x), dnotd by I {f(x)} is givn by:
More informationBINOMIAL COEFFICIENTS INVOLVING INFINITE POWERS OF PRIMES
BINOMIAL COEFFICIENTS INVOLVING INFINITE POWERS OF PRIMES DONALD M. DAVIS Abstract. If p is a prim (implicit in notation and n a positiv intgr, lt ν(n dnot th xponnt of p in n, and U(n n/p ν(n, th unit
More informationCSC 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 informationy cos x = cos xdx = sin x + c y = tan x + c sec x But, y = 1 when x = 0 giving c = 1. y = tan x + sec x (A1) (C4) OR y cos x = sin x + 1 [8]
DIFF EQ - OPTION. Sol th iffrntial quation tan +, 0
More informationGradebook & Midterm & Office Hours
Your commnts So what do w do whn on of th r's is 0 in th quation GmM(1/r-1/r)? Do w nd to driv all of ths potntial nrgy formulas? I don't undrstand springs This was th first lctur I actually larnd somthing
More informationThe 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 informationCorrelation in tree The (ferromagnetic) Ising model
5/3/00 :\ jh\slf\nots.oc\7 Chaptr 7 Blf propagato corrlato tr Corrlato tr Th (frromagtc) Isg mol Th Isg mol s a graphcal mol or par ws raom Markov fl cosstg of a urct graph wth varabls assocat wth th vrtcs.
More informationAddition 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 informationOutline. 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 information4 x 4, and. where x is Town Square
Accumulation and Population Dnsity E. A city locatd along a straight highway has a population whos dnsity can b approimatd by th function p 5 4 th distanc from th town squar, masurd in mils, whr 4 4, and
More information22/ Breakdown of the Born-Oppenheimer approximation. Selection rules for rotational-vibrational transitions. P, R branches.
Subjct Chmistry Papr No and Titl Modul No and Titl Modul Tag 8/ Physical Spctroscopy / Brakdown of th Born-Oppnhimr approximation. Slction ruls for rotational-vibrational transitions. P, R branchs. CHE_P8_M
More informationECE 2210 / 00 Phasor Examples
EE 0 / 00 Phasor Exampls. Add th sinusoidal voltags v ( t ) 4.5. cos( t 30. and v ( t ) 3.. cos( t 5. v ( t) using phasor notation, draw a phasor diagram of th thr phasors, thn convrt back to tim domain
More informationRandom Process Part 1
Random Procss Part A random procss t (, ζ is a signal or wavform in tim. t : tim ζ : outcom in th sampl spac Each tim w rapat th xprimnt, a nw wavform is gnratd. ( W will adopt t for short. Tim sampls
More informationUNTYPED LAMBDA CALCULUS (II)
1 UNTYPED LAMBDA CALCULUS (II) RECALL: CALL-BY-VALUE O.S. Basic rul Sarch ruls: (\x.) v [v/x] 1 1 1 1 v v CALL-BY-VALUE EVALUATION EXAMPLE (\x. x x) (\y. y) x x [\y. y / x] = (\y. y) (\y. y) y [\y. y /
More informationCS553 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 informationMCB137: Physical Biology of the Cell Spring 2017 Homework 6: Ligand binding and the MWC model of allostery (Due 3/23/17)
MCB37: Physical Biology of th Cll Spring 207 Homwork 6: Ligand binding and th MWC modl of allostry (Du 3/23/7) Hrnan G. Garcia March 2, 207 Simpl rprssion In class, w drivd a mathmatical modl of how simpl
More information1 Solving Flow Problems using Multiplicative Weights
15-850: Advancd Algorithms CMU, Spring 2017 Lctur #13: Max Flow using Elctrical Flow Fbruary 22, 2017 Lcturr: Anupam Gupta Scrib: Jnnifr Iglsias, Xu An Chuang In today s lctur w will us lctrical flows
More informationCOMP108 Algorithmic Foundations
Grdy mthods Prudn Wong http://www.s.liv..uk/~pwong/thing/omp108/01617 Coin Chng Prolm Suppos w hv 3 typs of oins 10p 0p 50p Minimum numr of oins to mk 0.8, 1.0, 1.? Grdy mthod Lrning outoms Undrstnd wht
More informationCLONES IN 3-CONNECTED FRAME MATROIDS
CLONES IN 3-CONNECTED FRAME MATROIDS JAKAYLA ROBBINS, DANIEL SLILATY, AND XIANGQIAN ZHOU Abstract. W dtrmin th structur o clonal classs o 3-connctd ram matroids in trms o th structur o biasd graphs. Robbins
More information3) 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 information6.1 Integration by Parts and Present Value. Copyright Cengage Learning. All rights reserved.
6.1 Intgration by Parts and Prsnt Valu Copyright Cngag Larning. All rights rsrvd. Warm-Up: Find f () 1. F() = ln(+1). F() = 3 3. F() =. F() = ln ( 1) 5. F() = 6. F() = - Objctivs, Day #1 Studnts will b
More informationMATHEMATICS (B) 2 log (D) ( 1) = where z =
MATHEMATICS SECTION- I STRAIGHT OBJECTIVE TYPE This sction contains 9 multipl choic qustions numbrd to 9. Each qustion has choic (A), (B), (C) and (D), out of which ONLY-ONE is corrct. Lt I d + +, J +
More informationA. 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 informationOptimizing Product Launches in the Presence of Strategic Consumers Appendix
Optimizing Product Launchs in th Prsnc of Stratgic Consumrs Appndix Ilan Lobl Jigar Patl Gustavo Vulcano Jiawi Zhang Lonard N. Strn School of Businss, Nw York Univrsity, 44 Wst Fourth St., Nw York, NY
More informationJunction 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 information5. B To determine all the holes and asymptotes of the equation: y = bdc dced f gbd
1. First you chck th domain of g x. For this function, x cannot qual zro. Thn w find th D domain of f g x D 3; D 3 0; x Q x x 1 3, x 0 2. Any cosin graph is going to b symmtric with th y-axis as long as
More informationRoadmap. XML Indexing. DataGuide example. DataGuides. Strong DataGuides. Multiple DataGuides for same data. CPS Topics in Database Systems
Roadmap XML Indxing CPS 296.1 Topics in Databas Systms Indx fabric Coopr t al. A Fast Indx for Smistructurd Data. VLDB, 2001 DataGuid Goldman and Widom. DataGuids: Enabling Qury Formulation and Optimization
More informationAlpha and beta decay equation practice
Alpha and bta dcay quation practic Introduction Alpha and bta particls may b rprsntd in quations in svral diffrnt ways. Diffrnt xam boards hav thir own prfrnc. For xampl: Alpha Bta α β alpha bta Dspit
More information1997 AP Calculus AB: Section I, Part A
997 AP Calculus AB: Sction I, Part A 50 Minuts No Calculator Not: Unlss othrwis spcifid, th domain of a function f is assumd to b th st of all ral numbrs for which f () is a ral numbr.. (4 6 ) d= 4 6 6
More informationDifferential Equations
Prfac Hr ar m onlin nots for m diffrntial quations cours that I tach hr at Lamar Univrsit. Dspit th fact that ths ar m class nots, th should b accssibl to anon wanting to larn how to solv diffrntial quations
More informationSome remarks on Kurepa s left factorial
Som rmarks on Kurpa s lft factorial arxiv:math/0410477v1 [math.nt] 21 Oct 2004 Brnd C. Kllnr Abstract W stablish a connction btwn th subfactorial function S(n) and th lft factorial function of Kurpa K(n).
More information