NP-Completeness : Proofs

Size: px
Start display at page:

Download "NP-Completeness : Proofs"

Transcription

1 NP-Completeness : Proofs Proof Methods A method to show a decson problem Π NP-complete s as follows. (1) Show Π NP. (2) Choose an NP-complete problem Π. (3) Show Π Π. A method to show an optmzaton problem Ψ NP-hard s as follows. (1) Choose an NP-hard problem Ψ (Ψ may be NP-complete). (2) Show Ψ Ψ. An alternatve method to show Ψ NP-hard s to show the decson verson of Ψ NP-complete. 1

2 Two Smple Examples Ex. Sum of Subsets Instance : A fnte set A of postve ntegers and a postve nteger c. Queston : Is there a subset A of A whose elements sum to c? For example, f A = {7, 5, 19, 1, 12, 8, 14} and c = 21, then the answer s yes (A = {7, 14}). NP-completeness of Sum of Subsets s shown below. Sum of Subsets NP. A chosen NP-complete problem : Exact Cover. 2

3 Exact Cover Instance : A fnte set S and k subsets S 1, S 2,, S k of S. Queston : Is there a subset of {S 1, S 2,, S k } that forms a partton of S? For example, f S = {7, 5, 19, 1, 12, 8, 14}, k = 4, S 1 = {7, 19, 12, 14}, S 2 = {7, 5, 8}, S 3 = {5, 1, 8}, and S 4 = {19, 1, 8, 14}, then the answer s yes ({S 1, S 3 } forms a partton of S). 3

4 Exact Cover Sum of Subsets. Let S = {u 1, u 2,, u m } and S 1, S 2,, S k be an arbtrary nstance of Exact Cover. An nstance of Sum of Subsets can be obtaned n polynomal tme as follows. m 1 A = {a 1, a 2,, a k } and c = ( k + 1 ), where for 1 j k, = 0 a j = m = 1 e, ( k + 1 ) 1, j wth e j, = 1 f u S j and e j, = 0 f u S j. Sum of Subsets has the answer yes f and only f Exact Cover has the answer yes. 4

5 For example, gven the followng nstance of Exact Cover : S = {7, 5, 19, 1, 12, 8, 14}, k = 4, S 1 = {7, 19, 12, 14}, S 2 = {7, 5, 8}, S 3 = {5, 1, 8}, and S 4 = {19, 1, 8, 4}, a matrx e s defned as follows. S S S S An nstance of Sum of Subsets s constructed as follows. 5

6 A = {a 1, a 2, a 3, a 4 } and c = , where a 1 = (1 st row of e); a 2 = (2 nd row of e); a 3 = (3 rd row of e); a 4 = (4 th row of e). The constructon relates a wth S and c wth S. It s not dffcult to see a 1 + a 3 = c S 1 S 3 = S and S 1 S 3 =. 6

7 Ex. Partton Instance : A multset B = {b 1, b 2,, b n } of postve ntegers. Queston : Is there a subset B B such that b B' b = b B B' j b j? For example, when B = {17, 53, 9, 35, 41, 32, 35}, then the answer s yes (B = {17, 53, 41}). NP-completeness of Partton s shown below. Partton NP. A chosen NP-complete problem : Sum of Subsets. 7

8 Sum of Subsets Partton Let A = {a 1, a 2,, a m } and c be an arbtrary nstance of Sum of Subsets. An nstance of Partton can be obtaned n polynomal tme as follows: B = A {a m+1, a m+2 }, where a m+1 = c + 1 and a m+2 = 1 c + a A a. Snce a m+1 + a m+2 = a A a + 2, we have {a m+1, a m+2 } B and {a m+1, a m+2 } B B. We show below that a Α' a = c f and only f a m+2 + a Α' a = a m+1 + a Α Α' a (.e., B = A + {a m+2 }). 8

9 ( ) Suppose a Α' a = c. a m+2 + a Α' a = (1 c + a A a ) + a Α' a = 1 + a Α a. a m+1 + a Α Α' a = (c + 1) + a Α Α' a = 1 + a Α a. ( ) Suppose a m+2 + a Α' a = a m+1 + a Α Α' a,.e., B = A + {a m+2 }. Then, (1 c + a Α Α' a A a, a ) + a Α' a = (c + 1) + from whch a Α' a = c can be derved. 9

10 Exercse 5. Read Example 8-14 on page 367 of the textbook. (1) Gve a reducton from Partton to the bn packng problem. (2) Illustrate the reducton by an example. (3) Verfy the reducton. Exercse 6. Read Theorem 11.2 on page 518 of Ref. (2). (1) Gve a reducton from Satsfablty to Clque. (2) Illustrate the reducton by an example. (3) Verfy the reducton. 10

11 Three Proof Technques Restrcton Local Replacement Component Desgn 11

12 Restrcton If a problem Π contans an NP-hard problem Π as a specal case (.e., Π s a restrcted subproblem of Π), then Π s NP-hard. Ex. Exact Cover Instance : A fnte set S and k subsets S 1, S 2,, S k of S. Queston : Is there a subset of {S 1, S 2,, S k } that forms a partton of S? Exact Cover by 3-Sets Instance : A fnte set S wth S = 3p and k 3- element subsets S 1, S 2,, S k of S. Queston : Is there a subset of {S 1, S 2,, S k } that forms a partton of S? 12

13 Exact Cover by 3-Sets s a specal case of Exact Cover. 3-Dmensonal Matchng Instance : A set M W X Y, where W, X and Y are three dsjont q-element subsets. Queston : Does M contan a matchng,.e., a subset M M such that M = q and no two elements of M agree n any coordnate? For example, f W = {0, 1}, X = {a, b}, Y = {+, }, and M = {(0, a, +), (1, b, +), (1, b, )}, then the answer s yes (M = {(0, a, +), (1, b, )}). 3-Dmensonal Matchng s a specal case of Exact Cover by 3-Sets. 13

14 For example, the followng nstance of 3-Dmensonal Matchng : W = {0, 1}, X = {a, b}, Y = {+, }, and M = {(0, a, +), (1, b, +), (1, b, )} can be transformed nto an nstance of Exact Cover by 3-Sets as follows : S 1 = {0 W, a X, + Y }, S 2 = {1 W, b X, + Y }, S 3 = {1 W, b X, Y }, and S = W X Y = {0 W, 1 W, a X, b X, + Y, Y }. Therefore, 3-Dmensonal Matchng s NP-complete. Exact Cover by 3-Sets s NP-complete. Exact Cover s NP-complete. 14

15 Ex. Hamltonan Cycle Instance : An undrected graph G = (V, E). Queston : Does G contan a Hamltonan Cycle,.e., an orderng (v 1, v 2,, v V ) of the vertces of G such that (v 1, v V ) E and (v, v +1 ) E for all 1 < V? Drected Hamltonan Cycle Instance : A drected graph G = (V, A), where A s a set of arcs (.e., ordered pars of vertces). Queston : Does G contan a drected Hamltonan cycle,.e., an orderng (v 1, v 2,, v V ) of the vertces of G such that (v 1, v V ) A and (v, v +1 ) A for all 1 < V? 15

16 Hamltonan Cycle s a specal case of Drected Hamltonan Cycle (or Hamltonan Cycle Drected Hamltonan Cycle, where each (u, v) E corresponds to two arcs (u, v), (v, u) A). Therefore, Hamltonan Cycle s NP-complete. Drected Hamltonan Cycle s NP-complete. 16

