Fall 2014 David Wagner 10/31 Notes. The min-cut problem. Examples
|
|
- Elfrieda Lamb
- 5 years ago
- Views:
Transcription
1 CS 7 Algorihm Fll 24 Dvid Wgner /3 Noe The min-u problem Le G = (V,E) be direed grph, wih oure verex V nd ink verex V. Aume h edge re lbelled wih o, whih n be modelled o funion : E N h oie non-negive inegrl o (e) o every edge e E. A (,)-u (L,R) i wy of priioning he verie ino wo dijoin e L nd R, o h L R = V, L, nd R. (From here on, we will imply ll hi u.) The o of u i he um of he o of he edge from L o R: (L,R) = u L,v R (u,v) E The min-u problem i o find minimum-o u in G. Exmple (u,v). Conider he following grph: b Here i minimum-o u in h grph: b CS 7, Fll 24, /3 Noe
2 Thi u i (L,R), where L = {,,b} nd R = {,}. The o of hi u i, ine i u he edge (b,), whih h o. Here i noher wy o look i. Conider he following phyil nlogy. We n hink of eh o- edge hough i were pring h rie o onr, nd eh o- edge hough i were n infiniely rehy eli bnd, like hi: b Now imgine king verex in your lef hnd, nd verex in your righ hnd, nd pulling hem pr from eh oher fr poible (leving he oher verie o flo freely). Wh going o hppen? Well, due o he igh pring onneing nd, verex will ry o y loe o poible. Similrly, verex will ry o y loe o. Thi pull lefwrd nd righwrd. Finlly, when we drw u down he middle, we ll ge piure like hi: b The pring onneing nd rie o mke nd y on he me ide of he u; ine i fored o be on he lef ide, hi i equivlen o ying h i rie o mke be on he lef ide of he u. Similrly, he pring beween nd rie o pull owrd he righ ide of he u. And h exly wh hppen. So, peking looely, we n hink of he min-u problem hough we hve nework of pring. Eh edge orrepond o pring of ome peifi enion: An edge lbelled wih o ple no onrin ll. I like he edge in preen ll. An edge wih poiive o i like pring of erin enion h rie o keep boh edge of he pring on he me ide of he u. The lrger he o, he hrder he pring pull, i.e., he lrger he o on n edge, he hrder we ry o keep boh end of he edge on he me ide of he u. CS 7, Fll 24, /3 Noe 2
3 Here i noher exmple, o illure hee priniple. On he lef i flow nework (we ue double-rrowed line beween nd o repreen wo direed edge, one from o b nd one in he revere direion, boh wih he me o), nd on he righ i orreponding pring nework: b b In hi exmple, we n ee h he pring beween nd rie o pull owrd he lef ide of he u; nd he pring beween nd b rie o keep hee wo edge on he me ide of he u, hu pulling b owrd he lef ide of he u. Th i exly wh hppen when we ompue he miniml-o u. However, one word of uion bou he pring nlogy i in order. In he ul min-o problem, he direion of eh edge mer, ine we only oun edge h go ro he u from lef o righ owrd he ol o of he u. Spring don hve direion, nd o n model h pe of he min-u problem. So he pring nlogy i reonble rough-pproximion wy o hink of he problem, bu only fir guide o he inuiion; i doen pure everyhing h i going on in he min-u problem. The overll inuiion i: when you hve n edge (u,v) wih poiive o, i rie o void puing u on he lef ide of he u nd v on he righ ide, ine doing o would inur o. Pu noher wy, n edge (u,v) of poiive o rie o eiher () pu boh u nd v on he me ide of he u, if poible, or (2) pu u on he righ ide of he u nd v on he lef ide, if poible. Of oure in grph wih mny edge i my no be poible o ify ll of hee ompeing demnd, bu he minimum-o u omehow rie o ify mny of hem poible. Algorihm There i righforwrd wy o ompue he min-o u, uing nework flow lgorihm. We re he o on eh edge piy, re he grph hough i were nework of oil pipeline, nd find he mximum flow from o in he grph. By he mx-flow-min-u heorem, he mximum-vlue flow orrepond o minimum-piy u, whoe piy will be he me he vlue of he flow. The proof of he mx-flow-min-u heorem ell u how o expliily idenify minimum-piy u. We ompue he reidul grph G r, find ll of he verie h re rehble from in he reidul grph (vi ome equene of edge of poiive reidul piy), nd pu hem on he lef ide of he u. All he oher verie go on he righ ide of he u. We proved erlier h hi form miniml-piy u. Finlly, noe h he piy of he u i equl o he o of he u ( defined erlier). Therefore, hi provide n effiien lgorihm for he min-u problem. CS 7, Fll 24, /3 Noe 3
4 A minor uion: hi lgorihm erhe for (,)-u, i.e., u h re onrined o ple he oure on he lef ide of he u nd re onrined o ple he ink on he righ ide of he u. (Reerher hve lo udied u problem where here i no oure or ink verex, nd where we wn o look ll u, regrdle of where ny verex end up; h i differen problem nd he be lgorihm for h problem urn ou o be prey differen. We won onider h problem ny furher here.) Appliion: imge egmenion Here i ne ppliion of he min-u problem. We hve m n pixel imge, I[..m,..n], where I[i, j] denoe he olor of he pixel row i nd olumn j. The piure inlude foreground obje (y, ree), in fron of bunh of bkground enery (ky, gr, e.). We re wriing n imge proeing ool, nd we wn o idenify he e of pixel oied wih he foreground obje. Thi k urn ou o be quie hllenging o do in purely uomed fhion, bu i beome eier if we k humn o help u. We k he uer o mrk he re of he foreground obje, hin. Le H[..m,..n] be m n boolen rry, where H[i, j] = rue for eh pixel (i, j) h he uer h mrked pr of he foreground obje. The uer hin re no perfe, bu we n ume h hey re orre for he overwhelming mjoriy of pixel. Alo, we n ume h if wo neighboring pixel hve pproximely he me olor, hen hey re likely pr of he me obje, nd hu likely eiher boh pr of he foreground, or boh pr of he bkground. The obje i o lify eh pixel eiher foreground or bkground, in wy h i onien poible wih he uer hin nd lo wih he me-olor informion. We n repreen hi lifiion m n boolen mrix F[..m,..n], where F[i, j] = rue if pixel (i, j) i lified pr of he foreground, or fle if h pixel i lified pr of he bkground. Bed upon he hin bove, we ll define he o of lifiion he um of he following hrge: I o $ for eh pixel (i, j) where our lifiion digree wih he uer hin, i.e., where F[i, j] H[i, j]. I o $ for eh pir of neighboring pixel (i, j),(i, j ) h hve imilr olor bu re lified differenly, i.e., where I[i, j] I[i, j ] bu F[i, j] F[i, j ]. The imge egmenion problem i follow: given I nd H, find he lifiion F whoe o i miniml. Here i oluion. We build grph wih one verex for eh pixel (i, j) in he imge. We lo dd peil oure verex nd ink verex v, o h he grph h nm + 2 verie in ll. We dd he following edge: For eh pixel (i, j) h he uer hined i pr of he foreground (i.e., where H[i, j] = rue), we dd n edge from o (i, j) of o. For eh pixel (i, j) h he uer hined i pr of he bkground (i.e., where H[i, j] = fle), we dd n edge from (i, j) o of o. CS 7, Fll 24, /3 Noe 4
5 For eh pir of neighboring pixel (i, j),(i, j ) wih imilr olor (i.e., where I[i, j] I[i, j ]), we dd n edge from (i, j) o (i, j ) of o, nd n edge in he revere direion lo of o. Finlly, we find he miniml-o u (L, R) in hi grph. Thi u yield lifiion: we lify eh pixel in L foreground, nd lify eh pixel in R bkground. Noe h he o of ny priulr u i he me he o of he orreponding lifiion, due o he wy we hve onrued he grph. For inne, if he u pu nd (i, j) on oppoie ide of he u, where he uer hined h (i, j) i foreground (i.e., where H[i, j] = rue), hi will inree he ol o of he u by, ine i u he edge from o (i, j). Thi orrepond o hrge of $ for lifying pixel (i, j) bkground when he uer h hined i hould be pr of he foreground. And o on. Conequenly, he miniml-o u i he me he miniml-o lifiion. The inuiion behind hi lgorihm i imple. The oure verex repreen he foreground, nd he ink verex repreen he bkground. When we wn pixel o be pr of he foreground, we dd n edge beween nd h pixel. The effe will be o ry o keep hem on he me ide of he u ( hough hey hd pring pulling hem ogeher), nd in priulr, o pull h pixel o he foreground ide of he u. When we wn pixel o be pr of he bkground, we dd n edge beween h pixel nd, whih h he effe of rying o pull hem boh o he bkground ide of he u. Finlly, when we wn wo neighboring pixel o be lified he me, we pu n edge beween hem, whih h he effe of rying o keep hem on he me ide of he u ( hough hey hd pring beween hem). Conequenly, he grph repreen he onrin we re rying o ify, nd he miniml-o u repreen he be oluion h obey mny of he onrin poible. Imge re-izing The bonu queion on Homework 9 (Q6) inrodued he imge re-izing problem: ke lrge imge, nd hnge i pe rio by mking i kinnier, wihou mking everyhing look unnurl nd wihou ropping ou imporn pr of he imge. The homework problem hllenged you o find oluion uing dynmi progrmming. I will how you noher oluion o hi problem, bed upon nework flow nd minimum u. You probbly remember he problem emen. We hve n imge I[..m,..n]. A er i equene of pixel h form onneed ph from he op of he imge o he boom of he imge. Conneed men h he pixel row i + i mo one poiion o he righ or lef of he pixel row i (i.e., he pixel row i + i eiher ouhe, ouh, or ouhwe of he pixel row i). Deleing er will re-ize he imge o m (n ) imge, yielding new imge h i one pixel nrrower. For eh pixel (i, j), we re given he o of deleing h pixel, nmely, o(i, j). The o of er i he um of he o of he pixel deleed. The gol i o find le-o er. To olve i, we ll define grph where he miniml-o u orrepond o he miniml-o er. The grph i grid wih one verex for eh pixel, long wih peil oure verex nd ink verex. The bi bkbone of he grph look like hi: CS 7, Fll 24, /3 Noe 5
6 Eh red edge i inended o repreen n edge whoe o i. The effe of red (infinie-o) edge from u o v i preven he u from puing u on he lef ide nd v on he righ (ine h would innly mke he o of he u be infinie); ny finie-o u will eiher pu u on righ, or v on he lef, or boh. If you look he pern of he red edge hown bove, i urn ou h hi men h he u will be onneed ph: when i goe from row i o row i +, i n move o he lef or righ by mo one pixel. For inne, onider hi hypoheil u, hown in blue: u v Noie h he edge from u o v ( lbelled in he piure) goe from he lef ide of he u o he righ ide of he u. Alo h edge h infinie o, whih men h he hypoheil u hown in blue h infinie o. Of oure, no infinie-o u n ever be miniml if here exi ny finie-o u, o he blue u hown bove will be exluded. On he oher hnd, he u below i no exluded by he red edge, nd indeed, i orrepond o onneed ph h doe no jump more hn poiion o he lef or righ in eh row: CS 7, Fll 24, /3 Noe 6
7 In ummry, he red edge enfore he onrin h er n only jump lef or righ by one poiion in eh row. To omplee he grph we dd n edge from eh pixel o he neighbor on i righ, hown in blk below. In oher word, we hve dded n edge from eh pixel (i, j) o i neighbor (i, j + ) o he immedie righ. We ign o o hi edge ording o he o of deleing pixel (i, j), i.e., he o of hi edge i o(i, j). (In he e of pixel on he righmo olumn of he imge, nmely pixel (i,n), we ign hi o o he edge from (i,n) o.) Finlly, we ompue he miniml-o u in hi grph. The miniml-o u mu hve he following form. In he fir row, i ple he lefmo x pixel, for ome vlue x, on he lef ide of he u, nd he remining pixel on he righ. In he eond row, i ple he lefmo x 2 pixel on he lef nd he reminder on he righ, for ome x 2. And o on. A rgued bove, we hve x x 2, nd generlly, x i x i+. Conequenly, eh u orrepond o vlid er, where he er i defined o be he e of pixel immediely o he lef of he er line (one pixel per row). The o of he u i he um of he righ-going edge h i u, whih orrepond o he um of he o of he pixel in he er. Conequenly, he miniml-o u in hi grph i exly he miniml-o er. Thi how how lgorihm for he minimum-u problem n be ued o reize imge uomilly. Even more beuifully, hi ide n be exended in righforwrd wy o reizing of video. We ry o find er in eh frme of video, uh h he wo er in wo oneuive frme re CS 7, Fll 24, /3 Noe 7
8 hifed from eh oher by mo ± poiion in eh row. Thi n be enoded minimum-u problem in grph where he pixel form 3-dimenionl ube (rher hn 2-dimenionl grid). I urn ou h hi provide pril nd effiien wy o uomilly reize video, whih i prey nify. CS 7, Fll 24, /3 Noe 8
Maximum Flow. Flow Graph
Mximum Flow Chper 26 Flow Grph A ommon enrio i o ue grph o repreen flow nework nd ue i o nwer queion ou meril flow Flow i he re h meril move hrough he nework Eh direed edge i ondui for he meril wih ome
More informationCSC 373: Algorithm Design and Analysis Lecture 9
CSC 373: Algorihm Deign n Anlyi Leure 9 Alln Boroin Jnury 28, 2013 1 / 16 Leure 9: Announemen n Ouline Announemen Prolem e 1 ue hi Friy. Term Te 1 will e hel nex Mony, Fe in he uoril. Two nnounemen o follow
More information1 The Network Flow Problem
5-5/65: Deign & Anlyi of Algorihm Ooer 5, 05 Leure #0: Nework Flow I l hnged: Ooer 5, 05 In hee nex wo leure we re going o lk ou n imporn lgorihmi prolem lled he Nework Flow Prolem. Nework flow i imporn
More informationGraduate Algorithms CS F-18 Flow Networks
Grue Algorihm CS673-2016F-18 Flow Nework Dvi Glle Deprmen of Compuer Siene Univeriy of Sn Frnio 18-0: Flow Nework Diree Grph G Eh ege weigh i piy Amoun of wer/eon h n flow hrough pipe, for inne Single
More informationSolutions to assignment 3
D Sruure n Algorihm FR 6. Informik Sner, Telikeplli WS 03/04 hp://www.mpi-.mpg.e/~ner/oure/lg03/inex.hml Soluion o ignmen 3 Exerie Arirge i he ue of irepnie in urreny exhnge re o rnform one uni of urreny
More informationBipartite Matching. Matching. Bipartite Matching. Maxflow Formulation
Mching Inpu: undireced grph G = (V, E). Biprie Mching Inpu: undireced, biprie grph G = (, E).. Mching Ern Myr, Hrld äcke Biprie Mching Inpu: undireced, biprie grph G = (, E). Mflow Formulion Inpu: undireced,
More informationLAPLACE TRANSFORMS. 1. Basic transforms
LAPLACE TRANSFORMS. Bic rnform In hi coure, Lplce Trnform will be inroduced nd heir properie exmined; ble of common rnform will be buil up; nd rnform will be ued o olve ome dierenil equion by rnforming
More informationCS3510 Design & Analysis of Algorithms Fall 2017 Section A. Test 3 Solutions. Instructor: Richard Peng In class, Wednesday, Nov 15, 2017
Uer ID (NOT he 9 igi numer): gurell4 CS351 Deign & Anlyi of Algorihm Fll 17 Seion A Te 3 Soluion Inruor: Rihr Peng In l, Weney, Nov 15, 17 Do no open hi quiz ookle unil you re iree o o o. Re ll he inruion
More information4.8 Improper Integrals
4.8 Improper Inegrls Well you ve mde i hrough ll he inegrion echniques. Congrs! Unforunely for us, we sill need o cover one more inegrl. They re clled Improper Inegrls. A his poin, we ve only del wih inegrls
More informationAdmin MAX FLOW APPLICATIONS. Flow graph/networks. Flow constraints 4/30/13. CS lunch today Grading. in-flow = out-flow for every vertex (except s, t)
/0/ dmin lunch oday rading MX LOW PPLIION 0, pring avid Kauchak low graph/nework low nework direced, weighed graph (V, ) poiive edge weigh indicaing he capaciy (generally, aume ineger) conain a ingle ource
More informationMotion. Part 2: Constant Acceleration. Acceleration. October Lab Physics. Ms. Levine 1. Acceleration. Acceleration. Units for Acceleration.
Moion Accelerion Pr : Consn Accelerion Accelerion Accelerion Accelerion is he re of chnge of velociy. = v - vo = Δv Δ ccelerion = = v - vo chnge of velociy elpsed ime Accelerion is vecor, lhough in one-dimensionl
More informationReminder: Flow Networks
0/0/204 Ma/CS 6a Cla 4: Variou (Flow) Execie Reminder: Flow Nework A flow nework i a digraph G = V, E, ogeher wih a ource verex V, a ink verex V, and a capaciy funcion c: E N. Capaciy Source 7 a b c d
More informationSection P.1 Notes Page 1 Section P.1 Precalculus and Trigonometry Review
Secion P Noe Pge Secion P Preclculu nd Trigonomer Review ALGEBRA AND PRECALCULUS Eponen Lw: Emple: 8 Emple: Emple: Emple: b b Emple: 9 EXAMPLE: Simplif: nd wrie wi poiive eponen Fir I will flip e frcion
More informationFlow networks. Flow Networks. A flow on a network. Flow networks. The maximum-flow problem. Introduction to Algorithms, Lecture 22 December 5, 2001
CS 545 Flow Nework lon Efra Slide courey of Charle Leieron wih mall change by Carola Wenk Flow nework Definiion. flow nework i a direced graph G = (V, E) wih wo diinguihed verice: a ource and a ink. Each
More informationRandomized Perfect Bipartite Matching
Inenive Algorihm Lecure 24 Randomized Perfec Biparie Maching Lecurer: Daniel A. Spielman April 9, 208 24. Inroducion We explain a randomized algorihm by Ahih Goel, Michael Kapralov and Sanjeev Khanna for
More informationFlow Networks Alon Efrat Slides courtesy of Charles Leiserson with small changes by Carola Wenk. Flow networks. Flow networks CS 445
CS 445 Flow Nework lon Efr Slide corey of Chrle Leieron wih mll chnge by Crol Wenk Flow nework Definiion. flow nework i direced grph G = (V, E) wih wo diingihed erice: orce nd ink. Ech edge (, ) E h nonnegie
More informatione t dt e t dt = lim e t dt T (1 e T ) = 1
Improper Inegrls There re wo ypes of improper inegrls - hose wih infinie limis of inegrion, nd hose wih inegrnds h pproch some poin wihin he limis of inegrion. Firs we will consider inegrls wih infinie
More informationFlow Networks. Ma/CS 6a. Class 14: Flow Exercises
0/0/206 Ma/CS 6a Cla 4: Flow Exercie Flow Nework A flow nework i a digraph G = V, E, ogeher wih a ource verex V, a ink verex V, and a capaciy funcion c: E N. Capaciy Source 7 a b c d e Sink 0/0/206 Flow
More informationChapter Introduction. 2. Linear Combinations [4.1]
Chper 4 Inrouion Thi hper i ou generlizing he onep you lerne in hper o pe oher n hn R Mny opi in hi hper re heoreil n MATLAB will no e le o help you ou You will ee where MATLAB i ueful in hper 4 n how
More informationgraph of unit step function t
.5 Piecewie coninuou forcing funcion...e.g. urning he forcing on nd off. The following Lplce rnform meril i ueful in yem where we urn forcing funcion on nd off, nd when we hve righ hnd ide "forcing funcion"
More informationGraphs III - Network Flow
Graph III - Nework Flow Flow nework eup graph G=(V,E) edge capaciy w(u,v) 0 - if edge doe no exi, hen w(u,v)=0 pecial verice: ource verex ; ink verex - no edge ino and no edge ou of Aume every verex v
More informationLecture 2: Network Flow. c 14
Comp 260: Avne Algorihms Tufs Universiy, Spring 2016 Prof. Lenore Cowen Srie: Alexner LeNil Leure 2: Nework Flow 1 Flow Neworks s 16 12 13 10 4 20 14 4 Imgine some nework of pipes whih rry wer, represene
More informationAlgorithmic Discrete Mathematics 6. Exercise Sheet
Algorihmic Dicree Mahemaic. Exercie Shee Deparmen of Mahemaic SS 0 PD Dr. Ulf Lorenz 7. and 8. Juni 0 Dipl.-Mah. David Meffer Verion of June, 0 Groupwork Exercie G (Heap-Sor) Ue Heap-Sor wih a min-heap
More informationTransformations. Ordered set of numbers: (1,2,3,4) Example: (x,y,z) coordinates of pt in space. Vectors
Trnformion Ordered e of number:,,,4 Emple:,,z coordine of p in pce. Vecor If, n i i, K, n, i uni ecor Vecor ddiion +w, +, +, + V+w w Sclr roduc,, Inner do roduc α w. w +,.,. The inner produc i SCLR!. w,.,
More informationJonathan Turner Exam 2-10/28/03
CS Algorihm n Progrm Prolm Exm Soluion S Soluion Jonhn Turnr Exm //. ( poin) In h Fioni hp ruur, u wn vrx u n i prn v u ing u v i v h lry lo hil in i l m hil o om ohr vrx. Suppo w hng hi, o h ing u i prorm
More information5. Network flow. Network flow. Maximum flow problem. Ford-Fulkerson algorithm. Min-cost flow. Network flow 5-1
Nework flow -. Nework flow Nework flow Mximum flow prolem Ford-Fulkeron lgorihm Min-co flow Nework flow Nework N i e of direced grph G = (V ; E) ource 2 V which h only ougoing edge ink (or deinion) 2 V
More informationProblem Set If all directed edges in a network have distinct capacities, then there is a unique maximum flow.
CSE 202: Deign and Analyi of Algorihm Winer 2013 Problem Se 3 Inrucor: Kamalika Chaudhuri Due on: Tue. Feb 26, 2013 Inrucion For your proof, you may ue any lower bound, algorihm or daa rucure from he ex
More informationEECE 301 Signals & Systems Prof. Mark Fowler
EECE 31 Signal & Syem Prof. Mark Fowler Noe Se #27 C-T Syem: Laplace Tranform Power Tool for yem analyi Reading Aignmen: Secion 6.1 6.3 of Kamen and Heck 1/18 Coure Flow Diagram The arrow here how concepual
More informationINTEGRALS. Exercise 1. Let f : [a, b] R be bounded, and let P and Q be partitions of [a, b]. Prove that if P Q then U(P ) U(Q) and L(P ) L(Q).
INTEGRALS JOHN QUIGG Eercise. Le f : [, b] R be bounded, nd le P nd Q be priions of [, b]. Prove h if P Q hen U(P ) U(Q) nd L(P ) L(Q). Soluion: Le P = {,..., n }. Since Q is obined from P by dding finiely
More informationCS4445/9544 Analysis of Algorithms II Solution for Assignment 1
Conider he following flow nework CS444/944 Analyi of Algorihm II Soluion for Aignmen (0 mark) In he following nework a minimum cu ha capaciy 0 Eiher prove ha hi aemen i rue, or how ha i i fale Uing he
More information1 Motivation and Basic Definitions
CSCE : Deign and Analyi of Algorihm Noe on Max Flow Fall 20 (Baed on he preenaion in Chaper 26 of Inroducion o Algorihm, 3rd Ed. by Cormen, Leieron, Rive and Sein.) Moivaion and Baic Definiion Conider
More informationRobust Network Coding for Bidirected Networks
Rou Nework Coding for Bidireed Nework A. Sprinon, S. Y. El Rouyhe, nd C. N. Georghide Ar We onider he prolem of nding liner nework ode h gurnee n innneou reovery from edge filure in ommuniion nework. Wih
More information0 for t < 0 1 for t > 0
8.0 Sep nd del funcions Auhor: Jeremy Orloff The uni Sep Funcion We define he uni sep funcion by u() = 0 for < 0 for > 0 I is clled he uni sep funcion becuse i kes uni sep = 0. I is someimes clled he Heviside
More information4/12/12. Applications of the Maxflow Problem 7.5 Bipartite Matching. Bipartite Matching. Bipartite Matching. Bipartite matching: the flow network
// Applicaion of he Maxflow Problem. Biparie Maching Biparie Maching Biparie maching. Inpu: undireced, biparie graph = (, E). M E i a maching if each node appear in a mo one edge in M. Max maching: find
More informationBisimulation, Games & Hennessy Milner logic p.1/32
Clil lnguge heory Biimulion, Gme & Henney Milner logi Leure 1 of Modelli Memii dei Proei Conorreni Pweł Sooińki Univeriy of Souhmon, UK I onerned rimrily wih lnguge, eg finie uom regulr lnguge; uhdown
More information2. VECTORS. R Vectors are denoted by bold-face characters such as R, V, etc. The magnitude of a vector, such as R, is denoted as R, R, V
ME 352 VETS 2. VETS Vecor algebra form he mahemaical foundaion for kinemaic and dnamic. Geomer of moion i a he hear of boh he kinemaic and dnamic of mechanical em. Vecor anali i he imehonored ool for decribing
More informationf(x) dx with An integral having either an infinite limit of integration or an unbounded integrand is called improper. Here are two examples dx x x 2
Impope Inegls To his poin we hve only consideed inegls f() wih he is of inegion nd b finie nd he inegnd f() bounded (nd in fc coninuous ecep possibly fo finiely mny jump disconinuiies) An inegl hving eihe
More informationDiscussion Session 2 Constant Acceleration/Relative Motion Week 03
PHYS 100 Dicuion Seion Conan Acceleraion/Relaive Moion Week 03 The Plan Today you will work wih your group explore he idea of reference frame (i.e. relaive moion) and moion wih conan acceleraion. You ll
More informationGlobal alignment in linear space
Globl linmen in liner spe 1 2 Globl linmen in liner spe Gol: Find n opiml linmen of A[1..n] nd B[1..m] in liner spe, i.e. O(n) Exisin lorihm: Globl linmen wih bkrkin O(nm) ime nd spe, bu he opiml os n
More informationMinimum Squared Error
Minimum Squred Error LDF: Minimum Squred-Error Procedures Ide: conver o esier nd eer undersood prolem Percepron y i > for ll smples y i solve sysem of liner inequliies MSE procedure y i = i for ll smples
More informationMinimum Squared Error
Minimum Squred Error LDF: Minimum Squred-Error Procedures Ide: conver o esier nd eer undersood prolem Percepron y i > 0 for ll smples y i solve sysem of liner inequliies MSE procedure y i i for ll smples
More informationNetwork Flows: Introduction & Maximum Flow
CSC 373 - lgorihm Deign, nalyi, and Complexiy Summer 2016 Lalla Mouaadid Nework Flow: Inroducion & Maximum Flow We now urn our aenion o anoher powerful algorihmic echnique: Local Search. In a local earch
More informationAn integral having either an infinite limit of integration or an unbounded integrand is called improper. Here are two examples.
Improper Inegrls To his poin we hve only considered inegrls f(x) wih he is of inegrion nd b finie nd he inegrnd f(x) bounded (nd in fc coninuous excep possibly for finiely mny jump disconinuiies) An inegrl
More informationSome Inequalities variations on a common theme Lecture I, UL 2007
Some Inequliies vriions on common heme Lecure I, UL 2007 Finbrr Hollnd, Deprmen of Mhemics, Universiy College Cork, fhollnd@uccie; July 2, 2007 Three Problems Problem Assume i, b i, c i, i =, 2, 3 re rel
More informationMathematics 805 Final Examination Answers
. 5 poins Se he Weiersrss M-es. Mhemics 85 Finl Eminion Answers Answer: Suppose h A R, nd f n : A R. Suppose furher h f n M n for ll A, nd h Mn converges. Then f n converges uniformly on A.. 5 poins Se
More informationThe solution is often represented as a vector: 2xI + 4X2 + 2X3 + 4X4 + 2X5 = 4 2xI + 4X2 + 3X3 + 3X4 + 3X5 = 4. 3xI + 6X2 + 6X3 + 3X4 + 6X5 = 6.
[~ o o :- o o ill] i 1. Mrices, Vecors, nd Guss-Jordn Eliminion 1 x y = = - z= The soluion is ofen represened s vecor: n his exmple, he process of eliminion works very smoohly. We cn elimine ll enries
More informationCSC 364S Notes University of Toronto, Spring, The networks we will consider are directed graphs, where each edge has associated with it
CSC 36S Noe Univeriy of Torono, Spring, 2003 Flow Algorihm The nework we will conider are direced graph, where each edge ha aociaed wih i a nonnegaive capaciy. The inuiion i ha if edge (u; v) ha capaciy
More informationREAL ANALYSIS I HOMEWORK 3. Chapter 1
REAL ANALYSIS I HOMEWORK 3 CİHAN BAHRAN The quesions re from Sein nd Shkrchi s e. Chper 1 18. Prove he following sserion: Every mesurble funcion is he limi.e. of sequence of coninuous funcions. We firs
More informationAlgorithms and Data Structures 2011/12 Week 9 Solutions (Tues 15th - Fri 18th Nov)
Algorihm and Daa Srucure 2011/ Week Soluion (Tue 15h - Fri 18h No) 1. Queion: e are gien 11/16 / 15/20 8/13 0/ 1/ / 11/1 / / To queion: (a) Find a pair of ube X, Y V uch ha f(x, Y) = f(v X, Y). (b) Find
More information8.1. a) For step response, M input is u ( t) Taking inverse Laplace transform. as α 0. Ideal response, K c. = Kc Mτ D + For ramp response, 8-1
8. a For ep repone, inpu i u, U Y a U α α Y a α α Taking invere Laplae ranform a α e e / α / α A α 0 a δ 0 e / α a δ deal repone, α d Y i Gi U i δ Hene a α 0 a i For ramp repone, inpu i u, U Soluion anual
More informationt s (half of the total time in the air) d?
.. In Cl or Homework Eercie. An Olmpic long jumper i cpble of jumping 8.0 m. Auming hi horizonl peed i 9.0 m/ he lee he ground, how long w he in he ir nd how high did he go? horizonl? 8.0m 9.0 m / 8.0
More informationMath 2142 Exam 1 Review Problems. x 2 + f (0) 3! for the 3rd Taylor polynomial at x = 0. To calculate the various quantities:
Mah 4 Eam Review Problems Problem. Calculae he 3rd Taylor polynomial for arcsin a =. Soluion. Le f() = arcsin. For his problem, we use he formula f() + f () + f ()! + f () 3! for he 3rd Taylor polynomial
More informationCSCI565 - Compiler Design
CSCI565 - Compiler Deign Spring 6 Due Dte: Fe. 5, 6 t : PM in Cl Prolem [ point]: Regulr Expreion nd Finite Automt Develop regulr expreion (RE) tht detet the longet tring over the lphet {-} with the following
More informationMax-flow and min-cut
Mx-flow nd min-cu Mx-Flow nd Min-Cu Two imporn lgorihmic prolem, which yield euiful duliy Myrid of non-rivil pplicion, i ply n imporn role in he opimizion of mny prolem: Nework conneciviy, irline chedule
More informationMax-flow and min-cut
Mx-flow nd min-cu Mx-Flow nd Min-Cu Two imporn lgorihmic prolem, which yield euiful duliy Myrid of non-rivil pplicion, i ply n imporn role in he opimizion of mny prolem: Nework conneciviy, irline chedule
More information6.8 Laplace Transform: General Formulas
48 HAP. 6 Laplace Tranform 6.8 Laplace Tranform: General Formula Formula Name, ommen Sec. F() l{ f ()} e f () d f () l {F()} Definiion of Tranform Invere Tranform 6. l{af () bg()} al{f ()} bl{g()} Lineariy
More information( ) ( ) ( ) ( ) ( ) ( y )
8. Lengh of Plne Curve The mos fmous heorem in ll of mhemics is he Pyhgoren Theorem. I s formulion s he disnce formul is used o find he lenghs of line segmens in he coordine plne. In his secion you ll
More informationPrice Discrimination
My 0 Price Dicriminion. Direc rice dicriminion. Direc Price Dicriminion uing wo r ricing 3. Indirec Price Dicriminion wih wo r ricing 4. Oiml indirec rice dicriminion 5. Key Inigh ge . Direc Price Dicriminion
More informationMatching. Slides designed by Kevin Wayne.
Maching Maching. Inpu: undireced graph G = (V, E). M E i a maching if each node appear in a mo edge in M. Max maching: find a max cardinaliy maching. Slide deigned by Kevin Wayne. Biparie Maching Biparie
More informationPositive and negative solutions of a boundary value problem for a
Invenion Journl of Reerch Technology in Engineering & Mngemen (IJRTEM) ISSN: 2455-3689 www.ijrem.com Volume 2 Iue 9 ǁ Sepemer 28 ǁ PP 73-83 Poiive nd negive oluion of oundry vlue prolem for frcionl, -difference
More informationBiol. 356 Lab 8. Mortality, Recruitment, and Migration Rates
Biol. 356 Lab 8. Moraliy, Recruimen, and Migraion Raes (modified from Cox, 00, General Ecology Lab Manual, McGraw Hill) Las week we esimaed populaion size hrough several mehods. One assumpion of all hese
More informationIntroduction to Congestion Games
Algorihmic Game Theory, Summer 2017 Inroducion o Congeion Game Lecure 1 (5 page) Inrucor: Thoma Keelheim In hi lecure, we ge o know congeion game, which will be our running example for many concep in game
More informationSph3u Practice Unit Test: Kinematics (Solutions) LoRusso
Sph3u Prcice Uni Te: Kinemic (Soluion) LoRuo Nme: Tuey, Ocober 3, 07 Ku: /45 pp: /0 T&I: / Com: Thi i copy of uni e from 008. Thi will be imilr o he uni e you will be wriing nex Mony. you cn ee here re
More informationANSWERS TO EVEN NUMBERED EXERCISES IN CHAPTER 2
ANSWERS TO EVEN NUMBERED EXERCISES IN CHAPTER Seion Eerise -: Coninuiy of he uiliy funion Le λ ( ) be he monooni uiliy funion defined in he proof of eisene of uiliy funion If his funion is oninuous y hen
More informationALG 5.3 Flow Algorithms:
ALG 5. low Algorihm: () Mx-flow, min-u Theorem () Augmening Ph () 0 - flow (d) Verex Conneiviy (e) Plnr low Min Reding Seleion: CLR, Chper 7 Algorihm Profeor John Reif Auxillry Reding Seleion: Hndou: "Nework
More informationToday s topics. CSE 421 Algorithms. Problem Reduction Examples. Problem Reduction. Undirected Network Flow. Bipartite Matching. Problem Reductions
Today opic CSE Algorihm Richard Anderon Lecure Nework Flow Applicaion Prolem Reducion Undireced Flow o Flow Biparie Maching Dijoin Pah Prolem Circulaion Loweround conrain on flow Survey deign Prolem Reducion
More informationHow to Prove the Riemann Hypothesis Author: Fayez Fok Al Adeh.
How o Prove he Riemnn Hohesis Auhor: Fez Fok Al Adeh. Presiden of he Srin Cosmologicl Socie P.O.Bo,387,Dmscus,Sri Tels:963--77679,735 Emil:hf@scs-ne.org Commens: 3 ges Subj-Clss: Funcionl nlsis, comle
More informationLaplace Transform. Inverse Laplace Transform. e st f(t)dt. (2)
Laplace Tranform Maoud Malek The Laplace ranform i an inegral ranform named in honor of mahemaician and aronomer Pierre-Simon Laplace, who ued he ranform in hi work on probabiliy heory. I i a powerful
More informationDesigning A Fanlike Structure
Designing A Fnlike Sruure To proeed wih his lesson, lik on he Nex buon here or he op of ny pge. When you re done wih his lesson, lik on he Conens buon here or he op of ny pge o reurn o he lis of lessons.
More informationAlgorithm Design and Analysis
Algorihm Deign and Analyi LECTURE 0 Nework Flow Applicaion Biparie maching Edge-dijoin pah Adam Smih 0//0 A. Smih; baed on lide by E. Demaine, C. Leieron, S. Rakhodnikova, K. Wayne La ime: Ford-Fulkeron
More informationContraction Mapping Principle Approach to Differential Equations
epl Journl of Science echnology 0 (009) 49-53 Conrcion pping Principle pproch o Differenil Equions Bishnu P. Dhungn Deprmen of hemics, hendr Rn Cmpus ribhuvn Universiy, Khmu epl bsrc Using n eension of
More informationProblem Set 9 Due December, 7
EE226: Random Proesses in Sysems Leurer: Jean C. Walrand Problem Se 9 Due Deember, 7 Fall 6 GSI: Assane Gueye his problem se essenially reviews Convergene and Renewal proesses. No all exerises are o be
More information() t. () t r () t or v. ( t) () () ( ) = ( ) or ( ) () () () t or dv () () Section 10.4 Motion in Space: Velocity and Acceleration
Secion 1.4 Moion in Spce: Velociy nd Acceleion We e going o dive lile deepe ino somehing we ve ledy inoduced, nmely () nd (). Discuss wih you neighbo he elionships beween posiion, velociy nd cceleion you
More informationReleased Assessment Questions, 2017 QUESTIONS
Relese Assessmen Quesions, 17 QUESTIONS Gre 9 Assessmen of Mhemis Aemi Re he insruions elow. Along wih his ookle, mke sure ou hve he Answer Bookle n he Formul Shee. You m use n spe in his ook for rough
More informationSeptember 20 Homework Solutions
College of Engineering nd Compuer Science Mechnicl Engineering Deprmen Mechnicl Engineering A Seminr in Engineering Anlysis Fll 7 Number 66 Insrucor: Lrry Creo Sepember Homework Soluions Find he specrum
More informationThe Residual Graph. 12 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm
Augmening Pah Algorihm Greedy-algorihm: ar wih f (e) = everywhere find an - pah wih f (e) < c(e) on every edge augmen flow along he pah repea a long a poible The Reidual Graph From he graph G = (V, E,
More informationMaximum Flow in Planar Graphs
Maximum Flow in Planar Graph Planar Graph and i Dual Dualiy i defined for direced planar graph a well Minimum - cu in undireced planar graph An - cu (undireced graph) An - cu The dual o he cu Cu/Cycle
More informationSample Final Exam (finals03) Covering Chapters 1-9 of Fundamentals of Signals & Systems
Sample Final Exam Covering Chaper 9 (final04) Sample Final Exam (final03) Covering Chaper 9 of Fundamenal of Signal & Syem Problem (0 mar) Conider he caual opamp circui iniially a re depiced below. I LI
More informationThe Residual Graph. 11 Augmenting Path Algorithms. Augmenting Path Algorithm. Augmenting Path Algorithm
Augmening Pah Algorihm Greedy-algorihm: ar wih f (e) = everywhere find an - pah wih f (e) < c(e) on every edge augmen flow along he pah repea a long a poible The Reidual Graph From he graph G = (V, E,
More informationPhysics 240: Worksheet 16 Name
Phyic 4: Workhee 16 Nae Non-unifor circular oion Each of hee proble involve non-unifor circular oion wih a conan α. (1) Obain each of he equaion of oion for non-unifor circular oion under a conan acceleraion,
More informationNotes on cointegration of real interest rates and real exchange rates. ρ (2)
Noe on coinegraion of real inere rae and real exchange rae Charle ngel, Univeriy of Wiconin Le me ar wih he obervaion ha while he lieraure (mo prominenly Meee and Rogoff (988) and dion and Paul (993))
More informationHow to Solve System Dynamic s Problems
How o Solve Sye Dynaic Proble A ye dynaic proble involve wo or ore bodie (objec) under he influence of everal exernal force. The objec ay uliaely re, ove wih conan velociy, conan acceleraion or oe cobinaion
More informationON DIFFERENTIATION OF A LEBESGUE INTEGRAL WITH RESPECT TO A PARAMETER
Mh. Appl. 1 (2012, 91 116 ON DIFFERENTIATION OF A LEBESGUE INTEGRAL WITH RESPECT TO A PARAMETER JIŘÍ ŠREMR Abr. The im of hi pper i o diu he bolue oninuiy of erin ompoie funion nd differeniion of Lebegue
More information18 Extensions of Maximum Flow
Who are you?" aid Lunkwill, riing angrily from hi ea. Wha do you wan?" I am Majikhie!" announced he older one. And I demand ha I am Vroomfondel!" houed he younger one. Majikhie urned on Vroomfondel. I
More informationPHYSICS 1210 Exam 1 University of Wyoming 14 February points
PHYSICS 1210 Em 1 Uniersiy of Wyoming 14 Februry 2013 150 poins This es is open-noe nd closed-book. Clculors re permied bu compuers re no. No collborion, consulion, or communicion wih oher people (oher
More informationIntroduction to SLE Lecture Notes
Inroducion o SLE Lecure Noe May 13, 16 - The goal of hi ecion i o find a ufficien condiion of λ for he hull K o be generaed by a imple cure. I urn ou if λ 1 < 4 hen K i generaed by a imple curve. We will
More informationSoviet Rail Network, 1955
7.1 Nework Flow Sovie Rail Nework, 19 Reerence: On he hiory o he ranporaion and maximum low problem. lexander Schrijver in Mah Programming, 91: 3, 00. (See Exernal Link ) Maximum Flow and Minimum Cu Max
More informationarxiv: v1 [cs.cg] 21 Mar 2013
On he rech facor of he Thea-4 graph Lui Barba Proenji Boe Jean-Lou De Carufel André van Renen Sander Verdoncho arxiv:1303.5473v1 [c.cg] 21 Mar 2013 Abrac In hi paper we how ha he θ-graph wih 4 cone ha
More informationLinear Quadratic Regulator (LQR) - State Feedback Design
Linear Quadrai Regulaor (LQR) - Sae Feedbak Design A sysem is expressed in sae variable form as x = Ax + Bu n m wih x( ) R, u( ) R and he iniial ondiion x() = x A he sabilizaion problem using sae variable
More informationPSAT/NMSQT PRACTICE ANSWER SHEET SECTION 3 EXAMPLES OF INCOMPLETE MARKS COMPLETE MARK B C D B C D B C D B C D B C D 13 A B C D B C D 11 A B C D B C D
PSTNMSQT PRCTICE NSWER SHEET COMPLETE MRK EXMPLES OF INCOMPLETE MRKS I i recommended a you ue a No pencil I i very imporan a you fill in e enire circle darkly and compleely If you cange your repone, erae
More informationPHYSICS 211 MIDTERM I 22 October 2003
PHYSICS MIDTERM I October 3 Exm i cloed book, cloed note. Ue onl our formul heet. Write ll work nd nwer in exm booklet. The bck of pge will not be grded unle ou o requet on the front of the pge. Show ll
More informationMagnetostatics Bar Magnet. Magnetostatics Oersted s Experiment
Mgneosics Br Mgne As fr bck s 4500 yers go, he Chinese discovered h cerin ypes of iron ore could rc ech oher nd cerin mels. Iron filings "mp" of br mgne s field Crefully suspended slivers of his mel were
More informationHow to prove the Riemann Hypothesis
Scholrs Journl of Phsics, Mhemics nd Sisics Sch. J. Phs. Mh. S. 5; (B:5-6 Scholrs Acdemic nd Scienific Publishers (SAS Publishers (An Inernionl Publisher for Acdemic nd Scienific Resources *Corresonding
More information3 Motion with constant acceleration: Linear and projectile motion
3 Moion wih consn ccelerion: Liner nd projecile moion cons, In he precedin Lecure we he considered moion wih consn ccelerion lon he is: Noe h,, cn be posiie nd neie h leds o rie of behiors. Clerl similr
More informationMain Reference: Sections in CLRS.
Maximum Flow Reied 09/09/200 Main Reference: Secion 26.-26. in CLRS. Inroducion Definiion Muli-Source Muli-Sink The Ford-Fulkeron Mehod Reidual Nework Augmening Pah The Max-Flow Min-Cu Theorem The Edmond-Karp
More informationEE Control Systems LECTURE 2
Copyrigh F.L. Lewi 999 All righ reerved EE 434 - Conrol Syem LECTURE REVIEW OF LAPLACE TRANSFORM LAPLACE TRANSFORM The Laplace ranform i very ueful in analyi and deign for yem ha are linear and ime-invarian
More informationPredator - Prey Model Trajectories and the nonlinear conservation law
Predaor - Prey Model Trajecories and he nonlinear conservaion law James K. Peerson Deparmen of Biological Sciences and Deparmen of Mahemaical Sciences Clemson Universiy Ocober 28, 213 Ouline Drawing Trajecories
More informationP a g e 5 1 of R e p o r t P B 4 / 0 9
P a g e 5 1 of R e p o r t P B 4 / 0 9 J A R T a l s o c o n c l u d e d t h a t a l t h o u g h t h e i n t e n t o f N e l s o n s r e h a b i l i t a t i o n p l a n i s t o e n h a n c e c o n n e
More informationMax Flow, Min Cut COS 521. Kevin Wayne Fall Soviet Rail Network, Cuts. Minimum Cut Problem. Flow network.
Sovie Rail Nework, Max Flow, Min u OS Kevin Wayne Fall Reference: On he hiory of he ranporaion and maximum flow problem. lexander Schrijver in Mah Programming, :,. Minimum u Problem u Flow nework.! Digraph
More informationMTH 146 Class 11 Notes
8.- Are of Surfce of Revoluion MTH 6 Clss Noes Suppose we wish o revolve curve C round n is nd find he surfce re of he resuling solid. Suppose f( ) is nonnegive funcion wih coninuous firs derivive on he
More information