CSC 373: Algorithm Design and Analysis Lecture 9

Size: px
Start display at page:

Download "CSC 373: Algorithm Design and Analysis Lecture 9"

Transcription

1 CSC 373: Algorihm Deign n Anlyi Leure 9 Alln Boroin Jnury 28, / 16

2 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 ou hooing CS Fou n pplying o Grue Shool. Toy ouline Sr flow nework For Fulkeron n ugmening ph For Fulkeron lol erh lgorihm 2 / 16

3 Chooing fou in CS CHOOSE YOUR OWN ADVENTURE: UNDERSTANDING THE CONCENTRATIONS FOCUSES THURSDAY, FEBRUARY 7, :00 m 1:00pm ROOM: BA1180 HUMAN-COMPUTER INTERACTION, COMPUTER SYSTEMS, GAME DESIGN... So mny hoie! Fin ou wh eh Fou i ou n where i migh ke you. Ge your queion nwere y fuly exper in eh Fou re. For queion, on ugliion@.orono.eu. 3 / 16

4 Thinking ou Grue Shool? GRAD SCHOOL INFO SESSION TUESDAY, FEBRUARY 12, :00 m 1:00pm ROOM: BA2135 THINKING ABOUT GRAD SCHOOL? Ge ome nwer! Wh i gr hool i like? How o I pply? How n I prepre n unergrue uen? How n I give myelf he e ege n ge ino he hool of my rem! For queion, on ugliion@.orono.eu. / 16

5 Flow nework I will e following our ol CSC36 leure noe for he i efiniion n reul onerning he ompuion of mx flow. We follow he onvenion of llowing negive flow. While inuiively hi my no eem o nurl, i oe implify he evelopmen. The DPV n KT ex ue he perhp more nr onvenion of ju hving non-negive flow. Definiion A flow nework (more uggeive o y piy nework) i uple F = (G,,, ) where G = (V, E) i iireionl grph he oure n he erminl re noe in V he piy : E R 0 5 / 16

6 Wh i flow? A flow i funion f : E R ifying he following properie: 1 Cpiy onrin: for ll (u, v) E, 2 Skew ymmery: for ll (u, v) E, f (u, v) (u, v) f (u, v) = f (v, u) 3 Flow onervion: for ll noe u (exep for n ), Noe v N(u) f (u, v) = 0 Coniion 3 i he flow in = flow ou onrin if we were uing he onvenion of only hving non-negive flow. 6 / 16

7 An exmple 1/1 13/20 17/22 1/10 1/ /8 7/7 8/13 / 11/15 The noion x/y on n ege (u, v) men x i he flow, i.e. x = f (u, v) y i he piy, i.e. x = (u, v) 7 / 16

8 An exmple of flow onervion 1/1 13/20 17/22 1/10 1/ /8 7/7 8/13 / 11/15 For noe : f (, ) + f (, ) + f (, ) = 13 + ( 1) + 1 = 0 8 / 16

9 An exmple of flow onervion 1/1 13/20 17/22 1/10 1/ /8 7/7 8/13 / 11/15 For noe : f (, ) + f (, ) + f (, ) = 13 + ( 1) + 1 = 0 For noe : f (, ) + f (, ) + f (, ) + f (, ) = ( 7) + 17 = 0 8 / 16

10 The mx flow prolem The mx flow prolem Given nework flow, he gol i o fin vli flow h mximize he flow ou of he oure noe. A we will ee hi i lo equivlen o mximizing he flow in o he erminl noe. (Thi houl no e urpriing flow onervion ie h no flow i eing ore in he oher noe.) We le vl(f ) enoe he flow ou of he oure for given flow f. We will uy he For-Fulkeron ugmening ph heme for ompuing n opiml flow. I m lling i heme here re mny wy o innie hi heme lhough I on view i generl prigm in he wy I view (y) greey n DP lgorihm. 9 / 16