17 Hamltonan Path between Two Vertces Instance : An undrected graph G = (V, E) and two dstnct vertces u, v V. Queston : Does G contan a Hamltonan path startng at u and endng at v,.e., an orderng (v 1, v 2,, v V ) of the vertces of G such that u = v 1, v = v V, and (v, v +1 ) E for all 1 < V? Hamltonan Cycle Hamltonan Path between Two Vertces : f the latter s polynomal tme solvable, then the former s also polynomal tme solvable (consderng all edges (u, v) V for the latter). Hamltonan Path between Two Vertces s NP-complete. 17

18 Hamltonan Path Instance : An undrected graph G = (V, E). Queston : Does G contan a Hamltonan path? Hamltonan Cycle Hamltonan Path : For each (u, v) E, construct an nstance of Hamltonan Path by addng x, y to V and (x, u), (y, v) to E (thus G s nduced). x y u v u v G G G has a Hamltonan cycle f and only f G has a Hamltonan x-y path. If Hamltonan Path s polynomal tme solvable, then Hamltonan Cycle s also polynomal tme solvable. Hamltonan Path s NP-complete. 18

19 Exercse 7. Show the followng two problems NP- complete by restrcton to Hamltonan Path and Partton, respectvely. Bounded Degree Spannng Tree Instance : An undrected graph G = (V, E) and a postve nteger k V 1. Queston : Does G contans a spannng tree n whch each node has degree at most k? 0/1 Knapsack Instance : A fnte set U, a sze s(u) Z + and a value v(u) Z + for each u U, a sze constrant b Z +, and a value goal k Z +. Queston : Is there a subset U U such that s( u) u U' b and v( u) u U' k? 19

20 Local Replacement In order to show Π Π, local replacement specfes the basc unts for Π and replaces them wth others, whle constructng a correspondng nstance of Π. Usually, local replacement has one knd of basc unts that each are replaced wth the same structure. Ex. Partton nto Trangles Instance : An undrected graph G = (V, E) wth V = 3p for some nteger p > 0. Queston : Is there a partton of V nto 3-vertex subsets V 1, V 2,, V p, such that each subgraph nduced by some V (1 p) forms a trangle? 20

21 For example, the answer for the followng nstance s yes, because V can be parttoned nto {1, 2, 3}, {4, 5, 6}, {7, 8, 9} or {1, 4, 7}, {2, 5, 6}, {3, 8, 9} Exact Cover by 3-Sets Partton nto Trangles s shown below. Let a set S, where S = 3p, and a collecton C of 3-element subsets of S denote an arbtrary nstance of Exact Cover by 3-Sets. Construct an nstance of Partton nto Trangles as follows. 21

22 Consder each subset {x, y, z } C a basc unt, and replace t wth the followng structure. a [3] a [6] a [9] a [1] a [2] a [4] a [5] a [7] a [8] x y z For example, f S = {1, 2, 3, 4, 5, 6} and C = {{1, 4, 6}, {2, 4, 6}, {2, 3, 5}}, then an nstance of Partton nto Trangles s obtaned as follows

23 It s not dffcult to check that f Exact Cover by 3-Sets has an answer yes (e.g., {{1, 4, 6}, {2, 3, 5}} s a partton of S), then Partton nto Trangles has an answer yes (the trangles are shown wth bold edges). Also, f Partton nto Trangles has an answer yes, then Exact Cover by 3-Sets has an answer yes. Exercse 8. Read Example 8-9 on page 353 of the textbook. (1) Gve a reducton from Satsfablty to 3-Satsfablty. (2) Illustrate the reducton by an example. (3) Verfy the reducton. 23

24 Sometmes, addtonal structures are requred, whle usng the technque of local replacement. Ex. Sequencng wthn Intervals Instance : A fnte set T of tasks and for each t T, a release tme r(t) Z + {0}, a deadlne d(t) Z +, and a length l(t) Z +. Queston : Does there exst a feasble schedule for T,.e., a functon f : T Z + such that for each t T, f(t) r(t), f(t) + l(t) d(t), and f(t ) + l(t ) f(t) or f(t) + l(t) f(t ) for each t T {t}? (It means that the task t, whch s executed from tme f(t) to f(t) + l(t), cannot start executon untl tme r(t), must be completed by tme d(t), and ts executon cannot overlap the executon of any other task t.) 24

25 Partton Sequencng wthn Intervals s shown below. An arbtrary nstance of Partton : a multset B = {b 1, b 2,, b n } of postve ntegers. Consder each b (1 n) a basc unt, and let m = 1 n b. Construct an nstance of Sequencng wthn Intervals as follow : each b corresponds to a task t wth r(t ) = 0, d(t ) = m + 1, and l(t ) = b. An addtonal structure : a task t% wth r( t% ) = m/2, d( t% ) = (m+1)/2, and l( t% ) = 1. m should be even (for otherwse, r( t% ) = d( t% ),.e., t s mpossble to schedule t% ) 25

26 r( t% ) = m/2, d( t% ) = (m/2) + 1 f ( t% ) must be m/2. m 2 m 2 t% 0 m m m + 1 Tme Partton has the answer yes f and only f Sequencng wthn Intervals has the answer yes. 26

27 Component Desgn Whle showng Π Π, component desgn s smlar to local replacement n replacng the structures (.e., basc unts) of Π wth other structures, n order to obtan an nstance of Π. Usually, component desgn adopts multple knds of basc unts, and dfferent basc unts are replaced wth dfferent structures. Ex. Vertex Cover Instance : An undrected graph G = (V, E) and a postve nteger k V. Queston : Does G contan a vertex cover of sze at most k,.e., a subset V V such that V k and for each (u, v) E, at least one of u and v belongs to V? 27

28 For example, {1, 3}, {1, 2, 3} and {1, 2, 4, 5} are three vertex covers of the followng graph. If k 2, the answer s yes. If k = 1, the answer s no. We show below 3-Satsfablty Vertex Cover. 3-Satsfablty Instance : A set U of varables and a collecton C = {c 1, c 2,, c m } of clauses over U, where each clause of C contans three lterals. Queston : Is there a satsfyng truth assgnment for C? 28

29 For example, when U = {x 1, x 2, x 3 } and C = {x 1 x 2 x 3, x 1 x 2 x 3, x 1 x 2 x 3 }, the answer s yes, because the assgnment of U : x 1 F, x 2 F, and x 3 T, can satsfy C (.e., (x 1 x 2 x 3 ) ( x 1 x 2 x 3 ) (x 1 x 2 x 3 ) = T). Let U = {u 1, u 2,, u n } and C = {c 1, c 2,, c m } be an arbtrary nstance of 3-Satsfablty. For each u U, construct a component T = (V, E ), where V = {u, u } and E = {(u, For each c j C, construct a component S j = u )}. (V j, E j ), where V j = {a 1 [j], a 2 [j], a 3 [j]} and E j = {(a 1 [j], a 2 [j]), (a 1 [j], a 3 [j]), (a 2 [j], a 3 [j])}. For each c j C, construct an edge set E j = {(a 1 [j], x j ), (a 2 [j], y j ), (a 3 [j], z j )}, where x j, y j and z j are the three lterals n c j. 29

30 An nstance of Vertex Cover can be constructed as G = (V, E) and k = n + 2m, where V = ( U n ) ( U m V' ) and =1 V j=1 j E = ( U n ) ( U m =1 E j=1 E' j ) ( U m E'' ). j=1 j For example, f U = {u 1, u 2, u 3, u 4 } and C = {u 1 u 3 u 4, u 1 u 2 u 4 }, then the followng nstance of Vertex Cover s constructed, where k = 8. 30

