Error-Free Algorithms to Solve Special and General Discrete Systems of Linear Equations

Size: px
Start display at page:

Download "Error-Free Algorithms to Solve Special and General Discrete Systems of Linear Equations"

Transcription

1 to Solve Specal and General Dscrete Systems of Lnear Equatons roslav orháč Insttute of Physcs Slova Academy of Scences Dúbravsa cesta 9 Bratslava 845 Slova republc E-mal:roslavorhac@savbas Abstract he paper presents a survey of error-free algorthms to solve varous systems of lnear equatons he presented algorthms do not ntroduce computatonal errors nto the soluton and thus they are well suted to solve ll-condtoned lnear systems he error-free algorthms are based on modulo arthmetc wo basc approaches have been nvestgated n the paper he frst one s based on teratve scheme usng one modulus only he other one s parallel and uses several modul and the Chnese theorem It s based on polynomal algebra operatons that allow to epress the operaton of deconvoluton as a sequence of convolutons of both response and output sgnals PoS(ACA7 XI Internatonal Worshop on Advanced Computng and Analyss echnques n Physcs Research Amsterdam the etherlands -7 Aprl 7 Speaer Copyrght owned by the author(s under the terms of the Creatve Commons Attrbuton-onCommercal-ShareAle Lcence

2 roslav orháč Introducton he soluton of lnear algebrac equatons s a very frequent tas n numercal mathematcs and epermental physcs at all When solvng such a set of lnear equatons one often meets the problem of ll-condtoned matr of the set For large dense sets of lnear equatons whch are as a rule ll-condtoned the stablty of the soluton cannot be guaranteed Roundng-off and truncaton errors durng the numercal computatons nvolved n obtanng the soluton to the problem cannot be tolerated Let us llustrate the stuaton usng a smple eample Illustratve eample: Let us have ll-condtoned set of two lnear equatons + y 4 ( + y 4 whch has the soluton y On the other hand let us consder the set + y 4 ( y 4 hs set has the soluton y - Very small change n the coeffcents ( and caused enormous changes n the soluton he nverse matr of ( contans elements 5 of the order of It demonstrates ts ll-condtonalty We are motvated by the fact that n scentfc computatons there are large classes of llcondtoned problems and there are also numercally unstable algorthms Dgtal computer s a fnte machne and therefore t s capable of representng nternally only a fnte set of numbers here est dffcultes assocated wth the attempts at appromatng arthmetc n the feld of real numbers (R + by usng the fnte set of so-called floatng-pont numbers F more approprately called the set of computer-representable numbers here s no possblty of representng the contnuum of real numbers n any detal A practcal soluton s to represent a real number by the closest computer-representable number thereby ntroducng the roundng error It s well nown that computers can perform certan arthmetc operatons eactly f the operands are ntegers oreover there are many stuatons n practce when we wor wth nteger nput data Processng of spectra (hstograms n nuclear physcs can serve as a good eample When solvng ll-condtoned problems durng the analyss of spectra t s not reasonable to leave the world of eact ntegers and thus ntroduce nstablty It motvated us to consder nteger arthmetc as a mean of avodng roundng errors n the hope that certan llcondtoned problems can be solved eactly Resdue number system s an eample of a number system wth whch we can do eact arthmetc he am of the contrbuton s to present errorfree algorthms to solve ll-condtoned systems of lnear equatons Let us summarze how we can proceed when the soluton of ll-condtoned lnear system of equatons can be epressed as ratonal fractons of ntegers we can ncrease the precson of floatng pont representaton - however t does not need to guarantee the correct result PoS(ACA7

3 roslav orháč we can wor wth long ntegers - from algorthmc pont of vew t s many tmes very cumbersome we can wor wth ntegers n fnte rngs usng resdue class or modulo arthmetc and at the end of the calculaton to convert the modulo representaton nto real numbers In the rest of the paper when speang about modulo arthmetc we shall consder prme modul Let us now llustrate modulo representaton of negatve numbers and nverse numbers for modulus 7 (see able I and II (mod able I odulo representaton of numbers from the range ( / ( / for (mod able II odulo nverse numbers for 7 One can observe that the assgnment between numbers and ther negatves and nverses s prme modul unquely unque By defnton for we have taen nverse number to be Convoluton systems In many applcatons the dynamc behavor of a lnear system can be descrbed by means of mpulse response functon h( n he perodcal convoluton of fnte sets (n and h( n s yn ( hn ( mm ( n ( m where s the length of both vectors Very frequently the advantageous property of factorzaton of the convoluton of two sgnals to the product of ther Fourer coeffcents s utlzed [] [] F[ y( n ] F[ h( n ] F[ ( n ] (4 Snce the Fourer transform cannot be computed wth absolute precson the number theoretcal transforms were defned wth the am to carry out the fast error-free convoluton of data hese transforms are defned n the rng of ntegers usng the operatons carred out n modulo arthmetc where s prme Drect and nverse umber heoretcal ransforms ( can be defned n X( ( n α (mod n (5 n n ( X( α (mod n (6 where a (mod PoS(ACA7

4 roslav orháč b α (mod and must dvde Among the most famous are erssene and Fermat transforms [] hey are frequently used for error-free calculatons of convolutons However the problem of precson s much more crtcal n the nverse operaton e deconvoluton Precse deconvoluton usng the Fermat number transform [] Convoluton system ( can be wrtten n matr form y( h( h( h( h( ( y( ( ( ( ( ( h h h h (7 y( h( h( h( h( ( y( h( h( h( h( ( or y H (8 he soluton of any regular system of lnear equatons (8 can be epressed as m m D (9 where D s determnant of the matr H s chosen modulus (n our case Fermat number and m s a fnte number Substtutng (9 nto matr equaton (8 gves m y D H + H + + H m ( or after some modfcatons ( D H H H m y ( From ( we can defne the vectors y ( D H ( H y + m ( If the vector y + equals the zero vector the calculaton can be fnshed It can serve as an ndcaton of the end of teratons o calculate modulo soluton of (8 we can utlze the Fermat number transform For transformed values t holds R( R ( h R ( y (mod ( Usng nverse Fermat transform we obtan modulo soluton of the vector D D (mod D (mod D (mod (4 where D + D D D H( (mod (5 hen PoS(ACA7 4

5 roslav orháč ( ( D + + m (6 Substtutng (6 to ( yelds ( y H + H + H m or n general y (mod H m (7 Hence to fnd partcular soluton we can apply agan Fermat transform hen we can proceed to the net teraton step y H y + (8 he fnal soluton can be calculated usng (9 In (9 ( ( ( (4 we assumed we now the eact value of the determnant D of the convoluton matr H In what follows we ntroduce the algorthm to calculate t [] [4] By employng the Fourer transform the determnant of the convoluton matr of the system (8 can be epressed ( ( ( ( + ( D h + hw + hw + + h W (9 ( π where W e and s a power of e the determnant of such a matr can be epressed as the product of the coeffcents of the Fourer transform of the response vector h he Fourer transform s used only formally For detals we refer to [] Let us llustrate the algorthm by an eample wth 8 Applyng DF to vector h we obtan the bt reversed vector h h W W W W h W W W W h W W W W W W h 4 W W W W W W h5 W W W W W W h6 W W W W W W h7 h + h+ h + h + h4 + h5 + h6 + h7 a X } group h h+ h h + h4 h5 + h6 h 7 b X } group ( h h + h4 h6 + ( h h + h5 h7 W c + cw X ( h h + h4 h6 ( h h + h5 h7 W group c cw X ( h h4 + ( h h5 W + ( h h6 W + ( h h7 W d + dw + dw + dw X 4 ( h h4 ( h h5 W + ( h h6 W ( h h7 W + X 5 d dw d W d W ( h h4 + ( hh5 W ( h h6 W + ( h h7 W 4 group d + dw dw + dw X 6 ( h h4 ( hh5 W ( h h6 W ( h h7 W 7 d dw dw dw X PoS(ACA7 5

6 roslav orháč he numbers n the frst and the second group are real In the thrd group we multply the 4 numbers X X and n the fourth group the numbers X 4X 5X 6X 7 he fact that W must be taen nto account hen ( ( ( ( ( d dd d ( d dd d W e ew ( ( ( d dd d ( d dd d W e ew ( ( e + ew e + e X X c + cw c cw c + c X X d + dw + d W + d W d dw + d W d W X X d + dw d W + d W d dw d W d W X4 X5 X6 X7 e ew We see that both products are real numbers Generally let us have the vectors X X n n X n where for Xn and + X n t holds Xn ( X ( n Xn ( Xn ( / X ( n / + + Xn X n Xn ( / Xn ( / X n ( X n ( X n ( X n ( n n log s the number of reducton / + s the number of cyclc shfts n wth a negatve transton to the topmost poston and / hen for the reduced vector X n + we get ( Xn ( Xn ( / + ( Xn ( + Xn ( Xn+ ( Xn ( Xn ( / + ( Xn ( + Xn ( Repeatng the above descrbed procedure untl the length of the vector X n + s greater than we can calculate the eact nteger value of the product of the approprate group ultplyng the products of all groups we can get the determnant of the convoluton matr whch s used n the above outlned deconvoluton algorthm Illustratve eample: Let us have the convoluton system PoS(ACA7 6

7 roslav orháč ( ( ( ( 5 ( where the determnant D 65 We shall use the modulus 7 whch s the Fermat number and 4 hen the forward and nverse Fermat transform matrces are as follows hen ht h( mod 7 ( mod Employng Eucldan algorthm we calculate vector of nverse modulo values h t ( [ ] 5 mod st teraton step We calculate the vector of the transformed output values Ym ym ( mod hen due to factorzaton property of the Fermat number transform ( we get X (mod Applyng the nverse Fermat transform we obtan D D 6 (mod 7 (mod D8 D where D was calculated usng relaton (5 Let us suppose that the postve numbers are represented n the range ( / and the negatve ones n the range ( / + hen we obtan the negatve values for numbers greater than ( / by subtractng the modulus PoS(ACA7 7

8 roslav orháč [ 86 7 ] 65 Further we calculate y H y ( y D y m [ ] y (mod 7 m y -nd teraton step In the net teraton step we obtan [ ] [ ] [ ] Ym ym(mod X (mod Usng the nverse Fermat transform we calculate the vector X(mod 7 [ 5 6] Adustng the elements greater than ( / we obtan [ 5 ] hen we calculate y y y H [ 9 ] y [ 9 ] [ 9 ] [ ] 7 he zero vector y ndcates the end of calculaton he resultng vector s then obtaned by [ 7] [ ] 7 [ 5 ] [ ] D hs s the eact soluton of our llustratve eample ( he perodcal -dmensonal convoluton of the fnte sets (n n n and h( n n n s defned by ( ( ( y n n n m m m h n m n m n m m m m Analogously to one-dmensonal case n [5] we have derved the error-free algorthm of multdmensonal deconvoluton as well as algorthm to calculate the determnant of the multdmensonal convoluton matr PoS(ACA7 Error-free deconvoluton usng polynomal algebra concept [6] [7] Polynomal algebra plays an mportant role n dgtal sgnal processng because convolutons can be epressed n terms of operatons on polynomals [] Polynomal algebra s the bass of one group of fast and error-free one- and multdmensonal convoluton algorthms 8

9 roslav orháč Let us suppose the elements of h( m ( l to be coeffcents of the polynomals H ( z and X ( z of the degree Hence we have m l ( ( ( ( ( H z h m z X z l z m l If we multply H ( z by X ( z the resultng polynomal wll be of degree hus n Y z H z X z y n z ( ( ( ( ( n hs means that the convoluton of two sequences can be treated as the product of two polynomals If the one-dmensonal convoluton defned by ( s cyclc the ndces nml are calculated modulo hs mples that z (mod and therefore the cyclc convoluton can be consdered as the multplcaton of two polynomals Y(z H ( z X ( z ( where the powers of the polynomal varable z are calculated modulo or by Y z H z X z mod z (4 ( ( ( ( Let us proceed to multdmensonal case of convoluton he -dmensonal cyclc convoluton of the dscrete nput sgnal and the response sgnal h s defned ( ( ( y n n h m m n m n m (5 m m where n n n and ndces n m are calculated modulo ndces n m are calculated modulo etc By consderatons analogous to those of the one-dmensonal case the polynomal epresson of the -dmensonal convoluton s obtaned Y ( z z z H ( z z z X ( z z z (6 where the powers of the varable z are calculated modulo and the powers of the varable z are calculated modulo In the case of deconvoluton e when we now the output sgnal y and the response sgnal h the nput sgnal can be formally epressed n polynomal form X ( z Y( z H ( z (7 and X ( z z z Y ( z z z H ( z z z (8 for one- and -dmensonal deconvoluton respectvely Let us llustrate the algorthm of calculaton of (7 and (8 by the followng eamples PoS(ACA7 Illustratve eample for one-dmensonal deconvoluton: Let the vectors of output sgnal and mpulse response be 9

10 roslav orháč [ ] [ 4 ] y h Accordng to ( t holds + z + z + z + 4z+ z X z ( ( ( Formally we can epress the sought + z + z + z X( z + 4z + z ultplyng the numerator and the denomnator by the polynomal H ( z(modz we obtan ( + z + z + z ( 4z+ z ( 9z+ 4z 5z X ( z ( + 4z+ z ( 4z+ z ( 5z In the followng sectons of the paper the product H ( z H( z wll be called the reducton of the polynomal H ( z wth respect to the varable z If we multply the numerator and the denomnator by the polynomal 5+ z the resultng polynomal s ( 9z+ 4z 5z ( 5+ z 6 5z + 56z z X ( z ( 5 z ( 5+ z 9 he coeffcents of the polynomal X(z represent eact soluton of the eample Illustratve eample for two-dmensonal deconvoluton: Let the matrces of two-dmensonal output sgnal and two-dmensonal mpulse response be y h 4 Usng (6 for we have ( + z + ( + 4z z ( + z + ( + z z X ( z z or ( + z + ( + 4z z X ( z z ( + z + ( + z z By multplyng the numerator and the denomnator by the polynomal H ( z z e by ts reducton wth respect to the varable z we get ( ( ( ( ( ( ( ( ( ( + z + + 4z z + z + z z + z z z X( z z + z + + z z + z + z z + 4z ow we multply ths result by the polynomal 4z ( + z + ( 4 + z z( 4z ( 9 5z + ( 4 + z z X ( z z ( + 4z( 4z 7 he resultng matr s PoS(ACA7

11 roslav orháč ow let us generalze the algorthm for -dmensonal data Let us assume that the dmensons of the convoluton system are powers of hen the algorthm of nverson of the polynomal H ( zz z and ts smultaneous multplcaton by the polynomal Y( z z z can be epressed as successve reductons of the response functon (autoconvolutons and convolutons of Y( z z z wth reduced response (crossconvolutons he (p + threducton of the response n the drecton (autoconvoluton s p+ p+ p p p p ( ( ( ( h l l l h h m m m (9 where p p m l mod m l mod m + l mod ( ( ( l l l p+ and the number of the reducton p log et we derve the algorthm of crossconvoluton Let ( ( n y where hen the calculaton of the (p + threducton of the sgnal n n the drecton s PoS(ACA7 p p+ p p p ( ( ( ( n l l l n h m m m ( where m l mod m l mod m l mod ( ( ( p l l l and the number of the reducton p log We repeat the algorthm (9 ( untl the number of reductons s log hen we contnue wth the reductons of the response and the sgnal n n the drecton (agan usng formulas (9 ( We proceed n ths way untl all the reductons of the response n all the drectons are carred out e untl the -dmensonal dscrete sgnal of the response s reduced to the only non-zero element It represents the value of the determnant of the system matr h hence ( r D h

12 roslav orháč where r log he fnal soluton s n D Specal lnear systems Error-free algorthm to solve nteger oepltz system [8] In ths secton we propose an algorthm to solve nteger nonsymmetrcal oepltz system whch s based on Levnson algorthm [9] It removes roundng off errors her accumulaton can when usng classc algorthms deterorate or destroy the soluton oepltz system of lnear equatons s defned or a a a a y + a a a a + y a a a a y a y ( For nteger regular oepltz system one can wrte a y (4 D In [8] we derved the algorthm for fast soluton of nteger oepltz system (4 usng recursve procedure solvng n each teraton step the system ( v a y ; (5 D o determne quanttes wth the nde + we get ( + ( y+ D a+ v ( + + ( ad a+ b+ D D a a b v D + ( + ( ( + ( + c a D a c b a D a b ( (6 PoS(ACA7

13 roslav orháč o determne remanng components of the vectors v b c we have ( + ( ( + ( v v D v b D ( + ( ( + ( c c D c b D ( + ( ( + ( b b D+ b+ c + D wth ntal values ( ( ( D av yc ab a (8 From the above gven formulas one can see that all quanttes are ntegers After some teraton steps however ther magntudes ncrease rapdly whch complcates the realzaton of the calculaton o overcome ths problem we can carry out the calculaton n modulo arthmetc n dfferent prme modulo classes m r so that t holds [] P mm mr (9 where P must satsfy the condton / ( / P > ma{ ( A ( ( A ( y } (4 (A ma a + ( y ma y he calculaton n the gven modulo class s ndependent of other modulo classes and thus ths model of mplementaton s well suted for parallel computng By nverse converson from resdual representaton employng Chnese theorem [] [9] one can calculate resultng vector and determnant D (7 PoS(ACA7 Illustratve eample: Let us fnd the eact soluton of the oepltz system Frst we ntalze the vectors and varables [ ] [ ] [ ] [ ] ap aa an a a y [ ] [ ] [ ] b c v D Wth respect to (9 and (4 we choose the modul m 5 m 7 m Carryng out the frst teraton step yelds [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] b(mod 5 ; b(mod 7 ; b(mod 4 ; c(mod 5 ; c(mod 7 5 ; c(mod 5 4 ; v(mod 5 ; v(mod 7 6 ; v(mod 6 ; D(mod 5 4; D(mod 7 4; D(mod 4

14 roslav orháč After the second teraton step ( the calculaton n ths eample s fnshed he resultng values of vectors and determnant are then as follows b(mod 5 ; b(mod 7 ; b(mod 4 4 ; [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] c(mod 5 4 ; c(mod ; c(mod 5 4 ; v(mod 5 ; v(mod 7 ; v(mod 5 4 ; D(mod 5 ; D(mod 7 ; D(mod By converson of the vector v and the determnant D from resdue class code one obtans v [ 6 67] D Postve numbers are represented n the range ( P / and negatve ones n the range ( P / + P hen the negatve values are calculated by subtractng P hen the fnal soluton s [ 6 8 ] An algorthm to solve Hlbert system of lnear equatons eactly [] ypcal eample of etremely ll-condtoned matrces are Hlbert matrces In lterature one can fnd the eamples of Hlbert matrces wth the elements a ; + We shall consder more general Hlbert systems wth elements a ; d + hen for we can wrte b b b y y b b b 4 y b b4 b5 or after echangng the elements of the vector b b b s s s z R R R z z R R R z b4 b b s s s z R R R z b5 b4 b s s s PoS(ACA7 4

15 roslav orháč However ths represents oepltz system of lnear equatons Assumng that all quanttes are ntegers the determnant of the matr can be wrtten n the form of ratonal fracton For one obtans C C D D D + + D s ss ss sss sss s ssss D where left upper nde C denotes numerator and D denomnator Wthout beng nterested n the numerator for the denomnator of the determnant n general case one can wrte D D s + s + s s s ss We ntroduce pars of epressons of all quanttes for both numerator and denomnator respectvely Frst let us determne quanttes wth the nde + C ( C D ( C ( D ( D b b+ s ; b+ b + D D ( ; s D s b + C C ( D ( c C ( D ( D c+ s ; c+ c + ; D D ( + s+ D s+ c + D y C ( C C v D (+ D ( + C ( + D ( + y+ D v D D D ( y D s v s + + C C ( D b C D D + D+ s ; D+ D + D D ( s D s+ b c ; v v ; hen we determne remanng components of the vectors b c v s + D ( + D C C ( C ( + C ( b D D b b c D ( + D C ( C D D ( D ( + D ( D D b b c s s+ D ( + D C C ( C ( + C ( c D ( D C ( D D c c+ b+ c D + ; c C D D ( D ( + D ( D D c c b s b D ; b ; v D D v v b v c ; b D ( + D ( + D C C ( C ( + C ( D ( + D ( + v + C ( D ( + C D D ( D ( + D ( c+ D D+ v v+ b+ he ntal values were set D C D ( D C ( C D ( C ( D ( C ( D s; D ; v y; v y; b s ; b ; c s; c ; PoS(ACA7 Error-free algorthm to solve Vandermonde system of lnear equatons [] Let us have Vandermonde system 5

16 roslav orháč y y a a a a y a a a a A y a a a a It s well nown that the determnant of the system matr s (4 + D (a a and the elements of nverse matr can be epressed usng polynomal coeffcents [] P ( B a a (4 a (4 Analogously to the algorthm gven n [] we determne coeffcents of the polynomal P( ( a (mod + c + + c + c (mod (44 Polynomals from (4 modulo can be epressed z P( (a P ( (mod (mod (a a (a a hen one can derve z z ( c + z a (mod (46 z ( c + z a (mod + + Resultng nverse matr modulo s where d d d z z z z z z z z z A (mod (mod B d ( a a (mod We can employ teratve scheme of error-free soluton of lnear equaton system from the secton (45 (47 PoS(ACA7 Illustratve eample: 6

17 roslav orháč Let us have the Vandermonde system he determnant of the matr accordng to (4 s -48 We shall use modulus 5 hen D Usng the relatons (45 (46 (47 yelds nverse matr n modulo class B (mod hen the procedure to calculate the eact soluton s as follows 4 ym [ ] B (mod 5 (mod 5 y ; ym ; 4 4 D (mod 5 et we calculate vectors [ 44] [ ] [ ] y A ; y ; ym -st teraton step PoS(ACA B (mod 5 (mod 5 ym Agan let us suppose that the postve numbers are represented n the range ( / and the negatve ones n the range ( / + hen we obtan the negatve values for numbers greater than ( / by subtractng the modulus [ ] Further we calculate vectors [ ] [ ] [ ] y A 4 ; y 5 9 ; ym 4 7

18 roslav orháč -nd teraton step We contnue n calculatons wth B ym (mod 5 [ 4 ] After adustment of elements greater than ( [ ] / we have Agan we calculate vectors y ; y 77 ; ym [ ] [ ] [ ] A -rd teraton step Fnally we calculate B ym (mod 5 [ ] We calculate vectors y A [ 77 ] ; y 4 [ ] he zero vector y 4 ndcates the end of teratons he result s General lnear systems 4 Parallel error-free algorthm [4 5] PoS(ACA7 Let us have system of lnear equatons where all the elements of the matr A and vector y are ntegers or y(n a(nm(m n m a a a a y a a a a y Ay a a a a y Let us splt the calculaton nto several resdue classes satsfyng condtons (9 (4 hen n each resdue class we can carry out separately the calculatons A (mod m y r Calculatons n resdue classes can be carred out n parallel Gauss-Jordan elmnaton n resdue class m can be descrbed by the followng procedure Let ( a a ( modm; { n} { n+ } For n ( denotes elmnaton step do: 8

19 roslav orháč search for such c ( f f ( ( ( + < that a c ( { } a a a ( mod m n+ (49 for l n and l do: ( ( ( ( l l + l { } a a a a ( mod m n+ (5 he determnant n the resdue class m s obtaned as the modulo product of the elements (see (49 n J ( D( modm Dm ( a ( modm (5 ( a where J s the total number of echanges of the elements hen the sought soluton of (48 n the resdue class m s gven by D ( mod m ( mod m [ Dm ]( mod m m D (5 m D m After the calculaton of the soluton of a lnear equatons set n the modular arthmetc s fnshed we have n + element vectors ( D( mod m ( mod m n( mod m r (5 he resultng nteger values D n can be obtaned by the nverse converson of the vectors (5 from the resdue class code Snce we use the nown algorthm (gven eg n [6] we descrbe t very brefly from algorthm pont of vew We suppose we have a vector of modul β ( m m mr (54 and a vector of the resdue representaton of the nteger ( t ( mod m ( mod m ( mod m (55 r Further let us denote m m m ( ( ( ( β + + r ( ( t t t + t r d t ( ( mod m t ( ( mod m r If we defne the vector t to be ( + t + t d m ( mod β then the resultng sought number s t ( + m ( t ( + m t ( + + mr t r( r (56 PoS(ACA7 4 Sequental algorthm to solve general system of lnear equatons [7] So far we have mentoned two basc algorthm classes to solve lnear equatons eactly 9

20 roslav orháč teratve algorthm (appled n secton Fermat transform secton Vandermonde system parallel algorthm (appled n secton oepltz system secton 4 general system of lnear equatons In ths secton we want to demonstrate that sequental teratve algorthm can be appled also for general systems of lnear nteger equatons Let us defne the followng algorthm: Algorthm A a Let y y m b Calculate vector y m ( c It holds D ( mod A mod d Let e Calculate vectors ' ' y A y ( ym D y ym y ( mod (57 f g Calculate A y m ( mod (58 h For ( s the sze of vectors y calculate ( ( + ( Calculate vectors ' y y ' y A y+ ym+ y +( mod If for all y+ ( fnsh the calculaton If not ncrement and repeat the algorthm from pont g on he resultng soluton of system (48 s smply calculated as hen determnant of the D system of lnear equatons can be calculated usng the formula D a( a( ( (59 where the coeffcent vectors are calculated by eact soluton of sets A A (6 usng the Algorthm A et problem n the algorthm A s calculaton of the nverse matr n modulo arthmetc Let us defne teratve procedure where A A B B A + + A ( mod + + A A B B (6 hen one can derve PoS(ACA7

21 roslav orháč ( ( ( ( B A A A A mod B A A B mod B B A A mod B A + B B B mod (6 4 Sequental error-free algorthm to solve system of polynomal equatons [8] Sequental teratve algorthm can be successvely appled also for polynomal systems of lnear nteger equatons As ( ( s y( s (6 a ( p p ( p p s a s + + a s + a y s y s + + y s + y Assumng the coeffcents beng ntegers the soluton of the system gven by (6 can be epressed as p p p ( s ( s ( s + ( s ( s + + ( s ( s D( s (64 and vectors m ( s ( s + ( s + + m( s (65 where s a prme modulus D s determnant of the matr A and m are fnte ntegers Let us suppose for the moment that the determnant D( s (polynomal s nown We denote polynomal modulus as P( s s p he algorthms for the determnant and nverse matr of polynomal system can be derved analogously to relatons (59-6 For detals we refer to [8] ew problem s the calculaton of nverse polynomal In what follows we outlne brefly ths algorthm We have to fnd polynomal bs ( to polynomal as ( so that ( ( ( ( a s b s mod P s (mod (66 Accordng to [] the cyclc convoluton usng polynomal algebra concept s p c a b (67 l l where ndces l are calculated modulo p From what s gven above t follows that soluton of equaton (66 represents the soluton of lnear system a ( a( p a( b( a ( a ( a( b( (mod (68 a( p a( p a( b( p n resdual class Inverse polynomal bs ( can be obtaned by successve reductons of polynomal as ( or vector a For r+ st reducton t holds PoS(ACA7

22 roslav orháč r ( / a l a a m (mod ( ( ( ( r+ r+ r r r where r+ r m ( l (mod ; l r+ and number of reducton r log Let n [ ] and r ( / nl n am ( mod ( ( ( ( r+ r r r where r m ( l (mod ; l n and number of reducton r log he resultng soluton of polynomal nverson s t n b (mod t a( where t log Illustratve eample: Let us have lnear system consstng of polynomals s + s s + ( s s s + P s s and numercal modulus 5 Further we We shall use polynomal modulus ( shall assume that we now the determnant ( resdue class P( s and the resdue class ( ( ( ( ( D s s 5s + s + the determnant n the Dpm s D s mod s mod 5 s + (69 and the nverse matr n the resdue class P( s and the resdue class ( ( 5 s + 4s + s+ B( s A ( s mod ( s mod s + s + s + s We calculate s + 4s + s+ s + s p ( s ( mod ( s ( mod 5 s + s + s + s Usng Dpm( s from (69 we get ( ( 5 s s ( s Dpm( s mod ( s mod We ntalze vectors and control varables PoS(ACA7

23 roslav orháč 5 4 s + s 5s + s 4s + s+ ( s y( s D( s ( s 5s + s + s s + s+ s + ( s We calculate vectors s s s s s s ' y ( s As ( ( s s s + 4s + s 5 4 s 5s 6s ' ( s ( s y ( s s s + ( s ( mod ( s 5s 5s s s y ( s 5 5 s s 4s + 4s yp ( s y ( s( mod 5 s he vector ( y s thus we set ( ( 5 ( ( y ( ( s B s s mod s mod p s + 4s + s+ 4s + 4s 4s s ( mod ( s ( mod 5 ( mod 5 s s s s s If any coeffcent of the soluton s greater than ( / t s consdered negatve and accordng to the rules of modulo arthmetc ts negatve value s calculated by subtractng modulus We update ntermedate result s + s s 5s+ ( s + 5 Further we calculate approprate vectors s s s s s ' + y ( s a( s ( s s s + s 5 4 s 5s s 5s ' + ( s ( s 5 y ( s s + ( s ( mod ( s y ( s yp ( s 5 he vectors yp ( s ( s herefore we set control varables hen we calculate ( s s 5s s ( s yp ( s ( s( mod 5 s Further we calculate net partcular soluton PoS(ACA7

24 roslav orháč s 4s s s s ( ( ( ( 5 ( s s mod s mod mod s s s s whch we add to ntermedate result 4 s 5s+ s s + s 6s+ ( s + ( s s + Agan we repeat and calculate ' s + s s s 5s y ( s As ( ( s s s + y y y ' ( s ( s ( s 5 ( s ( s Both vectors y ( s and ( s he resultng soluton s p equal the zero vectors It means that we fnsh the calculaton 4 s + s 6s+ ( s ( s D( s s 5s + s+ s + 5 Volterra systems Drect generalzaton of convoluton systems for nonlnear systems are Volterra systems y( h ( l ( l + h ( l l ( l ( l l l l y ( + y ( + Problems connected wth Volterra systems can be dvded nto several tems determnaton of Volterra ernels [9] calculaton of the output of the nonlnear Volterra flter [] determnaton of nverse ernels to the gven nonlnear Volterra system [] We shall focus on determnaton of Volterra ernels Let us agan employ polynomal algebra and epress the nput sgnal and th Volterra ernel l l l l l l l l X( z (l z H ( z z z h( z z z z z z Accordng to [9] for the Volterra ernel of the th degree we can wrte p Y(zz z Y(z z z H (z z z X(z X(z X(z (7 D We can agan employ the algorthm based on successve reductons of the denomnator of (7 (see secton he algorthm conssts n autoconvolutons and crossconvolutons Let us demonstrate the algorthm usng smple eample (7 PoS(ACA7 Illustratve eample: Let and 4

25 roslav orháč [ 4] [ ] y hen accordng to (7 and after the reductons we have + 4zz ( + 4zz ( z ( z H(zz ( + z ( + z ( + z ( z ( + z ( z 9 4z 4z + 6zz 9 4z 4z + 6zz ( 9 Hence the resultng ernel of the second degree s h Conclusons In the contrbuton we have presented several error-free algorthms to solve one- and multdmensonal convoluton systems based on Fermat number theoretcal transform he man sgnfcance of the use of modulo arthmetc s elmnatng roundng-off and truncaton errors In the contrbuton we have derved the error-free algorthm to solve convoluton systems that s based on polynomal algebra concept hs form of -dmensonal deconvoluton algorthm permts to epress t as a sequence of -dmensonal autoconvolutons of the response sgnal and crossconvolutons of the response and the output sgnal Further n the contrbuton we have etended the error-free algorthms to specal lnear systems eg oepltz Hlbert Vandermonde systems We contnued wth general systems of lnear equatons In prncple the algorthms proposed n the contrbuton can be dvded nto two groups teratve (usng one modulus one resdue class parallel (usng several modul several resdue classes and Chnese theorem he parallel algorthm s well suted for the mplementaton on parallel computers that allows the ncrease of the calculaton speed We have etended the teratve algorthm also for the lnear system of polynomal equatons At the end of the contrbuton we outlned the possble etenson of the applcaton of error-free algorthms for nonlnear Volterra systems PoS(ACA7 References [] Ahmed and KK Rao Orthogonal transforms for dgtal sgnal processng Sprnger-Verlag 975 [] H J ussbaumer Fast Fourer transform and convoluton algorthms Sprnger-Verlag 98 [] orháč Precse deconvoluton usng the Fermat number transform Computers and athematcs wth Applcatons A (986 9 [4] orháč Error-free deconvoluton based on cyclc determnant calculaton approach Computer athematcs 49 (99 4 5

26 roslav orháč [5] orháč K-dmensonal error-free deconvoluton usng the Fermat number transform Computers and athematcs wth Applcatons 8 (989 [6] orháč Precse multdmensonal deconvoluton usng the polynomal algebra concept Internatonal J Computer athematcs (99 [7] orháč and V atouše Eact algorthm of multdmensonal crculant deconvoluton Appled athematcs and Computaton 64 (5 55 [8] orháč An error-free Levnson algorthm to solve nteger oepltz system Appled athematcs and Computaton 6 (994 5 [9] R E Blahut Fast algorthms for dgtal sgnal processng IB Corporaton Owego Y 985 [] ewman Solvng equatons eactly at Bureau Standards 7B: [] orháč An algorthm to solve Hlbert systems of lnear equatons precsely Appled athematcs and Computaton 7 (995 9 [] orháč An teratve error-free algorthm to solve Vandermonde systems Appled athematcs and Computaton 7 ( 45 [] W H Press et al umercal recpes Cambrdge Unversty Press Cambrdge 986 [4] orháč R Lórencz A modular system for solvng lnear equatons eactly I Archtecture and numercal algorthms Computers and Artfcal Intellgence (99 5 [5] R Lórencz orháč A modular system for solvng lnear equatons eactly II Hardware realzaton Computers and Artfcal Intellgence ( [6] RGregory EVKrshnamurthy ethods and applcatons of error-free computaton Sprnger- Verlag ew Yor Berln Hedelberg oyo 984 PoS(ACA7 [7] orháč One-modulus resdue arthmetc algorthm to solve lnear equatons eactly athematcal and Computer odellng 9 ( [8] orháč An error-free algorthm to solve lnear system of polynomal equatons athematcal and Computer odellng 9 ( [9] orháč Fast error-free algorthm for the determnaton of ernels of the perodcal Volterra representaton Appled athematcs and Computaton 8 (99 87 [] orháč A fast algorthm of nonlnear Volterra flterng IEEE ransactons on Sgnal Processng 9 (99 5 [] orháč Determnaton of nverse Volterra ernels n nonlnear dscrete systems onlnear Analyss heory ethods & Applcatons 5 (

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems

Chapter 5. Solution of System of Linear Equations. Module No. 6. Solution of Inconsistent and Ill Conditioned Systems Numercal Analyss by Dr. Anta Pal Assstant Professor Department of Mathematcs Natonal Insttute of Technology Durgapur Durgapur-713209 emal: anta.bue@gmal.com 1 . Chapter 5 Soluton of System of Lnear Equatons

More information

A new Approach for Solving Linear Ordinary Differential Equations

A new Approach for Solving Linear Ordinary Differential Equations , ISSN 974-57X (Onlne), ISSN 974-5718 (Prnt), Vol. ; Issue No. 1; Year 14, Copyrght 13-14 by CESER PUBLICATIONS A new Approach for Solvng Lnear Ordnary Dfferental Equatons Fawz Abdelwahd Department of

More information

5 The Rational Canonical Form

5 The Rational Canonical Form 5 The Ratonal Canoncal Form Here p s a monc rreducble factor of the mnmum polynomal m T and s not necessarly of degree one Let F p denote the feld constructed earler n the course, consstng of all matrces

More information

Foundations of Arithmetic

Foundations of Arithmetic Foundatons of Arthmetc Notaton We shall denote the sum and product of numbers n the usual notaton as a 2 + a 2 + a 3 + + a = a, a 1 a 2 a 3 a = a The notaton a b means a dvdes b,.e. ac = b where c s an

More information

1 GSW Iterative Techniques for y = Ax

1 GSW Iterative Techniques for y = Ax 1 for y = A I m gong to cheat here. here are a lot of teratve technques that can be used to solve the general case of a set of smultaneous equatons (wrtten n the matr form as y = A), but ths chapter sn

More information

Section 3.6 Complex Zeros

Section 3.6 Complex Zeros 04 Chapter Secton 6 Comple Zeros When fndng the zeros of polynomals, at some pont you're faced wth the problem Whle there are clearly no real numbers that are solutons to ths equaton, leavng thngs there

More information

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens

THE CHINESE REMAINDER THEOREM. We should thank the Chinese for their wonderful remainder theorem. Glenn Stevens THE CHINESE REMAINDER THEOREM KEITH CONRAD We should thank the Chnese for ther wonderful remander theorem. Glenn Stevens 1. Introducton The Chnese remander theorem says we can unquely solve any par of

More information

8.6 The Complex Number System

8.6 The Complex Number System 8.6 The Complex Number System Earler n the chapter, we mentoned that we cannot have a negatve under a square root, snce the square of any postve or negatve number s always postve. In ths secton we want

More information

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE

CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE CHAPTER 5 NUMERICAL EVALUATION OF DYNAMIC RESPONSE Analytcal soluton s usually not possble when exctaton vares arbtrarly wth tme or f the system s nonlnear. Such problems can be solved by numercal tmesteppng

More information

Numerical Heat and Mass Transfer

Numerical Heat and Mass Transfer Master degree n Mechancal Engneerng Numercal Heat and Mass Transfer 06-Fnte-Dfference Method (One-dmensonal, steady state heat conducton) Fausto Arpno f.arpno@uncas.t Introducton Why we use models and

More information

Irregular vibrations in multi-mass discrete-continuous systems torsionally deformed

Irregular vibrations in multi-mass discrete-continuous systems torsionally deformed (2) 4 48 Irregular vbratons n mult-mass dscrete-contnuous systems torsonally deformed Abstract In the paper rregular vbratons of dscrete-contnuous systems consstng of an arbtrary number rgd bodes connected

More information

The Order Relation and Trace Inequalities for. Hermitian Operators

The Order Relation and Trace Inequalities for. Hermitian Operators Internatonal Mathematcal Forum, Vol 3, 08, no, 507-57 HIKARI Ltd, wwwm-hkarcom https://doorg/0988/mf088055 The Order Relaton and Trace Inequaltes for Hermtan Operators Y Huang School of Informaton Scence

More information

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix

Lectures - Week 4 Matrix norms, Conditioning, Vector Spaces, Linear Independence, Spanning sets and Basis, Null space and Range of a Matrix Lectures - Week 4 Matrx norms, Condtonng, Vector Spaces, Lnear Independence, Spannng sets and Bass, Null space and Range of a Matrx Matrx Norms Now we turn to assocatng a number to each matrx. We could

More information

Application of B-Spline to Numerical Solution of a System of Singularly Perturbed Problems

Application of B-Spline to Numerical Solution of a System of Singularly Perturbed Problems Mathematca Aeterna, Vol. 1, 011, no. 06, 405 415 Applcaton of B-Splne to Numercal Soluton of a System of Sngularly Perturbed Problems Yogesh Gupta Department of Mathematcs Unted College of Engneerng &

More information

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X

3.1 Expectation of Functions of Several Random Variables. )' be a k-dimensional discrete or continuous random vector, with joint PMF p (, E X E X1 E X Statstcs 1: Probablty Theory II 37 3 EPECTATION OF SEVERAL RANDOM VARIABLES As n Probablty Theory I, the nterest n most stuatons les not on the actual dstrbuton of a random vector, but rather on a number

More information

Lecture 13 APPROXIMATION OF SECOMD ORDER DERIVATIVES

Lecture 13 APPROXIMATION OF SECOMD ORDER DERIVATIVES COMPUTATIONAL FLUID DYNAMICS: FDM: Appromaton of Second Order Dervatves Lecture APPROXIMATION OF SECOMD ORDER DERIVATIVES. APPROXIMATION OF SECOND ORDER DERIVATIVES Second order dervatves appear n dffusve

More information

The internal structure of natural numbers and one method for the definition of large prime numbers

The internal structure of natural numbers and one method for the definition of large prime numbers The nternal structure of natural numbers and one method for the defnton of large prme numbers Emmanul Manousos APM Insttute for the Advancement of Physcs and Mathematcs 3 Poulou str. 53 Athens Greece Abstract

More information

Complex Numbers. x = B B 2 4AC 2A. or x = x = 2 ± 4 4 (1) (5) 2 (1)

Complex Numbers. x = B B 2 4AC 2A. or x = x = 2 ± 4 4 (1) (5) 2 (1) Complex Numbers If you have not yet encountered complex numbers, you wll soon do so n the process of solvng quadratc equatons. The general quadratc equaton Ax + Bx + C 0 has solutons x B + B 4AC A For

More information

SL n (F ) Equals its Own Derived Group

SL n (F ) Equals its Own Derived Group Internatonal Journal of Algebra, Vol. 2, 2008, no. 12, 585-594 SL n (F ) Equals ts Own Derved Group Jorge Macel BMCC-The Cty Unversty of New York, CUNY 199 Chambers street, New York, NY 10007, USA macel@cms.nyu.edu

More information

Structure and Drive Paul A. Jensen Copyright July 20, 2003

Structure and Drive Paul A. Jensen Copyright July 20, 2003 Structure and Drve Paul A. Jensen Copyrght July 20, 2003 A system s made up of several operatons wth flow passng between them. The structure of the system descrbes the flow paths from nputs to outputs.

More information

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system

Transfer Functions. Convenient representation of a linear, dynamic model. A transfer function (TF) relates one input and one output: ( ) system Transfer Functons Convenent representaton of a lnear, dynamc model. A transfer functon (TF) relates one nput and one output: x t X s y t system Y s The followng termnology s used: x y nput output forcng

More information

An efficient algorithm for multivariate Maclaurin Newton transformation

An efficient algorithm for multivariate Maclaurin Newton transformation Annales UMCS Informatca AI VIII, 2 2008) 5 14 DOI: 10.2478/v10065-008-0020-6 An effcent algorthm for multvarate Maclaurn Newton transformaton Joanna Kapusta Insttute of Mathematcs and Computer Scence,

More information

Digital Signal Processing

Digital Signal Processing Dgtal Sgnal Processng Dscrete-tme System Analyss Manar Mohasen Offce: F8 Emal: manar.subh@ut.ac.r School of IT Engneerng Revew of Precedent Class Contnuous Sgnal The value of the sgnal s avalable over

More information

Research Article Green s Theorem for Sign Data

Research Article Green s Theorem for Sign Data Internatonal Scholarly Research Network ISRN Appled Mathematcs Volume 2012, Artcle ID 539359, 10 pages do:10.5402/2012/539359 Research Artcle Green s Theorem for Sgn Data Lous M. Houston The Unversty of

More information

FACTORIZATION IN KRULL MONOIDS WITH INFINITE CLASS GROUP

FACTORIZATION IN KRULL MONOIDS WITH INFINITE CLASS GROUP C O L L O Q U I U M M A T H E M A T I C U M VOL. 80 1999 NO. 1 FACTORIZATION IN KRULL MONOIDS WITH INFINITE CLASS GROUP BY FLORIAN K A I N R A T H (GRAZ) Abstract. Let H be a Krull monod wth nfnte class

More information

Difference Equations

Difference Equations Dfference Equatons c Jan Vrbk 1 Bascs Suppose a sequence of numbers, say a 0,a 1,a,a 3,... s defned by a certan general relatonshp between, say, three consecutve values of the sequence, e.g. a + +3a +1

More information

Asymptotics of the Solution of a Boundary Value. Problem for One-Characteristic Differential. Equation Degenerating into a Parabolic Equation

Asymptotics of the Solution of a Boundary Value. Problem for One-Characteristic Differential. Equation Degenerating into a Parabolic Equation Nonl. Analyss and Dfferental Equatons, ol., 4, no., 5 - HIKARI Ltd, www.m-har.com http://dx.do.org/.988/nade.4.456 Asymptotcs of the Soluton of a Boundary alue Problem for One-Characterstc Dfferental Equaton

More information

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0

n α j x j = 0 j=1 has a nontrivial solution. Here A is the n k matrix whose jth column is the vector for all t j=0 MODULE 2 Topcs: Lnear ndependence, bass and dmenson We have seen that f n a set of vectors one vector s a lnear combnaton of the remanng vectors n the set then the span of the set s unchanged f that vector

More information

Factoring Using Shor's Quantum Algorithm

Factoring Using Shor's Quantum Algorithm Factorng Usng Shor's uantum Algorthm Frank Rou Emertus Professor of Chemstry CSB SJU Ths tutoral presents a toy calculaton dealng wth quantum factorzaton usng Shor's algorthm. Before begnnng that task,

More information

MMA and GCMMA two methods for nonlinear optimization

MMA and GCMMA two methods for nonlinear optimization MMA and GCMMA two methods for nonlnear optmzaton Krster Svanberg Optmzaton and Systems Theory, KTH, Stockholm, Sweden. krlle@math.kth.se Ths note descrbes the algorthms used n the author s 2007 mplementatons

More information

Report on Image warping

Report on Image warping Report on Image warpng Xuan Ne, Dec. 20, 2004 Ths document summarzed the algorthms of our mage warpng soluton for further study, and there s a detaled descrpton about the mplementaton of these algorthms.

More information

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal

Inner Product. Euclidean Space. Orthonormal Basis. Orthogonal Inner Product Defnton 1 () A Eucldean space s a fnte-dmensonal vector space over the reals R, wth an nner product,. Defnton 2 (Inner Product) An nner product, on a real vector space X s a symmetrc, blnear,

More information

Beyond Zudilin s Conjectured q-analog of Schmidt s problem

Beyond Zudilin s Conjectured q-analog of Schmidt s problem Beyond Zudln s Conectured q-analog of Schmdt s problem Thotsaporn Ae Thanatpanonda thotsaporn@gmalcom Mathematcs Subect Classfcaton: 11B65 33B99 Abstract Usng the methodology of (rgorous expermental mathematcs

More information

Random Walks on Digraphs

Random Walks on Digraphs Random Walks on Dgraphs J. J. P. Veerman October 23, 27 Introducton Let V = {, n} be a vertex set and S a non-negatve row-stochastc matrx (.e. rows sum to ). V and S defne a dgraph G = G(V, S) and a drected

More information

Grover s Algorithm + Quantum Zeno Effect + Vaidman

Grover s Algorithm + Quantum Zeno Effect + Vaidman Grover s Algorthm + Quantum Zeno Effect + Vadman CS 294-2 Bomb 10/12/04 Fall 2004 Lecture 11 Grover s algorthm Recall that Grover s algorthm for searchng over a space of sze wors as follows: consder the

More information

= z 20 z n. (k 20) + 4 z k = 4

= z 20 z n. (k 20) + 4 z k = 4 Problem Set #7 solutons 7.2.. (a Fnd the coeffcent of z k n (z + z 5 + z 6 + z 7 + 5, k 20. We use the known seres expanson ( n+l ( z l l z n below: (z + z 5 + z 6 + z 7 + 5 (z 5 ( + z + z 2 + z + 5 5

More information

4DVAR, according to the name, is a four-dimensional variational method.

4DVAR, according to the name, is a four-dimensional variational method. 4D-Varatonal Data Assmlaton (4D-Var) 4DVAR, accordng to the name, s a four-dmensonal varatonal method. 4D-Var s actually a drect generalzaton of 3D-Var to handle observatons that are dstrbuted n tme. The

More information

A Hybrid Variational Iteration Method for Blasius Equation

A Hybrid Variational Iteration Method for Blasius Equation Avalable at http://pvamu.edu/aam Appl. Appl. Math. ISSN: 1932-9466 Vol. 10, Issue 1 (June 2015), pp. 223-229 Applcatons and Appled Mathematcs: An Internatonal Journal (AAM) A Hybrd Varatonal Iteraton Method

More information

The Exact Formulation of the Inverse of the Tridiagonal Matrix for Solving the 1D Poisson Equation with the Finite Difference Method

The Exact Formulation of the Inverse of the Tridiagonal Matrix for Solving the 1D Poisson Equation with the Finite Difference Method Journal of Electromagnetc Analyss and Applcatons, 04, 6, 0-08 Publshed Onlne September 04 n ScRes. http://www.scrp.org/journal/jemaa http://dx.do.org/0.46/jemaa.04.6000 The Exact Formulaton of the Inverse

More information

Time-Varying Systems and Computations Lecture 6

Time-Varying Systems and Computations Lecture 6 Tme-Varyng Systems and Computatons Lecture 6 Klaus Depold 14. Januar 2014 The Kalman Flter The Kalman estmaton flter attempts to estmate the actual state of an unknown dscrete dynamcal system, gven nosy

More information

CHAPTER 4. Vector Spaces

CHAPTER 4. Vector Spaces man 2007/2/16 page 234 CHAPTER 4 Vector Spaces To crtcze mathematcs for ts abstracton s to mss the pont entrel. Abstracton s what makes mathematcs work. Ian Stewart The man am of ths tet s to stud lnear

More information

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography

CSci 6974 and ECSE 6966 Math. Tech. for Vision, Graphics and Robotics Lecture 21, April 17, 2006 Estimating A Plane Homography CSc 6974 and ECSE 6966 Math. Tech. for Vson, Graphcs and Robotcs Lecture 21, Aprl 17, 2006 Estmatng A Plane Homography Overvew We contnue wth a dscusson of the major ssues, usng estmaton of plane projectve

More information

Lecture 12: Discrete Laplacian

Lecture 12: Discrete Laplacian Lecture 12: Dscrete Laplacan Scrbe: Tanye Lu Our goal s to come up wth a dscrete verson of Laplacan operator for trangulated surfaces, so that we can use t n practce to solve related problems We are mostly

More information

On a direct solver for linear least squares problems

On a direct solver for linear least squares problems ISSN 2066-6594 Ann. Acad. Rom. Sc. Ser. Math. Appl. Vol. 8, No. 2/2016 On a drect solver for lnear least squares problems Constantn Popa Abstract The Null Space (NS) algorthm s a drect solver for lnear

More information

NON-CENTRAL 7-POINT FORMULA IN THE METHOD OF LINES FOR PARABOLIC AND BURGERS' EQUATIONS

NON-CENTRAL 7-POINT FORMULA IN THE METHOD OF LINES FOR PARABOLIC AND BURGERS' EQUATIONS IJRRAS 8 (3 September 011 www.arpapress.com/volumes/vol8issue3/ijrras_8_3_08.pdf NON-CENTRAL 7-POINT FORMULA IN THE METHOD OF LINES FOR PARABOLIC AND BURGERS' EQUATIONS H.O. Bakodah Dept. of Mathematc

More information

An Algorithm to Solve the Inverse Kinematics Problem of a Robotic Manipulator Based on Rotation Vectors

An Algorithm to Solve the Inverse Kinematics Problem of a Robotic Manipulator Based on Rotation Vectors An Algorthm to Solve the Inverse Knematcs Problem of a Robotc Manpulator Based on Rotaton Vectors Mohamad Z. Al-az*, Mazn Z. Othman**, and Baker B. Al-Bahr* *AL-Nahran Unversty, Computer Eng. Dep., Baghdad,

More information

TOPICS MULTIPLIERLESS FILTER DESIGN ELEMENTARY SCHOOL ALGORITHM MULTIPLICATION

TOPICS MULTIPLIERLESS FILTER DESIGN ELEMENTARY SCHOOL ALGORITHM MULTIPLICATION 1 2 MULTIPLIERLESS FILTER DESIGN Realzaton of flters wthout full-fledged multplers Some sldes based on support materal by W. Wolf for hs book Modern VLSI Desgn, 3 rd edton. Partly based on followng papers:

More information

Solving Fractional Nonlinear Fredholm Integro-differential Equations via Hybrid of Rationalized Haar Functions

Solving Fractional Nonlinear Fredholm Integro-differential Equations via Hybrid of Rationalized Haar Functions ISSN 746-7659 England UK Journal of Informaton and Computng Scence Vol. 9 No. 3 4 pp. 69-8 Solvng Fractonal Nonlnear Fredholm Integro-dfferental Equatons va Hybrd of Ratonalzed Haar Functons Yadollah Ordokhan

More information

6.3.4 Modified Euler s method of integration

6.3.4 Modified Euler s method of integration 6.3.4 Modfed Euler s method of ntegraton Before dscussng the applcaton of Euler s method for solvng the swng equatons, let us frst revew the basc Euler s method of numercal ntegraton. Let the general from

More information

NUMERICAL DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL DIFFERENTIATION 1 Introducton Dfferentaton s a method to compute the rate at whch a dependent output y changes wth respect to the change n the ndependent nput x. Ths rate of change s called the

More information

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity

LINEAR REGRESSION ANALYSIS. MODULE IX Lecture Multicollinearity LINEAR REGRESSION ANALYSIS MODULE IX Lecture - 30 Multcollnearty Dr. Shalabh Department of Mathematcs and Statstcs Indan Insttute of Technology Kanpur 2 Remedes for multcollnearty Varous technques have

More information

Finite Element Modelling of truss/cable structures

Finite Element Modelling of truss/cable structures Pet Schreurs Endhoven Unversty of echnology Department of Mechancal Engneerng Materals echnology November 3, 214 Fnte Element Modellng of truss/cable structures 1 Fnte Element Analyss of prestressed structures

More information

Uncertainty in measurements of power and energy on power networks

Uncertainty in measurements of power and energy on power networks Uncertanty n measurements of power and energy on power networks E. Manov, N. Kolev Department of Measurement and Instrumentaton, Techncal Unversty Sofa, bul. Klment Ohrdsk No8, bl., 000 Sofa, Bulgara Tel./fax:

More information

Section 8.3 Polar Form of Complex Numbers

Section 8.3 Polar Form of Complex Numbers 80 Chapter 8 Secton 8 Polar Form of Complex Numbers From prevous classes, you may have encountered magnary numbers the square roots of negatve numbers and, more generally, complex numbers whch are the

More information

THE SUMMATION NOTATION Ʃ

THE SUMMATION NOTATION Ʃ Sngle Subscrpt otaton THE SUMMATIO OTATIO Ʃ Most of the calculatons we perform n statstcs are repettve operatons on lsts of numbers. For example, we compute the sum of a set of numbers, or the sum of the

More information

C/CS/Phy191 Problem Set 3 Solutions Out: Oct 1, 2008., where ( 00. ), so the overall state of the system is ) ( ( ( ( 00 ± 11 ), Φ ± = 1

C/CS/Phy191 Problem Set 3 Solutions Out: Oct 1, 2008., where ( 00. ), so the overall state of the system is ) ( ( ( ( 00 ± 11 ), Φ ± = 1 C/CS/Phy9 Problem Set 3 Solutons Out: Oct, 8 Suppose you have two qubts n some arbtrary entangled state ψ You apply the teleportaton protocol to each of the qubts separately What s the resultng state obtaned

More information

12. The Hamilton-Jacobi Equation Michael Fowler

12. The Hamilton-Jacobi Equation Michael Fowler 1. The Hamlton-Jacob Equaton Mchael Fowler Back to Confguraton Space We ve establshed that the acton, regarded as a functon of ts coordnate endponts and tme, satsfes ( ) ( ) S q, t / t+ H qpt,, = 0, and

More information

COMPLEX NUMBERS AND QUADRATIC EQUATIONS

COMPLEX NUMBERS AND QUADRATIC EQUATIONS COMPLEX NUMBERS AND QUADRATIC EQUATIONS INTRODUCTION We know that x 0 for all x R e the square of a real number (whether postve, negatve or ero) s non-negatve Hence the equatons x, x, x + 7 0 etc are not

More information

CHARACTERISTICS OF COMPLEX SEPARATION SCHEMES AND AN ERROR OF SEPARATION PRODUCTS OUTPUT DETERMINATION

CHARACTERISTICS OF COMPLEX SEPARATION SCHEMES AND AN ERROR OF SEPARATION PRODUCTS OUTPUT DETERMINATION Górnctwo Geonżynera Rok 0 Zeszyt / 006 Igor Konstantnovch Mladetskj * Petr Ivanovch Plov * Ekaterna Nkolaevna Kobets * Tasya Igorevna Markova * CHARACTERISTICS OF COMPLEX SEPARATION SCHEMES AND AN ERROR

More information

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur

Module 3 LOSSY IMAGE COMPRESSION SYSTEMS. Version 2 ECE IIT, Kharagpur Module 3 LOSSY IMAGE COMPRESSION SYSTEMS Verson ECE IIT, Kharagpur Lesson 6 Theory of Quantzaton Verson ECE IIT, Kharagpur Instructonal Objectves At the end of ths lesson, the students should be able to:

More information

CinChE Problem-Solving Strategy Chapter 4 Development of a Mathematical Model. formulation. procedure

CinChE Problem-Solving Strategy Chapter 4 Development of a Mathematical Model. formulation. procedure nhe roblem-solvng Strategy hapter 4 Transformaton rocess onceptual Model formulaton procedure Mathematcal Model The mathematcal model s an abstracton that represents the engneerng phenomena occurrng n

More information

The Minimum Universal Cost Flow in an Infeasible Flow Network

The Minimum Universal Cost Flow in an Infeasible Flow Network Journal of Scences, Islamc Republc of Iran 17(2): 175-180 (2006) Unversty of Tehran, ISSN 1016-1104 http://jscencesutacr The Mnmum Unversal Cost Flow n an Infeasble Flow Network H Saleh Fathabad * M Bagheran

More information

Solution of Linear System of Equations and Matrix Inversion Gauss Seidel Iteration Method

Solution of Linear System of Equations and Matrix Inversion Gauss Seidel Iteration Method Soluton of Lnear System of Equatons and Matr Inverson Gauss Sedel Iteraton Method It s another well-known teratve method for solvng a system of lnear equatons of the form a + a22 + + ann = b a2 + a222

More information

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41,

Example: (13320, 22140) =? Solution #1: The divisors of are 1, 2, 3, 4, 5, 6, 9, 10, 12, 15, 18, 20, 27, 30, 36, 41, The greatest common dvsor of two ntegers a and b (not both zero) s the largest nteger whch s a common factor of both a and b. We denote ths number by gcd(a, b), or smply (a, b) when there s no confuson

More information

Formulas for the Determinant

Formulas for the Determinant page 224 224 CHAPTER 3 Determnants e t te t e 2t 38 A = e t 2te t e 2t e t te t 2e 2t 39 If 123 A = 345, 456 compute the matrx product A adj(a) What can you conclude about det(a)? For Problems 40 43, use

More information

Design and Optimization of Fuzzy Controller for Inverse Pendulum System Using Genetic Algorithm

Design and Optimization of Fuzzy Controller for Inverse Pendulum System Using Genetic Algorithm Desgn and Optmzaton of Fuzzy Controller for Inverse Pendulum System Usng Genetc Algorthm H. Mehraban A. Ashoor Unversty of Tehran Unversty of Tehran h.mehraban@ece.ut.ac.r a.ashoor@ece.ut.ac.r Abstract:

More information

Lecture 3. Ax x i a i. i i

Lecture 3. Ax x i a i. i i 18.409 The Behavor of Algorthms n Practce 2/14/2 Lecturer: Dan Spelman Lecture 3 Scrbe: Arvnd Sankar 1 Largest sngular value In order to bound the condton number, we need an upper bound on the largest

More information

A Novel Feistel Cipher Involving a Bunch of Keys supplemented with Modular Arithmetic Addition

A Novel Feistel Cipher Involving a Bunch of Keys supplemented with Modular Arithmetic Addition (IJACSA) Internatonal Journal of Advanced Computer Scence Applcatons, A Novel Festel Cpher Involvng a Bunch of Keys supplemented wth Modular Arthmetc Addton Dr. V.U.K Sastry Dean R&D, Department of Computer

More information

Exercises. 18 Algorithms

Exercises. 18 Algorithms 18 Algorthms Exercses 0.1. In each of the followng stuatons, ndcate whether f = O(g), or f = Ω(g), or both (n whch case f = Θ(g)). f(n) g(n) (a) n 100 n 200 (b) n 1/2 n 2/3 (c) 100n + log n n + (log n)

More information

Errors for Linear Systems

Errors for Linear Systems Errors for Lnear Systems When we solve a lnear system Ax b we often do not know A and b exactly, but have only approxmatons  and ˆb avalable. Then the best thng we can do s to solve ˆx ˆb exactly whch

More information

Some modelling aspects for the Matlab implementation of MMA

Some modelling aspects for the Matlab implementation of MMA Some modellng aspects for the Matlab mplementaton of MMA Krster Svanberg krlle@math.kth.se Optmzaton and Systems Theory Department of Mathematcs KTH, SE 10044 Stockholm September 2004 1. Consdered optmzaton

More information

Ballot Paths Avoiding Depth Zero Patterns

Ballot Paths Avoiding Depth Zero Patterns Ballot Paths Avodng Depth Zero Patterns Henrch Nederhausen and Shaun Sullvan Florda Atlantc Unversty, Boca Raton, Florda nederha@fauedu, ssull21@fauedu 1 Introducton In a paper by Sapounaks, Tasoulas,

More information

Introduction to Vapor/Liquid Equilibrium, part 2. Raoult s Law:

Introduction to Vapor/Liquid Equilibrium, part 2. Raoult s Law: CE304, Sprng 2004 Lecture 4 Introducton to Vapor/Lqud Equlbrum, part 2 Raoult s Law: The smplest model that allows us do VLE calculatons s obtaned when we assume that the vapor phase s an deal gas, and

More information

APPENDIX A Some Linear Algebra

APPENDIX A Some Linear Algebra APPENDIX A Some Lnear Algebra The collecton of m, n matrces A.1 Matrces a 1,1,..., a 1,n A = a m,1,..., a m,n wth real elements a,j s denoted by R m,n. If n = 1 then A s called a column vector. Smlarly,

More information

Convexity preserving interpolation by splines of arbitrary degree

Convexity preserving interpolation by splines of arbitrary degree Computer Scence Journal of Moldova, vol.18, no.1(52), 2010 Convexty preservng nterpolaton by splnes of arbtrary degree Igor Verlan Abstract In the present paper an algorthm of C 2 nterpolaton of dscrete

More information

Chapter - 2. Distribution System Power Flow Analysis

Chapter - 2. Distribution System Power Flow Analysis Chapter - 2 Dstrbuton System Power Flow Analyss CHAPTER - 2 Radal Dstrbuton System Load Flow 2.1 Introducton Load flow s an mportant tool [66] for analyzng electrcal power system network performance. Load

More information

On the size of quotient of two subsets of positive integers.

On the size of quotient of two subsets of positive integers. arxv:1706.04101v1 [math.nt] 13 Jun 2017 On the sze of quotent of two subsets of postve ntegers. Yur Shtenkov Abstract We obtan non-trval lower bound for the set A/A, where A s a subset of the nterval [1,

More information

5012: VLSI Signal Processing

5012: VLSI Signal Processing 5: VLSI Sgnal Processng Lecture 6 Fast Algortms for Dgtal Sgnal Processng VSP Lecture6 - Fast Algortms for DSP (cwlu@twns.ee.nctu.edu.tw) - Algortm Strengt Reducton Motvaton Te number of strong operatons,

More information

Zeros and Zero Dynamics for Linear, Time-delay System

Zeros and Zero Dynamics for Linear, Time-delay System UNIVERSITA POLITECNICA DELLE MARCHE - FACOLTA DI INGEGNERIA Dpartmento d Ingegnerua Informatca, Gestonale e dell Automazone LabMACS Laboratory of Modelng, Analyss and Control of Dynamcal System Zeros and

More information

Restricted divisor sums

Restricted divisor sums ACTA ARITHMETICA 02 2002) Restrcted dvsor sums by Kevn A Broughan Hamlton) Introducton There s a body of work n the lterature on varous restrcted sums of the number of dvsors of an nteger functon ncludng

More information

LECTURE 9 CANONICAL CORRELATION ANALYSIS

LECTURE 9 CANONICAL CORRELATION ANALYSIS LECURE 9 CANONICAL CORRELAION ANALYSIS Introducton he concept of canoncal correlaton arses when we want to quantfy the assocatons between two sets of varables. For example, suppose that the frst set of

More information

h-analogue of Fibonacci Numbers

h-analogue of Fibonacci Numbers h-analogue of Fbonacc Numbers arxv:090.0038v [math-ph 30 Sep 009 H.B. Benaoum Prnce Mohammad Unversty, Al-Khobar 395, Saud Araba Abstract In ths paper, we ntroduce the h-analogue of Fbonacc numbers for

More information

Perron Vectors of an Irreducible Nonnegative Interval Matrix

Perron Vectors of an Irreducible Nonnegative Interval Matrix Perron Vectors of an Irreducble Nonnegatve Interval Matrx Jr Rohn August 4 2005 Abstract As s well known an rreducble nonnegatve matrx possesses a unquely determned Perron vector. As the man result of

More information

arxiv: v1 [math.co] 12 Sep 2014

arxiv: v1 [math.co] 12 Sep 2014 arxv:1409.3707v1 [math.co] 12 Sep 2014 On the bnomal sums of Horadam sequence Nazmye Ylmaz and Necat Taskara Department of Mathematcs, Scence Faculty, Selcuk Unversty, 42075, Campus, Konya, Turkey March

More information

a b a In case b 0, a being divisible by b is the same as to say that

a b a In case b 0, a being divisible by b is the same as to say that Secton 6.2 Dvsblty among the ntegers An nteger a ε s dvsble by b ε f there s an nteger c ε such that a = bc. Note that s dvsble by any nteger b, snce = b. On the other hand, a s dvsble by only f a = :

More information

The exponential map of GL(N)

The exponential map of GL(N) The exponental map of GLN arxv:hep-th/9604049v 9 Apr 996 Alexander Laufer Department of physcs Unversty of Konstanz P.O. 5560 M 678 78434 KONSTANZ Aprl 9, 996 Abstract A fnte expanson of the exponental

More information

Vector Norms. Chapter 7 Iterative Techniques in Matrix Algebra. Cauchy-Bunyakovsky-Schwarz Inequality for Sums. Distances. Convergence.

Vector Norms. Chapter 7 Iterative Techniques in Matrix Algebra. Cauchy-Bunyakovsky-Schwarz Inequality for Sums. Distances. Convergence. Vector Norms Chapter 7 Iteratve Technques n Matrx Algebra Per-Olof Persson persson@berkeley.edu Department of Mathematcs Unversty of Calforna, Berkeley Math 128B Numercal Analyss Defnton A vector norm

More information

Some Comments on Accelerating Convergence of Iterative Sequences Using Direct Inversion of the Iterative Subspace (DIIS)

Some Comments on Accelerating Convergence of Iterative Sequences Using Direct Inversion of the Iterative Subspace (DIIS) Some Comments on Acceleratng Convergence of Iteratve Sequences Usng Drect Inverson of the Iteratve Subspace (DIIS) C. Davd Sherrll School of Chemstry and Bochemstry Georga Insttute of Technology May 1998

More information

CHAPTER 14 GENERAL PERTURBATION THEORY

CHAPTER 14 GENERAL PERTURBATION THEORY CHAPTER 4 GENERAL PERTURBATION THEORY 4 Introducton A partcle n orbt around a pont mass or a sphercally symmetrc mass dstrbuton s movng n a gravtatonal potental of the form GM / r In ths potental t moves

More information

On the Interval Zoro Symmetric Single-step Procedure for Simultaneous Finding of Polynomial Zeros

On the Interval Zoro Symmetric Single-step Procedure for Simultaneous Finding of Polynomial Zeros Appled Mathematcal Scences, Vol. 5, 2011, no. 75, 3693-3706 On the Interval Zoro Symmetrc Sngle-step Procedure for Smultaneous Fndng of Polynomal Zeros S. F. M. Rusl, M. Mons, M. A. Hassan and W. J. Leong

More information

Fall 2012 Analysis of Experimental Measurements B. Eisenstein/rev. S. Errede

Fall 2012 Analysis of Experimental Measurements B. Eisenstein/rev. S. Errede Fall 0 Analyss of Expermental easurements B. Esensten/rev. S. Errede We now reformulate the lnear Least Squares ethod n more general terms, sutable for (eventually extendng to the non-lnear case, and also

More information

Problem Set 9 Solutions

Problem Set 9 Solutions Desgn and Analyss of Algorthms May 4, 2015 Massachusetts Insttute of Technology 6.046J/18.410J Profs. Erk Demane, Srn Devadas, and Nancy Lynch Problem Set 9 Solutons Problem Set 9 Solutons Ths problem

More information

2.3 Nilpotent endomorphisms

2.3 Nilpotent endomorphisms s a block dagonal matrx, wth A Mat dm U (C) In fact, we can assume that B = B 1 B k, wth B an ordered bass of U, and that A = [f U ] B, where f U : U U s the restrcton of f to U 40 23 Nlpotent endomorphsms

More information

HMMT February 2016 February 20, 2016

HMMT February 2016 February 20, 2016 HMMT February 016 February 0, 016 Combnatorcs 1. For postve ntegers n, let S n be the set of ntegers x such that n dstnct lnes, no three concurrent, can dvde a plane nto x regons (for example, S = {3,

More information

CHAPTER III Neural Networks as Associative Memory

CHAPTER III Neural Networks as Associative Memory CHAPTER III Neural Networs as Assocatve Memory Introducton One of the prmary functons of the bran s assocatve memory. We assocate the faces wth names, letters wth sounds, or we can recognze the people

More information

Linear Approximation with Regularization and Moving Least Squares

Linear Approximation with Regularization and Moving Least Squares Lnear Approxmaton wth Regularzaton and Movng Least Squares Igor Grešovn May 007 Revson 4.6 (Revson : March 004). 5 4 3 0.5 3 3.5 4 Contents: Lnear Fttng...4. Weghted Least Squares n Functon Approxmaton...

More information

Inexact Newton Methods for Inverse Eigenvalue Problems

Inexact Newton Methods for Inverse Eigenvalue Problems Inexact Newton Methods for Inverse Egenvalue Problems Zheng-jan Ba Abstract In ths paper, we survey some of the latest development n usng nexact Newton-lke methods for solvng nverse egenvalue problems.

More information

Speeding up Computation of Scalar Multiplication in Elliptic Curve Cryptosystem

Speeding up Computation of Scalar Multiplication in Elliptic Curve Cryptosystem H.K. Pathak et. al. / (IJCSE) Internatonal Journal on Computer Scence and Engneerng Speedng up Computaton of Scalar Multplcaton n Ellptc Curve Cryptosystem H. K. Pathak Manju Sangh S.o.S n Computer scence

More information

A summation on Bernoulli numbers

A summation on Bernoulli numbers Journal of Number Theory 111 (005 37 391 www.elsever.com/locate/jnt A summaton on Bernoull numbers Kwang-Wu Chen Department of Mathematcs and Computer Scence Educaton, Tape Muncpal Teachers College, No.

More information

Suppose that there s a measured wndow of data fff k () ; :::; ff k g of a sze w, measured dscretely wth varable dscretzaton step. It s convenent to pl

Suppose that there s a measured wndow of data fff k () ; :::; ff k g of a sze w, measured dscretely wth varable dscretzaton step. It s convenent to pl RECURSIVE SPLINE INTERPOLATION METHOD FOR REAL TIME ENGINE CONTROL APPLICATIONS A. Stotsky Volvo Car Corporaton Engne Desgn and Development Dept. 97542, HA1N, SE- 405 31 Gothenburg Sweden. Emal: astotsky@volvocars.com

More information