Hexagonal Arrays for Fault-Tolerant Matrix Multiplication

Size: px
Start display at page:

Download "Hexagonal Arrays for Fault-Tolerant Matrix Multiplication"

Transcription

1 Filomt 9:9 (5), DOI.98/FIL59969M Pulished y Fulty of Sienes nd Mthemtis, University of Niš, Seri Aville t: Hexgonl Arrys for Fult-Tolernt Mtrix Multiplition Emin I. Milovnović, Igor Ž. Milovnović, Mile K. Stojčev Fulty of Eletronis Engineering, A. Medvedev 4, 8 Niš, Seri Astrt. This pper desries mthemtil proedure for designing hexgonl systoli rrys tht implement fult-tolernt mtrix multiplition. Fult-tolerne is hieved y introduing redundny t lgorithm level y defining three equivlent lgorithms with disjoint index spes. The essene of the proposed method is sed on mpping dt dependeny grph tht orresponds to the mtrix multiplition lgorithm, y n pproprite epimorphism, into grph with desired properties. Sine there is : orrespondene etween the lgorithm nd it s grph representtion, ll trnsformtions performed on the grph diretly ffet the lgorithm. Chosen epimorphism depends on the projetion diretion vetor µ [µ µ µ 3 T nd enles otining hexgonl rrys with optiml numer of proessing elements (PEs) for the given mtrix dimensions, whih relizes fult-tolernt mtrix multiplition for the shortest possile time for tht numer of PEs. The proposed proedure is formlly desried y expliit formuls nd n e used s softwre tool for utomti synthesis of fult-tolernt rrys.. Introdution Mtrix multiplition is one of the fundmentl opertion in mny sientifi nd tehnil pplitions. It ppers s mro-funtion within mny numeril nd non-numeril prolems. Typil exmples inlude solving prolems in liner lger, suh s finding inverse mtrix, determinnt, LU ftoriztion, eigenvlues, et., grph theory, suh s trnsitive losure, finding ll-pirs shortest pths, miniml spnning tree, et. Mtrix multiplition is very time onsuming sine it requires O(n 3 ) omputtionl steps. On the other hnd, it is highly regulr nd posses inherent prllelism nd is therefore suitle for implementtion on prllel rhitetures suh s proessor or systoli rrys. Nowdys, CMOS VLSI tehnology mde it possile to develop mssively prllel omputtionl systems. However, shrinking dimensions of trnsistors, whih ring lower operting voltges nd smller ritil hrges, mke these devies prone to vrious kind of fults. These fults n e tegorized into three types: trnsient, intermittent, nd permnent fults. Trnsient fults re filures in whih the iruit remins funtionl, ut the vlue it genertes is orrupted. Trnsient fults re used y strikes from energeti prtiles, suh s lph prtile strikes generted within the pkge of the hip, or neutron strikes used y osmi ry tivity in outer spe. Intermittent fults re used y the omintion of devie ging nd y stress reted y environmentl onditions during hip opertion [,. Permnent errors n Mthemtis Sujet Clssifition. Primry 68M7; Seondry 68Q35 Keywords. mtrix multiplition, fult-tolerne, systoli rrys. Reeived: 5 Septemer 3; Aepted: 3 Ferury 4 Communited y Drgn S. Djordjević Reserh supported y Serin Ministry of Edution nd Siene, Grnt No TR-3 nd TR-39. Emil ddresses: em@elfk.ni..rs (Emin I. Milovnović), igor@elfk.ni..rs (Igor Ž. Milovnović), mile.stojev@elfk.ni..rs (Mile K. Stojčev)

2 E. I. Milovnović et l. / Filomt 9:9 (5), our euse of mnufturing impreision during hip frition. When permnent fult is deteted, the logi lok must e isolted nd disled. Here we re interested in the tolertion of trnsient nd intermittent fults. To protet ginst these fults, some form of error detetion nd orretion pilities hve to e involved. A vriety of tehniques hve een proposed for hndling trnsient nd intermittent fults. Most of them re sed on some kind of redundny, ether informtion (suh s ABFT), hrdwre (suh s TMR), or time (suh s RESO). In this proposl, fult-tolerne is hieved through triplited omputtion followed y mjority voting, ut insted of using full hrdwre redundny (i.e. triplition) to hieve fult-tolerne, we generte redundnt results prtilly y mens of hrdwre (y dding two extr olumns of proessing elements in the systoli rry) nd prtilly y mens of time redundny y slightly inresing omputtion time. We re interested in the designing of hexgonl systoli rrys with the optiml numer of PEs with respet to the prolem size whih implement fult-tolernt mtrix multiplition. In order to redue the numer of PEs nd the exeution time, we use the ft tht during eh omputtionl step, mtrix multiplition n e performed in ny order without modifying the finl result. By involving two dditionl olumns of PEs nd the reordering of omputtionl steps, we hieve tht our hexgonl rrys hve Ω N 3 (min{n, N } + ) PEs nd perform fult-tolernt mtrix multiplition for T tot 3 mx{n, N } + min{n, N } + N 3 omputtionl steps (N, N nd N 3 re dimensions of mtries, nmely A ( ik ) N N 3, B ( kj ) N3 N nd C ( ij ) N N ). The rest of the pper is orgnized s follows. Setion desries the prolem of interest whih will e onsidered. Mthemtil kground tht serves s the sis for the synthesis of fult-tolernt systoli rrys is presented in Setion 3. Setion 4 dels with the proedure for the synthesis of systoli rrys with optiml numer of proessing elements. For tht numer of PEs the exeution time is minimized. Setion 5 onentrtes on determining initil dt rrngement tht provides orret implementtion of fult-tolernt mtrix multiplition lgorithm. Performne evlution of the synthesized rrys whih reltes to the numer of PEs nd exeution time re given in Setion 6. Some onluding remrks re given in Setion 7.. Prolem Definition Suppose A ( ik ) nd B ( kj ) re retngulr mtries of order N N 3 nd N 3 N, respetively. Their produt, C A B, C ( ij ), n e omputed ording to the following reurrent reltions () ij : (k) ij : (k ) ij + ik kj, k,,..., N 3 () ij : (N 3) ij for i,,..., N nd j,,..., N. The following systoli lgorithm n e used to ompute () Algorithm for k : to N 3 do for j : to N do for i : to N do (i, j, k) : (i, j, k); (i, j, k) : (i, j, k); (i, j, k) (i, j, k ) + (i, j, k) (i, j, k); with the following identities (i,, k) ik, (, j, k) kj, (i, j, k) (k), (i, j, ). () ij Note tht omputtions in Algorithm, i.e. eqn. (), with respet to indies i, j nd k, re performed t si permuttions of the sets {,,..., N }, {,,..., N }, nd {,,..., N 3 }, respetively. However, this is

3 E. I. Milovnović et l. / Filomt 9:9 (5), not neessry. The omputtions n e performed t ritrry permuttions of the forementioned sets (see [8). We ll this property permutility. Direted oordinted lttie grph G (P int P in, D) n e joined to the Algorithm. This grph is pled in three-dimensionl Crtesin spe generted y the unity vetors e [ T, e [ T, e 3 [ T, (3) Set P int { p [i j k T } defines verties of grph G where tive omputtions from Algorithm re performed, while P in P in () P in () P in (), where P in () { p [i k T }, P in () { p [ j k T } nd P in () { p [i j T } re verties where initil elements of mtries A, B nd C () re pled, respetively. Direted edges in grph G re defined y the olumn vetors of mtrix D D [ e 3 e 3 e 3 (4) These vetors lso define propgtion diretion of elements of mtries B, A nd C (), respetively. Systoli rry synthesis proedure, employed in this pper, is sed on mpping the grph G on the plin orthogonl to the projetion vetor µ [µ µ µ 3 T (see [5). By this mpping direted pseudo-grph in two-dimensionl Crtesin spe is otined. This grph orresponds to the desired SA. Here we re interested in the synthesis of two-dimensionl hexgonl systoli rrys (D HSA), suitle for fult-tolernt mtrix multiplition. The first ondition for SA to e suitle for fult-tolernt omputtions is tht it relizes Algorithm with pipeline period λ 3. Pipeline period is defined s time intervl etween two suessive omputtions in proessing element (see [9,, ). Hexgonl rry otined ording to the diretion µ [ T stisfies this ondition nd it is well studied in the literture (see [7, ). Here we re interested in hexgonl rrys otined for the diretions µ [ T, µ [ T nd µ [ T. These rrys relize Algorithm with pipeline period λ, nd therefore were not onsidered s suitle ndidte rhitetures for hieving fult-tolerne. However, these rrys hve shorter exeution time of mtrix multiplition lgorithm thn the rry otined y the projetion vetor µ [ T. We re going to show tht the fult-tolernt mtrix multiplition n e effiiently implemented on these rrys s well, with shorter exeution time thn tht of the one otined y the projetion vetor µ [ T. In this proposl, without the loss of ny generlity, we re going to synthesize D HSA otined y the projetion diretion vetor µ [ T, whih implements fult-tolernt mtrix multiplition lgorithm. The other two rrys n e synthesized y the sme methodology. Aprt from eing suitle for fulttolernt omputtion, the synthesized rry should hve optiml (i.e. miniml) numer of proessing elements (PEs) for the given mtrix dimensions. Also, the exeution time of the rry should e s smll s possile for the given numer of PEs. This requires sustntil modifition of the systoli rry synthesis proedure desried so fr in the literture [ Mthemtil Bkground Results otined in this setion serve s kground for the synthesis proedure whih will e desried in the next one. We strt our nlysis from the direted grph G (P int P in, D) whih orresponds to the Algorithm. Depending on the reltion etween N nd N, we mp verties of grph G, defined y set P int, either into set P () int or P () int. This is performed y the isomorphisms ϕ or ϕ, defined y the following equlities ϕ ( p [ i j k T ) [ 3i j k T nd (5) ϕ ( p [ i j k T ) [ i 3j k T,

4 E. I. Milovnović et l. / Filomt 9:9 (5), for eh p P int. In this wy we hve otined new direted grphs G () (P () int, D) nd G () ( P () int, D). Now, for the projetion vetor µ [ T we define two mppings H (M, F ) nd H (M, F ) defined y P () int M [ µ e e 3, F 3N 3 nd (6) M [ e µ e 3, F. 3N 3 We use mppings H nd H to otin sets P () int { p [u v w T } nd ˆP () int { p [u v w T } from P (), respetively. These sets re otined ording to the following equlities p u v w M p () + F 3i 3i + j 3 3i + k + 3N 3i j k +, 3N 3 int nd nd (7) u i p v M p () + F 3j + w k 3N 3 i + 3j 3 3j 3j + k + 3N, for i,,..., N, j,,..., N, nd k,,..., N 3. Thus we hve otined two direted grphs G () ( P (), D) nd G() ( ˆP (), D) defined y the following int int index sets { P () int p [ 3i 3i + j 3 3i + k + 3N } T nd ˆP () int { p [ i + 3j 3 3j 3j + k + 3N T }. Some importnt fetures of mppings H nd H nd orresponding direted grphs G ( ( P (), D) nd int ( ˆP (), D), re given in the susequent theorems. G () int Theorem 3.. Mtries M i, i, re nonsingulr nd mppings H i, i,, re injetive. Proof The first prt of the ssertion of Theorem 3. diretly follows from the equlity det M i µ i, i,. The seond prt of the ssertion will e proved y the ontrdition on the exmple of mpping H. Suppose, ontrry to the ssertion of Theorem 3., tht there re t lest two different nodes of grph G () tht re mpped y H into the sme node of grph Ḡ (). Let p () [3i 3i + j 3 3i +k +3N T nd p () [3i 3i + j 3 3i + k + 3N T, p () p (), e position vetors of these nodes. In tht se, ording to (), the following would e vlid M p () + F M p () + F. This implies tht 3i 3i, (8) 3i + j 3 3i + j 3, (9) 3i + k + 3N 3i + k + 3N. ()

5 E. I. Milovnović et l. / Filomt 9:9 (5), From (8) it follows i i. Aordingly, from (9) nd () it follows j j nd k k, so we hve p () p (), whih is in ontrdition with the ssumption tht p () p (). On the sis of Theorem 3. we onlude tht grphs G () nd G () (i.e. G () nd G () ) hve equl numer of nodes whih re differently rrnged in the oordinted spe. Sine M D M D (i.e M D M D), mppings H nd H do not preserve djeny of verties from G (). Theorem 3.. Let l e n ritrry line prllel to µ [ T. If line l ontins t lest one point (vertex) of grph G () (i.e. G () ), then it ontins extly N, (i.e. N ), verties of this grph. Proof Without loss of generlity we will ondut the proof for the grph G (). Suppose p () [ [3i 3i + j 3 3i + k + 3N T nd p () [ 3i + 3i + j 3i + k + 3N 4 T re position vetors of two verties from grph G (). Sine p () p () [ T 3 µ, we onlude tht these verties re pled on the line l prllel to the diretion vetor µ [. By tking, one fter the other, i,,..., N, we onlude tht there re extly N verties of G () on this line. Corollry 3.3. Let L {l} e set of ll lines tht stisfy the onditions of Theorem 3.. Then the intersetion of these lines with some plin not prllel to l, hs extly N N 3 (i.e. N N 3 ) points. Corollry 3.4. Let L {l} e set of ll lines tht stisfy the onditions of Theorem 3.. Depending on the reltion etween N nd N nd y the pproprite hoie of mpping H i, i,, it n e hieved tht intersetion of these lines with some plne not prllel to l, hs extly N 3 min{n, N } points. Note tht in prtie plne tht is orthogonl to line l is usully tken. Aording to Theorem 3. nd Corollries 3.3 nd 3.4 one n get geometril ide of mpping G () (i.e. G () ) into two-dimensionl direted grph Γ (V, ) (i.e. Γ (V, ) whih orresponds to the respetive D SA. However we need expliit nlytil proedure for otining grph Γ (i.e. Γ ). First we define epimorphism S whih is joined to the projetion vetor µ [ T. It mps threedimensionl direted grph G () (i.e. G () ) into two-dimensionl direted grph Γ (V, ) (i.e. Γ (V, ). Epimorphism S is 3 mtrix of the form S [ S T S T [ s s s 3 s s s 3, () where S T nd S T re vetors defining plne orthogonl to the projetion vetor µ [ T. These vetors hve to onform the following onstrints [5:. Sine µ [ T is orthogonl to S T nd S T it follows tht S T µ S T µ, i.e. s + s s 3 nd s + s s 3. (). In order to void mpping 3D grph G () (i.e. G () ) into D grph, the rnk of mtrix S must e, i.e. rnks. 3. To preserve the djeny of nodes tht were present in grph G (), elements of mtrix S n tke vlues only from the set {,, }. Conditions () to (3) do not neessrily provide one of the ruil requirements, whih is tht grph Γ (i.e. Γ ) hs N N 3 (i.e. N N 3 ) verties. The next theorem gives neessry nd suffiient onditions for epimorphism S so tht this requirement is lwys fulfilled.

6 E. I. Milovnović et l. / Filomt 9:9 (5), Theorem 3.5. Neessry nd suffiient onditions tht direted grph Γ (V, ) hs V N N 3 verties re, prt from ()-(3), the following ones or s s 3 nd s s 3, s s 3, nd s s 3. Proof Let p () [3i j k T e position vetor of ritrry point from P (). Then we hve tht int [ (S M ) p () s j + s 3 k. s j + s 3 k (3) In order to hve extly N N 3 ordered pirs of the form (s j + s 3 k, s j + s 3 k), neessry nd suffiient onditions re the ones given y (3). Similrly, the following theorem n e proved. Theorem 3.6. Neessry nd suffiient onditions tht direted grph Γ (V, ) hs V N N 3 verties re, prt from ()-(3), the following ones or s s 3 nd s s 3, s s 3, nd s s 3. Note tht epimorphism S n not e uniquely determined. For exmple, if S [ S T S T T is n epimorphism, so is S [ S T S T T. Therefore, without loss of generlity, ording to Theorems 3.5 nd 3.6, nd onditions ()-(3), we n tke the following epimorphisms [ [ S, S (4) respetively. 4. Systoli Arry Synthesis Bsed on the results otined in the previous setion, we re going to synthesize D HSA tht relizes fult-tolernt mtrix multiplition. Sine fult tolerne is hieved y triplited omputtion of the sme prolem instne followed y mjority voting, we first hve to derive three mtrix multiplition lgorithms equivlent to Algorithm. To do tht, we perform the shifting of verties in the direted grph G () (P () int, D) (i. e. G () ( P () int, D) ) long the oordinte xes to otin two dditionl grphs G (r) (P (r) int, D), (i.e. G (r) ( P (r), D), r, with int the following set of verties P (r) int { p [3i r j + r kt } ( i.e. P (r) int { p [i + r 3j r kt } ) Note tht this shifting is not unique. The only thing we should tke re of is tht sets P (r) int, (i.e. P (r) int ), r,, re mutully disjoint. If we pply mpping H (i.e. H ), defined y (7), on the set of verties of G (r) (i.e. G (r) ), r,, we otin direted grphs defined y the following set of verties (i.e. P (r) int { p [3i r 3i + j 3 3i + k + r + 3N T } ˆP (r) int { p [3j + i 3 3j r 3j + k + r + 3N T })

7 E. I. Milovnović et l. / Filomt 9:9 (5), for r,. Now we re le to define systoli lgorithms tht orrespond to grphs G (r) Algorithm for r : to do for k : to N 3 do for j : to N do for i : to N do u : 3i r; v : 3i + j 3; w : 3i + k + r + 3N ; (u, v, w) : (u, v, w); (u, v, w) : (u, v, w) (u, v, w) (u, v, w ) + (u, v, w) (u, v, w); i.e. Algorithm 3 for r : to do for k : to N 3 do for j : to N do for i : to N do u : i + 3j 3; v : 3j r; w : 3j + k + r + 3N ; (u, v, w) : (u, v, w); (u, v, w) : (u, v, w) (u, v, w) (u, v, w ) + (u, v, w) (u, v, w); (i.e. G(r) ), r,, Denote with Γ (V (r), ) (i.e. ˆΓ (V (r), ) imge of G (r) (i.e. G(r) ), r,,, otined y epimorphism S (i.e. S ). This imge is loted in the D rtesin spe nd orresponds to the D HSA whih implements the fult-tolernt mtrix multiplition lgorithm - Algorithm (i.e. Algorithm 3). Denote the orresponding rry y SA (i.e. SA). Then (x, y) lotions of the proessing elements in the SA rry (i.e verties of Γ ) re determined from the following equlities [ [ 3i r [ x k + PE S y p 3i + j 3 3N 3, (5) j r 3i + k + r + 3N for r,,, j,,..., N nd k,,..., N 3. Direted edges in Γ, whih orrespond to ommunition hnnels in SA, re determined y olumn vetors of mtrix [ [ e e e S D. (6) Similrly, for the rry SA we otin tht PE lotions re determined y [ [ 3j + i 3 [ x k + PE S y p 3j r 3N 3, (7) i r 3j + k + r + 3N for r,,, i,,..., N nd k,,..., N 3, nd ommunition hnnels y the olumn vetors of mtrix [ [ e e e S D. (8)

8 5. Otining Initil Dt Arrngement E. I. Milovnović et l. / Filomt 9:9 (5), So fr we hve otined lotions of the PEs in the x-y plne nd diretions of ommunition hnnels etween them. Now we hve to determine initil dt rrngement tht provides orret omputtion of the fult-tolernt mtrix multiplition lgorithm on the systoli rry. For the ske of revity we will do this only for the rry SA. From Algorithm, i.e. orresponding direted grphs G (r), initil dt rrngement of elements of mtries A, B nd C () in three-dimensionl spe is defined y the set P (r) () P(r) () P(r) (), where P (r) in () { p [ 3i r 3i + k + r + 3N T } P (r) in () { p [ 3i + j 3 3i + k + r + 3N T } P (r) in () { p [ 3i r 3i + j 3 T } in P(r) in for r,,, i,,..., N, j,,..., N nd k,,..., N 3. However this dt rrngement does not provide orret exeution of Algorithm on the rry SA. This is illustrted in the Figure. To simplify, onsider direted grph with four verties, P to P4, whih elong to the internl omputtion spe, P int, where MAC (multiply with umultion) opertion is performed. With,,, nd d input dt elonging to the initil omputtion spe, P in re denoted. For these inputs the following produts, d, nd d should e otined. However, we will otin only two produts, nmely nd d, sine dt re pipelined through the rry (Fig. )). Therefore we hve to rerrnge the spe of initil dt. In essene it is neessry to skew input dt in time s illustrted in Fig. ). in in INPUT: expeted OUTPT:,,, d, d,, d efore skewing P d P step PE P P P3 P4 d d ) P3 P4 d fter skewing ) P P3 P P4 step PE 3 P P P3 P4 d d Figure : Illustrtion of omputtion in the rry ) efore skewing input dt ) fter skewing input dt. Skewing of P (r) in is performed y the timing funtion, t( p) Π T p + α (see [6). This funtion defines time instne when the omputtion in the point p P (r) int is performed. So we hve to determine vetor Π nd onstnt α. Vetor Π [t t t 3 T my e ny vetor orthogonl on the plne tht ontins ll verties of grph G (r)), for some onstnt r, where omputtions from Algorithm re performed t the sme time instne. To nrrow down hoies, the following onstrints for elements of vetor Π re introdued:

9 E. I. Milovnović et l. / Filomt 9:9 (5), t + t + t 3 > ; The norm of Π, Π t + t + t 3, t ij Z, should e s smll s possile, nd Π T e 3 >, Π T e 3 >, Π T e 3 >, or Π T e 3 <, Π T e 3 <, Π T e 3 < Suppose tht omputtion in Algorithm is performed t the vertex p P (r), of grph G(r), for some onstnt int r, with the position vetor p [ 3i r 3i + j 3 3i + k + r + 3N T. Immeditely prior to the omputtion t p, the omputtions in three points of P (r) int given y the following position vetors, p p e 3, p p e 3 nd p p e 3, were performed. These points determine the plin, i.e. they re not olliner. Vetor orthogonl to this plne is ny vetor prllel to vetor Π T ( p p ) T ( p 3 p ) T ( e 3 e 3 ) T ( e 3 e 3 ) T i j k [. Hving in mind the ove mentioned onstrints for the elements of vetor Π, we n tke Π [ T. Constnt α is determined y the pproprite hoie of vertex in grph G (r) where the first omputtion, defined y Algorithm, should our. Let it e vertex defined y position vetor p [u v w T, where i j k. From the onditions t( p ) Π T p + α nd t( p) >, for eh p P (r) int, p p, we otin α 3N +, so we hve tht timing funtion is defined s Rerrngement (i.e. skewing) of P (r) in t( p) u + v + w 3N +. is performed y the following mpping p γ p γ (t( p γ ) + ) e 3 γ, γ {,, }, for eh p γ from P (r) in nd vetors e γ, 3 γ {,, } defined y (4). The rerrnged spe of initil omputtions P (r) in P (r) in () P (r) in () P (r) () is defined y in P (r) in () { p [ 3i r k 3i + k + r + 3N T } P (r) in () { p [ j k r 3i + j 3 3i + k + r + 3N T } P (r) in () { p [ 3i r 3i + j r + 3N 6i j T }. Finlly, y mpping the set P (r) using epimorphism S defined in (4), initil dt rrngement of input in elements A, B nd C () in the (x, y)-plne t the eginning of the omputtion in the rry SA is otined. The rrngement of input dt in the (x, y)-plne is given y [ [ x 3i + k r 3 (i,, i + k + r + N 3) y k + 3N 3 [ [ x 5 3i j k r (, i + j, i + k + r + N 3) (9) (i, i + j, ) y [ x y 3i j + 3N [ r j, 3i j + 3N for r,,, i,,..., N, j,,..., N nd k,,..., N 3. We ssume tht the following identities in (9) re vlid: (i,, t + N 3 ) (i,, t), (, m + N, t + N 3 ) (, m, t), (i, m + N, ) (i, m, ) for eh m,,..., N nd t,,..., N 3. An exmple of the SA rry tht implements fult-tolernt mtrix

10 E. I. Milovnović et l. / Filomt 9:9 (5), lgorithm for the se N 4, N 3 nd N 3 is presented in Fig.. Dshed squres represent dditionl proessing elements whih represent hrdwre overhed due to fult-tolerne Figure : Fult-tolernt mtrix multiplition on the rry SA for the se N 4, N 3 nd N 3. By the similr proedure one n otin initil dt rrngement of input elements A, B nd C () in the (x, y)-plne t the eginning of the omputtion in the rry SA. It is given y (i + j,, j + k + r + N 3) (, j, j + k + r + N 3) (i + j, j, ) [ [ x 5 i 3j k r y i 3j k + 3N [ [ x 3j + k r 3 y k + 3N 3 [ [ x i r y i 3j + 3N for r,,, i,,..., N, j,,..., N nd k,,..., N 3. An exmple of the rry SA tht implements fult-tolernt mtrix lgorithm for the se N 4, N 3 nd N 3 is presented in Fig.. As n e seen from Figs. nd 3 the rry SA hs fewer PEs thn SA sine N > N. ()

11 E. I. Milovnović et l. / Filomt 9:9 (5), Figure 3: Fult-tolernt mtrix multiplition on the rry SA for the se N 4, N 3 nd N 3. A shemti of the voting logi is presented in Fig. 4. It onsists of 3 [ min{n,n }+ 3 three-input multiplexors nd [ min{n,n } 3 mjority voters. Selet signls for ll multiplexors re ommon. The inputs re seleted in irulr mnner. In eh yle the mjority voter tkes three inputs nd genertes the result. More detils onerning the mjority voter n e found in [. voted vlue voted vlue Voter Voter multiplexors MUX MUX MUX MUX MUX MUX selet signls output from PE PE PE PE3 PE PE PE4 PE3 PE PE PE PE n- n- n-3 PEn PEn- PEn- PEn+ PEn PEn- Figure 4: A detil of the voting logi. By the proposed sheme single trnsient nd intermittent fults n e orreted. A numer of multiple fult ptterns n e tolerted lso, if they do not ffet the sme element of the resulting mtrix. Fult detetion nd lotion re not neessry for fult-tolerne, errors re msked onurrently with norml opertion of the systoli rry. 6. Disussion Aording to (5) nd (7) the following result n e proved. Theorem 6.. Hexgonl systoli rry otined y the projetion vetor µ [ T tht implements Algorithm (i.e. Algorithm 3) onsists of Ω N 3 (N + ) ( i.e. Ω N 3 (N + )) () proessing elements.

12 E. I. Milovnović et l. / Filomt 9:9 (5), Aording to () it follows tht optiml numer of PEs in the SA depends on mutul reltion etween N nd N. This lso mens tht this reltion diretly determines whether Algorithm or Algorithm 3 should e used. Corollry 6.. Hexgonl systoli rry synthesized for projetion vetor µ [ T tht implements Algorithm, i.e. Algorithm 3, hs Ω N 3 (min{n, N } + ) () proessing elements. Note tht hexgonl SA synthesized for the diretion µ [ T tht implements fult-tolernt mtrix multiplition otined in [7 hs the sme numer of PEs. Totl exeution time, T tot, of mtrix multiplition lgorithm on systoli rry inludes time to lod dt into the rry, T in, tive exeution time, T exe, nd time to drin the rry, T out, i.e. T tot T in + T exe + T out. If G (P, E) is direted grph tht orresponds to n lgorithm, nd t( p) is timing funtion, then tive exeution time n e determined from the eqution T exe mx t( p) min t( p) +, p P r [. In our se int the following result holds. Theorem 6.3. Totl exeution time of Algorithm (i.e. Algorithm 3) on the systoli rry with optiml numer of PEs otined for the diretion µ [ T is T tot 3 mx{n, N } + min{n, N } + N 3. (3) Proof Timing funtion of the rry SA tht implements Algorithm is t( p) u + v + w 3N +. Consequently, tive exeution time is T exe 3N +N +N 3 4. In [4 hexgonl SA with optiml numer of PEs whih omputes mtrix produt ws synthesized for the diretion µ [ T. It onsists of N 3 N PEs, nd hs totl exeution time T tot T exe, i.e. T in T out. The rry SA synthesized in this pper represents n extension of the one otined in [4 for N 3 PEs. Nmely, two PEs re dded in eh row of PEs. Sine elements of mtrix A propgte in tht diretion, the initiliztion time is inresed for two time units, i.e. T in, while T out remins. Aordingly, we hve tht totl exeution time of Algorithm on the rry SA, synthesized y the equtions (5), (6) nd (9), is T tot T in + T exe + T out 3N + N + N 3. (4) Similrly, it n e onluded tht totl exeution time of Algorithm 3 on the rry SA, synthesized y equtions (7), (8) nd (), is T tot N + 3N + N 3. (5) Now, sttement of the theorem diretly follows from the equtions (4) nd (5). Hexgonl rry synthesized in [7 hs totl exeution time equl to T tot 3 mx{n, N }+ min{n, N }+ N 3 3. This mens tht the rry synthesized in this pper hs shorter exeution time for T tot min{n, N } time units whih is hieved y the sme numer of PEs s in [7. 7. Conlusion Systoli rrys re suitle elertor rhitetures for mtrix multiplition. They re omplex CMOS VLSI iruits tht exploit mssive prllelism t dt level. However, shrinking the dimensions of trnsistors mke this iruits prone to vrious kind of fults. Relile opertion of these iruits n e hieved y some kind of redundny, whih in generl involves dditionl hrdwre or time, tht s onsequene

13 E. I. Milovnović et l. / Filomt 9:9 (5), dereses system throughput. Therefore the min design hllenges re oriented towrd deresing hrdwre omplexity nd inresing the throughput. In this pper we desrie systemti proedure for the designing of D hexgonl rrys tht n tolerte single trnsient nd intermittent fults during mtrix multiplition (MM). In this proposl we strt from the hexgonl rry whih implement MM lgorithm with pipeline period λ, nd y involving pproprite modifitions t lgorithm level, otin the rry with λ 3. Then two redundnt omputtions re introdued so tht fult-tolerne is hieved y triplited omputtion followed y mjority voting. This is hieved with miniml hrdwre nd time overhed. The proposed proedure is formlly desried y expliit formuls nd n e used s softwre tool for utomti synthesis of fult-tolernt rrys. Referenes [ C. Constntinesu, Trends nd hllenges in VLSI iruit reliility, IEEE MIro, Vol. 3, 4 (3), pp [ M. Duois, M. Annvrm, P. Stenstrom, Prllel omputer orgniztion nd design, Cmridge University Prss, New York,. [3 J. A. B. Fortes, K. -S. Fu, B. W. Wh, Systemti design pprohes for lgorithmilly speified systoli rrys, In: Computer Arhiteture: Conepts nd Systems, (V. Milutinović, ed.), Elsevier Si. Pul. Co., New York, 988. [4 I. Ž. Milovnović, M. P. Bekkos, I. N. Tselepis, E. I. Milovnović, Forty-three wys of systoli mtrix multiplition, Inter. J. Comput. Mth., Vol. 87, 6 (), pp [5 S. G. Sedukhin, The designing nd nlysis of systoli lgorithms nd strutures, Progrmming, Vol., (99), pp. -4. (In Russin) [6 S. G. Sedukhin, G. Z. Krpetin, Design of optiml systoli systems for mtrix multiplition of different strutures, Report 85, Comput. Center Sierin Division of USSR Ademy of Siene, Novosiirsk, 99. (In Russin). [7 N. M. Stojnović, E. I. Milovnović, I. Stojmenović, I. Ž. Milovnović, T. I. Tokić, Mpping mtrix multiplition lgorithm onto fult-tolernt systoli rry, Comput. Mth. Appl., Vol. 48, - (4), pp [8 J. -C. Tsy, P. -Y. Chng, Some new designs of D rry for mtrix multiplition nd trnsitive losure, IEEE Trns. Prll. Distri. systems, Vol. 6, 4 (995), pp [9 C. R. Wn, D. J. Evns, Nineteen wys of systoli mtrix multiplition, Inter. J. Comput. Mth., Vol. 6, - (998), pp [ J. H. Weston, C. N. Zhng, H. Li, Some spe onsidertions on VLSI systoli rry mppings, IEEE Trns. Ciruits Systems II, Vol. 48, 4 (), pp [ C. N. Zhng, Systemti design of systoli rrys for omputing multiple prolem instne, Miroeletronis J., Vol. 3, 7 (99), pp [ C. N. Zhng, T. M. Bhtir, W. K. Chou, Optiml fult-tolernt design pproh for VLSI rry proessors, IEE Pro. Comput. Digit. Teh., Vol. 44, (997), pp. 5-. [3 C. N. Zhng, J. H. Weston, Y, -F. Yn, Determining ojetive funtions in systoli rry design, IEEE Trns. Very Lrge Sle Integrtion (VLSI) Systems, Vol., 3 (994), pp

Linear Algebra Introduction

Linear Algebra Introduction Introdution Wht is Liner Alger out? Liner Alger is rnh of mthemtis whih emerged yers k nd ws one of the pioneer rnhes of mthemtis Though, initilly it strted with solving of the simple liner eqution x +

More information

April 8, 2017 Math 9. Geometry. Solving vector problems. Problem. Prove that if vectors and satisfy, then.

April 8, 2017 Math 9. Geometry. Solving vector problems. Problem. Prove that if vectors and satisfy, then. pril 8, 2017 Mth 9 Geometry Solving vetor prolems Prolem Prove tht if vetors nd stisfy, then Solution 1 onsider the vetor ddition prllelogrm shown in the Figure Sine its digonls hve equl length,, the prllelogrm

More information

Engr354: Digital Logic Circuits

Engr354: Digital Logic Circuits Engr354: Digitl Logi Ciruits Chpter 4: Logi Optimiztion Curtis Nelson Logi Optimiztion In hpter 4 you will lern out: Synthesis of logi funtions; Anlysis of logi iruits; Tehniques for deriving minimum-ost

More information

Introduction to Olympiad Inequalities

Introduction to Olympiad Inequalities Introdution to Olympid Inequlities Edutionl Studies Progrm HSSP Msshusetts Institute of Tehnology Snj Simonovikj Spring 207 Contents Wrm up nd Am-Gm inequlity 2. Elementry inequlities......................

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

MATRIX INVERSE ON CONNEX PARALLEL ARCHITECTURE

MATRIX INVERSE ON CONNEX PARALLEL ARCHITECTURE U.P.B. Si. Bull., Series C, Vol. 75, Iss. 2, ISSN 86 354 MATRIX INVERSE ON CONNEX PARALLEL ARCHITECTURE An-Mri CALFA, Gheorghe ŞTEFAN 2 Designed for emedded omputtion in system on hip design, the Connex

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

ANALYSIS AND MODELLING OF RAINFALL EVENTS

ANALYSIS AND MODELLING OF RAINFALL EVENTS Proeedings of the 14 th Interntionl Conferene on Environmentl Siene nd Tehnology Athens, Greee, 3-5 Septemer 215 ANALYSIS AND MODELLING OF RAINFALL EVENTS IOANNIDIS K., KARAGRIGORIOU A. nd LEKKAS D.F.

More information

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix

Matrices SCHOOL OF ENGINEERING & BUILT ENVIRONMENT. Mathematics (c) 1. Definition of a Matrix tries Definition of tri mtri is regulr rry of numers enlosed inside rkets SCHOOL OF ENGINEERING & UIL ENVIRONEN Emple he following re ll mtries: ), ) 9, themtis ), d) tries Definition of tri Size of tri

More information

Lecture Notes No. 10

Lecture Notes No. 10 2.6 System Identifition, Estimtion, nd Lerning Leture otes o. Mrh 3, 26 6 Model Struture of Liner ime Invrint Systems 6. Model Struture In representing dynmil system, the first step is to find n pproprite

More information

Unit 4. Combinational Circuits

Unit 4. Combinational Circuits Unit 4. Comintionl Ciruits Digitl Eletroni Ciruits (Ciruitos Eletrónios Digitles) E.T.S.I. Informáti Universidd de Sevill 5/10/2012 Jorge Jun 2010, 2011, 2012 You re free to opy, distriute

More information

NEW CIRCUITS OF HIGH-VOLTAGE PULSE GENERATORS WITH INDUCTIVE-CAPACITIVE ENERGY STORAGE

NEW CIRCUITS OF HIGH-VOLTAGE PULSE GENERATORS WITH INDUCTIVE-CAPACITIVE ENERGY STORAGE NEW CIRCUITS OF HIGH-VOLTAGE PULSE GENERATORS WITH INDUCTIVE-CAPACITIVE ENERGY STORAGE V.S. Gordeev, G.A. Myskov Russin Federl Nuler Center All-Russi Sientifi Reserh Institute of Experimentl Physis (RFNC-VNIIEF)

More information

Learning Objectives of Module 2 (Algebra and Calculus) Notes:

Learning Objectives of Module 2 (Algebra and Calculus) Notes: 67 Lerning Ojetives of Module (Alger nd Clulus) Notes:. Lerning units re grouped under three res ( Foundtion Knowledge, Alger nd Clulus ) nd Further Lerning Unit.. Relted lerning ojetives re grouped under

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

TOPIC: LINEAR ALGEBRA MATRICES

TOPIC: LINEAR ALGEBRA MATRICES Interntionl Blurete LECTUE NOTES for FUTHE MATHEMATICS Dr TOPIC: LINEA ALGEBA MATICES. DEFINITION OF A MATIX MATIX OPEATIONS.. THE DETEMINANT deta THE INVESE A -... SYSTEMS OF LINEA EQUATIONS. 8. THE AUGMENTED

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Fun Gme Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Fun Gme Properties Arrow s Theorem Leture Overview 1 Rep 2 Fun Gme 3 Properties

More information

Comparing the Pre-image and Image of a Dilation

Comparing the Pre-image and Image of a Dilation hpter Summry Key Terms Postultes nd Theorems similr tringles (.1) inluded ngle (.2) inluded side (.2) geometri men (.) indiret mesurement (.6) ngle-ngle Similrity Theorem (.2) Side-Side-Side Similrity

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

A Study on the Properties of Rational Triangles

A Study on the Properties of Rational Triangles Interntionl Journl of Mthemtis Reserh. ISSN 0976-5840 Volume 6, Numer (04), pp. 8-9 Interntionl Reserh Pulition House http://www.irphouse.om Study on the Properties of Rtionl Tringles M. Q. lm, M.R. Hssn

More information

THE PYTHAGOREAN THEOREM

THE PYTHAGOREAN THEOREM THE PYTHAGOREAN THEOREM The Pythgoren Theorem is one of the most well-known nd widely used theorems in mthemtis. We will first look t n informl investigtion of the Pythgoren Theorem, nd then pply this

More information

6.5 Improper integrals

6.5 Improper integrals Eerpt from "Clulus" 3 AoPS In. www.rtofprolemsolving.om 6.5. IMPROPER INTEGRALS 6.5 Improper integrls As we ve seen, we use the definite integrl R f to ompute the re of the region under the grph of y =

More information

SECTION A STUDENT MATERIAL. Part 1. What and Why.?

SECTION A STUDENT MATERIAL. Part 1. What and Why.? SECTION A STUDENT MATERIAL Prt Wht nd Wh.? Student Mteril Prt Prolem n > 0 n > 0 Is the onverse true? Prolem If n is even then n is even. If n is even then n is even. Wht nd Wh? Eploring Pure Mths Are

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

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version

A Lower Bound for the Length of a Partial Transversal in a Latin Square, Revised Version A Lower Bound for the Length of Prtil Trnsversl in Ltin Squre, Revised Version Pooy Htmi nd Peter W. Shor Deprtment of Mthemtil Sienes, Shrif University of Tehnology, P.O.Bo 11365-9415, Tehrn, Irn Deprtment

More information

NON-DETERMINISTIC FSA

NON-DETERMINISTIC FSA Tw o types of non-determinism: NON-DETERMINISTIC FS () Multiple strt-sttes; strt-sttes S Q. The lnguge L(M) ={x:x tkes M from some strt-stte to some finl-stte nd ll of x is proessed}. The string x = is

More information

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution

Technische Universität München Winter term 2009/10 I7 Prof. J. Esparza / J. Křetínský / M. Luttenberger 11. Februar Solution Tehnishe Universität Münhen Winter term 29/ I7 Prof. J. Esprz / J. Křetínský / M. Luttenerger. Ferur 2 Solution Automt nd Forml Lnguges Homework 2 Due 5..29. Exerise 2. Let A e the following finite utomton:

More information

Arrow s Impossibility Theorem

Arrow s Impossibility Theorem Rep Voting Prdoxes Properties Arrow s Theorem Arrow s Impossiility Theorem Leture 12 Arrow s Impossiility Theorem Leture 12, Slide 1 Rep Voting Prdoxes Properties Arrow s Theorem Leture Overview 1 Rep

More information

Chapter 3. Vector Spaces. 3.1 Images and Image Arithmetic

Chapter 3. Vector Spaces. 3.1 Images and Image Arithmetic Chpter 3 Vetor Spes In Chpter 2, we sw tht the set of imges possessed numer of onvenient properties. It turns out tht ny set tht possesses similr onvenient properties n e nlyzed in similr wy. In liner

More information

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points:

Algorithms & Data Structures Homework 8 HS 18 Exercise Class (Room & TA): Submitted by: Peer Feedback by: Points: Eidgenössishe Tehnishe Hohshule Zürih Eole polytehnique fédérle de Zurih Politenio federle di Zurigo Federl Institute of Tehnology t Zurih Deprtement of Computer Siene. Novemer 0 Mrkus Püshel, Dvid Steurer

More information

QUADRATIC EQUATION. Contents

QUADRATIC EQUATION. Contents QUADRATIC EQUATION Contents Topi Pge No. Theory 0-04 Exerise - 05-09 Exerise - 09-3 Exerise - 3 4-5 Exerise - 4 6 Answer Key 7-8 Syllus Qudrti equtions with rel oeffiients, reltions etween roots nd oeffiients,

More information

Discrete Structures Lecture 11

Discrete Structures Lecture 11 Introdution Good morning. In this setion we study funtions. A funtion is mpping from one set to nother set or, perhps, from one set to itself. We study the properties of funtions. A mpping my not e funtion.

More information

THREE DIMENSIONAL GEOMETRY

THREE DIMENSIONAL GEOMETRY MD THREE DIMENSIONAL GEOMETRY CA CB C Coordintes of point in spe There re infinite numer of points in spe We wnt to identif eh nd ever point of spe with the help of three mutull perpendiulr oordintes es

More information

SOLUTIONS TO ASSIGNMENT NO The given nonrecursive signal processing structure is shown as

SOLUTIONS TO ASSIGNMENT NO The given nonrecursive signal processing structure is shown as SOLUTIONS TO ASSIGNMENT NO.1 3. The given nonreursive signl proessing struture is shown s X 1 1 2 3 4 5 Y 1 2 3 4 5 X 2 There re two ritil pths, one from X 1 to Y nd the other from X 2 to Y. The itertion

More information

TIME AND STATE IN DISTRIBUTED SYSTEMS

TIME AND STATE IN DISTRIBUTED SYSTEMS Distriuted Systems Fö 5-1 Distriuted Systems Fö 5-2 TIME ND STTE IN DISTRIUTED SYSTEMS 1. Time in Distriuted Systems Time in Distriuted Systems euse eh mhine in distriuted system hs its own lok there is

More information

Dorf, R.C., Wan, Z. T- Equivalent Networks The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000

Dorf, R.C., Wan, Z. T- Equivalent Networks The Electrical Engineering Handbook Ed. Richard C. Dorf Boca Raton: CRC Press LLC, 2000 orf, R.C., Wn,. T- Equivlent Networks The Eletril Engineering Hndook Ed. Rihrd C. orf Bo Rton: CRC Press LLC, 000 9 T P Equivlent Networks hen Wn University of Cliforni, vis Rihrd C. orf University of

More information

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09

Metodologie di progetto HW Technology Mapping. Last update: 19/03/09 Metodologie di progetto HW Tehnology Mpping Lst updte: 19/03/09 Tehnology Mpping 2 Tehnology Mpping Exmple: t 1 = + b; t 2 = d + e; t 3 = b + d; t 4 = t 1 t 2 + fg; t 5 = t 4 h + t 2 t 3 ; F = t 5 ; t

More information

m A 1 1 A ! and AC 6

m A 1 1 A ! and AC 6 REVIEW SET A Using sle of m represents units, sketh vetor to represent: NON-CALCULATOR n eroplne tking off t n ngle of 8 ± to runw with speed of 6 ms displement of m in north-esterl diretion. Simplif:

More information

Lecture 6. CMOS Static & Dynamic Logic Gates. Static CMOS Circuit. PMOS Transistors in Series/Parallel Connection

Lecture 6. CMOS Static & Dynamic Logic Gates. Static CMOS Circuit. PMOS Transistors in Series/Parallel Connection NMOS Trnsistors in Series/Prllel onnetion Leture 6 MOS Stti & ynmi Logi Gtes Trnsistors n e thought s swith ontrolled y its gte signl NMOS swith loses when swith ontrol input is high Peter heung eprtment

More information

Hyers-Ulam stability of Pielou logistic difference equation

Hyers-Ulam stability of Pielou logistic difference equation vilble online t wwwisr-publitionsom/jns J Nonliner Si ppl, 0 (207, 35 322 Reserh rtile Journl Homepge: wwwtjnsom - wwwisr-publitionsom/jns Hyers-Ulm stbility of Pielou logisti differene eqution Soon-Mo

More information

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4.

Tutorial Worksheet. 1. Find all solutions to the linear system by following the given steps. x + 2y + 3z = 2 2x + 3y + z = 4. Mth 5 Tutoril Week 1 - Jnury 1 1 Nme Setion Tutoril Worksheet 1. Find ll solutions to the liner system by following the given steps x + y + z = x + y + z = 4. y + z = Step 1. Write down the rgumented mtrix

More information

#A42 INTEGERS 11 (2011) ON THE CONDITIONED BINOMIAL COEFFICIENTS

#A42 INTEGERS 11 (2011) ON THE CONDITIONED BINOMIAL COEFFICIENTS #A42 INTEGERS 11 (2011 ON THE CONDITIONED BINOMIAL COEFFICIENTS Liqun To Shool of Mthemtil Sienes, Luoyng Norml University, Luoyng, Chin lqto@lynuedun Reeived: 12/24/10, Revised: 5/11/11, Aepted: 5/16/11,

More information

Section 3.6. Definite Integrals

Section 3.6. Definite Integrals The Clulus of Funtions of Severl Vribles Setion.6 efinite Integrls We will first define the definite integrl for funtion f : R R nd lter indite how the definition my be extended to funtions of three or

More information

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES

PAIR OF LINEAR EQUATIONS IN TWO VARIABLES PAIR OF LINEAR EQUATIONS IN TWO VARIABLES. Two liner equtions in the sme two vriles re lled pir of liner equtions in two vriles. The most generl form of pir of liner equtions is x + y + 0 x + y + 0 where,,,,,,

More information

Expand the Shares Together: Envy-free Mechanisms with a Small Number of Cuts

Expand the Shares Together: Envy-free Mechanisms with a Small Number of Cuts Nonme mnusript No. (will e inserted y the editor) Expnd the Shres Together: Envy-free Mehnisms with Smll Numer of uts Msoud Seddighin Mjid Frhdi Mohmmd Ghodsi Rez Alijni Ahmd S. Tjik Reeived: dte / Aepted:

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

Nondeterministic Automata vs Deterministic Automata

Nondeterministic Automata vs Deterministic Automata Nondeterministi Automt vs Deterministi Automt We lerned tht NFA is onvenient model for showing the reltionships mong regulr grmmrs, FA, nd regulr expressions, nd designing them. However, we know tht n

More information

8 THREE PHASE A.C. CIRCUITS

8 THREE PHASE A.C. CIRCUITS 8 THREE PHSE.. IRUITS The signls in hpter 7 were sinusoidl lternting voltges nd urrents of the so-lled single se type. n emf of suh type n e esily generted y rotting single loop of ondutor (or single winding),

More information

Bravais lattices and crystal systems

Bravais lattices and crystal systems 3 Brvis ltties nd rystl systems 3. Introdution The definitions of the motif, the repeting unit of pttern, nd the lttie, n rry of points in spe in whih eh point hs n identil environment, hold in three dimensions

More information

Intermediate Math Circles Wednesday 17 October 2012 Geometry II: Side Lengths

Intermediate Math Circles Wednesday 17 October 2012 Geometry II: Side Lengths Intermedite Mth Cirles Wednesdy 17 Otoer 01 Geometry II: Side Lengths Lst week we disussed vrious ngle properties. As we progressed through the evening, we proved mny results. This week, we will look t

More information

Lecture Summaries for Multivariable Integral Calculus M52B

Lecture Summaries for Multivariable Integral Calculus M52B These leture summries my lso be viewed online by liking the L ion t the top right of ny leture sreen. Leture Summries for Multivrible Integrl Clulus M52B Chpter nd setion numbers refer to the 6th edition.

More information

A Non-parametric Approach in Testing Higher Order Interactions

A Non-parametric Approach in Testing Higher Order Interactions A Non-prmetri Approh in Testing igher Order Intertions G. Bkeerthn Deprtment of Mthemtis, Fulty of Siene Estern University, Chenkldy, Sri Lnk nd S. Smit Deprtment of Crop Siene, Fulty of Agriulture University

More information

On Implicative and Strong Implicative Filters of Lattice Wajsberg Algebras

On Implicative and Strong Implicative Filters of Lattice Wajsberg Algebras Glol Journl of Mthemtil Sienes: Theory nd Prtil. ISSN 974-32 Volume 9, Numer 3 (27), pp. 387-397 Interntionl Reserh Pulition House http://www.irphouse.om On Implitive nd Strong Implitive Filters of Lttie

More information

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals

AP Calculus BC Chapter 8: Integration Techniques, L Hopital s Rule and Improper Integrals AP Clulus BC Chpter 8: Integrtion Tehniques, L Hopitl s Rule nd Improper Integrls 8. Bsi Integrtion Rules In this setion we will review vrious integrtion strtegies. Strtegies: I. Seprte the integrnd into

More information

Test Generation from Timed Input Output Automata

Test Generation from Timed Input Output Automata Chpter 8 Test Genertion from Timed Input Output Automt The purpose of this hpter is to introdue tehniques for the genertion of test dt from models of softwre sed on vrints of timed utomt. The tests generted

More information

LIP. Laboratoire de l Informatique du Parallélisme. Ecole Normale Supérieure de Lyon

LIP. Laboratoire de l Informatique du Parallélisme. Ecole Normale Supérieure de Lyon LIP Lortoire de l Informtique du Prllélisme Eole Normle Supérieure de Lyon Institut IMAG Unité de reherhe ssoiée u CNRS n 1398 One-wy Cellulr Automt on Cyley Grphs Zsuzsnn Rok Mrs 1993 Reserh Report N

More information

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem.

Lesson 2: The Pythagorean Theorem and Similar Triangles. A Brief Review of the Pythagorean Theorem. 27 Lesson 2: The Pythgoren Theorem nd Similr Tringles A Brief Review of the Pythgoren Theorem. Rell tht n ngle whih mesures 90º is lled right ngle. If one of the ngles of tringle is right ngle, then we

More information

A STUDY OF Q-CONTIGUOUS FUNCTION RELATIONS

A STUDY OF Q-CONTIGUOUS FUNCTION RELATIONS Commun. Koren Mth. So. 31 016, No. 1, pp. 65 94 http://dx.doi.org/10.4134/ckms.016.31.1.065 A STUDY OF Q-CONTIGUOUS FUNCTION RELATIONS Hrsh Vrdhn Hrsh, Yong Sup Kim, Medht Ahmed Rkh, nd Arjun Kumr Rthie

More information

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of:

22: Union Find. CS 473u - Algorithms - Spring April 14, We want to maintain a collection of sets, under the operations of: 22: Union Fin CS 473u - Algorithms - Spring 2005 April 14, 2005 1 Union-Fin We wnt to mintin olletion of sets, uner the opertions of: 1. MkeSet(x) - rete set tht ontins the single element x. 2. Fin(x)

More information

Exercise 3 Logic Control

Exercise 3 Logic Control Exerise 3 Logi Control OBJECTIVE The ojetive of this exerise is giving n introdution to pplition of Logi Control System (LCS). Tody, LCS is implemented through Progrmmle Logi Controller (PLC) whih is lled

More information

Implication Graphs and Logic Testing

Implication Graphs and Logic Testing Implition Grphs n Logi Testing Vishwni D. Agrwl Jmes J. Dnher Professor Dept. of ECE, Auurn University Auurn, AL 36849 vgrwl@eng.uurn.eu www.eng.uurn.eu/~vgrwl Joint reserh with: K. K. Dve, ATI Reserh,

More information

Ch. 2.3 Counting Sample Points. Cardinality of a Set

Ch. 2.3 Counting Sample Points. Cardinality of a Set Ch..3 Counting Smple Points CH 8 Crdinlity of Set Let S e set. If there re extly n distint elements in S, where n is nonnegtive integer, we sy S is finite set nd n is the rdinlity of S. The rdinlity of

More information

Solutions to Assignment 1

Solutions to Assignment 1 MTHE 237 Fll 2015 Solutions to Assignment 1 Problem 1 Find the order of the differentil eqution: t d3 y dt 3 +t2 y = os(t. Is the differentil eqution liner? Is the eqution homogeneous? b Repet the bove

More information

Global alignment. Genome Rearrangements Finding preserved genes. Lecture 18

Global alignment. Genome Rearrangements Finding preserved genes. Lecture 18 Computt onl Biology Leture 18 Genome Rerrngements Finding preserved genes We hve seen before how to rerrnge genome to obtin nother one bsed on: Reversls Knowledge of preserved bloks (or genes) Now we re

More information

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 )

Necessary and sucient conditions for some two. Abstract. Further we show that the necessary conditions for the existence of an OD(44 s 1 s 2 ) Neessry n suient onitions for some two vrile orthogonl esigns in orer 44 C. Koukouvinos, M. Mitrouli y, n Jennifer Seerry z Deite to Professor Anne Penfol Street Astrt We give new lgorithm whih llows us

More information

The Word Problem in Quandles

The Word Problem in Quandles The Word Prolem in Qundles Benjmin Fish Advisor: Ren Levitt April 5, 2013 1 1 Introdution A word over n lger A is finite sequene of elements of A, prentheses, nd opertions of A defined reursively: Given

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

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1)

Math 32B Discussion Session Week 8 Notes February 28 and March 2, f(b) f(a) = f (t)dt (1) Green s Theorem Mth 3B isussion Session Week 8 Notes Februry 8 nd Mrh, 7 Very shortly fter you lerned how to integrte single-vrible funtions, you lerned the Fundmentl Theorem of lulus the wy most integrtion

More information

I 3 2 = I I 4 = 2A

I 3 2 = I I 4 = 2A ECE 210 Eletril Ciruit Anlysis University of llinois t Chigo 2.13 We re ske to use KCL to fin urrents 1 4. The key point in pplying KCL in this prolem is to strt with noe where only one of the urrents

More information

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b

where the box contains a finite number of gates from the given collection. Examples of gates that are commonly used are the following: a b CS 294-2 9/11/04 Quntum Ciruit Model, Solovy-Kitev Theorem, BQP Fll 2004 Leture 4 1 Quntum Ciruit Model 1.1 Clssil Ciruits - Universl Gte Sets A lssil iruit implements multi-output oolen funtion f : {0,1}

More information

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2

y1 y2 DEMUX a b x1 x2 x3 x4 NETWORK s1 s2 z1 z2 BOOLEAN METHODS Giovnni De Miheli Stnford University Boolen methods Exploit Boolen properties. { Don't re onditions. Minimiztion of the lol funtions. Slower lgorithms, etter qulity results. Externl don't

More information

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4

CSE 332. Sorting. Data Abstractions. CSE 332: Data Abstractions. QuickSort Cutoff 1. Where We Are 2. Bounding The MAXIMUM Problem 4 Am Blnk Leture 13 Winter 2016 CSE 332 CSE 332: Dt Astrtions Sorting Dt Astrtions QuikSort Cutoff 1 Where We Are 2 For smll n, the reursion is wste. The onstnts on quik/merge sort re higher thn the ones

More information

Logic Synthesis and Verification

Logic Synthesis and Verification Logi Synthesis nd Verifition SOPs nd Inompletely Speified Funtions Jie-Hong Rolnd Jing 江介宏 Deprtment of Eletril Engineering Ntionl Tiwn University Fll 2010 Reding: Logi Synthesis in Nutshell Setion 2 most

More information

THE ANALYSIS AND CALCULATION OF ELECTROMAGNETIC FIELD AROUND OVERHEAD POWER LINE HongWang Yang

THE ANALYSIS AND CALCULATION OF ELECTROMAGNETIC FIELD AROUND OVERHEAD POWER LINE HongWang Yang 5th Interntionl Conferene on Advned Mterils nd Computer Siene (ICAMCS 6) THE ANALYSIS AN CALCULATION OF ELECTROMAGNETIC FIEL AROUN OVERHEA POWER LINE HongWng Yng eprtment of eletril engineering, North

More information

p-adic Egyptian Fractions

p-adic Egyptian Fractions p-adic Egyptin Frctions Contents 1 Introduction 1 2 Trditionl Egyptin Frctions nd Greedy Algorithm 2 3 Set-up 3 4 p-greedy Algorithm 5 5 p-egyptin Trditionl 10 6 Conclusion 1 Introduction An Egyptin frction

More information

f (x)dx = f(b) f(a). a b f (x)dx is the limit of sums

f (x)dx = f(b) f(a). a b f (x)dx is the limit of sums Green s Theorem If f is funtion of one vrible x with derivtive f x) or df dx to the Fundmentl Theorem of lulus, nd [, b] is given intervl then, ording This is not trivil result, onsidering tht b b f x)dx

More information

Symmetrical Components 1

Symmetrical Components 1 Symmetril Components. Introdution These notes should e red together with Setion. of your text. When performing stedy-stte nlysis of high voltge trnsmission systems, we mke use of the per-phse equivlent

More information

Part 4. Integration (with Proofs)

Part 4. Integration (with Proofs) Prt 4. Integrtion (with Proofs) 4.1 Definition Definition A prtition P of [, b] is finite set of points {x 0, x 1,..., x n } with = x 0 < x 1

More information

Reflection Property of a Hyperbola

Reflection Property of a Hyperbola Refletion Propert of Hperol Prefe The purpose of this pper is to prove nltill nd to illustrte geometrill the propert of hperol wherein r whih emntes outside the onvit of the hperol, tht is, etween the

More information

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point

Numbers and indices. 1.1 Fractions. GCSE C Example 1. Handy hint. Key point GCSE C Emple 7 Work out 9 Give your nswer in its simplest form Numers n inies Reiprote mens invert or turn upsie own The reiprol of is 9 9 Mke sure you only invert the frtion you re iviing y 7 You multiply

More information

Review of Gaussian Quadrature method

Review of Gaussian Quadrature method Review of Gussin Qudrture method Nsser M. Asi Spring 006 compiled on Sundy Decemer 1, 017 t 09:1 PM 1 The prolem To find numericl vlue for the integrl of rel vlued function of rel vrile over specific rnge

More information

September 13 Homework Solutions

September 13 Homework Solutions College of Engineering nd Computer Science Mechnicl Engineering Deprtment Mechnicl Engineering 5A Seminr in Engineering Anlysis Fll Ticket: 5966 Instructor: Lrry Cretto Septemer Homework Solutions. Are

More information

Chapter 8 Roots and Radicals

Chapter 8 Roots and Radicals Chpter 8 Roots nd Rdils 7 ROOTS AND RADICALS 8 Figure 8. Grphene is n inredily strong nd flexile mteril mde from ron. It n lso ondut eletriity. Notie the hexgonl grid pttern. (redit: AlexnderAIUS / Wikimedi

More information

Robustness of Evolvable Hardware in the Case of Fault and Environmental Change

Robustness of Evolvable Hardware in the Case of Fault and Environmental Change Proeedings of the IEEE Interntionl Conferene on Rootis nd Biomimetis Deemer -,, Guilin, Chin Roustness of Evolvle Hrdwre in the Cse of Fult nd Environmentl Chnge Jin Gong, Mengfei Yng Astrt The ontroller

More information

(a) A partition P of [a, b] is a finite subset of [a, b] containing a and b. If Q is another partition and P Q, then Q is a refinement of P.

(a) A partition P of [a, b] is a finite subset of [a, b] containing a and b. If Q is another partition and P Q, then Q is a refinement of P. Chpter 7: The Riemnn Integrl When the derivtive is introdued, it is not hrd to see tht the it of the differene quotient should be equl to the slope of the tngent line, or when the horizontl xis is time

More information

Behavior Composition in the Presence of Failure

Behavior Composition in the Presence of Failure Behvior Composition in the Presene of Filure Sestin Srdin RMIT University, Melourne, Austrli Fio Ptrizi & Giuseppe De Giomo Spienz Univ. Rom, Itly KR 08, Sept. 2008, Sydney Austrli Introdution There re

More information

Chapter 4 State-Space Planning

Chapter 4 State-Space Planning Leture slides for Automted Plnning: Theory nd Prtie Chpter 4 Stte-Spe Plnning Dn S. Nu CMSC 722, AI Plnning University of Mrylnd, Spring 2008 1 Motivtion Nerly ll plnning proedures re serh proedures Different

More information

2. VECTORS AND MATRICES IN 3 DIMENSIONS

2. VECTORS AND MATRICES IN 3 DIMENSIONS 2 VECTORS AND MATRICES IN 3 DIMENSIONS 21 Extending the Theory of 2-dimensionl Vectors x A point in 3-dimensionl spce cn e represented y column vector of the form y z z-xis y-xis z x y x-xis Most of the

More information

University of Sioux Falls. MAT204/205 Calculus I/II

University of Sioux Falls. MAT204/205 Calculus I/II University of Sioux Flls MAT204/205 Clulus I/II Conepts ddressed: Clulus Textook: Thoms Clulus, 11 th ed., Weir, Hss, Giordno 1. Use stndrd differentition nd integrtion tehniques. Differentition tehniques

More information

Matrix Algebra. Matrix Addition, Scalar Multiplication and Transposition. Linear Algebra I 24

Matrix Algebra. Matrix Addition, Scalar Multiplication and Transposition. Linear Algebra I 24 Mtrix lger Mtrix ddition, Sclr Multipliction nd rnsposition Mtrix lger Section.. Mtrix ddition, Sclr Multipliction nd rnsposition rectngulr rry of numers is clled mtrix ( the plurl is mtrices ) nd the

More information

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University

Farey Fractions. Rickard Fernström. U.U.D.M. Project Report 2017:24. Department of Mathematics Uppsala University U.U.D.M. Project Report 07:4 Frey Frctions Rickrd Fernström Exmensrete i mtemtik, 5 hp Hledre: Andres Strömergsson Exmintor: Jörgen Östensson Juni 07 Deprtment of Mthemtics Uppsl University Frey Frctions

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 5 Supplement Greedy Algorithms Cont d Minimizing lteness Ching (NOT overed in leture) Adm Smith 9/8/10 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov,

More information

are coplanar. ˆ ˆ ˆ and iˆ

are coplanar. ˆ ˆ ˆ and iˆ SML QUSTION Clss XII Mthemtis Time llowed: hrs Mimum Mrks: Generl Instrutions: i ll questions re ompulsor ii The question pper onsists of 6 questions divided into three Setions, B nd C iii Question No

More information

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique?

How do we solve these things, especially when they get complicated? How do we know when a system has a solution, and when is it unique? XII. LINEAR ALGEBRA: SOLVING SYSTEMS OF EQUATIONS Tody we re going to tlk out solving systems of liner equtions. These re prolems tht give couple of equtions with couple of unknowns, like: 6= x + x 7=

More information

Table of Content. c 1 / 5

Table of Content. c 1 / 5 Tehnil Informtion - t nd t Temperture for Controlger 03-2018 en Tble of Content Introdution....................................................................... 2 Definitions for t nd t..............................................................

More information

Lecture 1 - Introduction and Basic Facts about PDEs

Lecture 1 - Introduction and Basic Facts about PDEs * 18.15 - Introdution to PDEs, Fll 004 Prof. Gigliol Stffilni Leture 1 - Introdution nd Bsi Fts bout PDEs The Content of the Course Definition of Prtil Differentil Eqution (PDE) Liner PDEs VVVVVVVVVVVVVVVVVVVV

More information

CHENG Chun Chor Litwin The Hong Kong Institute of Education

CHENG Chun Chor Litwin The Hong Kong Institute of Education PE-hing Mi terntionl onferene IV: novtion of Mthemtis Tehing nd Lerning through Lesson Study- onnetion etween ssessment nd Sujet Mtter HENG hun hor Litwin The Hong Kong stitute of Edution Report on using

More information

Unit-VII: Linear Algebra-I. To show what are the matrices, why they are useful, how they are classified as various types and how they are solved.

Unit-VII: Linear Algebra-I. To show what are the matrices, why they are useful, how they are classified as various types and how they are solved. Unit-VII: Liner lger-i Purpose of lession : To show wht re the mtries, wh the re useful, how the re lssified s vrious tpes nd how the re solved. Introdution: Mtries is powerful tool of modern Mthemtis

More information

Algorithm Design and Analysis

Algorithm Design and Analysis Algorithm Design nd Anlysis LECTURE 8 Mx. lteness ont d Optiml Ching Adm Smith 9/12/2008 A. Smith; sed on slides y E. Demine, C. Leiserson, S. Rskhodnikov, K. Wyne Sheduling to Minimizing Lteness Minimizing

More information

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS

The University of Nottingham SCHOOL OF COMPUTER SCIENCE A LEVEL 2 MODULE, SPRING SEMESTER MACHINES AND THEIR LANGUAGES ANSWERS The University of ottinghm SCHOOL OF COMPUTR SCIC A LVL 2 MODUL, SPRIG SMSTR 2015 2016 MACHIS AD THIR LAGUAGS ASWRS Time llowed TWO hours Cndidtes my omplete the front over of their nswer ook nd sign their

More information

Section 1.3 Triangles

Section 1.3 Triangles Se 1.3 Tringles 21 Setion 1.3 Tringles LELING TRINGLE The line segments tht form tringle re lled the sides of the tringle. Eh pir of sides forms n ngle, lled n interior ngle, nd eh tringle hs three interior

More information