31 Each edge n E j represents a satsfyng truth assgnment for c j. For example, (u 1, a 1 [1]) E 1 mples that u 1 T can satsfy c 1. Any vertex cover V V of G contans at least one from {u, from {a 1 [j], a 2 [j], a 3 [j]}. u } and at least two V n + 2m = k As explaned below, C s satsfable f and only f G has a vertex cover V V wth V k. 31

32 C s satsfable V V wth V k exsts Consder the example above, where u 1 T, u 2 T, u 3 T, and u 4 T can satsfy C. nclude u 1, u 2, u 3, u 4 n V In order to make V a vertex cover, V must be augmented wth two vertces from each set {a 1 [j], a 2 [j], a 3 [j]}, whle coverng all edges n E j. augment V wth any two from {a 1 [1], a 2 [1], a 3 [1]} and a 1 [2], a 2 [2] (or a 1 [2], a 3 [2]) from {a 1 [2], a 2 [2], a 3 [2]} (a 1 [2] must be ncluded n V, n order to cover the edge (u 1, a 1 [2])) 32

33 V V wth V k exsts C s satsfable V contans exactly k = n + 2m vertces : one for each {u, u } and two for each {a 1 [j], a 2 [j], a 3 [j]}. Consder the example above, where k = 8 and V = {u 1, u 2, u 3, u 4, a 1 [1], a 3 [1], a 1 [2], a 3 [2]} s a vertex cover. u 1 T, u 2 T, u 3 T and u 4 T can satsfy C (u 1, u 2, u 3, u 4 V ) Snce two (e.g., a 1 [1] and a 3 [1]) from {a 1 [j], a 2 [j], a 3 [j]} are ncluded n V, the other (e.g., a 2 [1]) must be connected to u or ncluded n V. u (e.g., u 3 ) that s each c j s satsfable. 33

34 Ex. Mnmum Tardness Sequencng Instance : A fnte set T of tasks, where each t T has length 1 and deadlne d(t) Z +, a partal order p on T, and a non-negatve nteger r T. Queston : Is there a schedule f : T {0, 1,, T 1} such that f(t) f(t ) f t t, f(t) < f(t ) f t p t, and {t T : f(t) + 1 > d(t)} r? A task t T s tardy, f f(t) + 1 > d(t). The schedule f s requred not to cause more than r tasks tardy. We show below Clque Mnmum Tardness Sequencng. 34

35 Clque Instance : An undrected graph G = (V, E) and a postve nteger k V. Queston : Does there exst a subset V V such that V k and every two vertces of V are adjacent n G? Let G = (V, E) and k V be an arbtrary nstance of Clque. An nstance of Mnmum Tardness Sequencng can be constructed as follows. T = V E; r = E k(k 1) / 2; v p e v V, e E, and v s an endpont of e; d(v) = V + E for v V, and d(e) = k(k + 1) / 2 for e E. 35

36 a clque of sze k for G a feasble schedule for T Suppose that G = (V, E ) s a k-vertex complete subgraph of G ( V = k and E = k(k 1)/2). A feasble schedule s shown below. Tasks n V and n E are not tardy. There are at most E E = E k(k 1)/2 tardy tasks. a feasble schedule for T a clque of sze k for G Suppose that f s a feasble schedule, and there are x tasks from V and y tasks from E scheduled n {0, 1,, (k(k + 1) / 2) 1} under f. 36

37 Then, x + y = k(k + 1) / 2. (1) Snce only tasks n E may be tardy, we have E y E k(k 1) / 2 (= r). y k(k 1) / 2 (2) Wth (1) and (2), we have x (k(k + 1) / 2) (k(k 1) / 2) = k. (3) The only stuaton that both (2) and (3) hold wth the restrcton of p s when x = k, y = k(k 1) / 2, and the k vertces together wth the k(k 1) / 2 edges form a complete subgraph of G. 37

38 Exercse 9. Read Example 8-10 on page 359 of the textbook. (1) Gve a reducton from a satsfablty problem where each clause has at most three lterals to the chromatc number problem. (2) Illustrate the reducton by an example. (3) Verfy the reducton. Exercse 10. Read Theorem 3.5 on page 60 of Ref. (1). (1) Gve a reducton from 3-Dmensonal Matchng to Partton. (2) Illustrate the reducton by an example. (3) Verfy the reducton. 38

39 A Proof Technque for NP- Completeness of Subproblems Suppose that Π s an NP-complete problem and Π s a restrcted subproblem of Π. A proof technque, whch s based on local replacement, for the NP-completeness of Π s ntroduced. Ex. Graph 3-Colorablty Instance : An undrected graph G = (V, E). Queston : Is G 3-colorable,.e., does there exst a functon f : V {1, 2, 3} such that f(u) f(v) for all edges (u, v) E? Graph 3-Colorablty wth Degrees at Most Four s a restrcted subproblem of Graph 3-Colorablty where each vertex degree of G s at most four. 39

40 For example, the followng graph, denoted by H 3, s 3-colorable, and n each 3-colorng, the three endponts of the largest trangle are assgned wth the same color. Let H k be the concatenaton of k 2 H 3 s, where k 3. For example, H 5 s depcted as follows. 40

41 H k has k outlets (.e., the vertces of degree 2). H k s 3-colorable and n each 3-colorng, the k outlets are assgned wth the same color. Next we show Graph 3-Colorablty Graph 3-Colorablty wth Degrees at Most Four. Suppose that G = (V, E) s an arbtrary nstance of Graph 3-Colorablty. An nstance G = (V, E ) of Graph 3-Colorablty wth Degrees at Most Four can be obtaned by sequentally replacng each vertex of G whose degree s k > 4 wth H k. 41

42 For example, It s easy to see that G s 3-colorable f and only f G s 3-colorable. 42

43 Planar Graph 3-Colorablty s a restrcted subproblem of Graph 3-Colorablty where G s planar. We show Graph 3-Colorablty Planar Graph 3-Colorablty below. Let H denote the followng graph. Notce that H s 3-colorable, and any 3-colorng f of H has f(x) = f(x ) and f(y) = f(y ). Besdes, there exst 3-colorngs f 1 and f 2 of H wth f 1 (x) = f 1 (x ) = f 1 (y) = f 1 (y ) and f 2 (x) = f 2 (x ) f 2 (y) = f 2 (y ). 43

44 Suppose that G = (V, E) s an arbtrary nstance of Graph 3-Colorablty. An nstance G = (V, E ) of Planar Graph 3-Colorablty can be obtaned by performng the followng replacement on the edge crossngs of each edge (u, v) E. It s not dffcult to check that G s 3-colorable f and only f G s 3-colorable. 44

45 More Examples Ex. VLSI Dscrete Layout Instance : A set R = {r 1, r 2,, r n } of rectangles, where each r s of sze h w, and an nteger A > 0. Queston : Is there a placement of R on the plane satsfyng the followng condtons: (1) each vertex of r has an ntegral (x, y)-coordnate; (2) each lne of r s parallel to the x-axs or y-axs; (3) no two rectangles overlap; (4) every two neghborng rectangles are one dstant from each other; (5) R can be covered by a rectangle of area at most A? 45

46 For example, f n = 5, r 1 : 3 5, r 2 : 5 12, r 3 : 5 6, r 4 : 3 6, r 5 : 4 7, and A = 210, then the answer s affrmatve, because the fve rectangles can be covered by a rectangle of sze We show below Bn Packng VLSI Dscrete Layout. 46

