A dual of the rectangle-segmentation problem for binary matrices
|
|
- Sharleen Brown
- 5 years ago
- Views:
Transcription
1 A dul of the rectngle-segmenttion prolem for inry mtrices Thoms Klinowski Astrct We consider the prolem to decompose inry mtrix into smll numer of inry mtrices whose -entries form rectngle. We show tht the liner relxtion of this prolem hs n optiml integrl solution corresponding to well known geometric result on the decomposition of rectiliner polygons. MSC: 9C27, 9C46 Introduction In the context of intensity modulted rdition therpy severl decomposition prolems for nonnegtive integer mtrices hve een considered. One of these is the decomposition into smll numer of inry mtrices whose -entries form rectngle. There is n exmple showing tht in generl the liner relxtion of this prolem hs no optiml integrl solution []. On the other hnd, the sme pper contins n lgorithm sed on the revised simplex method tht uses only very few Gomory cuts. In computtionl experiments, this lgorithm provided exct solutions for mtrices of resonle size in short time. In the present pper we consider the specil cse tht the input mtrix is lredy inry: A {, } m n. In this cse the integer optimiztion prolem is equivlent to well studied geometric prolem: the decomposition of rectiliner polygon into the miniml numer of rectngles. Our min result is tht the miniml numer of rectngles in such decomposition equls the optiml ojective in the relxed mtrix decomposition prolem. In other words, the integrlity gp vnishes, provided the input mtrix is inry. This solves Prolem 2 of []. 2 Nottion nd prolem formultion Let A e inry mtrix of size m n. A rectngle mtrix is n m n mtrix S = (s ij ) such tht for some integers k, k 2, l nd l 2 with k k 2 m nd l l 2 n, we hve { if k i k 2 nd l j l 2, s ij = otherwise. The rectngle segmenttion prolem is the following: RSP. Find decomposition A = S + + S t with rectngle mtrices S,..., S t such tht t is miniml. A liner relxtion of this prolem ist the following. The Electronic Journl of Comintorics 6:R89, 29
2 RSP-Relx. Find liner comintion A = x S + + x t S t with rectngle mtrices S,..., S t nd x i for i =,..., t such tht x + + x t is miniml. The integrl prolem RSP cn e formulted in geometric setup s follows. We ssocite A with rectngulr m n-rry of unit squres in the plne. The set P = {(i, j) : ij = } corresponds to rectiliner polygon whose oundry consists of line segments with integer coordintes. Clerly, solution of the prolem RSP is precisely the decomposition of P into the miniml numer of rectngles. In order to stte the solution to the polygon decomposition prolem we need some nottion. Let N, c nd k e the numer of vertices, connected components nd holes of P, respectively. This nottion hs to e clrified y two remrks (see Figure for illustrtions).. If P cn e decomposed into two or more polygons which intersect pirwise in isolted vertices these vertices re counted twice nd we consider the prts s different connected components. 2. Similrly, if the oundry of hole intersects the outer oundry or nother hole only in isolted vertices these vertices re counted twice. P P 2 Figure : Two polygons. The prmeters re N = 8, c = 2 nd k = for P, nd N =, c =, k = for P 2. We cll vertex of P convex if the interior ngle t this vertex is 9 nd concve if it is 27. A chord of P is line segment tht lies completely inside P, connects two concve vertices nd is prllel to one of the coordinte xes. The chords prllel to the x-xis nd the y-xis re clled horizontl nd verticl, respectively. We ssocite iprtite grph G = (H V, E) with P. The vertex sets H nd V re the sets of horizontl nd verticl chords, respectively, nd two chords re connected y n edge if they intersect (Figure 2). Let α e the mximl crdinlity of n 2 2 c d 3 4 c 3 d 4 Figure 2: The grph ssocited to polygon. independent set in the grph ssocited to P. The following theorem of Lipski et l. (which ws 2
3 reproved y severl uthors), chrcterizes the miniml numer of rectngles in decomposition of P. Theorem ([2, 3, 4]). The miniml numer of rectngles in decomposition of P equls N 2 c + k α. We wnt to show tht there is no integrlity gp in the rectngle segmenttion prolem for inry mtrices. This cn e done y proving tht the optiml ojective vlue for RSP-Relx is t lest N 2 c + k α. In order to do this we will present fesile solution for the dul prolem with exctly this ojective vlue. For inry mtrix A, the set of vriles in RSP-Relx corresponds to the set of rectngles tht re completely contined in P. Indexing these rectngles y the numers,..., T, i.e. S (),..., S (T ) re precisely the rectngle mtrices whose -entries re contined in P, we cn reformulte RSP-Relx s follows. T t= s (t) ij x t = for (i, j) P, x t for t =,..., T, T x t min. t= Dulizing, we otin the prolem RSP-Dul: k 2 i=k l 2 y ij for [k, k 2 ] [l, l 2 ] P, j=l y ij mx. (i,j) P This dul prolem hs nice interprettion. The polygon P is considered s set of unit squres nd we wnt to fill these squres with numers such tht the sum over every rectngle contined in P is ounded y, nd the totl sum is mximized under this constrint. We strt with simple oservtion which llows us to restrict our ttention to dul solutions of specil type. Let R e the set of rectngles into which P is decomposed when the oundry lines t the concve vertices re extended until they meet the opposite oundry of P. For n illustrtion see Figure 3, where R = 6 nd, for instnce, the ig squre in the middle is the element [2, 4] [4, 6] R. We cll the elements of R sic rectngles. The following lemm sserts tht we my ssume tht only in the upper left corner of sic rectngle the entry of y is nonzero. Lemm. Suppose y = (y ij ) (i,j) P is fesile for RSP-Dul, nd define y s follows. For every [i, i 2 ] [j, j 2 ] R put i 2 j 2 y i y ij = j for (i, j) = (i, j ), i =i j =j for (i, j) ([i, i 2 ] [j, j 2 ]) \ {(i, j )}. Then y is lso fesile, nd the ojective vlue for y is the sme s for y. 3
4 Figure 3: Decomposition of polygon P into sic rectngles. Proof. Let R := [k, k 2 ] [l, l 2 ] P, nd let R denote the set of sic rectngles hving their upper left corner in R. More formlly, R = {[i, i 2 ] [j, j 2 ] R : (i, j ) R}. The union of the elements of R is rectngle R = [k, k 2 ] [l, l 2 ] P with k 2 i=k l 2 j=l y ij = k 2 l 2 i=k j=l Figure 4 illustrtes the step from R to R for R = [2, 5] [3, 7] nd R = [3, 6] [3, 8]. Now the y ij Figure 4: The trnsition from R to R. The upper left corners of the elements of R re shded in the left drwing. fesiility of y implies k 2 i=k l 2 j=l y ij, nd consequently, the fesiility of y. The finl sttement out the ojective vlues is ovious. 4
5 Clerly, solution y of the form descried in Lemm cn e identified with the function g : R R, [k, k 2 ] [l, l 2 ] y k,l. This is illustrted in Figure 5, where ll the vlues of g re in {, ±}. It will turn out tht these specil vlues re sufficient to define n optiml solution for RSP-Dul. The sme rgument s in Figure 5: An exmple solution for RSP-Dul. the proof of Lemm shows tht for checking the fesiility of such function g it is sufficient to consider the constrints for rectngles tht re unions of sic rectngles. We cll these rectngles essentil. 3 The cse α = Let us ssume α(g) =, i.e. P hs no chords t ll. We fix n orienttion for the lines tht re used to decompose P into sic rectngles. The orienttion is defined y pointing wy from the concve vertices towrds the interior of P (see Figure 6 for n illustrtion). Figure 6: The orienttion of the oundries of the sic rectngles. Figure 7: The intersection points. 5
6 We will define the vlues g(r) for sic rectngles R depending on the orienttion of the oundry of R. First, we need some dditionl nottion. The vertices of sic rectngles tht re either in the interior of P or concve vertices of P re clled intersection points. The set of ll intersection points is denoted y I. In Figure 7 the intersection points re mrked y dots. Definition. A vertex of n essentil rectngle A R is clled source (with respect to A) if the two line segments on the oundry of A tht strt from re oriented wy from. In ddition, let q(a) {,, 2} e the numer of sources for A. Now we cn define function g : R {, ±} which turns out to e n optiml solution for RSP-Dul: g(r) = q(r) (R R). () In order to show the fesiility of this function we oserve tht the vlue extends to essentil rectngles. Lemm 2. For ny essentil rectngle A R, we hve g(r) = q(a). R A In prticulr, g : R {, ±} defines fesile solution for RSP-Dul. Proof. We proceed y induction on A. For A =, the sttement is precisely the definition of g. For A >, A is the union of two rectngles A A 2 s indicted in Figure 8. By induction, we d e c A A 2 f hve Figure 8: The induction step in the proof of Lemm 2. R A i g(r) = q(a i ) (i {, 2}). The vertices,, c nd d re sources for A iff they re sources for the respective A i. The vertex e is not source for ny of the considered rectngles. Finlly, it is esy to see tht f is source in precisely one of the rectngles A i, ecuse it is n intersection point. This yields q(a) = q(a ) + q(a 2 ), hence g(r) = R A R A g(r) + R A 2 g(r) = ( q(a )) + ( q(a )) = q(a). 6
7 We oserve tht every intersection point is source for exctly one sic rectngle with vertex. Hence y simple doule counting rgument, the ojective vlue for the function g is q(r) = R I. R R g(r) = R R R Our next lemm shows tht g is indeed n optiml solution. Lemm 3. The ojective vlue for g equls the upper ound from the miniml decomposition of P into rectngles. In other words, R I = N 2 c + k. Proof. Clerly, we my ssume c =. We proceed y induction on the ojective vlue h := N 2 +k. The vlue h = is possile only if P is single rectngle, nd in this cse R I = =. If h >, P hs t lest one concve vertex. Let e concve vertex such tht no concve vertex is right of. Along the verticl line through we cut the polygon P into two polygons P nd P 2. The three possile situtions re illustrted in Figure 9. P P 2 P P 2 P 2 P () () (c) Figure 9: The possile cuts (dotted lines) in the proof of Lemm 3. For i {, 2}, let N i nd k i e the numers of vertices nd holes of the respective polygons, R i the sets of sic rectngles, I i the sets of intersection points, nd let h i = N i /2 + k i e the corresponding ojective vlues. Cse (). We hve N = N + N 2 2 nd k = k + k 2, thus h = h + h 2. So h nd h 2 re smller thn h nd we cn pply the induction hypothesis to P nd P 2. Let t e the numer of intersection points for P tht re not in I I 2. Clerly, these points lie on the horizontl or on the verticl line through, s indicted in Figure. Let t e the numer of new intersection points on the verticl line, except itself, nd let t 2 e the numer of new intersection points on the horizontl line (including ), so t = t + t 2. In P, P 2 is divided into t + sic rectngles (which gives t dditionl sic rectngles), nd exctly t 2 sic rectngles of P re cut into two prts. We otin nd the clim follows y induction. R = R + R 2 + t, I = I + I 2 + t, 7
8 Figure : Cse (). The new intersection points in Figure : Cse (c). The new intersection points in Cse (). As in cse (), h = h + h 2, nd we cn pply the induction hypothesis to P nd P 2. Agin, we see tht every new intersection point (ll on the verticl line through ) cretes new sic rectngle, nd the rgument is completed s efore. Cse (c). This time we hve N = N + N 2 4 nd k = k + k 2 +, ut gin h = h + h 2, so the induction hypothesis pplies. Agin the t new intersection points lie on the verticl line through, nd P 2 is divided into t + sic rectngles (see Figure ), nd this concludes the proof. 4 The generl cse In this section we show how the generl cse cn e hndled. In the first susection we descrie the solution g in the generl cse, while the second susection is devoted to the proof of the min theorem. 4. Definition of the solution In order to define the solution s in (), we hve to put n orienttion on the chords. To fix such n orienttion let Q = H V e n independent set of size Q = α(g), where H H nd V V. In ddition, let H = H \ H nd V = V \ V. By mximlity of Q nd Hll s theorem, H cn e mtched into V, nd V cn e mtched into H. Let M (H V ) (H V ) e such mtching, i.e. M = H + V. Let Q Q e the suset of vertices tht re not mtched in M. In prticulr, we hve α = Q + M. We cll the elements of Q isolted chords. Now the verticl nd horizontl isolted chords re oriented from top to ottom nd from left to right, respectively. For n edge xy M, we direct every segment of the chords x nd y towrds the intersection point of x nd y. Figure 2 illustrtes this for the polygon in Figure 2 where the underlying mtching is M = {, 2, c3} nd the isolted chords re 4 nd d (see Figure 2 for the leling of the chords). Now we cn define g : R {, ±} y g(r) = q(r) s efore. 8
9 4.2 Proof of the min theorem Figure 2: The orienttion in the generl cse. When we try to prove the fesiility of g y induction on A s in Lemm 2, prolem rises in the cse tht f is the endpoint of horizontl isolted chord s indicted in the left hnd side of Figure 3. Then f is not source for ny of the rectngles A nd A 2. The right hnd side of the d e c d e c A A 2 A A 2 f f Figure 3: The prolem in the induction step for the fesiility of g (nd its solution). sme figure shows solution for this prolem: we just extend the orienttion to the first segment of the oundry immeditely following the isolted chord. Of course, we hve to do this for every isolted chord. Oserve tht in Figure 2 this is done for oth isolted chords (which re 4 nd d in this exmple). After this modifiction the rgument for Lemm 2 proves the following generl version. Lemm 4. For ny essentil rectngle A R, we hve g(r) = q(a). R A In prticulr, g : R {, ±} defines fesile solution for RSP-Dul. Now it remins to prove the optimlity of g. There re some specil intersection points: the points where two chords meet which re mtched in M. Clerly, these re never source for ny incident sic rectngle. But ech of the remining intersection points is source for precisely one sic rectngle. So we otin the ojective vlue g(r) = R I + M. R R 9
10 Lemm 5. We hve R I + M = N 2 c + k α. Proof. As in the proof of Lemm 3 we my ssume c =. We proceed y induction on α. The cse α = ws treted in Section 3. So ssume α >, let Q e some independent set of chords of size Q = α, nd choose ny chord Q (w.l.o.g. horizontl). Now we cut the polygon P long the chord. We hve to distinguish two different cses: either the cut divides P into two polygons P nd P 2, or P stys connected, ut the numer of holes decreses y (see Figure 4 nd 7). Cse (Figure 4). For i {, 2}, denote the prmeters of P i y N i, k i nd α i. Similrly, the corresponding sets of sic rectngles nd intersection points re denoted y R i nd I i, respectively. Oserve tht P i inherits mximum independent set Q i nd corresponding P P P 2 P 2 Figure 4: A cut dividing P into two prts (Cse ). Mtching M i from P : Q i is the set of chords in P tht re lso chords in P i, nd M i is the set of elements xy M such tht x nd y re oth in Q i. We hve N = N + N 2, k = k + k 2, α = α + α 2 +. Hence, y induction, it is sufficient to prove tht R I + M = ( R I + M ) + ( R 2 I 2 + M 2 ). (2) Let T e the set of intersection points on the chord. This set splits into three susets. For i {, 2}, we put T i := {u T : u is vertex of n element of R i, ut not of n element of R 3 i.}, nd in ddition T 3 = T \ (T T 2 ). Oserve tht T 3 is the set of points where the chord meets other chords. For instnce, in Figure 5, we hve T = {, 3 }, T 2 = { 2, 4 }, T 3 = { 5, 6 }. Next we define function φ : T T 2 N. For u in T, let φ(u) e the numer of intersection points for P on the verticl line through u lying elow u. Similrly, for u in T 2, let φ(u) e the numer of intersection points for P on the verticl line through u lying ove u. In oth
11 Figure 5: The intersection points on the cutting chord. Figure 6: The dditionl intersection points. cses, the point u itself is included. In the exmple from Figure 5, we hve φ( ) = 4, φ( 2 ) = 2 nd φ( 3 ) = φ( 4 ) = 3 (see Figure 6). The function φ counts the intersection points of P tht re not intersection points of P or P 2 : I = I + I 2 + φ(c) + T 3. (3) c T T 2 On the other hnd, φ cn e used to count the dditionl sic rectngles. The verticl line through u T divides φ(u) sic rectngles of P 2 into two prts, nd the verticl line through u T 2 divides φ(u) sic rectngles of P into two prts, hence R = R + R 2 + φ(u). (4) u T T 2 The mtching M cn e written s disjoint union M = M M 2 M 3 s follows. For i {, 2}, M i is the set of edges xy M such tht x H, y V, the chord y does not intersect, nd oth vertices of y re in P i. This is consistent with the ove description of the mtchings M nd M 2. The remining mtching edges xy M such tht x H, y V, nd the chord y intersects, re collected in M 3. Clerly, for every such mtching edge xy M 3, the verticl chord y intersects the chord in some point from T 3. On the other hnd, for every point T 3, the chord y tht intersects in does not elong to our mximl independent set Q, so it is mtched in M. Consequently, there is one-to-one correspondence etween M 3 nd T 3, nd we otin Putting together equtions (3), (4) nd (5), we otin R I + M = R + R 2 + M = M + M 2 + T 3. (5) φ(u) u T T 2 I + I 2 + This is (2), nd thus concludes the proof in this cse. φ(u) + T 3 + ( M + M 2 + T 3 ). u T T 2
12 Cse 2 (Figure 7). Essentilly the proof is the sme s in Cse. For the prmeters of P, we otin N = N, k = k, α = α. P P Figure 7: A cut tht kills hole (Cse 2). So induction pplies to P, nd we hve to show tht R I + M = R I + M. (6) As efore, T is the set of intersection points on the chord. In nlogy to Cse, T is the set of u T such tht u sees concve vertex when it looks upwrds, ut u does not see concve vertex when it looks downwrds. Similrly, T 2 is the set of u T such tht u sees concve vertex when it looks downwrds, ut u does not see concve vertex when it looks upwrds, nd finlly T 3 = T \ (T T 2 ), the set of points where meets other chords. For u T, let φ(u) e the numer of intersection points on the verticl line through u lying elow u, nd for u T 2, let φ(u) e the numer of intersection points on the verticl line through u lying ove u (in oth cses we include u itself). By the sme counting rguments s in Cse we otin I = I + φ(u) + T 3, u T T 2 R = R + φ(u), u T T 2 M = M T 3. These equtions imply (6), nd this concludes the proof. As consequence of Lemms 4 nd 5, we otin tht g solves RSP-Dul. Theorem 2. The function g : R {, ±} with g(a) = q(a) defines n optiml solution for RSP-Dul. Corollry. There is no integrlity gp in the rectngle segmenttion prolem for inry input mtrices. 2
13 References [] K. Engel. Optiml mtrix-segmenttion y rectngles. In: Discr. Appl. Mth (29), pp doi:.6/j.dm [2] L. Ferrri, P.V. Snkr nd J. Sklnsky. Miniml Rectngulr Prtitions of Digitized Blos. In: Computer Vision, Grphics nd Imge Processing 28 (984), pp doi:.6/ X(84) [3] W. Lipski, E. Lodi, F. Luccio, C. Mugni nd L. Pgli. On two dimensionl dt orgniztion II. In: Fund. Informtice 2 (979), pp [4] T. Ohtsuki. Minimum dissection of rectiliner regions. In: Proc. IEEE Symposium on Circuits nd Systems. 982, pp
10.5 Graphing Quadratic Functions
0.5 Grphing Qudrtic Functions Now tht we cn solve qudrtic equtions, we wnt to lern how to grph the function ssocited with the qudrtic eqution. We cll this the qudrtic function. Grphs of Qudrtic Functions
More information8.2 Areas in the Plane
39 Chpter 8 Applictions of Definite Integrls 8. Ares in the Plne Wht ou will lern out... Are Between Curves Are Enclosed Intersecting Curves Boundries with Chnging Functions Integrting with Respect to
More informationIf you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs.
Lecture 5 Wlks, Trils, Pths nd Connectedness Reding: Some of the mteril in this lecture comes from Section 1.2 of Dieter Jungnickel (2008), Grphs, Networks nd Algorithms, 3rd edition, which is ville online
More informationMTH 146 Conics Supplement
105- Review of Conics MTH 146 Conics Supplement In this section we review conics If ou ne more detils thn re present in the notes, r through section 105 of the ook Definition: A prol is the set of points
More informationF. R. K. Chung y. University ofpennsylvania. Philadelphia, Pennsylvania R. L. Graham. AT&T Labs - Research. March 2,1997.
Forced convex n-gons in the plne F. R. K. Chung y University ofpennsylvni Phildelphi, Pennsylvni 19104 R. L. Grhm AT&T Ls - Reserch Murry Hill, New Jersey 07974 Mrch 2,1997 Astrct In seminl pper from 1935,
More informationMATH 25 CLASS 5 NOTES, SEP
MATH 25 CLASS 5 NOTES, SEP 30 2011 Contents 1. A brief diversion: reltively prime numbers 1 2. Lest common multiples 3 3. Finding ll solutions to x + by = c 4 Quick links to definitions/theorems Euclid
More informationTries. Yufei Tao KAIST. April 9, Y. Tao, April 9, 2013 Tries
Tries Yufei To KAIST April 9, 2013 Y. To, April 9, 2013 Tries In this lecture, we will discuss the following exct mtching prolem on strings. Prolem Let S e set of strings, ech of which hs unique integer
More information2 Computing all Intersections of a Set of Segments Line Segment Intersection
15-451/651: Design & Anlysis of Algorithms Novemer 14, 2016 Lecture #21 Sweep-Line nd Segment Intersection lst chnged: Novemer 8, 2017 1 Preliminries The sweep-line prdigm is very powerful lgorithmic design
More informationLily Yen and Mogens Hansen
SKOLID / SKOLID No. 8 Lily Yen nd Mogens Hnsen Skolid hs joined Mthemticl Myhem which is eing reformtted s stnd-lone mthemtics journl for high school students. Solutions to prolems tht ppered in the lst
More informationDefinition of Regular Expression
Definition of Regulr Expression After the definition of the string nd lnguges, we re redy to descrie regulr expressions, the nottion we shll use to define the clss of lnguges known s regulr sets. Recll
More informationGraphs with at most two trees in a forest building process
Grphs with t most two trees in forest uilding process rxiv:802.0533v [mth.co] 4 Fe 208 Steve Butler Mis Hmnk Mrie Hrdt Astrct Given grph, we cn form spnning forest y first sorting the edges in some order,
More informationON THE DEHN COMPLEX OF VIRTUAL LINKS
ON THE DEHN COMPLEX OF VIRTUAL LINKS RACHEL BYRD, JENS HARLANDER Astrct. A virtul link comes with vriety of link complements. This rticle is concerned with the Dehn spce, pseudo mnifold with oundry, nd
More informationsuch that the S i cover S, or equivalently S
MATH 55 Triple Integrls Fll 16 1. Definition Given solid in spce, prtition of consists of finite set of solis = { 1,, n } such tht the i cover, or equivlently n i. Furthermore, for ech i, intersects i
More informationMA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork
MA1008 Clculus nd Liner Algebr for Engineers Course Notes for Section B Stephen Wills Deprtment of Mthemtics University College Cork s.wills@ucc.ie http://euclid.ucc.ie/pges/stff/wills/teching/m1008/ma1008.html
More information4-1 NAME DATE PERIOD. Study Guide. Parallel Lines and Planes P Q, O Q. Sample answers: A J, A F, and D E
4-1 NAME DATE PERIOD Pges 142 147 Prllel Lines nd Plnes When plnes do not intersect, they re sid to e prllel. Also, when lines in the sme plne do not intersect, they re prllel. But when lines re not in
More information1.5 Extrema and the Mean Value Theorem
.5 Extrem nd the Men Vlue Theorem.5. Mximum nd Minimum Vlues Definition.5. (Glol Mximum). Let f : D! R e function with domin D. Then f hs n glol mximum vlue t point c, iff(c) f(x) for ll x D. The vlue
More information4452 Mathematical Modeling Lecture 4: Lagrange Multipliers
Mth Modeling Lecture 4: Lgrnge Multipliers Pge 4452 Mthemticl Modeling Lecture 4: Lgrnge Multipliers Lgrnge multipliers re high powered mthemticl technique to find the mximum nd minimum of multidimensionl
More informationThe Greedy Method. The Greedy Method
Lists nd Itertors /8/26 Presenttion for use with the textook, Algorithm Design nd Applictions, y M. T. Goodrich nd R. Tmssi, Wiley, 25 The Greedy Method The Greedy Method The greedy method is generl lgorithm
More informationMa/CS 6b Class 1: Graph Recap
M/CS 6 Clss 1: Grph Recp By Adm Sheffer Course Detils Adm Sheffer. Office hour: Tuesdys 4pm. dmsh@cltech.edu TA: Victor Kstkin. Office hour: Tuesdys 7pm. 1:00 Mondy, Wednesdy, nd Fridy. http://www.mth.cltech.edu/~2014-15/2term/m006/
More informationSection 10.4 Hyperbolas
66 Section 10.4 Hyperbols Objective : Definition of hyperbol & hyperbols centered t (0, 0). The third type of conic we will study is the hyperbol. It is defined in the sme mnner tht we defined the prbol
More informationCOMP 423 lecture 11 Jan. 28, 2008
COMP 423 lecture 11 Jn. 28, 2008 Up to now, we hve looked t how some symols in n lphet occur more frequently thn others nd how we cn sve its y using code such tht the codewords for more frequently occuring
More informationCS311H: Discrete Mathematics. Graph Theory IV. A Non-planar Graph. Regions of a Planar Graph. Euler s Formula. Instructor: Işıl Dillig
CS311H: Discrete Mthemtics Grph Theory IV Instructor: Işıl Dillig Instructor: Işıl Dillig, CS311H: Discrete Mthemtics Grph Theory IV 1/25 A Non-plnr Grph Regions of Plnr Grph The plnr representtion of
More informationIf f(x, y) is a surface that lies above r(t), we can think about the area between the surface and the curve.
Line Integrls The ide of line integrl is very similr to tht of single integrls. If the function f(x) is bove the x-xis on the intervl [, b], then the integrl of f(x) over [, b] is the re under f over the
More informationMath 35 Review Sheet, Spring 2014
Mth 35 Review heet, pring 2014 For the finl exm, do ny 12 of the 15 questions in 3 hours. They re worth 8 points ech, mking 96, with 4 more points for netness! Put ll your work nd nswers in the provided
More informationBasic Geometry and Topology
Bsic Geometry nd Topology Stephn Stolz Septemer 7, 2015 Contents 1 Pointset Topology 1 1.1 Metric spces................................... 1 1.2 Topologicl spces................................ 5 1.3 Constructions
More information1.1. Interval Notation and Set Notation Essential Question When is it convenient to use set-builder notation to represent a set of numbers?
1.1 TEXAS ESSENTIAL KNOWLEDGE AND SKILLS Prepring for 2A.6.K, 2A.7.I Intervl Nottion nd Set Nottion Essentil Question When is it convenient to use set-uilder nottion to represent set of numers? A collection
More informationFig.25: the Role of LEX
The Lnguge for Specifying Lexicl Anlyzer We shll now study how to uild lexicl nlyzer from specifiction of tokens in the form of list of regulr expressions The discussion centers round the design of n existing
More informationarxiv: v1 [math.co] 18 Sep 2015
Improvements on the density o miml -plnr grphs rxiv:509.05548v [mth.co] 8 Sep 05 János Brát MTA-ELTE Geometric nd Algeric Comintorics Reserch Group rt@cs.elte.hu nd Géz Tóth Alréd Rényi Institute o Mthemtics,
More information6.3 Volumes. Just as area is always positive, so is volume and our attitudes towards finding it.
6.3 Volumes Just s re is lwys positive, so is volume nd our ttitudes towrds finding it. Let s review how to find the volume of regulr geometric prism, tht is, 3-dimensionl oject with two regulr fces seprted
More information1. SEQUENCES INVOLVING EXPONENTIAL GROWTH (GEOMETRIC SEQUENCES)
Numbers nd Opertions, Algebr, nd Functions 45. SEQUENCES INVOLVING EXPONENTIAL GROWTH (GEOMETRIC SEQUENCES) In sequence of terms involving eponentil growth, which the testing service lso clls geometric
More informationIn the last lecture, we discussed how valid tokens may be specified by regular expressions.
LECTURE 5 Scnning SYNTAX ANALYSIS We know from our previous lectures tht the process of verifying the syntx of the progrm is performed in two stges: Scnning: Identifying nd verifying tokens in progrm.
More informationMa/CS 6b Class 1: Graph Recap
M/CS 6 Clss 1: Grph Recp By Adm Sheffer Course Detils Instructor: Adm Sheffer. TA: Cosmin Pohot. 1pm Mondys, Wednesdys, nd Fridys. http://mth.cltech.edu/~2015-16/2term/m006/ Min ook: Introduction to Grph
More informationAn Expressive Hybrid Model for the Composition of Cardinal Directions
An Expressive Hyrid Model for the Composition of Crdinl Directions Ah Lin Kor nd Brndon Bennett School of Computing, University of Leeds, Leeds LS2 9JT, UK e-mil:{lin,brndon}@comp.leeds.c.uk Astrct In
More informationNotes for Graph Theory
Notes for Grph Theory These re notes I wrote up for my grph theory clss in 06. They contin most of the topics typiclly found in grph theory course. There re proofs of lot of the results, ut not of everything.
More informationThe Fundamental Theorem of Calculus
MATH 6 The Fundmentl Theorem of Clculus The Fundmentl Theorem of Clculus (FTC) gives method of finding the signed re etween the grph of f nd the x-xis on the intervl [, ]. The theorem is: FTC: If f is
More informationSummer Review Packet For Algebra 2 CP/Honors
Summer Review Pcket For Alger CP/Honors Nme Current Course Mth Techer Introduction Alger uilds on topics studied from oth Alger nd Geometr. Certin topics re sufficientl involved tht the cll for some review
More informationThe Basic Properties of the Integral
The Bsic Properties of the Integrl When we compute the derivtive of complicted function, like + sin, we usull use differentition rules, like d [f()+g()] d f()+ d g(), to reduce the computtion d d d to
More informationBefore We Begin. Introduction to Spatial Domain Filtering. Introduction to Digital Image Processing. Overview (1): Administrative Details (1):
Overview (): Before We Begin Administrtive detils Review some questions to consider Winter 2006 Imge Enhncement in the Sptil Domin: Bsics of Sptil Filtering, Smoothing Sptil Filters, Order Sttistics Filters
More information1 Drawing 3D Objects in Adobe Illustrator
Drwing 3D Objects in Adobe Illustrtor 1 1 Drwing 3D Objects in Adobe Illustrtor This Tutoril will show you how to drw simple objects with three-dimensionl ppernce. At first we will drw rrows indicting
More informationUnit 5 Vocabulary. A function is a special relationship where each input has a single output.
MODULE 3 Terms Definition Picture/Exmple/Nottion 1 Function Nottion Function nottion is n efficient nd effective wy to write functions of ll types. This nottion llows you to identify the input vlue with
More information1 Quad-Edge Construction Operators
CS48: Computer Grphics Hndout # Geometric Modeling Originl Hndout #5 Stnford University Tuesdy, 8 December 99 Originl Lecture #5: 9 November 99 Topics: Mnipultions with Qud-Edge Dt Structures Scribe: Mike
More informationRay surface intersections
Ry surfce intersections Some primitives Finite primitives: polygons spheres, cylinders, cones prts of generl qudrics Infinite primitives: plnes infinite cylinders nd cones generl qudrics A finite primitive
More informationEXPONENTIAL & POWER GRAPHS
Eponentil & Power Grphs EXPONENTIAL & POWER GRAPHS www.mthletics.com.u Eponentil EXPONENTIAL & Power & Grphs POWER GRAPHS These re grphs which result from equtions tht re not liner or qudrtic. The eponentil
More informationWhat are suffix trees?
Suffix Trees 1 Wht re suffix trees? Allow lgorithm designers to store very lrge mount of informtion out strings while still keeping within liner spce Allow users to serch for new strings in the originl
More informationStained Glass Design. Teaching Goals:
Stined Glss Design Time required 45-90 minutes Teching Gols: 1. Students pply grphic methods to design vrious shpes on the plne.. Students pply geometric trnsformtions of grphs of functions in order to
More information50 AMC LECTURES Lecture 2 Analytic Geometry Distance and Lines. can be calculated by the following formula:
5 AMC LECTURES Lecture Anlytic Geometry Distnce nd Lines BASIC KNOWLEDGE. Distnce formul The distnce (d) between two points P ( x, y) nd P ( x, y) cn be clculted by the following formul: d ( x y () x )
More informationClass-XI Mathematics Conic Sections Chapter-11 Chapter Notes Key Concepts
Clss-XI Mthemtics Conic Sections Chpter-11 Chpter Notes Key Concepts 1. Let be fixed verticl line nd m be nother line intersecting it t fixed point V nd inclined to it t nd ngle On rotting the line m round
More informationCS143 Handout 07 Summer 2011 June 24 th, 2011 Written Set 1: Lexical Analysis
CS143 Hndout 07 Summer 2011 June 24 th, 2011 Written Set 1: Lexicl Anlysis In this first written ssignment, you'll get the chnce to ply round with the vrious constructions tht come up when doing lexicl
More informationthis grammar generates the following language: Because this symbol will also be used in a later step, it receives the
LR() nlysis Drwcks of LR(). Look-hed symols s eplined efore, concerning LR(), it is possile to consult the net set to determine, in the reduction sttes, for which symols it would e possile to perform reductions.
More informationConic Sections Parabola Objective: Define conic section, parabola, draw a parabola, standard equations and their graphs
Conic Sections Prol Ojective: Define conic section, prol, drw prol, stndrd equtions nd their grphs The curves creted y intersecting doule npped right circulr cone with plne re clled conic sections. If
More informationFig.1. Let a source of monochromatic light be incident on a slit of finite width a, as shown in Fig. 1.
Answer on Question #5692, Physics, Optics Stte slient fetures of single slit Frunhofer diffrction pttern. The slit is verticl nd illuminted by point source. Also, obtin n expression for intensity distribution
More informationbox Boxes and Arrows 3 true 7.59 'X' An object is drawn as a box that contains its data members, for example:
Boxes nd Arrows There re two kinds of vriles in Jv: those tht store primitive vlues nd those tht store references. Primitive vlues re vlues of type long, int, short, chr, yte, oolen, doule, nd flot. References
More informationLecture 7: Integration Techniques
Lecture 7: Integrtion Techniques Antiderivtives nd Indefinite Integrls. In differentil clculus, we were interested in the derivtive of given rel-vlued function, whether it ws lgeric, eponentil or logrithmic.
More informationThe Complexity of Nonrepetitive Coloring
The Complexity of Nonrepetitive Coloring Dániel Mrx Institut für Informtik Humoldt-Universitt zu Berlin dmrx@informtik.hu-erlin.de Mrcus Schefer Deprtment of Computer Science DePul University mschefer@cs.depul.edu
More information6.2 Volumes of Revolution: The Disk Method
mth ppliction: volumes by disks: volume prt ii 6 6 Volumes of Revolution: The Disk Method One of the simplest pplictions of integrtion (Theorem 6) nd the ccumultion process is to determine so-clled volumes
More information10.2 Graph Terminology and Special Types of Graphs
10.2 Grph Terminology n Speil Types of Grphs Definition 1. Two verties u n v in n unirete grph G re lle jent (or neighors) in G iff u n v re enpoints of n ege e of G. Suh n ege e is lle inient with the
More informationA Tautology Checker loosely related to Stålmarck s Algorithm by Martin Richards
A Tutology Checker loosely relted to Stålmrck s Algorithm y Mrtin Richrds mr@cl.cm.c.uk http://www.cl.cm.c.uk/users/mr/ University Computer Lortory New Museum Site Pemroke Street Cmridge, CB2 3QG Mrtin
More informationGraphing Conic Sections
Grphing Conic Sections Definition of Circle Set of ll points in plne tht re n equl distnce, clled the rdius, from fixed point in tht plne, clled the center. Grphing Circle (x h) 2 + (y k) 2 = r 2 where
More informationB. Definition: The volume of a solid of known integrable cross-section area A(x) from x = a
Mth 176 Clculus Sec. 6.: Volume I. Volume By Slicing A. Introduction We will e trying to find the volume of solid shped using the sum of cross section res times width. We will e driving towrd developing
More informationASTs, Regex, Parsing, and Pretty Printing
ASTs, Regex, Prsing, nd Pretty Printing CS 2112 Fll 2016 1 Algeric Expressions To strt, consider integer rithmetic. Suppose we hve the following 1. The lphet we will use is the digits {0, 1, 2, 3, 4, 5,
More informationPointwise convergence need not behave well with respect to standard properties such as continuity.
Chpter 3 Uniform Convergence Lecture 9 Sequences of functions re of gret importnce in mny res of pure nd pplied mthemtics, nd their properties cn often be studied in the context of metric spces, s in Exmples
More informationGENERATING ORTHOIMAGES FOR CLOSE-RANGE OBJECTS BY AUTOMATICALLY DETECTING BREAKLINES
GENEATING OTHOIMAGES FO CLOSE-ANGE OBJECTS BY AUTOMATICALLY DETECTING BEAKLINES Efstrtios Stylinidis 1, Lzros Sechidis 1, Petros Ptis 1, Spiros Sptls 2 Aristotle University of Thessloniki 1 Deprtment of
More informationOUTPUT DELIVERY SYSTEM
Differences in ODS formtting for HTML with Proc Print nd Proc Report Lur L. M. Thornton, USDA-ARS, Animl Improvement Progrms Lortory, Beltsville, MD ABSTRACT While Proc Print is terrific tool for dt checking
More informationGrade 7/8 Math Circles Geometric Arithmetic October 31, 2012
Fculty of Mthemtics Wterloo, Ontrio N2L 3G1 Grde 7/8 Mth Circles Geometric Arithmetic Octoer 31, 2012 Centre for Eduction in Mthemtics nd Computing Ancient Greece hs given irth to some of the most importnt
More informationArea & Volume. Chapter 6.1 & 6.2 September 25, y = 1! x 2. Back to Area:
Bck to Are: Are & Volume Chpter 6. & 6. Septemer 5, 6 We cn clculte the re etween the x-xis nd continuous function f on the intervl [,] using the definite integrl:! f x = lim$ f x * i )%x n i= Where fx
More informationOn Approximating Restricted Cycle Covers
On Approximting Restricted Cycle Covers Bodo Mnthey Universität zu Lüeck, Institut für Theoretische Informtik Rtzeurger Allee 160, 23538 Lüeck, Germny mnthey@tcs.uni-lueeck.de Astrct. A cycle cover of
More informationMeaningful Change Detection in Structured Data.
Meningful Chnge Detection in Structured Dt Sudrshn S. Chwthe Hector Grci-Molin Computer Science Deprtment, Stnford University, Stnford, Cliforni 94305 fchw,hectorg@cs.stnford.edu Astrct Detecting chnges
More informationPosition Heaps: A Simple and Dynamic Text Indexing Data Structure
Position Heps: A Simple nd Dynmic Text Indexing Dt Structure Andrzej Ehrenfeucht, Ross M. McConnell, Niss Osheim, Sung-Whn Woo Dept. of Computer Science, 40 UCB, University of Colordo t Boulder, Boulder,
More information9 Graph Cutting Procedures
9 Grph Cutting Procedures Lst clss we begn looking t how to embed rbitrry metrics into distributions of trees, nd proved the following theorem due to Brtl (1996): Theorem 9.1 (Brtl (1996)) Given metric
More informationCS321 Languages and Compiler Design I. Winter 2012 Lecture 5
CS321 Lnguges nd Compiler Design I Winter 2012 Lecture 5 1 FINITE AUTOMATA A non-deterministic finite utomton (NFA) consists of: An input lphet Σ, e.g. Σ =,. A set of sttes S, e.g. S = {1, 3, 5, 7, 11,
More informationMath 464 Fall 2012 Notes on Marginal and Conditional Densities October 18, 2012
Mth 464 Fll 2012 Notes on Mrginl nd Conditionl Densities klin@mth.rizon.edu October 18, 2012 Mrginl densities. Suppose you hve 3 continuous rndom vribles X, Y, nd Z, with joint density f(x,y,z. The mrginl
More information9.1 apply the distance and midpoint formulas
9.1 pply the distnce nd midpoint formuls DISTANCE FORMULA MIDPOINT FORMULA To find the midpoint between two points x, y nd x y 1 1,, we Exmple 1: Find the distnce between the two points. Then, find the
More informationPresentation Martin Randers
Presenttion Mrtin Rnders Outline Introduction Algorithms Implementtion nd experiments Memory consumption Summry Introduction Introduction Evolution of species cn e modelled in trees Trees consist of nodes
More informationThe Structure of Forward, Reverse, and Transverse Path Graphs in The Pattern Recognition Algorithms of Sellers
The Structure of Forwrd, Reverse, nd Trnsverse Pth Grhs in The Pttern Recognition Algorithms of Sellers Lewis Lsser Dertment of Mthemtics nd Comuter Science York College/CUNY Jmic, New York 11451 llsser@york.cuny.edu
More informationc 2014 Society for Industrial and Applied Mathematics
SIAM J. COMPUT. Vol. 43, No. 1, pp. 25 51 c 2014 Society for Industril nd Applied Mthemtics ON A LINEAR PROGRAM FOR MINIMUM-WEIGHT TRIANGULATION ARMAN YOUSEFI AND NEAL E. YOUNG Astrct. Minimum-weight tringultion
More informationORDER AUTOMATIC MAPPING CLASS GROUPS. Colin Rourke and Bert Wiest
PACIFIC JOURNAL OF MATHEMATICS ol. 94, No., 000 ORDER AUTOMATIC MAPPING CLASS GROUPS Colin Rourke nd Bert Wiest We prove tht the mpping clss group of compct surfce with finite numer of punctures nd non-empty
More informationChapter44. Polygons and solids. Contents: A Polygons B Triangles C Quadrilaterals D Solids E Constructing solids
Chpter44 Polygons nd solids Contents: A Polygons B Tringles C Qudrilterls D Solids E Constructing solids 74 POLYGONS AND SOLIDS (Chpter 4) Opening prolem Things to think out: c Wht different shpes cn you
More informationDuality in linear interval equations
Aville online t http://ijim.sriu..ir Int. J. Industril Mthemtis Vol. 1, No. 1 (2009) 41-45 Dulity in liner intervl equtions M. Movhedin, S. Slhshour, S. Hji Ghsemi, S. Khezerloo, M. Khezerloo, S. M. Khorsny
More informationApproximation of Two-Dimensional Rectangle Packing
pproximtion of Two-imensionl Rectngle Pcking Pinhong hen, Yn hen, Mudit Goel, Freddy Mng S70 Project Report, Spring 1999. My 18, 1999 1 Introduction 1-d in pcking nd -d in pcking re clssic NP-complete
More informationa < a+ x < a+2 x < < a+n x = b, n A i n f(x i ) x. i=1 i=1
Mth 33 Volume Stewrt 5.2 Geometry of integrls. In this section, we will lern how to compute volumes using integrls defined by slice nlysis. First, we recll from Clculus I how to compute res. Given the
More informationCS 241 Week 4 Tutorial Solutions
CS 4 Week 4 Tutoril Solutions Writing n Assemler, Prt & Regulr Lnguges Prt Winter 8 Assemling instrutions utomtilly. slt $d, $s, $t. Solution: $d, $s, nd $t ll fit in -it signed integers sine they re 5-it
More informationSlides for Data Mining by I. H. Witten and E. Frank
Slides for Dt Mining y I. H. Witten nd E. Frnk Simplicity first Simple lgorithms often work very well! There re mny kinds of simple structure, eg: One ttriute does ll the work All ttriutes contriute eqully
More informationZZ - Advanced Math Review 2017
ZZ - Advnced Mth Review Mtrix Multipliction Given! nd! find the sum of the elements of the product BA First, rewrite the mtrices in the correct order to multiply The product is BA hs order x since B is
More informationHyperbolas. Definition of Hyperbola
CHAT Pre-Clculus Hyperols The third type of conic is clled hyperol. For n ellipse, the sum of the distnces from the foci nd point on the ellipse is fixed numer. For hyperol, the difference of the distnces
More informationSingle-Player and Two-Player Buttons & Scissors Games
Single-Plyer nd Two-Plyer Buttons & Scissors Gmes The MIT Fculty hs mde this rticle openly ville. Plese shre how this ccess enefits you. Your story mtters. Cittion As Pulished Pulisher Burke, Kyle, et
More informationFrom Indexing Data Structures to de Bruijn Graphs
From Indexing Dt Structures to de Bruijn Grphs Bstien Czux, Thierry Lecroq, Eric Rivls LIRMM & IBC, Montpellier - LITIS Rouen June 1, 201 Czux, Lecroq, Rivls (LIRMM) Generlized Suffix Tree & DBG June 1,
More informationThe Complexity of Nonrepetitive Coloring
The Complexity of Nonrepetitive Coloring Dániel Mrx Deprtment of Computer Science nd Informtion Theory Budpest University of Technology nd Econonomics Budpest H-1521, Hungry dmrx@cs.me.hu Mrcus Schefer
More informationEfficient Algorithms For Optimizing Policy-Constrained Routing
Efficient Algorithms For Optimizing Policy-Constrined Routing Andrew R. Curtis curtis@cs.colostte.edu Ross M. McConnell rmm@cs.colostte.edu Dn Mssey mssey@cs.colostte.edu Astrct Routing policies ply n
More informationGeometric transformations
Geometric trnsformtions Computer Grphics Some slides re bsed on Shy Shlom slides from TAU mn n n m m T A,,,,,, 2 1 2 22 12 1 21 11 Rows become columns nd columns become rows nm n n m m A,,,,,, 1 1 2 22
More informationDr. D.M. Akbar Hussain
Dr. D.M. Akr Hussin Lexicl Anlysis. Bsic Ide: Red the source code nd generte tokens, it is similr wht humns will do to red in; just tking on the input nd reking it down in pieces. Ech token is sequence
More informationGeometrical tile design for complex neighborhoods
COMPUTATIONAL NEUROSCIENCE ORIGINAL RESEARCH ARTICLE pulished: 23 Novemer 2009 doi: 103389/neuro100202009 Geometricl tile design for complex neighorhoods Eugen Czeizler* nd Lil Kri Deprtment of Computer
More informationINTRODUCTION TO SIMPLICIAL COMPLEXES
INTRODUCTION TO SIMPLICIAL COMPLEXES CASEY KELLEHER AND ALESSANDRA PANTANO 0.1. Introduction. In this ctivity set we re going to introduce notion from Algebric Topology clled simplicil homology. The min
More informationCSCI 3130: Formal Languages and Automata Theory Lecture 12 The Chinese University of Hong Kong, Fall 2011
CSCI 3130: Forml Lnguges nd utomt Theory Lecture 12 The Chinese University of Hong Kong, Fll 2011 ndrej Bogdnov In progrmming lnguges, uilding prse trees is significnt tsk ecuse prse trees tell us the
More informationDynamic Programming. Andreas Klappenecker. [partially based on slides by Prof. Welch] Monday, September 24, 2012
Dynmic Progrmming Andres Klppenecker [prtilly bsed on slides by Prof. Welch] 1 Dynmic Progrmming Optiml substructure An optiml solution to the problem contins within it optiml solutions to subproblems.
More informationcalled the vertex. The line through the focus perpendicular to the directrix is called the axis of the parabola.
Review of conic sections Conic sections re grphs of the form REVIEW OF CONIC SECTIONS prols ellipses hperols P(, ) F(, p) O p =_p REVIEW OF CONIC SECTIONS In this section we give geometric definitions
More informationSome necessary and sufficient conditions for two variable orthogonal designs in order 44
University of Wollongong Reserch Online Fculty of Informtics - Ppers (Archive) Fculty of Engineering n Informtion Sciences 1998 Some necessry n sufficient conitions for two vrile orthogonl esigns in orer
More informationCS412/413. Introduction to Compilers Tim Teitelbaum. Lecture 4: Lexical Analyzers 28 Jan 08
CS412/413 Introduction to Compilers Tim Teitelum Lecture 4: Lexicl Anlyzers 28 Jn 08 Outline DFA stte minimiztion Lexicl nlyzers Automting lexicl nlysis Jlex lexicl nlyzer genertor CS 412/413 Spring 2008
More informationAlgebra II Notes Unit Ten: Conic Sections
Sllus Ojective: 0. The student will sketch the grph of conic section with centers either t or not t the origin. (PARABOLAS) Review: The Midpoint Formul The midpoint M of the line segment connecting the
More informationP(r)dr = probability of generating a random number in the interval dr near r. For this probability idea to make sense we must have
Rndom Numers nd Monte Crlo Methods Rndom Numer Methods The integrtion methods discussed so fr ll re sed upon mking polynomil pproximtions to the integrnd. Another clss of numericl methods relies upon using
More informationAVolumePreservingMapfromCubetoOctahedron
Globl Journl of Science Frontier Reserch: F Mthemtics nd Decision Sciences Volume 18 Issue 1 Version 1.0 er 018 Type: Double Blind Peer Reviewed Interntionl Reserch Journl Publisher: Globl Journls Online
More information