11 So why uy For-Fulkeron? Why o we uy he For-Fulkeron heme if i i no very generi lgorihmi pproh? A in DPV ex, mx flow prolem n lo e repreene liner progrm (LP) n ll LP n e olve in polynomil ime. I view For-Fulkeron n ugmening ph n imporn exmple of lol erh lgorihm lhough unlike mo lol erh lgorihm we oin n opiml oluion. The opi of mx flow (n vriou generlizion) i imporn eue of i immeie ppliion n mny ppliion of mx flow ype prolem o oher prolem (e.g. mx iprie mhing). Th i mny prolem n e polynomil ime rnforme/reue o mx flow (or one of i generlizion). One migh refer o ll hee ppliion flow e meho. 10 / 16

12 A flow f n i reiul grph Noe Given ny flow f for flow nework F = (G,,, ), we efine he reiul grph G f = (V, E f ), where V i he e of verie of he originl flow nework F E f i he e of ll ege e hving poiive reiul piy f (e) = (e) f (e) > 0. Noe h (e) f (e) 0 for ll ege y he piy onrin. Wih our onvenion of negive flow, even zero piy ege (in G) n hve reiul piy. The i onep unerlying he For-Fulkeron lgorihm i n ugmening ph whih i n - ph in G f. Suh ph n e ue o ugmen he urren flow f o erive eer flow f. 11 / 16

13 An exmple of reiul grph 1/1 13/20 17/22 1/10 1/ /8 7/7 8/13 / 11/15 The previou nework flow The reiul grph 12 / 16

14 The reiul piy of n ugmening ph Given n ugmening ph π in G f, we efine i reiul piy f (π) o e he min{(e) f (e) e π} Noe: he reiul piy of n ugmening ph i ielf i greer hn 0 ine every ege in he ph h poiive reiul piy. Queion: How woul we ompue n ugmening ph of mximum reiul piy? 13 / 16

15 Uing n ugmening ph o improve he flow We n hink of n ugmening ph efining flow f π (in he reiul nework ): f (π) if (u, v) π f π (u, v) = f (π) if (v, u) π 0 oherwie Clim f = f + f π i flow in F n vl(f ) > vl(f ) 1 / 16

16 Deriving eer flow uing n ugmening ph 13/20 1/1 17/ /10 1/ /8 7/ /13 / 11/15 The originl nework flow 5 11 An ugmening ph π wih f (π) = 15 / 16

17 Deriving eer flow uing n ugmening ph 13/20 1/1 17/ /10 1/ /8 7/ /13 / 11/15 The originl nework flow 1/ An ugmening ph π wih f (π) = 17/20 21/22 3/10 3/ 0/8 7/7 8/13 / 11/15 The upe flow whoe vlue = / 16

18 Deriving eer flow uing n ugmening ph 13/20 1/1 17/ /10 1/ /8 7/ /13 / 11/15 The originl nework flow 1/1 17/20 21/22 3/10 3/ 0/8 7/7 8/13 / 11/15 The upe flow whoe vlue = An ugmening ph π wih f (π) = Upe re. grph wih no ug. ph 15 /

19 The For-Fulkeron heme The For-Fulkeron heme 1: /* Iniilize */ 2: f := 0 3: G f := G : while here i n ugmening ph π in G f o 5: f := f + f π /* Noe hi lo hnge G f */ 6: en while Noe I ll hi heme rher hn n lgorihm ine we hven i how one hooe n ugmening ph ( here n e mny uh ph) 16 / 16

Graduate Algorithms CS F-18 Flow Networks

Graduate 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 information

1 The Network Flow Problem

1 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 information

Maximum Flow. Flow Graph

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 information

Chapter Introduction. 2. Linear Combinations [4.1]

Chapter 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 information

Solutions to assignment 3

Solutions 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 information

CS3510 Design & Analysis of Algorithms Fall 2017 Section A. Test 3 Solutions. Instructor: Richard Peng In class, Wednesday, Nov 15, 2017

CS3510 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 information

Lecture 2: Network Flow. c 14

Lecture 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 information

Bipartite Matching. Matching. Bipartite Matching. Maxflow Formulation

Bipartite 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 information