47 Bn Packng Instance : A set U = {u 1, u 2,, u n } of tems, where each u has sze s > 0, and a set B = {b 1, b 2,, b m } of bns, where each b j has capacty c > 0. Queston : Is there a dstrbuton of U over B such that the tems wthn the same bn has total sze at most c? For example, f n = 10, (c 1, c 2,, c 10 ) = (2, 7, 5, 8, 6, 8, 5, 4, 8, 6), m = 3, and c = 20, then the answer s affrmatve. 47

48 Let U = {u 1, u 2,, u n } and B = {b 1, b 2,, b m } be an arbtrary nstance of Bn Packng. An nstance of VLSI Dscrete Layout can be constructed as follows. For each u (1 n), construct r of sze 1 ((2m + 1)s 1). Construct r n+1 of sze h w, where h = 2mw + 1 and w = (2m + 1)c 1. Set A = (h + 2m)w. Bn Packng yes VLSI Dscrete Layout yes Suppose that there are n tems stored n b whose szes are d, 1, d, 2, n where 1 m and d, r= 1, r c. d,, n 48

49 The placement of the correspondng rectangles wth respect to b s as follows. (placement wth respect to b ) The placement of all n + 1 rectangles s as follows. 49

50 The wdth of the placement wth respect to b s computed as follows. n (( ( n 1) + 2 m + 1 d 1) r= 1 ), r n = ( n 1) n + (2 m +1 ) d, r r= 1 (2m + 1)c 1 = w. The area of the rectangle coverng all n + 1 rectangles s at most (2m + h)w = A. VLSI Dscrete Layout yes Bn Packng yes Suppose that r 1, r 2,, r n+1 can be covered by a rectangle r% of area at most A. There are the followng three facts. 50

51 Fact 1. The wdth of r% s w, whch s the wdth of r n+1. Proof. Suppose to the contrary that the wdth of r% s at least w + 1. Snce the heght of r n+1 s h, the area of r% s at least h(w + 1) = hw + h = hw + (2mw + 1) = (h + 2m)w + 1 = A + 1, a contradcton! Fact 2. Each r (1 n) s placed wth heght 1, not of heght (2m + 1)s 1. Proof. If some r s placed wth heght (2m + 1)s 1, then the heght of r% s at least h + ((2m + 1)s 1) + 1 = h + (2m + 1)s. 51

52 So, the area of r% s at least (h + (2m + 1)s )w = hw + 2mws + ws = (2ms + h)w + ws > A + ws a contradcton! Fact 3. The total number of rows occuped by r 1, r 2,, r n s at most m. Proof. If t s not true, then the area of r% s larger than (2m + h)w = A, a contradcton. Accordng to the three facts, the placement of r 1, r 2,, r n+1 s lke the one shown on page 49. Then, put the tems correspondng to the rectangles of row nto b. 52

53 Suppose that there are n tems stored n b whose szes are d, 1, d, 2,, d., n Snce the wdth of row (1 m) s at most w, we have w (= (2m + 1)c 1) n (( ( n 2 m + d, r r= 1 1) + 1 1) n = ( (2 ), r r= 1 n 1) + m +1 d n n = (2 m ) d, r r= ) n d, r r= 1 c 53

Problem Set 9 Solutions

Problem Set 9 Solutions Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem

More information

Calculation of time complexity (3%)

Calculation of time complexity (3%) Problem 1. (30%) Calculaton of tme complexty (3%) Gven n ctes, usng exhaust search to see every result takes O(n!). Calculaton of tme needed to solve the problem (2%) 40 ctes:40! dfferent tours 40 add

More information

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009 College of Computer & Informaton Scence Fall 2009 Northeastern Unversty 20 October 2009 CS7880: Algorthmc Power Tools Scrbe: Jan Wen and Laura Poplawsk Lecture Outlne: Prmal-dual schema Network Desgn:

More information

Maximizing the number of nonnegative subsets

Maximizing the number of nonnegative subsets Maxmzng the number of nonnegatve subsets Noga Alon Hao Huang December 1, 213 Abstract Gven a set of n real numbers, f the sum of elements of every subset of sze larger than k s negatve, what s the maxmum

More information

Statistical Mechanics and Combinatorics : Lecture III

Statistical Mechanics and Combinatorics : Lecture III Statstcal Mechancs and Combnatorcs : Lecture III Dmer Model Dmer defntons Defnton A dmer coverng (perfect matchng) of a fnte graph s a set of edges whch covers every vertex exactly once, e every vertex

More information

Solutions to exam in SF1811 Optimization, Jan 14, 2015

Solutions to exam in SF1811 Optimization, Jan 14, 2015 Solutons to exam n SF8 Optmzaton, Jan 4, 25 3 3 O------O -4 \ / \ / The network: \/ where all lnks go from left to rght. /\ / \ / \ 6 O------O -5 2 4.(a) Let x = ( x 3, x 4, x 23, x 24 ) T, where the varable

More information

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017 U.C. Berkeley CS94: Beyond Worst-Case Analyss Handout 4s Luca Trevsan September 5, 07 Summary of Lecture 4 In whch we ntroduce semdefnte programmng and apply t to Max Cut. Semdefnte Programmng Recall that

More information

Finding Dense Subgraphs in G(n, 1/2)

Finding Dense Subgraphs in G(n, 1/2) Fndng Dense Subgraphs n Gn, 1/ Atsh Das Sarma 1, Amt Deshpande, and Rav Kannan 1 Georga Insttute of Technology,atsh@cc.gatech.edu Mcrosoft Research-Bangalore,amtdesh,annan@mcrosoft.com Abstract. Fndng

More information

MATH 5707 HOMEWORK 4 SOLUTIONS 2. 2 i 2p i E(X i ) + E(Xi 2 ) ä i=1. i=1

MATH 5707 HOMEWORK 4 SOLUTIONS 2. 2 i 2p i E(X i ) + E(Xi 2 ) ä i=1. i=1 MATH 5707 HOMEWORK 4 SOLUTIONS CİHAN BAHRAN 1. Let v 1,..., v n R m, all lengths v are not larger than 1. Let p 1,..., p n [0, 1] be arbtrary and set w = p 1 v 1 + + p n v n. Then there exst ε 1,..., ε

More information

Xiangwen Li. March 8th and March 13th, 2001

Xiangwen Li. March 8th and March 13th, 2001 CS49I Approxaton Algorths The Vertex-Cover Proble Lecture Notes Xangwen L March 8th and March 3th, 00 Absolute Approxaton Gven an optzaton proble P, an algorth A s an approxaton algorth for P f, for an

More information

APPENDIX A Some Linear Algebra

APPENDIX A Some Linear Algebra APPENDIX A Some Lnear Algebra The collecton of m, n matrces A.1 Matrces a 1,1,..., a 1,n A = a m,1,..., a m,n wth real elements a,j s denoted by R m,n. If n = 1 then A s called a column vector. Smlarly,

More information

A Simple Research of Divisor Graphs

A Simple Research of Divisor Graphs The 29th Workshop on Combnatoral Mathematcs and Computaton Theory A Smple Research o Dvsor Graphs Yu-png Tsao General Educaton Center Chna Unversty o Technology Tape Tawan yp-tsao@cuteedutw Tape Tawan

More information

5 The Rational Canonical Form

5 The Rational Canonical Form 5 The Ratonal Canoncal Form Here p s a monc rreducble factor of the mnmum polynomal m T and s not necessarly of degree one Let F p denote the feld constructed earler n the course, consstng of all matrces

More information

= z 20 z n. (k 20) + 4 z k = 4

= z 20 z n. (k 20) + 4 z k = 4 Problem Set #7 solutons 7.2.. (a Fnd the coeffcent of z k n (z + z 5 + z 6 + z 7 + 5, k 20. We use the known seres expanson ( n+l ( z l l z n below: (z + z 5 + z 6 + z 7 + 5 (z 5 ( + z + z 2 + z + 5 5

