Copyright 2000, Kevin Wayne 1
|
|
- Florence McDonald
- 5 years ago
- Views:
Transcription
1 // lgorithmic Paradigms haptr Dynamic Programming rd. Build up a solution incrmntally, myopically optimizing som local critrion. Divid-and-conqur. Brak up a problm into two sub-problms, solv ach sub-problm indpndntly, and combin solution to sub-problms to form solution to original problm. Dynamic programming. Brak up a problm into a sris of ovrlapping sub-problms, and build up solutions to largr and largr sub-problms. Slids by Kvin Wayn. opyright Parson-ddison Wsly. ll rights rsrvd. Rundall Munro Dynamic Programming History Dynamic Programming pplications Bllman. Pionrd th systmatic study of dynamic programming in th 9s. Etymology. Dynamic programming = planning ovr tim. Scrtary of Dfns was hostil to mathmatical rsarch. Bllman sought an imprssiv nam to avoid confrontation. "it's impossibl to us dynamic in a pjorativ sns" "somthing not vn a ongrssman could objct to" Rfrnc: Bllman, R. E. Ey of th Hurrican, n utobiography. ras. Bioinformatics. ontrol thory. Information thory. Oprations rsarch. omputr scinc: thory, graphics, I, systms,. Som famous dynamic programming algorithms. Vitrbi for hiddn Markov modls. nix diff for comparing two fils. Smith-Watrman for squnc alignmnt. Bllman-Ford for shortst path routing in ntworks. ock-kasami-youngr for parsing contxt fr grammars. opyright, Kvin Wayn
2 // Wightd Intrval Schduling. Wightd Intrval Schduling Wightd intrval schduling problm. Job j starts at s j, finishs at f j, and has wight or valu v j. Two jobs compatibl if thy don't ovrlap. oal: find maximum wight subst of mutually compatibl jobs. a b c d f g 8 9 h Tim nwightd Intrval Schduling Rviw Wightd Intrval Schduling Rcall. rdy algorithm works if all wights ar. onsidr jobs in ascnding ordr of finish tim. dd job to subst if it is compatibl with prviously chosn jobs. Notation. Labl jobs by finishing tim: f f... f n. Df. p(j) = largst indx i < j such that job i is compatibl with j. Ex: p(8) =, p() =, p() =. Obsrvation. rdy algorithm can fail spctacularly if arbitrary wights ar allowd. wight = 999 b wight = a 8 9 Tim Tim 8 opyright, Kvin Wayn
3 // Dynamic Programming: Binary hoic Wightd Intrval Schduling: Brut Forc Notation. OPT(j) = valu of optimal solution to th problm consisting of job rqusts,,..., j. Brut forc algorithm. as : OPT slcts job j. can't us incompatibl jobs { p(j) +, p(j) +,..., j - must includ optimal solution to problm consisting of rmaining compatibl jobs,,..., p(j) optimal substructur as : OPT dos not slct job j. must includ optimal solution to problm consisting of rmaining compatibl jobs,,..., j- # if j = OPT( j) = $ % max v j + OPT( p( j)), OPT( j ) { othrwis Input: n, s,,s n, f,,f n, v,,v n Sort jobs by finish tims so that f f... f n. omput p(), p(),, p(n) omput-opt(j) { if (j = ) rturn ls rturn max(v j + omput-opt(p(j)), omput-opt(j-)) 9 Wightd Intrval Schduling: Brut Forc Wightd Intrval Schduling: Mmoization Obsrvation. Rcursiv algorithm fails spctacularly bcaus of rdundant sub-problms Þ xponntial algorithms. Mmoization. Stor rsults of ach sub-problm in a cach; lookup as ndd Ex. Numbr of rcursiv calls for family of "layrd" instancs grows lik Fibonacci squnc. Input: n, s,,s n, f,,f n, v,,v n Sort jobs by finish tims so that f f... f n. omput p(), p(),, p(n) p() =, p(j) = j- for j = to n M[j] = mpty global array M[j] = M-omput-Opt(j) { if (M[j] is mpty) M[j] = max(w j + M-omput-Opt(p(j)), M-omput-Opt(j-)) rturn M[j] opyright, Kvin Wayn
4 // Wightd Intrval Schduling: Running Tim laim. Mmoizd vrsion of algorithm taks O(n log n) tim. Sort by finish tim: O(n log n). omputing p( ) : O(n) aftr sorting by start tim. M-omput-Opt(j): ach invocation taks O() tim and ithr (i) rturns an xisting valu M[j] (ii) fills in on nw ntry M[j] and maks two rcursiv calls Progrss masur F = # nonmpty ntris of M[]. initially F =, throughout F n. (ii) incrass F by Þ at most n rcursiv calls. Ovrall running tim of M-omput-Opt(n) is O(n). Rmark. O(n) if jobs ar pr-sortd by start and finish tims. omputing th Indx p(.) in Linar Tim Intrval 8 Finish tim 8 9 Intrval 8 Start tim 8 Intrval 8 p(.) 8 Tim 8 9 Wightd Intrval Schduling: Finding a Solution Wightd Intrval Schduling: Bottom-p Q. Dynamic programming algorithms computs optimal valu. What if w want th solution itslf?. Do som post-procssing. Run M-omput-Opt(n) Run Find-Solution(n) Find-Solution(j) { if (j = ) output nothing ls if (v j + M[p(j)] > M[j-]) print j Find-Solution(p(j)) ls Find-Solution(j-) Bottom-up dynamic programming. nwind rcursion. Input: n, s,,s n, f,,f n, v,,v n Sort jobs by finish tims so that f f... f n. omput p(), p(),, p(n) Itrativ-omput-Opt { M[] = for j = to n M[j] = max(v j + M[p(j)], M[j-]) # of rcursiv calls n Þ O(n). opyright, Kvin Wayn
5 // utomatd Mmoization Midtrm utomatd mmoization. Many functional programming languags (.g., Lisp) hav built-in support for mmoization. Q. Why not in imprativ languags (.g., Java)? (dfun F (n) (if (<= n ) n (+ (F (- n )) (F (- n ))))) Lisp (fficint) static int F(int n) { if (n <= ) rturn n; ls rturn F(n-) + F(n-); F(9) Java (xponntial) F() F(8) Man:.8 (8%) Mdian: 8 (8%) F(8) F() F() F() F() F() F() F() F() F() F() F() 8 Sgmntd Last Squars. Sgmntd Last Squars Last squars. Foundational problm in statistic and numrical analysis. ivn n points in th plan: (x, y ), (x, y ),..., (x n, y n ). Find a lin y = ax + b that minimizs th sum of th squard rror: n SSE = ( y i ax i b) i= y x Solution. alculus Þ min rror is achivd whn a = n x i y i i ( i x i ) ( i y i ), b = n x i ( x i ) i i i y i a i x i n opyright, Kvin Wayn
6 // Sgmntd Last Squars Sgmntd Last Squars Sgmntd last squars. Points li roughly on a squnc of svral lin sgmnts. ivn n points in th plan (x, y ), (x, y ),..., (x n, y n ) with x < x <... < x n, find a squnc of lins that minimizs f(x). Q. What's a rasonabl choic for f(x) to balanc accuracy and parsimony? goodnss of fit Sgmntd last squars. Points li roughly on a squnc of svral lin sgmnts. ivn n points in th plan (x, y ), (x, y ),..., (x n, y n ) with x < x <... < x n, find a squnc of lins that minimizs: th sum of th sums of th squard rrors E in ach sgmnt th numbr of lins L Tradoff function: E + c L, for som constant c >. numbr of lins y y x x Dynamic Programming: Multiway hoic Sgmntd Last Squars: lgorithm Notation. OPT(j) = minimum cost for points p,., p i+,..., p j. (i, j) = minimum sum of squars for points p i, p i+,..., p j. To comput OPT(j): Last sgmnt uss points p i, p i+,..., p j for som i. ost = (i, j) + c + OPT(i-). INPT: n, p,,p N, c Sgmntd-Last-Squars() { M[] = for j = to n for i = to j comput th last squar rror ij th sgmnt p i,, p j for $ & if j = OPT( j) = % min { (i, j) + c + OPT(i ) othrwis '& i j for j = to n M[j] = min i j ( ij + c + M[i-]) rturn M[n] Running tim. O(n ). can b improvd to O(n ) by pr-computing various statistics Bottlnck = computing (i, j) for O(n ) pairs, O(n) pr pair using prvious formula. opyright, Kvin Wayn
7 // Knapsack Problm. Knapsack Problm Knapsack problm. ivn n objcts and a "knapsack." Itm i wighs w i > kilograms and has valu v i >. Knapsack has capacity of W kilograms. oal: fill knapsack so as to maximiz total valu. Ex: {, has valu. Itm Valu Wight W = 8 8 rdy: rpatdly add itm with maximum ratio v i / w i. Ex: {,, achivs only valu = Þ grdy not optimal. Dynamic Programming: Fals Start Dynamic Programming: dding a Nw Variabl Df. OPT(i) = max profit subst of itms,, i. as : OPT dos not slct itm i. OPT slcts bst of {,,, i- Df. OPT(i, w) = max profit subst of itms,, i with wight limit w. as : OPT dos not slct itm i. OPT slcts bst of {,,, i- using wight limit w as : OPT slcts itm i. accpting itm i dos not immdiatly imply that w will hav to rjct othr itms without knowing what othr itms wr slctd bfor i, w don't vn know if w hav nough room for i onclusion. Nd mor sub-problms! as : OPT slcts itm i. nw wight limit = w w i OPT slcts bst of {,,, i using this nw wight limit # if i = % OPT(i, w) = $ OPT(i, w) if w i > w % & max{ OPT(i, w), v i + OPT(i, w w i ) othrwis 8 opyright, Kvin Wayn
8 // Knapsack Problm: Bottom-p Knapsack lgorithm Knapsack. Fill up an n-by-w array W Input: n, w,,w n, v,,v n, W f for w = to W M[, w] = n + { {, for i = to n for w = to W if (w i > w) M[i, w] = M[i-, w] ls M[i, w] = max {M[i-, w], v i + M[i-, w-w i ] {,, {,,, {,,,, Itm 9 9 Valu Wight rturn M[n, W] OPT: {, valu = + 8 = W = Knapsack Problm: Running Tim Running tim. Q(n W). Not polynomial in input siz! "Psudo-polynomial." Dcision vrsion of Knapsack is NP-complt. [haptr 8]. Squnc lignmnt Knapsack approximation algorithm. Thr xists a polynomial algorithm that producs a fasibl solution that has valu within.% of optimum. [Sction.8] opyright, Kvin Wayn 8
9 // String Similarity Edit Distanc How similar ar two strings? ocurranc occurrnc o c u r r a n c - o c c u r r n c mismatchs, gap o c - u r r a n c pplications. Basis for nix diff. Spch rcognition. omputational biology. Edit distanc. [Lvnshtin 9, Ndlman-Wunsch 9] ap pnalty d; mismatch pnalty a pq. ost = sum of gap and mismatch pnaltis. o c c u r r n c mismatch, gap T T T - T T T o c - u r r - a n c T T T T - T T o c c u r r - n c mismatchs, gaps a T + a T + a + a d + a Squnc lignmnt Squnc lignmnt: Problm Structur oal: ivn two strings X = x x... x m and Y = y y... y n find alignmnt of minimum cost. Df. n alignmnt M is a st of ordrd pairs x i -y j such that ach itm occurs in at most on pair and no crossings. Df. Th pair x i -y j and x i' -y j' cross if i < i', but j > j'. cost( M ) = α xi y j + δ + δ (x i, y j ) M i : x!#" # $ i unmatchd j : y j unmatchd!### #" ##### $ mismatch Ex: T vs. TT. Sol: M = x -y, x -y, x -y, x -y, x -y. gap x x x x x x T - - T T Df. OPT(i, j) = min cost of aligning strings x x... x i and y y... y j. as : OPT matchs x i -y j. pay mismatch for x i -y j + min cost of aligning two strings x x... x i- and y y... y j- as a: OPT lavs x i unmatchd. pay gap for x i and min cost of aligning x x... x i- and y y... y j as b: OPT lavs y j unmatchd. pay gap for y j and min cost of aligning x x... x i and y y... y j- " jδ if i = $ " α xi y j + OPT(i, j ) $ $ OPT(i, j) = # min # δ + OPT(i, j) othrwis $ $ δ + OPT(i, j ) % % $ iδ if j = y y y y y y opyright, Kvin Wayn 9
10 // Squnc lignmnt: lgorithm Squnc lignmnt: lgorithm y Squnc-lignmnt(m, n, x x...x m, y y...y n, d, a) { for i = to m M[i, ] = id for j = to n M[, j] = jd for i = to m for j = to n M[i, j] = min(a[x i, y j ] + M[i-, j-], d + M[i-, j], d + M[i, j-]) rturn M[m, n] x m + n + f T T f T ap pnalty = Mismatch pnalty = x x x x x x nalysis. Q(mn) tim and spac. T - English words or sntncs: m, n. omputational biology: m = n =,. billions ops OK, but B array? - T T y y y y y y 8 RN Scondary Structur. RN Scondary Structur RN. String B = b b b n ovr alphabt {,,,. Scondary structur. RN is singl-strandd so it tnds to loop back and form bas pairs with itslf. This structur is ssntial for undrstanding bhavior of molcul. Ex: complmntary bas pairs: -, - opyright, Kvin Wayn
11 // RN Scondary Structur RN Scondary Structur: Exampls Scondary structur. st of pairs S = { (b i, b j ) that satisfy: Exampls. [Watson-rick.] S is a matching and ach pair in S is a Watson- rick complmnt: -, -, -, or -. [No sharp turns.] Th nds of ach pair ar sparatd by at last intrvning bass. If (b i, b j ) Î S, thn i < j -. [Non-crossing.] If (b i, b j ) and (b k, b l ) ar two pairs in S, thn w cannot hav i < k < j < l. bas pair Fr nrgy. sual hypothsis is that an RN molcul will form th scondary structur with th optimum total fr nrgy. approximat by numbr of bas pairs oal. ivn an RN molcul B = b b b n, find a scondary structur S that maximizs th numbr of bas pairs. ok sharp turn crossing RN Scondary Structur: Subproblms Dynamic Programming Ovr Intrvals First attmpt. OPT(j) = maximum numbr of bas pairs in a scondary structur of th substring b b b j. Notation. OPT(i, j) = maximum numbr of bas pairs in a scondary structur of th substring b i b i+ b j. match b t and b n as. If i ³ j -. OPT(i, j) = by no-sharp turns condition. as. Bas b j is not involvd in a pair. t n Difficulty. Rsults in two sub-problms. Finding scondary structur in: b b b t-. Finding scondary structur in: b t+ b t+ b n-. OPT(t-) nd mor sub-problms OPT(i, j) = OPT(i, j-) as. Bas b j pairs with b t for som i t < j -. non-crossing constraint dcoupls rsulting sub-problms OPT(i, j) = + max t { OPT(i, t-) + OPT(t+, j-) tak max ovr t such that i t < j- and b t and b j ar Watson-rick complmnts Rmark. Sam cor ida in KY algorithm to pars contxt-fr grammars. opyright, Kvin Wayn
12 // Bottom p Dynamic Programming Ovr Intrvals Dynamic Programming Summary Q. What ordr to solv th sub-problms?. Do shortst intrvals first. Rcip. haractriz structur of problm. Rcursivly dfin valu of optimal solution. omput valu of optimal solution. RN(b,,b n ) { for k =,,, n- for i =,,, n-k j = i + k omput M[i, j] rturn M[, n] using rcurrnc i 8 9 j onstruct optimal solution from computd information. Dynamic programming tchniqus. Binary choic: wightd intrval schduling. Multi-way choic: sgmntd last squars. dding a nw variabl: knapsack. Vitrbi algorithm for HMM also uss DP to optimiz a maximum liklihood tradoff btwn parsimony and accuracy Dynamic programming ovr intrvals: RN scondary structur. KY parsing algorithm for contxt-fr grammar has similar structur Running tim. O(n ). Top-down vs. bottom-up: diffrnt popl hav diffrnt intuitions. String Similarity. Squnc lignmnt How similar ar two strings? ocurranc occurrnc o c u r r a n c - o c c u r r n c mismatchs, gap o c - u r r a n c o c c u r r n c mismatch, gap o c - u r r - a n c o c c u r r - n c mismatchs, gaps 8 opyright, Kvin Wayn
13 // Edit Distanc Squnc lignmnt pplications. Basis for nix diff. Spch rcognition. omputational biology. Edit distanc. [Lvnshtin 9, Ndlman-Wunsch 9] ap pnalty d; mismatch pnalty a pq. ost = sum of gap and mismatch pnaltis. T T T - T T T oal: ivn two strings X = x x... x m and Y = y y... y n find alignmnt of minimum cost. Df. n alignmnt M is a st of ordrd pairs x i -y j such that ach itm occurs in at most on pair and no crossings. Df. Th pair x i -y j and x i' -y j' cross if i < i', but j > j'. cost( M ) = α xi y j + δ + δ (x i, y j ) M i : x!#" # $ i unmatchd j : y j unmatchd!### #" ##### $ mismatch gap T T T a T + a T + a + a T - T T d + a Ex: T vs. TT. Sol: M = x -y, x -y, x -y, x -y, x -y. x x x x x x T - - T T y y y y y y 9 Squnc lignmnt: Problm Structur Squnc lignmnt: lgorithm Df. OPT(i, j) = min cost of aligning strings x x... x i and y y... y j. as : OPT matchs x i -y j. pay mismatch for x i -y j + min cost of aligning two strings x x... x i- and y y... y j- as a: OPT lavs x i unmatchd. pay gap for x i and min cost of aligning x x... x i- and y y... y j as b: OPT lavs y j unmatchd. pay gap for y j and min cost of aligning x x... x i and y y... y j- " jδ if i = $ " α xi y j + OPT(i, j ) $ $ OPT(i, j) = # min # δ + OPT(i, j) othrwis $ $ δ + OPT(i, j ) % % $ iδ if j = Squnc-lignmnt(m, n, x x...x m, y y...y n, d, a) { for i = to m M[, i] = id for j = to n M[j, ] = jd for i = to m for j = to n M[i, j] = min(a[x i, y j ] + M[i-, j-], d + M[i-, j], d + M[i, j-]) rturn M[m, n] nalysis. Q(mn) tim and spac. English words or sntncs: m, n. omputational biology: m = n =,. billions ops OK, but B array? opyright, Kvin Wayn
14 // Squnc lignmnt: Linar Spac. Squnc lignmnt in Linar Spac Q. an w avoid using quadratic spac? Easy. Optimal valu in O(m + n) spac and O(mn) tim. omput OPT(i, ) from OPT(i-, ). No longr a simpl way to rcovr alignmnt itslf. Thorm. [Hirschbrg 9] Optimal alignmnt in O(m + n) spac and O(mn) tim. lvr combination of divid-and-conqur and dynamic programming. Inspird by ida of Savitch from complxity thory. Squnc lignmnt: Linar Spac Squnc lignmnt: Linar Spac Edit distanc graph. Lt f(i, j) b shortst path from (,) to (i, j). Obsrvation: f(i, j) = OPT(i, j). Edit distanc graph. Lt f(i, j) b shortst path from (,) to (i, j). an comput f (, j) for any j in O(mn) tim and O(m + n) spac. j y y y y y y y y y y y y - - x x α xi y j d x d i-j x i-j x m-n x m-n opyright, Kvin Wayn
15 // Squnc lignmnt: Linar Spac Squnc lignmnt: Linar Spac Edit distanc graph. Lt g(i, j) b shortst path from (i, j) to (m, n). an comput by rvrsing th dg orintations and invrting th rols of (, ) and (m, n) Edit distanc graph. Lt g(i, j) b shortst path from (i, j) to (m, n). an comput g(, j) for any j in O(mn) tim and O(m + n) spac. j y y y y y y y y y y y y - - x i-j d x i-j α xi y j x d x x m-n x m-n 8 Squnc lignmnt: Linar Spac Squnc lignmnt: Linar Spac Obsrvation. Th cost of th shortst path that uss (i, j) is f(i, j) + g(i, j). Obsrvation. lt q b an indx that minimizs f(q, n/) + g(q, n/). Thn, th shortst path from (, ) to (m, n) uss (q, n/). n / y y y y y y y y y y y y - - x i-j x i-j q x x x m-n x m-n 9 opyright, Kvin Wayn
16 // Squnc lignmnt: Linar Spac Squnc lignmnt: Running Tim nalysis Warmup Divid: find indx q that minimizs f(q, n/) + g(q, n/) using DP. lign x q and y n/. onqur: rcursivly comput optimal alignmnt in ach pic. Thorm. Lt T(m, n) = max running tim of algorithm on strings of lngth at most m and n. T(m, n) = O(mn log n). n / T(m, n) T(m, n/) + O(mn) T(m, n) = O(mn logn) y y y y y y - Rmark. nalysis is not tight bcaus two sub-problms ar of siz (q, n/) and (m - q, n/). In nxt slid, w sav log n factor. x i-j q x x m-n Squnc lignmnt: Running Tim nalysis Thorm. Lt T(m, n) = max running tim of algorithm on strings of lngth m and n. T(m, n) = O(mn). Pf. (by induction on n) O(mn) tim to comput f(, n/) and g (, n/) and find indx q. T(q, n/) + T(m - q, n/) tim for two rcursiv calls. hoos constant c so that: T(m, ) cm T(, n) cn T(m, n) cmn + T(q, n/) + T(m q, n/) Bas cass: m = or n =. Inductiv hypothsis: T(m, n) cmn. T ( m, n) = = T ( q, n / ) + T ( m q, n / ) + cmn cqn / + c( m q) n / + cmn cqn + cmn cqn + cmn cmn opyright, Kvin Wayn
Areas. ! Bioinformatics. ! Control theory. ! Information theory. ! Operations research. ! Computer science: theory, graphics, AI, systems,.
lgorithmic Paradigms hapter Dynamic Programming reed Build up a solution incrementally, myopically optimizing some local criterion Divide-and-conquer Break up a problem into two sub-problems, solve each
More informationDynamic Programming. Weighted Interval Scheduling. Algorithmic Paradigms. Dynamic Programming
lgorithmic Paradigms Dynamic Programming reed Build up a solution incrementally, myopically optimizing some local criterion Divide-and-conquer Break up a problem into two sub-problems, solve each sub-problem
More informationCopyright 2000, Kevin Wayne 1
/9/ lgorithmic Paradigms hapter Dynamic Programming reed. Build up a solution incrementally, myopically optimizing some local criterion. Divide-and-conquer. Break up a problem into two sub-problems, solve
More informationChapter 6. Weighted Interval Scheduling. Dynamic Programming. Algorithmic Paradigms. Dynamic Programming Applications
lgorithmic Paradigms hapter Dynamic Programming reedy. Build up a solution incrementally, myopically optimizing some local criterion. Divide-and-conquer. Break up a problem into sub-problems, solve each
More informationCSE 202 Dynamic Programming II
CSE 202 Dynamic Programming II Chapter 6 Dynamic Programming Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. 1 Algorithmic Paradigms Greed. Build up a solution incrementally,
More informationChapter 6. Dynamic Programming. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.
Chapter 6 Dynamic Programming Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. 1 Algorithmic Paradigms Greed. Build up a solution incrementally, myopically optimizing
More informationDynamic Programming 1
Dynamic Programming 1 lgorithmic Paradigms Divide-and-conquer. Break up a problem into two sub-problems, solve each sub-problem independently, and combine solution to sub-problems to form solution to original
More information6. DYNAMIC PROGRAMMING I
lgorithmic paradigms 6. DYNMI PRORMMIN I weighted interval scheduling segmented least squares knapsack problem RN secondary structure reedy. Build up a solution incrementally, myopically optimizing some
More informationCS 580: Algorithm Design and Analysis
CS 58: Algorithm Design and Analysis Jeremiah Blocki Purdue University Spring 28 Announcement: Homework 3 due February 5 th at :59PM Midterm Exam: Wed, Feb 2 (8PM-PM) @ MTHW 2 Recap: Dynamic Programming
More informationChapter 6. Dynamic Programming. CS 350: Winter 2018
Chapter 6 Dynamic Programming CS 350: Winter 2018 1 Algorithmic Paradigms Greedy. Build up a solution incrementally, myopically optimizing some local criterion. Divide-and-conquer. Break up a problem into
More informationCopyright 2000, Kevin Wayne 1
//8 Fast Integer Division Too (!) Schönhage Strassen algorithm CS 8: Algorithm Design and Analysis Integer division. Given two n-bit (or less) integers s and t, compute quotient q = s / t and remainder
More informationCS 580: Algorithm Design and Analysis
CS 580: Algorithm Design and Analysis Jeremiah Blocki Purdue University Spring 208 Announcement: Homework 3 due February 5 th at :59PM Final Exam (Tentative): Thursday, May 3 @ 8AM (PHYS 203) Recap: Divide
More information6. DYNAMIC PROGRAMMING I
6. DYNAMIC PROGRAMMING I weighted interval scheduling segmented least squares knapsack problem RNA secondary structure Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley Copyright 2013
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 information6. DYNAMIC PROGRAMMING I
6. DYNAMIC PRORAMMIN I weighted interval scheduling segmented least squares knapsack problem RNA secondary structure Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison Wesley http://www.cs.princeton.edu/~wayne/kleinberg-tardos
More informationDynamic Programming. Cormen et. al. IV 15
Dynamic Programming Cormen et. al. IV 5 Dynamic Programming Applications Areas. Bioinformatics. Control theory. Operations research. Some famous dynamic programming algorithms. Unix diff for comparing
More informationDynamic Programming: Interval Scheduling and Knapsack
Dynamic Programming: Interval Scheduling and Knapsack . Weighted Interval Scheduling Weighted Interval Scheduling Weighted interval scheduling problem. Job j starts at s j, finishes at f j, and has weight
More informationChapter 6. Dynamic Programming. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.
Chapter 6 Dynamic Programming Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. Algorithmic Paradigms Greed. Build up a solution incrementally, myopically optimizing some
More informationCSE 421 Weighted Interval Scheduling, Knapsack, RNA Secondary Structure
CSE Weighted Interval Scheduling, Knapsack, RNA Secondary Structure Shayan Oveis haran Weighted Interval Scheduling Interval Scheduling Job j starts at s(j) and finishes at f j and has weight w j Two jobs
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 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 informationDynamic Programming. Data Structures and Algorithms Andrei Bulatov
Dynamic Programming Data Structures and Algorithms Andrei Bulatov Algorithms Dynamic Programming 18-2 Weighted Interval Scheduling Weighted interval scheduling problem. Instance A set of n jobs. Job j
More informationChapter 6. Dynamic Programming. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.
Chapter 6 Dynamic Programming Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. 1 Algorithmic Paradigms Greed. Build up a solution incrementally, myopically optimizing
More informationEEO 401 Digital Signal Processing Prof. Mark Fowler
EEO 401 Digital Signal Procssing Prof. Mark Fowlr Dtails of th ot St #19 Rading Assignmnt: Sct. 7.1.2, 7.1.3, & 7.2 of Proakis & Manolakis Dfinition of th So Givn signal data points x[n] for n = 0,, -1
More informationPropositional Logic. Combinatorial Problem Solving (CPS) Albert Oliveras Enric Rodríguez-Carbonell. May 17, 2018
Propositional Logic Combinatorial Problm Solving (CPS) Albrt Olivras Enric Rodríguz-Carbonll May 17, 2018 Ovrviw of th sssion Dfinition of Propositional Logic Gnral Concpts in Logic Rduction to SAT CNFs
More 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 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 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 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 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 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 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 informationCSE 421 Dynamic Programming
CSE Dynamic Programming Yin Tat Lee Weighted Interval Scheduling Interval Scheduling Job j starts at s(j) and finishes at f j and has weight w j Two jobs compatible if they don t overlap. Goal: find maximum
More informationKernels. ffl A kernel K is a function of two objects, for example, two sentence/tree pairs (x1; y1) and (x2; y2)
Krnls krnl K is a function of two ojcts, for xampl, two sntnc/tr pairs (x1; y1) an (x2; y2) K((x1; y1); (x2; y2)) Intuition: K((x1; y1); (x2; y2)) is a masur of th similarity (x1; y1) twn (x2; y2) an ormally:
More 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 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 informationThat is, we start with a general matrix: And end with a simpler matrix:
DIAGON ALIZATION OF THE STR ESS TEN SOR INTRO DUCTIO N By th us of Cauchy s thorm w ar abl to rduc th numbr of strss componnts in th strss tnsor to only nin valus. An additional simplification of th strss
More information6.6 Sequence Alignment
6.6 Sequence Alignment String Similarity How similar are two strings? ocurrance o c u r r a n c e - occurrence First model the problem Q. How can we measure the distance? o c c u r r e n c e 6 mismatches,
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 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 information1.1 First Problem: Stable Matching. Six medical students and four hospitals. Student Preferences. s6 h3 h1 h4 h2. Stable Matching Problem
//0 hapter Introduction: Some Representative Problems Slides by Kevin ayne. opyright 00 Pearson-ddison esley. ll rights reserved.. First Problem: Stable Matching Six medical students and four hospitals
More informationThe Matrix Exponential
Th Matrix Exponntial (with xrciss) by D. Klain Vrsion 207.0.05 Corrctions and commnts ar wlcom. Th Matrix Exponntial For ach n n complx matrix A, dfin th xponntial of A to b th matrix A A k I + A + k!
More 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 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 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 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 informationAbstract Interpretation. Lecture 5. Profs. Aiken, Barrett & Dill CS 357 Lecture 5 1
Abstract Intrprtation 1 History On brakthrough papr Cousot & Cousot 77 (?) Inspird by Dataflow analysis Dnotational smantics Enthusiastically mbracd by th community At last th functional community... At
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 informationEECE 301 Signals & Systems Prof. Mark Fowler
EECE 301 Signals & Systms Prof. Mark Fowlr ot St #21 D-T Signals: Rlation btwn DFT, DTFT, & CTFT 1/16 W can us th DFT to implmnt numrical FT procssing This nabls us to numrically analyz a signal to find
More informationA Propagating Wave Packet Group Velocity Dispersion
Lctur 8 Phys 375 A Propagating Wav Packt Group Vlocity Disprsion Ovrviw and Motivation: In th last lctur w lookd at a localizd solution t) to th 1D fr-particl Schrödingr quation (SE) that corrsponds to
More 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 informationProblem Set 6 Solutions
6.04/18.06J Mathmatics for Computr Scinc March 15, 005 Srini Dvadas and Eric Lhman Problm St 6 Solutions Du: Monday, March 8 at 9 PM in Room 3-044 Problm 1. Sammy th Shark is a financial srvic providr
More informationThe Matrix Exponential
Th Matrix Exponntial (with xrciss) by Dan Klain Vrsion 28928 Corrctions and commnts ar wlcom Th Matrix Exponntial For ach n n complx matrix A, dfin th xponntial of A to b th matrix () A A k I + A + k!
More informationCS 361 Meeting 12 10/3/18
CS 36 Mting 2 /3/8 Announcmnts. Homwork 4 is du Friday. If Friday is Mountain Day, homwork should b turnd in at my offic or th dpartmnt offic bfor 4. 2. Homwork 5 will b availabl ovr th wknd. 3. Our midtrm
More informationEEO 401 Digital Signal Processing Prof. Mark Fowler
EEO 401 Digital Signal Procssing Prof. Mark Fowlr ot St #18 Introduction to DFT (via th DTFT) Rading Assignmnt: Sct. 7.1 of Proakis & Manolakis 1/24 Discrt Fourir Transform (DFT) W v sn that th DTFT is
More informationCPE702 Algorithm Analysis and Design Week 11 String Processing
CPE702 Agorithm Anaysis and Dsign Wk 11 String Procssing Prut Boonma prut@ng.cmu.ac.th Dpartmnt of Computr Enginring Facuty of Enginring, Chiang Mai Univrsity Basd on Sids by M.T. Goodrich and R. Tamassia
More informationData Assimilation 1. Alan O Neill National Centre for Earth Observation UK
Data Assimilation 1 Alan O Nill National Cntr for Earth Obsrvation UK Plan Motivation & basic idas Univariat (scalar) data assimilation Multivariat (vctor) data assimilation 3d-Variational Mthod (& optimal
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 informationLecture 37 (Schrödinger Equation) Physics Spring 2018 Douglas Fields
Lctur 37 (Schrödingr Equation) Physics 6-01 Spring 018 Douglas Filds Rducd Mass OK, so th Bohr modl of th atom givs nrgy lvls: E n 1 k m n 4 But, this has on problm it was dvlopd assuming th acclration
More information4.5 Minimum Spanning Tree. Chapter 4. Greedy Algorithms. Minimum Spanning Tree. Motivating application
1 Chaptr. Minimum panning Tr lids by Kvin Wayn. Copyright 200 Parson-Addison Wsly. All rights rsrvd. *Adjustd by Gang Tan for C33: Algorithms at Boston Collg, Fall 0 Motivating application Minimum panning
More informationFrom Elimination to Belief Propagation
School of omputr Scinc Th lif Propagation (Sum-Product lgorithm Probabilistic Graphical Modls (10-708 Lctur 5, Sp 31, 2007 Rcptor Kinas Rcptor Kinas Kinas X 5 ric Xing Gn G T X 6 X 7 Gn H X 8 Rading: J-hap
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 information6. DYNAMIC PROGRAMMING II
6. DYNAMIC PROGRAMMING II sequence alignment Hirschberg's algorithm Bellman-Ford algorithm distance vector protocols negative cycles in a digraph Lecture slides by Kevin Wayne Copyright 2005 Pearson-Addison
More informationStochastic Submodular Maximization
Stochastic Submodular Maximization Arash Asadpour, Hamid Nazrzadh, and Amin Sabri Stanford Univrsity, Stanford, CA. {asadpour,hamidnz,sabri}@stanford.du Abstract. W study stochastic submodular maximization
More informationChapter 6 Folding. Folding
Chaptr 6 Folding Wintr 1 Mokhtar Abolaz Folding Th folding transformation is usd to systmatically dtrmin th control circuits in DSP architctur whr multipl algorithm oprations ar tim-multiplxd to a singl
More informationCS 6353 Compiler Construction, Homework #1. 1. Write regular expressions for the following informally described languages:
CS 6353 Compilr Construction, Homwork #1 1. Writ rgular xprssions for th following informally dscribd languags: a. All strings of 0 s and 1 s with th substring 01*1. Answr: (0 1)*01*1(0 1)* b. All strings
More informationperm4 A cnt 0 for for if A i 1 A i cnt cnt 1 cnt i j. j k. k l. i k. j l. i l
h 4D, 4th Rank, Antisytric nsor and th 4D Equivalnt to th Cross Product or Mor Fun with nsors!!! Richard R Shiffan Digital Graphics Assoc 8 Dunkirk Av LA, Ca 95 rrs@isidu his docunt dscribs th four dinsional
More informationu x v x dx u x v x v x u x dx d u x v x u x v x dx u x v x dx Integration by Parts Formula
7. Intgration by Parts Each drivativ formula givs ris to a corrsponding intgral formula, as w v sn many tims. Th drivativ product rul yilds a vry usful intgration tchniqu calld intgration by parts. Starting
More informationAddition of angular momentum
Addition of angular momntum April, 07 Oftn w nd to combin diffrnt sourcs of angular momntum to charactriz th total angular momntum of a systm, or to divid th total angular momntum into parts to valuat
More informationRandom Access Techniques: ALOHA (cont.)
Random Accss Tchniqus: ALOHA (cont.) 1 Exampl [ Aloha avoiding collision ] A pur ALOHA ntwork transmits a 200-bit fram on a shard channl Of 200 kbps at tim. What is th rquirmnt to mak this fram collision
More informationGeneral Notes About 2007 AP Physics Scoring Guidelines
AP PHYSICS C: ELECTRICITY AND MAGNETISM 2007 SCORING GUIDELINES Gnral Nots About 2007 AP Physics Scoring Guidlins 1. Th solutions contain th most common mthod of solving th fr-rspons qustions and th allocation
More informationSolution of Assignment #2
olution of Assignmnt #2 Instructor: Alirza imchi Qustion #: For simplicity, assum that th distribution function of T is continuous. Th distribution function of R is: F R ( r = P( R r = P( log ( T r = P(log
More informationLecture 2: Divide and conquer and Dynamic programming
Chapter 2 Lecture 2: Divide and conquer and Dynamic programming 2.1 Divide and Conquer Idea: - divide the problem into subproblems in linear time - solve subproblems recursively - combine the results in
More informationCOUNTING TAMELY RAMIFIED EXTENSIONS OF LOCAL FIELDS UP TO ISOMORPHISM
COUNTING TAMELY RAMIFIED EXTENSIONS OF LOCAL FIELDS UP TO ISOMORPHISM Jim Brown Dpartmnt of Mathmatical Scincs, Clmson Univrsity, Clmson, SC 9634, USA jimlb@g.clmson.du Robrt Cass Dpartmnt of Mathmatics,
More informationCE 530 Molecular Simulation
CE 53 Molcular Simulation Lctur 8 Fr-nrgy calculations David A. Kofk Dpartmnt of Chmical Enginring SUNY Buffalo kofk@ng.buffalo.du 2 Fr-Enrgy Calculations Uss of fr nrgy Phas quilibria Raction quilibria
More informationLearning Spherical Convolution for Fast Features from 360 Imagery
Larning Sphrical Convolution for Fast Faturs from 36 Imagry Anonymous Author(s) 3 4 5 6 7 8 9 3 4 5 6 7 8 9 3 4 5 6 7 8 9 3 3 3 33 34 35 In this fil w provid additional dtails to supplmnt th main papr
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 informationEconomics 201b Spring 2010 Solutions to Problem Set 3 John Zhu
Economics 20b Spring 200 Solutions to Problm St 3 John Zhu. Not in th 200 vrsion of Profssor Andrson s ctur 4 Nots, th charactrization of th firm in a Robinson Cruso conomy is that it maximizs profit ovr
More informationDeift/Zhou Steepest descent, Part I
Lctur 9 Dift/Zhou Stpst dscnt, Part I W now focus on th cas of orthogonal polynomials for th wight w(x) = NV (x), V (x) = t x2 2 + x4 4. Sinc th wight dpnds on th paramtr N N w will writ π n,n, a n,n,
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 information(Upside-Down o Direct Rotation) β - Numbers
Amrican Journal of Mathmatics and Statistics 014, 4(): 58-64 DOI: 10593/jajms0140400 (Upsid-Down o Dirct Rotation) β - Numbrs Ammar Sddiq Mahmood 1, Shukriyah Sabir Ali,* 1 Dpartmnt of Mathmatics, Collg
More informationCPS 616 W2017 MIDTERM SOLUTIONS 1
CPS 616 W2017 MIDTERM SOLUTIONS 1 PART 1 20 MARKS - MULTIPLE CHOICE Instructions Plas ntr your answrs on t bubbl st wit your nam unlss you ar writin tis xam at t Tst Cntr, in wic cas you sould just circl
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 informationMor Tutorial at www.dumblittldoctor.com Work th problms without a calculator, but us a calculator to chck rsults. And try diffrntiating your answrs in part III as a usful chck. I. Applications of Intgration
More informationHydrogen Atom and One Electron Ions
Hydrogn Atom and On Elctron Ions Th Schrödingr quation for this two-body problm starts out th sam as th gnral two-body Schrödingr quation. First w sparat out th motion of th cntr of mass. Th intrnal potntial
More informationAS 5850 Finite Element Analysis
AS 5850 Finit Elmnt Analysis Two-Dimnsional Linar Elasticity Instructor Prof. IIT Madras Equations of Plan Elasticity - 1 displacmnt fild strain- displacmnt rlations (infinitsimal strain) in matrix form
More informationChapter 10. The singular integral Introducing S(n) and J(n)
Chaptr Th singular intgral Our aim in this chaptr is to rplac th functions S (n) and J (n) by mor convnint xprssions; ths will b calld th singular sris S(n) and th singular intgral J(n). This will b don
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 informationObjec&ves. Review. Dynamic Programming. What is the knapsack problem? What is our solu&on? Ø Review Knapsack Ø Sequence Alignment 3/28/18
/8/8 Objec&ves Dynamic Programming Ø Review Knapsack Ø Sequence Alignment Mar 8, 8 CSCI - Sprenkle Review What is the knapsack problem? What is our solu&on? Mar 8, 8 CSCI - Sprenkle /8/8 Dynamic Programming:
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 DP paradigm Discrete optimisation Viterbi algorithm DP: 0 1 Knapsack. Dynamic Programming. Georgy Gimel farb
Outline DP paradigm Discrete optimisation Viterbi algorithm DP: Knapsack Dynamic Programming Georgy Gimel farb (with basic contributions by Michael J. Dinneen) COMPSCI 69 Computational Science / Outline
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 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 informationBrief Introduction to Statistical Mechanics
Brif Introduction to Statistical Mchanics. Purpos: Ths nots ar intndd to provid a vry quick introduction to Statistical Mchanics. Th fild is of cours far mor vast than could b containd in ths fw pags.
More informationFunction Spaces. a x 3. (Letting x = 1 =)) a(0) + b + c (1) = 0. Row reducing the matrix. b 1. e 4 3. e 9. >: (x = 1 =)) a(0) + b + c (1) = 0
unction Spacs Prrquisit: Sction 4.7, Coordinatization n this sction, w apply th tchniqus of Chaptr 4 to vctor spacs whos lmnts ar functions. Th vctor spacs P n and P ar familiar xampls of such spacs. Othr
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 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 informationQuasi-Classical States of the Simple Harmonic Oscillator
Quasi-Classical Stats of th Simpl Harmonic Oscillator (Draft Vrsion) Introduction: Why Look for Eignstats of th Annihilation Oprator? Excpt for th ground stat, th corrspondnc btwn th quantum nrgy ignstats
More informationCoupled Pendulums. Two normal modes.
Tim Dpndnt Two Stat Problm Coupld Pndulums Wak spring Two normal mods. No friction. No air rsistanc. Prfct Spring Start Swinging Som tim latr - swings with full amplitud. stationary M +n L M +m Elctron
More informationMath 34A. Final Review
Math A Final Rviw 1) Us th graph of y10 to find approimat valus: a) 50 0. b) y (0.65) solution for part a) first writ an quation: 50 0. now tak th logarithm of both sids: log() log(50 0. ) pand th right
More information