Fall 2014 David Wagner 10/31 Notes. The min-cut problem. Examples

Fall 2014 David Wagner 10/31 Notes. The min-cut problem. Examples 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

More information

Network Flows: Introduction & Maximum Flow

Network 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 information

Jonathan Turner Exam 2-10/28/03

Jonathan 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 information

A LOG IS AN EXPONENT.

A LOG IS AN EXPONENT. Ojeives: n nlze nd inerpre he ehvior of rihmi funions, inluding end ehvior nd smpoes. n solve rihmi equions nlill nd grphill. n grph rihmi funions. n deermine he domin nd rnge of rihmi funions. n deermine

More information

Flow Networks Alon Efrat Slides courtesy of Charles Leiserson with small changes by Carola Wenk. Flow networks. Flow networks CS 445

Flow 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 information

Positive and negative solutions of a boundary value problem for a

Positive 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 information

4.8 Improper Integrals

4.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 information

5. Network flow. Network flow. Maximum flow problem. Ford-Fulkerson algorithm. Min-cost flow. Network flow 5-1

5. 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 information

Flow networks. Flow Networks. A flow on a network. Flow networks. The maximum-flow problem. Introduction to Algorithms, Lecture 22 December 5, 2001

Flow 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 information

can be viewed as a generalized product, and one for which the product of f and g. That is, does

can be viewed as a generalized product, and one for which the product of f and g. That is, does Boyce/DiPrim 9 h e, Ch 6.6: The Convoluion Inegrl Elemenry Differenil Equion n Bounry Vlue Problem, 9 h eiion, by Willim E. Boyce n Richr C. DiPrim, 9 by John Wiley & Son, Inc. Someime i i poible o wrie

More information

LAPLACE TRANSFORMS. 1. Basic transforms

LAPLACE 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 information

Problem Set If all directed edges in a network have distinct capacities, then there is a unique maximum flow.

Problem 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 information

Max-flow and min-cut

Max-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 information

ALG 5.3 Flow Algorithms:

ALG 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 information

Max-flow and min-cut

Max-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 information

Max Flow, Min Cut COS 521. Kevin Wayne Fall Soviet Rail Network, Cuts. Minimum Cut Problem. Flow network.

Max 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 information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorihm Deign and Analyi LECTURES 17 Nework Flow Dualiy of Max Flow and Min Cu Algorihm: Ford-Fulkeron Capaciy Scaling Sofya Rakhodnikova S. Rakhodnikova; baed on lide by E. Demaine, C. Leieron, A. Smih,

More information

e t dt e t dt = lim e t dt T (1 e T ) = 1

e 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 information

Maximum Flow and Minimum Cut

Maximum Flow and Minimum Cut // Sovie Rail Nework, Maximum Flow and Minimum Cu Max flow and min cu. Two very rich algorihmic problem. Cornerone problem in combinaorial opimizaion. Beauiful mahemaical dualiy. Nework Flow Flow nework.

More information

Soviet Rail Network, 1955

Soviet 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 information

graph of unit step function t

graph 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 information

1 Motivation and Basic Definitions

1 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 information

Admin 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)

Admin 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 information

6/3/2009. CS 244 Algorithm Design Instructor: t Artur Czumaj. Lecture 8 Network flows. Maximum Flow and Minimum Cut. Minimum Cut Problem.

6/3/2009. CS 244 Algorithm Design Instructor: t Artur Czumaj. Lecture 8 Network flows. Maximum Flow and Minimum Cut. Minimum Cut Problem. Maximum Flow and Minimum Cu CS lgorihm Deign Inrucor: rur Czumaj Lecure Nework Max and min cu. Two very rich algorihmic problem. Cornerone problem in combinaorial opimizaion. Beauiful mahemaical dualiy.

More information

Section P.1 Notes Page 1 Section P.1 Precalculus and Trigonometry Review

Section 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 information

( ) ( ) ( ) ( ) ( ) ( y )