More information

(k,?)-sandwich Problems: why not ask for special kinds of bread?

(k,?)-sandwich Problems: why not ask for special kinds of bread? Couto-Fara-Klen-Prott-Noguera MC 2014/4/9 19:04 page 17 #1 Matemátca Contemporânea, Vol. 42, 17 26 c?2014, Socedade Braslera de Matemátca (k,?)-sandwch Problems: why not ask for specal knds of bread? F.

More information

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens THE CHINESE REMAINDER THEOREM KEITH CONRAD We should thank the Chnese for ther wonderful remander theorem. Glenn Stevens 1. Introducton The Chnese remander theorem says we can unquely solve any par of

More information

Volume 18 Figure 1. Notation 1. Notation 2. Observation 1. Remark 1. Remark 2. Remark 3. Remark 4. Remark 5. Remark 6. Theorem A [2]. Theorem B [2].

Volume 18 Figure 1. Notation 1. Notation 2. Observation 1. Remark 1. Remark 2. Remark 3. Remark 4. Remark 5. Remark 6. Theorem A [2]. Theorem B [2]. Bulletn of Mathematcal Scences and Applcatons Submtted: 016-04-07 ISSN: 78-9634, Vol. 18, pp 1-10 Revsed: 016-09-08 do:10.1805/www.scpress.com/bmsa.18.1 Accepted: 016-10-13 017 ScPress Ltd., Swtzerland

More information

A new construction of 3-separable matrices via an improved decoding of Macula s construction

A new construction of 3-separable matrices via an improved decoding of Macula s construction Dscrete Optmzaton 5 008 700 704 Contents lsts avalable at ScenceDrect Dscrete Optmzaton journal homepage: wwwelsevercom/locate/dsopt A new constructon of 3-separable matrces va an mproved decodng of Macula

More information

First day August 1, Problems and Solutions

First day August 1, Problems and Solutions FOURTH INTERNATIONAL COMPETITION FOR UNIVERSITY STUDENTS IN MATHEMATICS July 30 August 4, 997, Plovdv, BULGARIA Frst day August, 997 Problems and Solutons Problem. Let {ε n } n= be a sequence of postve

More information

HMMT February 2016 February 20, 2016