( ) ( ) ( ) ( ) ( ) ( 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 information

Sph3u Practice Unit Test: Kinematics (Solutions) LoRusso

Sph3u 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 information

EECE 301 Signals & Systems Prof. Mark Fowler

EECE 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 information

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106

18.06 Problem Set 4 Due Wednesday, Oct. 11, 2006 at 4:00 p.m. in 2-106 8. Problem Set Due Wenesy, Ot., t : p.m. in - Problem Mony / Consier the eight vetors 5, 5, 5,..., () List ll of the one-element, linerly epenent sets forme from these. (b) Wht re the two-element, linerly

More information

Main Reference: Sections in CLRS.

Main 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 information

Robust Network Coding for Bidirected Networks

Robust 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 information

! Abstraction for material flowing through the edges. ! G = (V, E) = directed graph, no parallel edges.

! Abstraction for material flowing through the edges. ! G = (V, E) = directed graph, no parallel edges. Sovie Rail Nework, haper Nework Flow Slide by Kevin Wayne. opyrigh Pearon-ddion Weley. ll righ reerved. Reference: On he hiory of he ranporaion and maximum flow problem. lexander Schrijver in Mah Programming,

More information

DC Miniature Solenoids KLM Varioline

DC Miniature Solenoids KLM Varioline DC Miniure Solenoi KLM Vrioline DC Miniure Solenoi Type KLM Deign: Single roke olenoi pulling n puhing, oule roke n invere roke ype. Snr: Zinc ple (opionl: pine / nickel ple) Fixing: Cenrl or flnge mouning.

More information

Algorithms and Data Structures 2011/12 Week 9 Solutions (Tues 15th - Fri 18th Nov)

Algorithms 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 information

IX.1.1 The Laplace Transform Definition 700. IX.1.2 Properties 701. IX.1.3 Examples 702. IX.1.4 Solution of IVP for ODEs 704

IX.1.1 The Laplace Transform Definition 700. IX.1.2 Properties 701. IX.1.3 Examples 702. IX.1.4 Solution of IVP for ODEs 704 Chper IX The Inegrl Trnform Mehod IX. The plce Trnform November 4, 7 699 IX. THE APACE TRANSFORM IX.. The plce Trnform Definiion 7 IX.. Properie 7 IX..3 Emple 7 IX..4 Soluion of IVP for ODE 74 IX..5 Soluion

More information

1. Find a basis for the row space of each of the following matrices. Your basis should consist of rows of the original matrix.

1. Find a basis for the row space of each of the following matrices. Your basis should consist of rows of the original matrix. Mh 7 Exm - Prcice Prolem Solions. Find sis for he row spce of ech of he following mrices. Yor sis shold consis of rows of he originl mrix. 4 () 7 7 8 () Since we wn sis for he row spce consising of rows

More information

CSC 364S Notes University of Toronto, Spring, The networks we will consider are directed graphs, where each edge has associated with it

CSC 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 information

More on Magnetically C Coupled Coils and Ideal Transformers

More on Magnetically C Coupled Coils and Ideal Transformers Appenix ore on gneiclly C Couple Coils Iel Trnsformers C. Equivlen Circuis for gneiclly Couple Coils A imes, i is convenien o moel mgneiclly couple coils wih n equivlen circui h oes no involve mgneic coupling.

More information

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours

Mid-Term Examination - Spring 2014 Mathematical Programming with Applications to Economics Total Score: 45; Time: 3 hours Mi-Term Exmintion - Spring 0 Mthemtil Progrmming with Applitions to Eonomis Totl Sore: 5; Time: hours. Let G = (N, E) e irete grph. Define the inegree of vertex i N s the numer of eges tht re oming into

More information

Minimum Squared Error

Minimum 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 information

Matching. Slides designed by Kevin Wayne.

Matching. 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 information

SOME USEFUL MATHEMATICS

SOME USEFUL MATHEMATICS SOME USEFU MAHEMAICS SOME USEFU MAHEMAICS I is esy o mesure n preic he behvior of n elecricl circui h conins only c volges n currens. However, mos useful elecricl signls h crry informion vry wih ime. Since

More information

Minimum Squared Error

Minimum 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 information

CS4445/9544 Analysis of Algorithms II Solution for Assignment 1

CS4445/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 information

The Shortest Path Problem Graph Algorithms - 3

The Shortest Path Problem Graph Algorithms - 3 Algorithm Deign nd Anli Vitor Admhik C - pring Leture Feb, Crnegie Mellon Univerit The hortet Pth Problem Grph Algorithm - The hortet Pth Problem Given poitivel weighted grph G with oure verte, find the

More information

Chapter 9 - The Laplace Transform

Chapter 9 - The Laplace Transform Chaper 9 - The Laplace Tranform Selece Soluion. Skech he pole-zero plo an region of convergence (if i exi) for hee ignal. ω [] () 8 (a) x e u = 8 ROC σ ( ) 3 (b) x e co π u ω [] ( ) () (c) x e u e u ROC

More information

The 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.

The 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 information

Lecture 6: Coding theory

Lecture 6: Coding theory Leture 6: Coing theory Biology 429 Crl Bergstrom Ferury 4, 2008 Soures: This leture loosely follows Cover n Thoms Chpter 5 n Yeung Chpter 3. As usul, some of the text n equtions re tken iretly from those

More information

IX.1.1 The Laplace Transform Definition 700. IX.1.2 Properties 701. IX.1.3 Examples 702. IX.1.4 Solution of IVP for ODEs 704

IX.1.1 The Laplace Transform Definition 700. IX.1.2 Properties 701. IX.1.3 Examples 702. IX.1.4 Solution of IVP for ODEs 704 Chper IX The Inegrl Trnform Mehod IX. The plce Trnform November 6, 8 699 IX. THE APACE TRANSFORM IX.. The plce Trnform Definiion 7 IX.. Properie 7 IX..3 Emple 7 IX..4 Soluion of IVP for ODE 74 IX..5 Soluion

More information

Project 6: Minigoals Towards Simplifying and Rewriting Expressions

Project 6: Minigoals Towards Simplifying and Rewriting Expressions MAT 51 Wldis Projet 6: Minigols Towrds Simplifying nd Rewriting Expressions The distriutive property nd like terms You hve proly lerned in previous lsses out dding like terms ut one prolem with the wy

More information

Bisimulation, Games & Hennessy Milner logic p.1/32

Bisimulation, 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 information

Global alignment in linear space

Global 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 information

y = c 2 MULTIPLE CHOICE QUESTIONS (MCQ's) (Each question carries one mark) is...

y = c 2 MULTIPLE CHOICE QUESTIONS (MCQ's) (Each question carries one mark) is... . Liner Equtions in Two Vriles C h p t e r t G l n e. Generl form of liner eqution in two vriles is x + y + 0, where 0. When we onsier system of two liner equtions in two vriles, then suh equtions re lle

More information

3. Renewal Limit Theorems

3. Renewal Limit Theorems Virul Lborories > 14. Renewl Processes > 1 2 3 3. Renewl Limi Theorems In he inroducion o renewl processes, we noed h he rrivl ime process nd he couning process re inverses, in sens The rrivl ime process

More information

Some Inequalities variations on a common theme Lecture I, UL 2007

Some 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 information

5.1-The Initial-Value Problems For Ordinary Differential Equations

5.1-The Initial-Value Problems For Ordinary Differential Equations 5.-The Iniil-Vlue Problems For Ordinry Differenil Equions Consider solving iniil-vlue problems for ordinry differenil equions: (*) y f, y, b, y. If we know he generl soluion y of he ordinry differenil

More information

1.0 Electrical Systems

1.0 Electrical Systems . Elecricl Sysems The ypes of dynmicl sysems we will e sudying cn e modeled in erms of lgeric equions, differenil equions, or inegrl equions. We will egin y looking fmilir mhemicl models of idel resisors,

More information

CS 491G Combinatorial Optimization Lecture Notes

CS 491G Combinatorial Optimization Lecture Notes CS 491G Comintoril Optimiztion Leture Notes Dvi Owen July 30, August 1 1 Mthings Figure 1: two possile mthings in simple grph. Definition 1 Given grph G = V, E, mthing is olletion of eges M suh tht e i,

More information

Greedy. I Divide and Conquer. I Dynamic Programming. I Network Flows. Network Flow. I Previous topics: design techniques

Greedy. I Divide and Conquer. I Dynamic Programming. I Network Flows. Network Flow. I Previous topics: design techniques Algorihm Deign Technique CS : Nework Flow Dan Sheldon April, reedy Divide and Conquer Dynamic Programming Nework Flow Comparion Nework Flow Previou opic: deign echnique reedy Divide and Conquer Dynamic

More information

5.4, 6.1, 6.2 Handout. As we ve discussed, the integral is in some way the opposite of taking a derivative. The exact relationship

5.4, 6.1, 6.2 Handout. As we ve discussed, the integral is in some way the opposite of taking a derivative. The exact relationship 5.4, 6.1, 6.2 Hnout As we ve iscusse, the integrl is in some wy the opposite of tking erivtive. The exct reltionship is given by the Funmentl Theorem of Clculus: The Funmentl Theorem of Clculus: If f is

More information

Algorithm Design and Analysis

Algorithm 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 information

Homework 5 for BST 631: Statistical Theory I Solutions, 09/21/2006

Homework 5 for BST 631: Statistical Theory I Solutions, 09/21/2006 Homewok 5 fo BST 63: Sisicl Theoy I Soluions, 9//6 Due Time: 5:PM Thusy, on 9/8/6. Polem ( oins). Book olem.8. Soluion: E = x f ( x) = ( x) f ( x) + ( x ) f ( x) = xf ( x) + xf ( x) + f ( x) f ( x) Accoing

More information

Motion. Part 2: Constant Acceleration. Acceleration. October Lab Physics. Ms. Levine 1. Acceleration. Acceleration. Units for Acceleration.

Motion. 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 information

MATH4455 Module 10 Evens, Odds and Ends

MATH4455 Module 10 Evens, Odds and Ends MATH4455 Module 10 Even, Odd nd End Min Mth Conept: Prity, Ple Vlue Nottion, Enumertion, Story Prolem Auxiliry Ide: Tournment, Undireted grph I. The Mind-Reding Clultor Prolem. How doe the mind-reding

More information

And I Saw a New Heaven

And I Saw a New Heaven n Sw New Heven NTHEM For Choir (STB) n Orgn John Kilprik (VERSON FOR KEYBORD) 2008 John Kilprik This work my freely uplie, performe n reore. Copies shoul sol exep o over prining oss. rev: 23/08/2010 prin:

More information

Now we must transform the original model so we can use the new parameters. = S max. Recruits

Now we must transform the original model so we can use the new parameters. = S max. Recruits MODEL FOR VARIABLE RECRUITMENT (ontinue) Alterntive Prmeteriztions of the pwner-reruit Moels We n write ny moel in numerous ifferent ut equivlent forms. Uner ertin irumstnes it is onvenient to work with

More information

More on ODEs by Laplace Transforms October 30, 2017

More on ODEs by Laplace Transforms October 30, 2017 More on OE b Laplace Tranfor Ocober, 7 More on Ordinar ifferenial Equaion wih Laplace Tranfor Larr areo Mechanical Engineering 5 Seinar in Engineering nali Ocober, 7 Ouline Review la cla efiniion of Laplace

More information

MORE FUNCTION GRAPHING; OPTIMIZATION. (Last edited October 28, 2013 at 11:09pm.)

MORE FUNCTION GRAPHING; OPTIMIZATION. (Last edited October 28, 2013 at 11:09pm.) MORE FUNCTION GRAPHING; OPTIMIZATION FRI, OCT 25, 203 (Lst edited October 28, 203 t :09pm.) Exercise. Let n be n rbitrry positive integer. Give n exmple of function with exctly n verticl symptotes. Give

More information

APPENDIX 2 LAPLACE TRANSFORMS

APPENDIX 2 LAPLACE TRANSFORMS APPENDIX LAPLACE TRANSFORMS Thi ppendix preent hort introduction to Lplce trnform, the bic tool ued in nlyzing continuou ytem in the frequency domin. The Lplce trnform convert liner ordinry differentil

More information

Algorithmic Discrete Mathematics 6. Exercise Sheet

Algorithmic 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 information

Math Week 12 continue ; also cover parts of , EP 7.6 Mon Nov 14

Math Week 12 continue ; also cover parts of , EP 7.6 Mon Nov 14 Mh 225-4 Week 2 coninue.-.3; lo cover pr of.4-.5, EP 7.6 Mon Nov 4.-.3 Lplce rnform, nd pplicion o DE IVP, epecilly hoe in Chper 5. Tody we'll coninue (from l Wednedy) o fill in he Lplce rnform ble (on

More information

Laplace Examples, Inverse, Rational Form

Laplace Examples, Inverse, Rational Form Lecure 3 Ouline: Lplce Exple, Invere, Rionl For Announceen: Rein: 6: Lplce Trnfor pp. 3-33, 55.5-56.5, 7 HW 8 poe, ue nex We. Free -y exenion OcenOne Roo Tour will e fer cl y 7 (:3-:) Lunch provie ferwr.

More information

The Covenant Renewed. Family Journal Page. creation; He tells us in the Bible.)

The Covenant Renewed. Family Journal Page. creation; He tells us in the Bible.) i ell orie o go ih he picure. L, up ng i gro ve el ur Pren, ho phoo picure; u oher ell ee hey (T l. chi u b o on hi pge y ur ki kn pl. (We ee Hi i H b o b o kn e hem orie.) Compre h o ho creion; He ell

More information

Introduction to Congestion Games

Introduction 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 information

0 for t < 0 1 for t > 0

0 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 information

International ejournals

International ejournals Avilble online ww.inernionlejournl.om Inernionl ejournl Inernionl Journl of Mhemil Siene, Tehnology nd Humniie 7 (0 8-8 The Mellin Type Inegrl Trnform (MTIT in he rnge (, Rmhndr M. Pie Deprmen of Mhemi,

More information

ECE Microwave Engineering. Fall Prof. David R. Jackson Dept. of ECE. Notes 10. Waveguides Part 7: Transverse Equivalent Network (TEN)

ECE Microwave Engineering. Fall Prof. David R. Jackson Dept. of ECE. Notes 10. Waveguides Part 7: Transverse Equivalent Network (TEN) EE 537-635 Microwve Engineering Fll 7 Prof. Dvid R. Jcson Dep. of EE Noes Wveguides Pr 7: Trnsverse Equivlen Newor (N) Wveguide Trnsmission Line Model Our gol is o come up wih rnsmission line model for

More information

Released Assessment Questions, 2017 QUESTIONS

Released 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 information

To become more mathematically correct, Circuit equations are Algebraic Differential equations. from KVL, KCL from the constitutive relationship

To become more mathematically correct, Circuit equations are Algebraic Differential equations. from KVL, KCL from the constitutive relationship Laplace Tranform (Lin & DeCarlo: Ch 3) ENSC30 Elecric Circui II The Laplace ranform i an inegral ranformaion. I ranform: f ( ) F( ) ime variable complex variable From Euler > Lagrange > Laplace. Hence,

More information

Reinforcement Learning

Reinforcement Learning Reiforceme Corol lerig Corol polices h choose opiml cios Q lerig Covergece Chper 13 Reiforceme 1 Corol Cosider lerig o choose cios, e.g., Robo lerig o dock o bery chrger o choose cios o opimize fcory oupu

More information

Discussion Session 2 Constant Acceleration/Relative Motion Week 03

Discussion 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 information

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs

Counting Paths Between Vertices. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs. Isomorphism of Graphs Isomorphism of Grphs Definition The simple grphs G 1 = (V 1, E 1 ) n G = (V, E ) re isomorphi if there is ijetion (n oneto-one n onto funtion) f from V 1 to V with the property tht n re jent in G 1 if

More information

Classification of Equations Characteristics

Classification of Equations Characteristics Clssiiion o Eqions Cheisis Consie n elemen o li moing in wo imensionl spe enoe s poin P elow. The ph o P is inie he line. The posiion ile is s so h n inemenl isne long is s. Le he goening eqions e epesene

More information

Graph Theory. Simple Graph G = (V, E). V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)}

Graph Theory. Simple Graph G = (V, E). V={a,b,c,d,e,f,g,h,k} E={(a,b),(a,g),( a,h),(a,k),(b,c),(b,k),...,(h,k)} Grph Theory Simple Grph G = (V, E). V ={verties}, E={eges}. h k g f e V={,,,,e,f,g,h,k} E={(,),(,g),(,h),(,k),(,),(,k),...,(h,k)} E =16. 1 Grph or Multi-Grph We llow loops n multiple eges. G = (V, E.ψ)

More information

Properties of Logarithms. Solving Exponential and Logarithmic Equations. Properties of Logarithms. Properties of Logarithms. ( x)

Properties of Logarithms. Solving Exponential and Logarithmic Equations. Properties of Logarithms. Properties of Logarithms. ( x) Properies of Logrihms Solving Eponenil nd Logrihmic Equions Properies of Logrihms Produc Rule ( ) log mn = log m + log n ( ) log = log + log Properies of Logrihms Quoien Rule log m = logm logn n log7 =

More information

Transformations. Ordered set of numbers: (1,2,3,4) Example: (x,y,z) coordinates of pt in space. Vectors

Transformations. 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 information

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite!

Solutions for HW9. Bipartite: put the red vertices in V 1 and the black in V 2. Not bipartite! Solutions for HW9 Exerise 28. () Drw C 6, W 6 K 6, n K 5,3. C 6 : W 6 : K 6 : K 5,3 : () Whih of the following re iprtite? Justify your nswer. Biprtite: put the re verties in V 1 n the lk in V 2. Biprtite:

More information

Today: Max Flow Proofs

Today: Max Flow Proofs Today: Max Flow Proof COSC 58, Algorihm March 4, 04 Many of hee lide are adaped from everal online ource Reading Aignmen Today cla: Chaper 6 Reading aignmen for nex cla: Chaper 7 (Amorized analyi) In-Cla

More information

Some basic notation and terminology. Deterministic Finite Automata. COMP218: Decision, Computation and Language Note 1

Some basic notation and terminology. Deterministic Finite Automata. COMP218: Decision, Computation and Language Note 1 COMP28: Decision, Compuion nd Lnguge Noe These noes re inended minly s supplemen o he lecures nd exooks; hey will e useful for reminders ou noion nd erminology. Some sic noion nd erminology An lphe is

More information

Calculus 241, section 12.2 Limits/Continuity & 12.3 Derivatives/Integrals notes by Tim Pilachowski r r r =, with a domain of real ( )

Calculus 241, section 12.2 Limits/Continuity & 12.3 Derivatives/Integrals notes by Tim Pilachowski r r r =, with a domain of real ( ) Clculu 4, econ Lm/Connuy & Devve/Inel noe y Tm Plchow, wh domn o el Wh we hve o : veco-vlued uncon, ( ) ( ) ( ) j ( ) nume nd ne o veco The uncon, nd A w done wh eul uncon ( x) nd connuy e he componen

More information

Factorising FACTORISING.

Factorising FACTORISING. Ftorising FACTORISING www.mthletis.om.u Ftorising FACTORISING Ftorising is the opposite of expning. It is the proess of putting expressions into rkets rther thn expning them out. In this setion you will

More information

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides.

1 PYTHAGORAS THEOREM 1. Given a right angled triangle, the square of the hypotenuse is equal to the sum of the squares of the other two sides. 1 PYTHAGORAS THEOREM 1 1 Pythgors Theorem In this setion we will present geometri proof of the fmous theorem of Pythgors. Given right ngled tringle, the squre of the hypotenuse is equl to the sum of the

More information