HMMT February 2016 February 20, 2016 HMMT February 016 February 0, 016 Combnatorcs 1. For postve ntegers n, let S n be the set of ntegers x such that n dstnct lnes, no three concurrent, can dvde a plane nto x regons (for example, S = {3,

More information

arxiv: v2 [cs.ds] 1 Feb 2017

arxiv: v2 [cs.ds] 1 Feb 2017 Polynomal-tme Algorthms for the Subset Feedback Vertex Set Problem on Interval Graphs and Permutaton Graphs Chars Papadopoulos Spyrdon Tzmas arxv:170104634v2 [csds] 1 Feb 2017 Abstract Gven a vertex-weghted

More information

Anti-van der Waerden numbers of 3-term arithmetic progressions.

Anti-van der Waerden numbers of 3-term arithmetic progressions. Ant-van der Waerden numbers of 3-term arthmetc progressons. Zhanar Berkkyzy, Alex Schulte, and Mchael Young Aprl 24, 2016 Abstract The ant-van der Waerden number, denoted by aw([n], k), s the smallest

More information

2 More examples with details

2 More examples with details Physcs 129b Lecture 3 Caltech, 01/15/19 2 More examples wth detals 2.3 The permutaton group n = 4 S 4 contans 4! = 24 elements. One s the dentty e. Sx of them are exchange of two objects (, j) ( to j and

More information

The Minimum Universal Cost Flow in an Infeasible Flow Network

The Minimum Universal Cost Flow in an Infeasible Flow Network Journal of Scences, Islamc Republc of Iran 17(2): 175-180 (2006) Unversty of Tehran, ISSN 1016-1104 http://jscencesutacr The Mnmum Unversal Cost Flow n an Infeasble Flow Network H Saleh Fathabad * M Bagheran

More information

Lecture 12: Discrete Laplacian

Lecture 12: Discrete Laplacian Lecture 12: Dscrete Laplacan Scrbe: Tanye Lu Our goal s to come up wth a dscrete verson of Laplacan operator for trangulated surfaces, so that we can use t n practce to solve related problems We are mostly

More information

Edge Isoperimetric Inequalities

Edge Isoperimetric Inequalities November 7, 2005 Ross M. Rchardson Edge Isopermetrc Inequaltes 1 Four Questons Recall that n the last lecture we looked at the problem of sopermetrc nequaltes n the hypercube, Q n. Our noton of boundary

More information

Theoretical Computer Science

Theoretical Computer Science Theoretcal Computer Scence 412 (2011) 1263 1274 Contents lsts avalable at ScenceDrect Theoretcal Computer Scence journal homepage: www.elsever.com/locate/tcs Popular matchngs wth varable tem copes Telkepall

More information

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 3, Issue 1, July 2013

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 3, Issue 1, July 2013 ISSN: 2277-375 Constructon of Trend Free Run Orders for Orthogonal rrays Usng Codes bstract: Sometmes when the expermental runs are carred out n a tme order sequence, the response can depend on the run

More information

Low-Connectivity Network Design on Series-Parallel Graphs

Low-Connectivity Network Design on Series-Parallel Graphs Low-Connectvty Network Desgn on Seres-Parallel Graphs S. Raghavan The Robert H. Smth School of Busness, Van Munchng Hall, Unversty of Maryland, College Park, Maryland 20742 Network survvablty s a crtcal

More information

Distance Three Labelings of Trees

Distance Three Labelings of Trees Dstance Three Labelngs of Trees Jří Fala Petr A. Golovach Jan Kratochvíl Bernard Ldcký Danël Paulusma Abstract An L(2, 1, 1)-labelng of a graph G assgns nonnegatve ntegers to the vertces of G n such a

More information

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0 MODULE 2 Topcs: Lnear ndependence, bass and dmenson We have seen that f n a set of vectors one vector s a lnear combnaton of the remanng vectors n the set then the span of the set s unchanged f that vector

More information

Real-Time Systems. Multiprocessor scheduling. Multiprocessor scheduling. Multiprocessor scheduling

Real-Time Systems. Multiprocessor scheduling. Multiprocessor scheduling. Multiprocessor scheduling Real-Tme Systems Multprocessor schedulng Specfcaton Implementaton Verfcaton Multprocessor schedulng -- -- Global schedulng How are tasks assgned to processors? Statc assgnment The processor(s) used for

More information

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could

More information

More metrics on cartesian products

More metrics on cartesian products More metrcs on cartesan products If (X, d ) are metrc spaces for 1 n, then n Secton II4 of the lecture notes we defned three metrcs on X whose underlyng topologes are the product topology The purpose of

More information

2.3 Nilpotent endomorphisms

2.3 Nilpotent endomorphisms s a block dagonal matrx, wth A Mat dm U (C) In fact, we can assume that B = B 1 B k, wth B an ordered bass of U, and that A = [f U ] B, where f U : U U s the restrcton of f to U 40 23 Nlpotent endomorphsms

More information

Lecture 3. Ax x i a i. i i

Lecture 3. Ax x i a i. i i 18.409 The Behavor of Algorthms n Practce 2/14/2 Lecturer: Dan Spelman Lecture 3 Scrbe: Arvnd Sankar 1 Largest sngular value In order to bound the condton number, we need an upper bound on the largest

More information

On the Multicriteria Integer Network Flow Problem

On the Multicriteria Integer Network Flow Problem BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 5, No 2 Sofa 2005 On the Multcrtera Integer Network Flow Problem Vassl Vasslev, Marana Nkolova, Maryana Vassleva Insttute of

More information

Lecture 20: Lift and Project, SDP Duality. Today we will study the Lift and Project method. Then we will prove the SDP duality theorem.

Lecture 20: Lift and Project, SDP Duality. Today we will study the Lift and Project method. Then we will prove the SDP duality theorem. prnceton u. sp 02 cos 598B: algorthms and complexty Lecture 20: Lft and Project, SDP Dualty Lecturer: Sanjeev Arora Scrbe:Yury Makarychev Today we wll study the Lft and Project method. Then we wll prove

More information

arxiv: v1 [cs.gt] 14 Mar 2019

arxiv: v1 [cs.gt] 14 Mar 2019 Stable Roommates wth Narcssstc, Sngle-Peaked, and Sngle-Crossng Preferences Robert Bredereck 1, Jehua Chen 2, Ugo Paavo Fnnendahl 1, and Rolf Nedermeer 1 arxv:1903.05975v1 [cs.gt] 14 Mar 2019 1 TU Berln,

More information

Complete subgraphs in multipartite graphs

Complete subgraphs in multipartite graphs Complete subgraphs n multpartte graphs FLORIAN PFENDER Unverstät Rostock, Insttut für Mathematk D-18057 Rostock, Germany Floran.Pfender@un-rostock.de Abstract Turán s Theorem states that every graph G

More information

CHAPTER III Neural Networks as Associative Memory

CHAPTER III Neural Networks as Associative Memory CHAPTER III Neural Networs as Assocatve Memory Introducton One of the prmary functons of the bran s assocatve memory. We assocate the faces wth names, letters wth sounds, or we can recognze the people

More information

n ). This is tight for all admissible values of t, k and n. k t + + n t

n ). This is tight for all admissible values of t, k and n. k t + + n t MAXIMIZING THE NUMBER OF NONNEGATIVE SUBSETS NOGA ALON, HAROUT AYDINIAN, AND HAO HUANG Abstract. Gven a set of n real numbers, f the sum of elements of every subset of sze larger than k s negatve, what

More information

arxiv: v3 [cs.dm] 7 Jul 2012

arxiv: v3 [cs.dm] 7 Jul 2012 Perfect matchng n -unform hypergraphs wth large vertex degree arxv:1101.580v [cs.dm] 7 Jul 01 Imdadullah Khan Department of Computer Scence College of Computng and Informaton Systems Umm Al-Qura Unversty

More information

THE WEIGHTED WEAK TYPE INEQUALITY FOR THE STRONG MAXIMAL FUNCTION

THE WEIGHTED WEAK TYPE INEQUALITY FOR THE STRONG MAXIMAL FUNCTION THE WEIGHTED WEAK TYPE INEQUALITY FO THE STONG MAXIMAL FUNCTION THEMIS MITSIS Abstract. We prove the natural Fefferman-Sten weak type nequalty for the strong maxmal functon n the plane, under the assumpton

More information

Combining Constraint Programming and Integer Programming

Combining Constraint Programming and Integer Programming Combnng Constrant Programmng and Integer Programmng GLOBAL CONSTRAINT OPTIMIZATION COMPONENT Specal Purpose Algorthm mn c T x +(x- 0 ) x( + ()) =1 x( - ()) =1 FILTERING ALGORITHM COST-BASED FILTERING ALGORITHM

More information

Caps and Colouring Steiner Triple Systems

Caps and Colouring Steiner Triple Systems Desgns, Codes and Cryptography, 13, 51 55 (1998) c 1998 Kluwer Academc Publshers, Boston. Manufactured n The Netherlands. Caps and Colourng Stener Trple Systems AIDEN BRUEN* Department of Mathematcs, Unversty

More information

Min Cut, Fast Cut, Polynomial Identities

Min Cut, Fast Cut, Polynomial Identities Randomzed Algorthms, Summer 016 Mn Cut, Fast Cut, Polynomal Identtes Instructor: Thomas Kesselhem and Kurt Mehlhorn 1 Mn Cuts n Graphs Lecture (5 pages) Throughout ths secton, G = (V, E) s a mult-graph.

More information

Changing Topology and Communication Delays

Changing Topology and Communication Delays Prepared by F.L. Lews Updated: Saturday, February 3, 00 Changng Topology and Communcaton Delays Changng Topology The graph connectvty or topology may change over tme. Let G { G, G,, G M } wth M fnte be

More information

Module 2. Random Processes. Version 2 ECE IIT, Kharagpur

Module 2. Random Processes. Version 2 ECE IIT, Kharagpur Module Random Processes Lesson 6 Functons of Random Varables After readng ths lesson, ou wll learn about cdf of functon of a random varable. Formula for determnng the pdf of a random varable. Let, X be

More information

COMPLEX NUMBERS AND QUADRATIC EQUATIONS

COMPLEX NUMBERS AND QUADRATIC EQUATIONS COMPLEX NUMBERS AND QUADRATIC EQUATIONS INTRODUCTION We know that x 0 for all x R e the square of a real number (whether postve, negatve or ero) s non-negatve Hence the equatons x, x, x + 7 0 etc are not

More information

Mixed-integer vertex covers on bipartite graphs

Mixed-integer vertex covers on bipartite graphs Mxed-nteger vertex covers on bpartte graphs Mchele Confort, Bert Gerards, Gacomo Zambell November, 2006 Abstract Let A be the edge-node ncdence matrx of a bpartte graph G = (U, V ; E), I be a subset the

More information

ECE559VV Project Report

ECE559VV Project Report ECE559VV Project Report (Supplementary Notes Loc Xuan Bu I. MAX SUM-RATE SCHEDULING: THE UPLINK CASE We have seen (n the presentaton that, for downlnk (broadcast channels, the strategy maxmzng the sum-rate

More information

Outline and Reading. Dynamic Programming. Dynamic Programming revealed. Computing Fibonacci. The General Dynamic Programming Technique

Outline and Reading. Dynamic Programming. Dynamic Programming revealed. Computing Fibonacci. The General Dynamic Programming Technique Outlne and Readng Dynamc Programmng The General Technque ( 5.3.2) -1 Knapsac Problem ( 5.3.3) Matrx Chan-Product ( 5.3.1) Dynamc Programmng verson 1.4 1 Dynamc Programmng verson 1.4 2 Dynamc Programmng

More information

Every planar graph is 4-colourable a proof without computer

Every planar graph is 4-colourable a proof without computer Peter Dörre Department of Informatcs and Natural Scences Fachhochschule Südwestfalen (Unversty of Appled Scences) Frauenstuhlweg 31, D-58644 Iserlohn, Germany Emal: doerre(at)fh-swf.de Mathematcs Subject

More information

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur Module 3 LOSSY IMAGE COMPRESSION SYSTEMS Verson ECE IIT, Kharagpur Lesson 6 Theory of Quantzaton Verson ECE IIT, Kharagpur Instructonal Objectves At the end of ths lesson, the students should be able to:

More information

Lecture 10: May 6, 2013

Lecture 10: May 6, 2013 TTIC/CMSC 31150 Mathematcal Toolkt Sprng 013 Madhur Tulsan Lecture 10: May 6, 013 Scrbe: Wenje Luo In today s lecture, we manly talked about random walk on graphs and ntroduce the concept of graph expander,

More information

Simultaneous Optimization of Berth Allocation, Quay Crane Assignment and Quay Crane Scheduling Problems in Container Terminals

Simultaneous Optimization of Berth Allocation, Quay Crane Assignment and Quay Crane Scheduling Problems in Container Terminals Smultaneous Optmzaton of Berth Allocaton, Quay Crane Assgnment and Quay Crane Schedulng Problems n Contaner Termnals Necat Aras, Yavuz Türkoğulları, Z. Caner Taşkın, Kuban Altınel Abstract In ths work,

More information

NUMERICAL DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the

More information

Report on Image warping

Report on Image warping Report on Image warpng Xuan Ne, Dec. 20, 2004 Ths document summarzed the algorthms of our mage warpng soluton for further study, and there s a detaled descrpton about the mplementaton of these algorthms.

More information

Minimum Activation Cost Edge-Disjoint Paths in Graphs with Bounded Tree-Width

Minimum Activation Cost Edge-Disjoint Paths in Graphs with Bounded Tree-Width Mnmum Actvaton Cost Edge-Dsont Paths n Graphs wth Bounded Tree-Wdth Hasna Mohsen Alqahtan (B) and Thomas Erlebach Department of Computer Scence, Unversty of Lecester, Lecester, UK {hmha1,terlebach}@lecester.ac.uk

More information

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction ECONOMICS 5* -- NOTE (Summary) ECON 5* -- NOTE The Multple Classcal Lnear Regresson Model (CLRM): Specfcaton and Assumptons. Introducton CLRM stands for the Classcal Lnear Regresson Model. The CLRM s also

More information

Graph Reconstruction by Permutations

Graph Reconstruction by Permutations Graph Reconstructon by Permutatons Perre Ille and Wllam Kocay* Insttut de Mathémathques de Lumny CNRS UMR 6206 163 avenue de Lumny, Case 907 13288 Marselle Cedex 9, France e-mal: lle@ml.unv-mrs.fr Computer

More information

A New View on Rural Postman Based on Eulerian Extension and Matching

A New View on Rural Postman Based on Eulerian Extension and Matching A New Vew on Rural Postman Based on Euleran Extenson and Matchng Manuel Sorge, René van Bevern, Rolf Nedermeer, and Mathas Weller Insttut für Softwaretechnk und heoretsche Informatk, U Berln {manuel.sorge,

More information

The Order Relation and Trace Inequalities for. Hermitian Operators

The Order Relation and Trace Inequalities for. Hermitian Operators Internatonal Mathematcal Forum, Vol 3, 08, no, 507-57 HIKARI Ltd, wwwm-hkarcom https://doorg/0988/mf088055 The Order Relaton and Trace Inequaltes for Hermtan Operators Y Huang School of Informaton Scence

More information

Stanford University CS254: Computational Complexity Notes 7 Luca Trevisan January 29, Notes for Lecture 7

Stanford University CS254: Computational Complexity Notes 7 Luca Trevisan January 29, Notes for Lecture 7 Stanford Unversty CS54: Computatonal Complexty Notes 7 Luca Trevsan January 9, 014 Notes for Lecture 7 1 Approxmate Countng wt an N oracle We complete te proof of te followng result: Teorem 1 For every

More information

arxiv: v1 [math.co] 1 Mar 2014

arxiv: v1 [math.co] 1 Mar 2014 Unon-ntersectng set systems Gyula O.H. Katona and Dánel T. Nagy March 4, 014 arxv:1403.0088v1 [math.co] 1 Mar 014 Abstract Three ntersecton theorems are proved. Frst, we determne the sze of the largest

More information

Week 2. This week, we covered operations on sets and cardinality.

Week 2. This week, we covered operations on sets and cardinality. Week 2 Ths week, we covered operatons on sets and cardnalty. Defnton 0.1 (Correspondence). A correspondence between two sets A and B s a set S contaned n A B = {(a, b) a A, b B}. A correspondence from

More information

arxiv: v1 [math.co] 7 Apr 2015

arxiv: v1 [math.co] 7 Apr 2015 Ranbow connecton n some dgraphs Jesús Alva-Samos 1 Juan José Montellano-Ballesteros Abstract arxv:1504.0171v1 [math.co] 7 Apr 015 An edge-coloured graph G s ranbow connected f any two vertces are connected

More information

SL n (F ) Equals its Own Derived Group

SL n (F ) Equals its Own Derived Group Internatonal Journal of Algebra, Vol. 2, 2008, no. 12, 585-594 SL n (F ) Equals ts Own Derved Group Jorge Macel BMCC-The Cty Unversty of New York, CUNY 199 Chambers street, New York, NY 10007, USA macel@cms.nyu.edu

More information

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U)

ANSWERS. Problem 1. and the moment generating function (mgf) by. defined for any real t. Use this to show that E( U) var( U) Econ 413 Exam 13 H ANSWERS Settet er nndelt 9 deloppgaver, A,B,C, som alle anbefales å telle lkt for å gøre det ltt lettere å stå. Svar er gtt . Unfortunately, there s a prntng error n the hnt of

More information

Spectral Graph Theory and its Applications September 16, Lecture 5

Spectral Graph Theory and its Applications September 16, Lecture 5 Spectral Graph Theory and ts Applcatons September 16, 2004 Lecturer: Danel A. Spelman Lecture 5 5.1 Introducton In ths lecture, we wll prove the followng theorem: Theorem 5.1.1. Let G be a planar graph

More information

THE CHVÁTAL-ERDŐS CONDITION AND 2-FACTORS WITH A SPECIFIED NUMBER OF COMPONENTS

THE CHVÁTAL-ERDŐS CONDITION AND 2-FACTORS WITH A SPECIFIED NUMBER OF COMPONENTS Dscussones Mathematcae Graph Theory 27 (2007) 401 407 THE CHVÁTAL-ERDŐS CONDITION AND 2-FACTORS WITH A SPECIFIED NUMBER OF COMPONENTS Guantao Chen Department of Mathematcs and Statstcs Georga State Unversty,

More information

Clustering Affine Subspaces: Algorithms and Hardness

Clustering Affine Subspaces: Algorithms and Hardness Clusterng Affne Subspaces: Algorthms and Hardness Thess by Euwoong Lee In Partal Fulfllment of the Requrements for the Degree of Master of Scence Calforna Insttute of Technology Pasadena, Calforna 01 (Submtted

More information

princeton univ. F 13 cos 521: Advanced Algorithm Design Lecture 3: Large deviations bounds and applications Lecturer: Sanjeev Arora

princeton univ. F 13 cos 521: Advanced Algorithm Design Lecture 3: Large deviations bounds and applications Lecturer: Sanjeev Arora prnceton unv. F 13 cos 521: Advanced Algorthm Desgn Lecture 3: Large devatons bounds and applcatons Lecturer: Sanjeev Arora Scrbe: Today s topc s devaton bounds: what s the probablty that a random varable

More information

Module 9. Lecture 6. Duality in Assignment Problems

Module 9. Lecture 6. Duality in Assignment Problems Module 9 1 Lecture 6 Dualty n Assgnment Problems In ths lecture we attempt to answer few other mportant questons posed n earler lecture for (AP) and see how some of them can be explaned through the concept

More information

Affine transformations and convexity

Affine transformations and convexity Affne transformatons and convexty The purpose of ths document s to prove some basc propertes of affne transformatons nvolvng convex sets. Here are a few onlne references for background nformaton: http://math.ucr.edu/

More information

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

Module 14: THE INTEGRAL Exploring Calculus

Module 14: THE INTEGRAL Exploring Calculus Module 14: THE INTEGRAL Explorng Calculus Part I Approxmatons and the Defnte Integral It was known n the 1600s before the calculus was developed that the area of an rregularly shaped regon could be approxmated

More information

Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition

Single-Facility Scheduling over Long Time Horizons by Logic-based Benders Decomposition Sngle-Faclty Schedulng over Long Tme Horzons by Logc-based Benders Decomposton Elvn Coban and J. N. Hooker Tepper School of Busness, Carnege Mellon Unversty ecoban@andrew.cmu.edu, john@hooker.tepper.cmu.edu

More information

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal Inner Product Defnton 1 () A Eucldean space s a fnte-dmensonal vector space over the reals R, wth an nner product,. Defnton 2 (Inner Product) An nner product, on a real vector space X s a symmetrc, blnear,

More information

Section 8.3 Polar Form of Complex Numbers

Section 8.3 Polar Form of Complex Numbers 80 Chapter 8 Secton 8 Polar Form of Complex Numbers From prevous classes, you may have encountered magnary numbers the square roots of negatve numbers and, more generally, complex numbers whch are the

More information

find (x): given element x, return the canonical element of the set containing x;

find (x): given element x, return the canonical element of the set containing x; COS 43 Sprng, 009 Dsjont Set Unon Problem: Mantan a collecton of dsjont sets. Two operatons: fnd the set contanng a gven element; unte two sets nto one (destructvely). Approach: Canoncal element method:

More information

CSCE 790S Background Results

CSCE 790S Background Results CSCE 790S Background Results Stephen A. Fenner September 8, 011 Abstract These results are background to the course CSCE 790S/CSCE 790B, Quantum Computaton and Informaton (Sprng 007 and Fall 011). Each

More information

Modelli Clamfim Integrali Multipli 7 ottobre 2015

Modelli Clamfim Integrali Multipli 7 ottobre 2015 CLAMFIM Bologna Modell 1 @ Clamfm Integral Multpl 7 ottobre 2015 professor Danele Rtell danele.rtell@unbo.t 1/30? roduct of σ-algebras Let (Ω 1, A 1, µ 1 ), (Ω 2, A 2, µ 2 ) two measure spaces. ut Ω :=

More information

Economics 101. Lecture 4 - Equilibrium and Efficiency

Economics 101. Lecture 4 - Equilibrium and Efficiency Economcs 0 Lecture 4 - Equlbrum and Effcency Intro As dscussed n the prevous lecture, we wll now move from an envronment where we looed at consumers mang decsons n solaton to analyzng economes full of

More information

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons

More information

Operations Research Letters. Simpler analysis of LP extreme points for traveling salesman and survivable network design problems

Operations Research Letters. Simpler analysis of LP extreme points for traveling salesman and survivable network design problems Operatons Research Letters 38 (010) 156 160 Contents lsts avalable at ScenceDrect Operatons Research Letters journal homepage: www.elsever.com/locate/orl Smpler analyss of LP extreme ponts for travelng

More information

Asymmetric Traveling Salesman Path and Directed Latency Problems

Asymmetric Traveling Salesman Path and Directed Latency Problems Asymmetrc Travelng Salesman Path and Drected Latency Problems Zachary Frggstad Mohammad R. Salavatpour Zoya Svtkna February 28, 202 Abstract We study ntegralty gaps and approxmablty of three closely related

More information

On Generalized Gossiping and Broadcasting

On Generalized Gossiping and Broadcasting On Generalzed Gosspng and Broadcastng Samr Khuller, Yoo-Ah Km, and Yung-Chun (Justn) Wan Department of Computer Scence and Insttute for Advanced Computer Studes, Unversty of Maryland, College Park, MD

More information

The computational complexity of the parallel knock-out problem

The computational complexity of the parallel knock-out problem The computatonal complexty of the parallel knock-out problem Hajo Broersma 1 Matthew Johnson 1 Danël Paulusma 1 Ian A. Stewart 1 1 Department of Computer Scence Durham Unversty South Road, Durham, DH1

More information

Problem Do any of the following determine homomorphisms from GL n (C) to GL n (C)?

Problem Do any of the following determine homomorphisms from GL n (C) to GL n (C)? Homework 8 solutons. Problem 16.1. Whch of the followng defne homomomorphsms from C\{0} to C\{0}? Answer. a) f 1 : z z Yes, f 1 s a homomorphsm. We have that z s the complex conjugate of z. If z 1,z 2

More information

The computational complexity of the parallel knock-out problem

The computational complexity of the parallel knock-out problem Theoretcal Computer Scence 393 (2008) 182 195 www.elsever.com/locate/tcs The computatonal complexty of the parallel knock-out problem Hajo Broersma, Matthew Johnson, Danël Paulusma, Ian A. Stewart Department

More information

Unique perfect phylogeny is intractable

Unique perfect phylogeny is intractable Unque perfect phylogeny s ntractable Mchel Habb a, Juraj Stacho b, a LIAFA CNRS and Unversté Pars Dderot Pars VII, Case 7014, 75205 Pars Cedex 13, France b DIMAP and Mathematcs Insttute, Unversty of Warwck,

More information

Bezier curves. Michael S. Floater. August 25, These notes provide an introduction to Bezier curves. i=0

Bezier curves. Michael S. Floater. August 25, These notes provide an introduction to Bezier curves. i=0 Bezer curves Mchael S. Floater August 25, 211 These notes provde an ntroducton to Bezer curves. 1 Bernsten polynomals Recall that a real polynomal of a real varable x R, wth degree n, s a functon of the

More information

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Structure and Drive Paul A. Jensen Copyright July 20, 2003 Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.

More information

Discussion 11 Summary 11/20/2018

Discussion 11 Summary 11/20/2018 Dscusson 11 Summary 11/20/2018 1 Quz 8 1. Prove for any sets A, B that A = A B ff B A. Soluton: There are two drectons we need to prove: (a) A = A B B A, (b) B A A = A B. (a) Frst, we prove A = A B B A.

More information

Documents de Travail du Centre d Economie de la Sorbonne

Documents de Travail du Centre d Economie de la Sorbonne Documents de Traval du Centre d Econome de la Sorbonne Detectng nduced subgraphs Benamn LEVEQUE, Davd Y. LIN, Frédérc MAFFRAY, Ncolas TROTIGNON 27.49 Mason des Scences Économques, 16-112 boulevard de L'Hôptal,

More information

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 12 10/21/2013. Martingale Concentration Inequalities and Applications

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.265/15.070J Fall 2013 Lecture 12 10/21/2013. Martingale Concentration Inequalities and Applications MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.65/15.070J Fall 013 Lecture 1 10/1/013 Martngale Concentraton Inequaltes and Applcatons Content. 1. Exponental concentraton for martngales wth bounded ncrements.

More information

Formulas for the Determinant

Formulas for the Determinant page 224 224 CHAPTER 3 Determnants e t te t e 2t 38 A = e t 2te t e 2t e t te t 2e 2t 39 If 123 A = 345, 456 compute the matrx product A adj(a) What can you conclude about det(a)? For Problems 40 43, use

More information

Outline. Bayesian Networks: Maximum Likelihood Estimation and Tree Structure Learning. Our Model and Data. Outline

Outline. Bayesian Networks: Maximum Likelihood Estimation and Tree Structure Learning. Our Model and Data. Outline Outlne Bayesan Networks: Maxmum Lkelhood Estmaton and Tree Structure Learnng Huzhen Yu janey.yu@cs.helsnk.f Dept. Computer Scence, Unv. of Helsnk Probablstc Models, Sprng, 200 Notces: I corrected a number

More information