FACTORING POLYNOMIALS OVER FINITE FIELDS USING BALANCE TEST CHANDAN SAHA

Size: px
Start display at page:

Download "FACTORING POLYNOMIALS OVER FINITE FIELDS USING BALANCE TEST CHANDAN SAHA"

Transcription

1 FACTORING POLYNOMIALS OVER FINITE FIELDS USING BALANCE TEST CHANDAN SAHA Department of Computer Scence and Engneerng Indan Insttute of Technology Kanpur E-mal address: Abstract. We study the problem of factorng unvarate polynomals over fnte felds. Under the assumpton of the Extended Remann Hypothess (ERH), Gao [Gao01] desgned a polynomal tme algorthm that fals to factor only f the nput polynomal satsfes a strong symmetry property, namely square balance. In ths paper, we propose an extenson of Gao s algorthm that fals only under an even stronger symmetry property. We also show that our property can be used to mprove the tme complexty of best determnstc algorthms on most nput polynomals. The property also yelds a new randomzed polynomal tme algorthm. 1. Introducton We consder the problem of desgnng an effcent determnstc algorthm for factorng a unvarate polynomal, wth coeffcents taken from a fnte feld. The problem reduces n polynomal tme to the problem of factorng a monc, square-free and completely splttng polynomal f(x) wth coeffcents n a prme feld F p (see [Ber70], [LN94]). Although there are effcent polynomal tme randomzed algorthms for factorng f(x) ([Ber70], [CZ81], [vzgs9], [KS95]), as yet there s no determnstc polynomal tme algorthm even under the assumpton of the Extended Remann Hypothess (ERH). In ths paper we wll assume that ERH s true and ξ 1, ξ,..., ξ n are the n dstnct roots of the nput polynomal f, n f(x) = (x ξ ) where ξ F p =1 In 001, Gao [Gao01] gave a determnstc factorng algorthm that fals to fnd nontrval factors of f n polynomal tme, f f belongs to a restrcted class of polynomals, namely square balanced polynomals. Motvated by the work of Gao [Gao01], we have defned a proper subclass of square balanced polynomals, namely cross balanced polynomals, such that polynomals that are not cross balanced, can be factored determnstcally n polynomal tme, under the assumpton of the ERH. Our contrbuton can be summarzed as follows. Let f be a monc, square-free and completely splttng polynomal n F p [x] wth n roots ξ 1,..., ξ n. Our factorng algorthm uses an arbtrary (but determnstcally chosen) collecton of k = (n log p) O(1) (n = deg(f)) Key words and phrases: Algebrac Algorthms, polynomal factorzaton, fnte felds. Submtted to STACS (Symposum on Theoretcal Aspects of Computer Scence) 1

2 CHANDAN SAHA small degree auxlary polynomals p 1 (.),..., p k (.), and from each p l ( ) (1 l k) and f t mplctly constructs a smple n-vertex dgraph G l such that, (for l > 1) G l s a subgraph (not necessarly a proper subgraph) of G l 1. A proper factor of f s effcently retreved f any one of the graphs s ether not regular, or s regular wth n degree and out degree of every vertex less than a chosen constant c. Ths condton of regularty of all the k graphs mposes a tght symmetry condton on the roots of f, and we pont out that ths may be exploted to mprove the worst case tme complexty of the best known determnstc algorthms. Further, we show that f the polynomals p l ( ) (1 l k) are randomly chosen then the symmetry breaks wth hgh probablty and our algorthm works n randomzed polynomal tme. We call the checkng of ths symmetry condton a balance test. We now present a lttle more detals. Defne the sets for 1 n as, = {1 n :, σ((ξ ξ ) ) = (ξ ξ )} where σ s the square root algorthm descrbed n [Gao01] (see secton.4). The polynomal f s called a square balanced polynomal (as n [Gao01]) f # 1 =... = # n. For l > 1, defne polynomal f l as, n f l = (x p l (ξ )) =1 where p l (.) s an arbtrary but determnstcally chosen polynomal wth degree bounded by (n log p) O(1). Further, p l1 (.) p l (.) for l 1 l, and f 1 s taken to be f.e. p 1 (y) = y. Assume that, for a gven k = (n log p) O(1), for every l, 1 l k, polynomal f l = f d l l, where f l s a square-free and square balanced polynomal and d l > 0. Later, we show that, f f l s not of the above form then a proper factor of f can be retreved effcently. For each polynomal f l, 1 l k, defne the sets for 1 n as, = {1 n : p l (ξ ) p l (ξ ), σ((p l (ξ ) p l (ξ )) ) = (p l (ξ ) p l (ξ ))} Further, defne the sets D teratvely over l as, D (1) = (1) For l > 1, D = D (l 1) If D = φ for all, 1 n, then redefne D as D = D (l 1). For 1 l k, let G l be a drected graph wth n vertces v 1,..., v n, such that there s an edge from v to v f and only f D. Note that, G l s a subgraph of G l 1 for 1 < l k. Denote the n degree and out degree of a vertex v by ndeg(v ) and outdeg(v ), respectvely. We say that the graph G l s regular (or t-regular) f ndeg(v 1 ) = outdeg(v 1 ) =... = ndeg(v n ) = outdeg(v n ) = t. Call t as the regularty of G l. The followng theorem s proved n ths paper. Theorem 1.1. Polynomal f can be factored nto nontrval factors n tme l (n log p) O(1) f G l s not regular for some l, 1 l k. Further, f G 1,..., G k are all regular and for at least log n of the graphs we have G l G l 1 (1 < l k), then f can be factored n k (n log p) O(1) tme. Note that, G 1 s regular f and only f f s square balanced, as (1) =, for 1 n and G 1 s n fact a regular tournament.

3 FACTORING POLYNOMIALS OVER FINITE FIELDS USING BALANCE TEST 3 Suppose f(y) splts as f(y) = (y X) f (y) n the quotent rng R = Fp[x] (f) where X = x mod f. Our algorthm teratvely tests graphs G 1, G,... so on, to check f any one of them s not regular. If at the l th teraton graph G l turns out to be not regular, then a proper factor of f s obtaned n polynomal tme. However, f G l s regular, then the algorthm returns a nontrval monc factor g l (y) of f (y) wth degree equal to the regularty of G l. Moreover, g l (y) s also a factor of (although may be equal to) g l 1 (y), the factor obtaned at the (l 1) th teraton, and t can be ensured that f g l (y) s a proper factor of g l 1 (y) (whch happens ff G l G l 1 ) then deg(g l (y)) 1 deg(g l 1(y)). Thus, f the graphs repeatedly turn out to be regular (whch n tself s a strngent condton) and for at least log n tmes t happen that G l G l 1, for 1 < l k, then we obtan a nontrval lnear factor g(y) of f (y). The element g(0) defnes a nontrval endomorphsm n the rng R, and by usng a result from [Evd94] (Lemma 9 n [Evd94]) we can fnd a proper factor of f n polynomal tme. Further, f for only ɛ log n tmes we get G l G l 1 (1 < l k) for some ɛ, 0 < ɛ 1, then we obtan a nontrval factor g(y) of f (y) wth degree at most n1 ɛ. Now f we apply Evdokmov s algorthm ([Evd94]) on g(y) (nstead of f (y)), we can get a proper factor of f n tme (n (1 ɛ) log n+ɛ+c 1 log p) c (c 1 and c are constants). For most 1 polynomals ɛ > 0 (.e. at least about log n ) and ths gves an mprovement over the tme complexty of (n 1 log n+c 1 log p) c n [Evd94] (c 1, c are the same constants). Assumng n << p, all the best known determnstc algorthms (e.g. [Evd94], [CH00]) use computatons n rngs wth large dmensons over F p to get smaller degree factors of f (y). Unlke these approaches, the balance test s an attempt to explot an asymmetry among the roots of the nput polynomal to obtan smaller degree factors of f (y) wthout carryng out computatons n rngs wth large dmensons over F p. Ths attrbute of our approach yelds a better tme complexty for most polynomals n a way as dscussed n the prevous paragraph. It s suffcent to choose the auxlary polynomals p l (y), 1 < l k, n such a way that the graphs, f regular, are not all the same for too long, f ther regulartes are large. An effcent and determnstc constructon of such auxlary polynomals wll mmedately mply that factorzaton of unvarate polynomals over fnte felds can be done n determnstc polynomal tme under ERH. In ths paper we assume that the auxlary polynomals are arbtrary but determnstcally chosen polynomals wth degree bounded by (n log p) O(1). For example, one possblty s to choose p l (y) = y l for 1 l k. (In fact, Gao [Gao01] used ths choce of auxlary polynomals to defne a restrcted class of square balanced polynomals called super square balanced polynomals.) We show that, f random choces of auxlary polynomals are allowed then our algorthm works n randomzed polynomal tme. For the graphs to be all regular and equal, the roots of f must satsfy a tght symmetry condton (gven by equal szes of all the sets D, for 1 n and 1 l k) and t s only then that our algorthm fals to factor f. Defnton 1.1. A polynomal f s called k-cross balanced, for k > 0, f for every l, 1 l k, polynomal f l = f d l l, where f l s a square-free, square balanced polynomal wth d l > 0, and graph G l s regular. It follows from the defnton that, 1-cross balanced polynomals form the class of square balanced polynomals. Let k = (n log p) O(1) be some fxed polynomal n n and log p. A polynomal f s called cross balanced f t s k-cross balanced and regularty of graph G k s

4 4 CHANDAN SAHA greater than a fxed constant c. From Theorem 1.1 and [Evd94] t follows that, polynomals that are not cross balanced can be factored determnstcally n polynomal tme.. Prelmnares Assume that f s a monc, square-free and completely splttng polynomal over F p and R = Fp[x] (f) s the quotent rng consstng of all polynomals modulo f..1. Prmtve Idempotents Elements χ 1,..., χ n of the rng R are called the prmtve dempotents of R f, n =1 χ = 1 and for 1, n, χ χ = χ f = and 0 otherwse. By Chnese Remanderng theorem, R = F p... F p (n tmes), such that every element n R can be unquely represented by an n-tuple of elements n F p. Addton and multplcaton between two elements n R can vewed as componentwse addton and multplcaton of the n-tuples. Any element α = (a 1,..., a n ) R can be equated as, α = n =1 a χ where a F p. Let g(y) be a polynomal n R[y] gven by, m g(y) = γ y where γ R and γ = =0 g χ where g F p for 0 m and 1 n. =1 Then g(y) can be alternatvely represented as, g(y) = g (y)χ where g (y) = =1 m g y F p [y] for 1 n. The usefulness of ths representaton s that, operatons on polynomals n R[y] (multplcaton, gcd etc.) can be vewed as componentwse operatons on polynomals n F p [y]. =0.. Characterstc Polynomal Consder an element α = n =1 a χ R where a F p, 1 n. The element α defnes a lnear transformaton on the vector space R (over F p ), mappng an element β R to αβ R. The characterstc polynomal of α (vewed as a lnear transformaton) s ndependent of the choce of bass and s equal to n c α (y) = (y a ), =1 In order to construct c α one can use 1, X, X,..., X n 1 as the bass n R and form the matrx (m ) where α X 1 = n =1 m X 1, m F p, 1, n. Then c α can be constructed by evaluatng det(y I (m )) at n dstnct values of y and solvng for the n coeffcents of c α usng lnear algebra. The process takes only polynomal tme. The noton of characterstc polynomal extends even to hgher dmensonal algebras over F p.

5 FACTORING POLYNOMIALS OVER FINITE FIELDS USING BALANCE TEST 5.3. GCD of Polynomals Let g(y) = n =1 g (y)χ and h(y) = n =1 h (y)χ be two polynomals n R[y], where g, h F p [y] for 1 n. Then, gcd of g and f s defned as, gcd(g, f) = gcd(g, h )χ =1 We note that, the concept of gcd of polynomals does not make sense n general over any arbtrary algebra. However, the fact that R s a completely splttng semsmple algebra over F p allows us to work component-wse over F p and ths makes the noton of gcd meanngful n the context. The followng lemma was shown by Gao [Gao01]. Lemma.1. [Gao01] Gven two polynomals g, h R[y], gcd(g, h) can be computed n tme polynomal n the degrees of the polynomals, n and log p..4. Gao s Algorthm Let R = Fp[x] (f) = F p [X] where X = x mod f and suppose that f(y) splts n R as, f(y) = (y X)f (y). Defne quotent rng S as, S = R[y] (f ) = R[Y ] where Y = y mod f. S s an elementary algebra over F p wth dmenson n = n(n 1). Gao [Gao01] descrbed an algorthm σ for takng square root of an element n S. If p 1 = e w where e 1 and w s odd, and η s a prmtve e -th root of unty, then σ has the followng propertes: (1) Let µ 1,..., µ n be prmtve dempotents n S and α = n =1 a µ S where a F p. Then, σ(α) = n =1 σ(a )µ. () Let a = η u θ where θ F p wth θ w = 1 and 0 u < e. Then σ(a ) = a ff u < e 1. When p = 3 mod 4, η = 1 and property mples that σ(a ) = a for a F p ff a s a quadratc resdue n F p. Algorthm 1. [Gao01] Input: A polynomal f F p [x]. Output: A proper factor of f or output that f s square balanced. 1. Form X, Y, R, S as before.. Compute C = 1 (X + Y + σ((x Y ) )) S. 3. Compute the characterstc polynomal c(y) of C over R. 4. Decompose c(y) as c(y) = h(y)(y X) t, where t s the largest possble. 5. If h(x) s a zero dvsor n R then fnd a proper factor of f, otherwse output that f s square balanced. It was shown n [Gao01] that Algorthm 1 fals to fnd a proper factor of f f and only f f s square balanced. Moreover, t follows from the analyss n [Gao01] (see Theorem 3.1 n [Gao01]) that, when f s square balanced the polynomal h(y) takes the form, h(y) = (y ξ ) χ =1 where = { :, σ((ξ ξ ) ) = (ξ ξ )} and # = n 1 for all, 1 n.

6 6 CHANDAN SAHA 3. Our Algorthm and Analyss In ths secton, we descrbe our algorthm for factorng polynomal f. We show that the algorthm fals to factor f n k (n log p) O(1) tme f and only f f s k-cross balanced and regularty of G k s greater than c. The algorthm nvolves k polynomals, f = f 1,..., f k, where polynomal f l, 1 < l k, s defned as, n f l = (x p l (ξ )) =1 where p l (.) s an arbtrary but determnstcally fxed polynomal wth degree bounded by (n log p) O(1) and p l1 (.) p l (.) for l 1 l. The polynomal f l can be constructed n polynomal tme by consderng the element p l (X) n R = Fp[x] (f) = F p [X], where X = x mod f, and then computng ts characterstc polynomal over F p. Lemma 3.1. If f l s not of the form f l = f l d l, where f l s a square-free, square balanced polynomal and d l > 0, then a proper factor of f can be retreved n polynomal tme. Proof: By defnton, f l = n =1 (x p l(ξ )). Defne the sets E, for 1 n, as E = {1 n : p l (ξ ) = p l (ξ )}. Consder the followng gcd n the rng R[y], g(y) = gcd (p l (y) p l (X), f(y)) = (y ξ ) χ =1 E The leadng coeffcent of g(y) s a zero-dvsor n R, unless #E 1 =... = #E n = d l (say). Therefore, we can assume that, f l = m l ( x pl (ξ )) dl s where pl (ξ s1 ),..., p l (ξ ) are all dstnct and m sml l = n d =1 l = f d l m l ( l where fl = x pl (ξ s ) ) s square-free. =1 If polynomal f l (obtaned by square-freeng f l ) s not square balanced then a proper factor g l of f l s returned by Algorthm 1. But then, gcd ( g l (p l (x)), f(x)) = (x ξ ) s a proper factor of f. : g l (p l (ξ ))=0 Algorthm 1 works wth f l = m l ( =1 x pl (ξ s ) ) as the nput polynomal where p l (ξ s ) s are dstnct and m l = n d l, and returns a polynomal h l (y) such that, m l h l (y) = (y p l (ξ sr )) χ (3.1) =1 r where χ s are the prmtve dempotents of the rng R l = Fp[x] ( f, l ) = {1 r m l : r, σ((p l (ξ s ) p l (ξ sr )) ) = (p l (ξ s ) p l (ξ sr ))}

7 FACTORING POLYNOMIALS OVER FINITE FIELDS USING BALANCE TEST 7 and # = m l 1 for 1 m l. Assume that p > n and n s odd, as even degree polynomals can be factored n polynomal tme. In the followng algorthm, parameter k s taken to be a fxed polynomal n n and log p and c s a fxed constant. Algorthm. Cross Balance Input: A polynomal f F p [x] of odd degree n. Output: A proper factor of f or Falure. Choose k 1 dstnct polynomals p (y),..., p k (y) wth degree greater than unty and bounded by a polynomal n n and log p. (We can use any arbtrary, effcent mechansm to determnstcally choose the polynomals.) Take p 1 (y) = y. for l = 1 to k do [Steps (1) - (): Constructng polynomal f l and checkng f f can be factored usng Lemma 3.1.] (1) (Construct polynomal f l ) Compute the characterstc polynomal, c α (x), of element α = p l (X) R, over F p. Then f l = c α (x). () (Check f f can be factored) Check f f l s of the form f l = f l d l, where f l s a square-free, square balanced polynomal and d l > 0. If not, then fnd a proper factor of f as n Lemma 3.1. [Steps (3) - (6): Constructng graph G l mplctly.] (3) (Obtan the requred polynomal from Algorthm 1) Else, f l s square balanced and Algorthm 1 returns a polynomal h l (y) = y t + α 1 y t α t (as n equaton 3.1), where t = m l 1 and α u R l for 1 u t. (4) (Change to a common rng so that gcd s feasble) Each α u R l s a polynomal α u (x) F p [x] of degree less than m l. Compute α u as, α u = α u (p l (x)) mod f, for 1 u t, and construct the polynomal h l (y) = yt +α 1 yt α t R[y]. (5) (Construct graph G l mplctly) If l = 1 then assgn g l (y) = h l (y) R[y] and contnue the loop wth the next value of l. Else, construct the polynomal h l (p l(y)) by replacng y by p l (y) n h l (y) and compute g l (y) as, g l (y) = gcd(g l 1 (y), h l (p l(y))) R[y]. (6) (Check f G l s a null graph) Let g l (y) = β t y t β 0, where t s the degree of g l (y) and β u R for 0 u t. If t = 0 then make g l (y) = g l 1 (y) and contnue the loop wth the next value of l. [Steps (7) - (8): Checkng for equal out degrees of the vertces of graph G l.] (7) (Check f out degrees are equal) Else, t > 0. If β t s a zero dvsor n R, construct a proper factor of f from β t and stop. (8) (Factor f out degrees are small) Else, f t c then use Evdokmov s algorthm [Evd94] on g l (y) to fnd a proper factor of f n (n log p) O(1) tme. [Steps (9) - (11): Checkng for equal n degrees of the vertces of graph G l.]

8 8 CHANDAN SAHA (9) (Obtan the values of a nce polynomal at multple ponts) If t > c, evaluate g l (y) R[y] at n t dstnct ponts y 1,..., y nt taken from F p. Fnd the characterstc polynomals of elements g l (y 1 ),..., g l (y nt ) R over F p as c 1 (x),..., c nt (x) F p [x], respectvely. Collect the terms c (0) for 1 nt. (10) (Construct the nce polynomal from the values) Construct the polynomal r(x) = x nt +r 1 x nt r nt F p [x] such that r(y ) = c (0) for 1 nt. Solve for r F p, 1 nt, usng lnear algebra. (11) (Check ( f n degrees ) are equal) For 0 < t, f f (x) dvdes r(x) then compute gcd r(x) f (x), f(x) F p [x]. If a proper factor of f s found, stop. Else, contnue wth the next value of l. endfor If a proper factor of f s not found n the above for loop, return Falure. Theorem 3.. Algorthm fals to fnd a proper factor f n k (n log p) O(1) tme f and only f f s k-cross balanced and regularty of graph G k s greater than c. Proof: We show that, Algorthm fals to fnd a proper factor of f at the l th teraton of the loop ff f s l-cross balanced and regularty of G l s greater than c. Recall the defntons of the sets and D, 1 n, from secton 1. The set s defned as, = {1 n : p l (ξ ) p l (ξ ), σ((p l (ξ ) p l (ξ )) ) = (p l (ξ ) p l (ξ ))} And set D s defned teratvely over l as, D (1) = (1) For l > 1, D = D (l 1) If D = φ for all, 1 n, then D s redefned as D = D (l 1). Graph G l, wth n vertces v 1,..., v n, has an edge from v to v ff D. Algorthm fals at the frst teraton (l = 1) f and only f f s square balanced. In ths case, D (1) = (1) =, the polynomal g 1 (y) s, g 1 (y) = h(y) = (y ξ ) χ =1 D (1) and G 1 s regular wth n degree and out degree of a vertex v equal to #D (1) = # = n 1. Thus, polynomal f s 1-cross balanced and deg(g 1 (y)) = n 1. If Algorthm fals at the l th teraton, then we can assume that the polynomals f = f 1,..., f l are square free and square balanced (by Lemma 3.1). Suppose that, Algorthm fals at the l th teraton. Then, f l = m l ( =1 x pl (ξ s ) ) s square free and square balanced, and Algorthm 1 returns the polynomal h l (y) R l [y] such that, m l h l (y) = (y p l (ξ sr )) χ (3.) =1 r

9 FACTORING POLYNOMIALS OVER FINITE FIELDS USING BALANCE TEST 9 where χ s are the prmtve dempotents of the rng R l = Fp[x] ( f l ) and, = {1 r m l : r, σ((p l (ξ s ) p l (ξ sr )) ) = (p l (ξ s ) p l (ξ sr ))} Let, h l (y) = y t + α 1 y t α t, where t = m l 1 and α u R l for 1 u t. Each α u R l s a polynomal α u (x) F p [x] wth degree less than m l and f α u = m l =1 a uχ for a u F p, then by Chnese Remanderng theorem (and assumng the correspondence between χ and the factor (x p l (ξ s )) of f l ) we get, α u (x) = q(x)(x p l (ξ s )) + a u for some polynomal q(x) F p [x] α u (p l (x)) = q(p l (x))(p l (x) p l (ξ s )) + a u α u (p l (x)) = a u mod (x ξ) for every ξ {ξ 1,..., ξ n } such that p l (ξ) = p l (ξ s ) Suppose that, for a gven (1 n), () (1 () m l ) s a unque ndex such that, p l (ξ ) = p l (ξ s() ). Then, the polynomal α u(x) = α u (p l (x)) mod f has the followng drect sum (or canoncal) representaton n the rng R, α u(x) = a u() χ =1 Ths mples that the polynomal h l (y) = yt + α 1 yt α t R[y] has the canoncal representaton, h l (y) = (y p l (ξ sr )) χ (3.3) =1 r () Inductvely, assume that g l 1 (y) has the form, g l 1 (y) = Then, Therefore, =1 D (l 1) g l (y) = gcd ( g l 1 (y), h l (p l(y)) ) = gcd (y ξ ), = =1 =1 D (l 1) D (l 1) g l (y) = (y ξ ) χ r () (y ξ ) χ =1 D (p l (y) p l (ξ sr )) χ (as r (y ξ ) χ = β t y t β 0 (say) () s r )

10 10 CHANDAN SAHA where t = max ( #D ) and β u R for 1 u t n 1. The element β t s not a 1 =... = #D n = t. If t c then a factor of f can zero dvsor n R f and only f #D be retreved from g l (y) n polynomal tme usng already known methods ([Evd94]). The condton #D = t for all, 1 t, makes the out degree of every vertex n G l equal to t. However, ths may not necessarly mply that the n degree of every vertex n G l s also t. Checkng for dentcal n degrees of the vertces of G l s handled n steps (9) (11) of the algorthm. Consder evaluatng the polynomal g l (y) at a pont y s F p. g l (y s ) = =1 D The characterstc polynomal of g l (y s ) over F p s, n c s (x) = x c s (0) = =1 (y s ξ ) χ R D (y s ξ ) n (y s ξ ) k (snce n s odd) =1 where k s the n degree of vertex v n G l. Let r(x) = x nt + r 1 x nt r nt F p [x] be a polynomal of degree nt, such that, n r(y s ) = c s (0) = (y s ξ ) k for nt dstnct ponts {y s } 1 s nt taken from F p. Snce we have assumed that p > n > n(n 1) nt, we can solve for the coeffcents r 1,..., r nt usng any nt dstnct ponts from F p. Then, n r(x) = (x ξ ) k =1 If k t ( for some, ) then there s an = mn{k 1,..., k n } < t such that f (x) dvdes r(x) and gcd r(x) f (x), f(x) yelds a nontrval factor of f(x). Ths shows that the graph G l s regular f the algorthm fals at the l th step. Snce deg(g l (y)) equals the regularty of G l, hence f the latter quantty s less than c then we can apply Evdokmov s algorthm [Evd94] on g l (y) and get a non trval factor of f n polynomal tme. Let H l (1 l k) be a dgraph wth n vertces v 1,..., v n such that there s an edge from v to v ff. Then, graph G l = G l 1 H l or G l = G l 1 (f G l 1 H l = Φ, where Φ s the null graph wth n vertces but no edge). Here denotes the edge ntersecton of graphs defned on the same set of vertces. Algorthm fals to fnd a proper factor of f n polynomal tme f and only f there exsts an l k such that G l s t-regular (t > c) and G l H = G l or Φ for all, l < k. It s therefore mportant to choose the polynomals p ( ) n such a way that very quckly we get a graph H wth G l H G l or Φ. We say =1

11 FACTORING POLYNOMIALS OVER FINITE FIELDS USING BALANCE TEST 11 that a polynomal p l ( ) s good f ether H l s not regular or G l G l 1 (1 < l k). We show that, only a few good polynomals are requred. Lemma 3.3. Algorthm (wth a slght modfcaton) requres at most log n good auxlary polynomals to fnd a proper factor of f. Proof: Consder the followng modfcaton of Algorthm. At step 5 of Algorthm, for l > 1, take g l (y) to be ether gcd(g l 1 (y), h l (p l(y))) or g l 1 (y)/gcd(g l 1 (y), h l (p l(y))), whchever has the smaller nonzero degree. Accordngly, we modfy the defnton of graph G l. Defne the set (1 n) as, = {1 n :, σ((p l (ξ ) p l (ξ )) ) = (p l (ξ ) p l (ξ ))} = {1 n : } and modfy the defnton of the sets D (1 n) as, D (1) = (1) For l > 1, D = D (l 1) f g l (y) = gcd(g l 1 (y), h l (p l(y))) = D (l 1) else f g l (y) = g l 1 (y)/gcd(g l 1 (y), h l (p l(y))) As before, an edge (v, v ) s present n G l ff D. Ths modfcaton ensures that, f g l (y) g l 1 (y) has an nvertble leadng coeffcent (.e f g l (y) s monc) then the degree of g l (y) s at most half the degree of g l 1 (y). Hence, for every good choce of polynomal p l ( ) f G l 1 and G l are t l 1 -regular and t l -regular, respectvely, then t l t l 1. Therefore, at most log n good choces of polynomals p l ( ) are requred by the algorthm. Theorem 1.1 follows as a corollary to Theorem 3. and Lemma 3.3. As already ponted out n secton 1, f only ɛ log n good auxlary polynomals are avalable for some ɛ, 0 < ɛ 1, then we obtan a nontrval factor g(y) of f (y) wth degree at most n1 ɛ. If we apply Evdokmov s algorthm on g(y) nstead of f (y), then the maxmum dmenson of the rngs consdered s bounded by n (1 ɛ) log n+ɛ+o(1) nstead of n log n +O(1) (as s the case n [Evd94]). In the followng dscusson we brefly analyze the performance of Algorthm based on unform random choces of the auxlary polynomals p l (.) (1 < l k). The proofs are omtted. Lemma 3.4. If p = 3 mod 4 and p n 6 n then about (1+o(1))n ( π n) n splttng, square-free polynomals of degree n are square balanced. fracton of all completely Corollary 3.5. If p = 3 mod 4, p > n 6 n and p l (y) s a unformly randomly chosen polynomal of degree (n 1) then the probablty that f l s ether not square-free or s a square-free and square balanced polynomal s upper bounded by (1+o(1))n ( π n) n. It follows that, for p = 3 mod 4 and p > n 6 n, f the auxlary polynomals p l ( ) s are unformly randomly chosen then Algorthm works n randomzed polynomal tme. However, the arguments used n the proof of Lemma 3.4 do not mmedately apply to the case p = 1 mod 4. Therefore, we resort to a more straghtforward analyss, although n the process we get a slghtly weaker probablty bound.

12 1 CHANDAN SAHA Lemma 3.6. If G l (1 l < k) s regular and p l+1 (y) F p [y] s a unformly randomly chosen polynomal of degree (n 1) then G l+1 G l wth probablty at least n. Thus, f polynomals p l (y), 1 < l log n, are randomly chosen, then the probablty that f s not factored by Algorthm wthn log n teratons s less than log n 0.9n. 4. Concluson In ths paper, we have extended the square balance test by Gao [Gao01] and showed a drecton towards mprovng the tme complexty of the best prevously known determnstc factorng algorthms. Usng certan auxlary polynomals, our algorthm attempts to explot an nherent asymmetry among the roots of the nput polynomal f n order to effcently fnd a proper factor. The advantage of usng auxlary polynomals s that, unlke [Evd94], t avods the need to carry out computatons n rngs wth large dmensons, thereby savng overall computaton tme to a sgnfcant extent. Motvated by the strngent symmetry requrement from the roots of f, we pose the followng queston: Is t possble to construct good auxlary polynomals n determnstc polynomal tme? An affrmatve answer to the queston wll mmedately mply that factorng polynomals over fnte felds can be done n determnstc polynomal tme under ERH. Acknowledgements The author would lke to thank Manndra Agrawal and Pyush Kurur for many nsghtful dscussons that helped n mprovng the result. The suggestons from anonymous referees have sgnfcantly mproved the presentaton of ths paper. The author s thankful to them. References [Ber70] E. R. Berlekamp. Factorng polynomals over large fnte felds. Mathematcs of Computaton, 4(111): , [CH00] Q Cheng and Mng-Deh A. Huang. Factorng polynomnals over fnte felds and stable colorngs of tournaments. ANTS, pages 33 46, 000. [CZ81] Davd G. Cantor and Hans Zassenhaus. A new algorthm for factorng polynomals over fnte felds. Mathematcs of Computaton, 36(154):587 59, [Evd94] Serge Evdokmov. Factorzaton of polynomnals over fnte felds n subexponental tme under GRH. ANTS, pages 09 19, [Gao01] Shuhong Gao. On the determnstc complexty of factorng polynomals. Journal of Symbolc Computaton, 31(1 ):19 36, 001. [KS95] Erch Kaltofen and Vctor Shoup. Subquadratc-tme factorng of polynomals over fnte felds. STOC, pages , [LN94] R. Ldl and H. Nederreter. Introducton to fnte felds and ther applcatons, revsed edton. Cambrdge Unversty Press, [vzgs9] Joachm von zur Gathen and Vctor Shoup. Computng frobenus maps and factorng polynomals. Computatonal Complexty, :187 4, 199.

FACTORING POLYNOMIALS OVER FINITE FIELDS USING BALANCE TEST CHANDAN SAHA

FACTORING POLYNOMIALS OVER FINITE FIELDS USING BALANCE TEST CHANDAN SAHA FACTORING POLYNOMIALS OVER FINITE FIELDS USING BALANCE TEST CHANDAN SAHA Department of Computer Scence and Engneerng Indan Insttute of Technology Kanpur E-mal address: csaha@cse.tk.ac.n Abstract. We study

More information

Finding Primitive Roots Pseudo-Deterministically

Finding Primitive Roots Pseudo-Deterministically Electronc Colloquum on Computatonal Complexty, Report No 207 (205) Fndng Prmtve Roots Pseudo-Determnstcally Ofer Grossman December 22, 205 Abstract Pseudo-determnstc algorthms are randomzed search algorthms

More information

Lecture 4: Universal Hash Functions/Streaming Cont d

Lecture 4: Universal Hash Functions/Streaming Cont d CSE 5: Desgn and Analyss of Algorthms I Sprng 06 Lecture 4: Unversal Hash Functons/Streamng Cont d Lecturer: Shayan Oves Gharan Aprl 6th Scrbe: Jacob Schreber Dsclamer: These notes have not been subjected

More information

Min Cut, Fast Cut, Polynomial Identities

Min Cut, Fast Cut, Polynomial Identities Randomzed Algorthms, Summer 016 Mn Cut, Fast Cut, Polynomal Identtes Instructor: Thomas Kesselhem and Kurt Mehlhorn 1 Mn Cuts n Graphs Lecture (5 pages) Throughout ths secton, G = (V, E) s a mult-graph.

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

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

ALGEBRA HW 7 CLAY SHONKWILER

ALGEBRA HW 7 CLAY SHONKWILER ALGEBRA HW 7 CLAY SHONKWILER 1 Whch of the followng rngs R are dscrete valuaton rngs? For those that are, fnd the fracton feld K = frac R, the resdue feld k = R/m (where m) s the maxmal deal), and a unformzer

More information

Introduction to Algorithms

Introduction to Algorithms Introducton to Algorthms 6.046J/8.40J Lecture 7 Prof. Potr Indyk Data Structures Role of data structures: Encapsulate data Support certan operatons (e.g., INSERT, DELETE, SEARCH) Our focus: effcency of

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

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

Algebraic properties of polynomial iterates

Algebraic properties of polynomial iterates Algebrac propertes of polynomal terates Alna Ostafe Department of Computng Macquare Unversty 1 Motvaton 1. Better and cryptographcally stronger pseudorandom number generators (PRNG) as lnear constructons

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

More metrics on cartesian products

More metrics on cartesian products More metrcs on cartesan products If (X, d ) are metrc spaces for 1 n, then n Secton II4 of the lecture notes we defned three metrcs on X whose underlyng topologes are the product topology The purpose of

More information

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

DISCRIMINANTS AND RAMIFIED PRIMES. 1. Introduction A prime number p is said to be ramified in a number field K if the prime ideal factorization

DISCRIMINANTS AND RAMIFIED PRIMES. 1. Introduction A prime number p is said to be ramified in a number field K if the prime ideal factorization DISCRIMINANTS AND RAMIFIED PRIMES KEITH CONRAD 1. Introducton A prme number p s sad to be ramfed n a number feld K f the prme deal factorzaton (1.1) (p) = po K = p e 1 1 peg g has some e greater than 1.

More information

Maximizing the number of nonnegative subsets

Maximizing the number of nonnegative subsets Maxmzng the number of nonnegatve subsets Noga Alon Hao Huang December 1, 213 Abstract Gven a set of n real numbers, f the sum of elements of every subset of sze larger than k s negatve, what s the maxmum

More information

U.C. Berkeley CS294: Spectral Methods and Expanders Handout 8 Luca Trevisan February 17, 2016

U.C. Berkeley CS294: Spectral Methods and Expanders Handout 8 Luca Trevisan February 17, 2016 U.C. Berkeley CS94: Spectral Methods and Expanders Handout 8 Luca Trevsan February 7, 06 Lecture 8: Spectral Algorthms Wrap-up In whch we talk about even more generalzatons of Cheeger s nequaltes, and

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

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

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

Affine transformations and convexity

Affine transformations and convexity Affne transformatons and convexty The purpose of ths document s to prove some basc propertes of affne transformatons nvolvng convex sets. Here are a few onlne references for background nformaton: http://math.ucr.edu/

More information

Notes on Frequency Estimation in Data Streams

Notes on Frequency Estimation in Data Streams Notes on Frequency Estmaton n Data Streams In (one of) the data streamng model(s), the data s a sequence of arrvals a 1, a 2,..., a m of the form a j = (, v) where s the dentty of the tem and belongs to

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

FINITELY-GENERATED MODULES OVER A PRINCIPAL IDEAL DOMAIN

FINITELY-GENERATED MODULES OVER A PRINCIPAL IDEAL DOMAIN FINITELY-GENERTED MODULES OVER PRINCIPL IDEL DOMIN EMMNUEL KOWLSKI Throughout ths note, s a prncpal deal doman. We recall the classfcaton theorem: Theorem 1. Let M be a fntely-generated -module. (1) 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

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

Modulo Magic Labeling in Digraphs

Modulo Magic Labeling in Digraphs Gen. Math. Notes, Vol. 7, No., August, 03, pp. 5- ISSN 9-784; Copyrght ICSRS Publcaton, 03 www.-csrs.org Avalable free onlne at http://www.geman.n Modulo Magc Labelng n Dgraphs L. Shobana and J. Baskar

More information

Factoring polynomials over Z4 and over certain Galois rings

Factoring polynomials over Z4 and over certain Galois rings Loughborough Unversty Insttutonal Repostory Factorng polynomals over Z4 and over certan Galos rngs Ths tem was submtted to Loughborough Unversty's Insttutonal Repostory by the/an author. Ctaton: SALAGEAN,

More information

Restricted Lie Algebras. Jared Warner

Restricted Lie Algebras. Jared Warner Restrcted Le Algebras Jared Warner 1. Defntons and Examples Defnton 1.1. Let k be a feld of characterstc p. A restrcted Le algebra (g, ( ) [p] ) s a Le algebra g over k and a map ( ) [p] : g g called

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 10: May 6, 2013

Lecture 10: May 6, 2013 TTIC/CMSC 31150 Mathematcal Toolkt Sprng 013 Madhur Tulsan Lecture 10: May 6, 013 Scrbe: Wenje Luo In today s lecture, we manly talked about random walk on graphs and ntroduce the concept of graph expander,

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

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

Finding Dense Subgraphs in G(n, 1/2)

Finding Dense Subgraphs in G(n, 1/2) Fndng Dense Subgraphs n Gn, 1/ Atsh Das Sarma 1, Amt Deshpande, and Rav Kannan 1 Georga Insttute of Technology,atsh@cc.gatech.edu Mcrosoft Research-Bangalore,amtdesh,annan@mcrosoft.com Abstract. Fndng

More information

Lecture Space-Bounded Derandomization

Lecture Space-Bounded Derandomization Notes on Complexty Theory Last updated: October, 2008 Jonathan Katz Lecture Space-Bounded Derandomzaton 1 Space-Bounded Derandomzaton We now dscuss derandomzaton of space-bounded algorthms. Here non-trval

More information

Volume 18 Figure 1. Notation 1. Notation 2. Observation 1. Remark 1. Remark 2. Remark 3. Remark 4. Remark 5. Remark 6. Theorem A [2]. Theorem B [2].

Volume 18 Figure 1. Notation 1. Notation 2. Observation 1. Remark 1. Remark 2. Remark 3. Remark 4. Remark 5. Remark 6. Theorem A [2]. Theorem B [2]. Bulletn of Mathematcal Scences and Applcatons Submtted: 016-04-07 ISSN: 78-9634, Vol. 18, pp 1-10 Revsed: 016-09-08 do:10.1805/www.scpress.com/bmsa.18.1 Accepted: 016-10-13 017 ScPress Ltd., Swtzerland

More information

On Finite Rank Perturbation of Diagonalizable Operators

On Finite Rank Perturbation of Diagonalizable Operators Functonal Analyss, Approxmaton and Computaton 6 (1) (2014), 49 53 Publshed by Faculty of Scences and Mathematcs, Unversty of Nš, Serba Avalable at: http://wwwpmfnacrs/faac On Fnte Rank Perturbaton of Dagonalzable

More information

Lecture 5 Decoding Binary BCH Codes

Lecture 5 Decoding Binary BCH Codes Lecture 5 Decodng Bnary BCH Codes In ths class, we wll ntroduce dfferent methods for decodng BCH codes 51 Decodng the [15, 7, 5] 2 -BCH Code Consder the [15, 7, 5] 2 -code C we ntroduced n the last lecture

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

Differential Polynomials

Differential Polynomials JASS 07 - Polynomals: Ther Power and How to Use Them Dfferental Polynomals Stephan Rtscher March 18, 2007 Abstract Ths artcle gves an bref ntroducton nto dfferental polynomals, deals and manfolds and ther

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

Introduction to Algorithms

Introduction to Algorithms Introducton to Algorthms 6.046J/18.401J Lecture 7 Prof. Potr Indyk Data Structures Role of data structures: Encapsulate data Support certan operatons (e.g., INSERT, DELETE, SEARCH) What data structures

More information

THERE ARE NO POINTS OF ORDER 11 ON ELLIPTIC CURVES OVER Q.

THERE ARE NO POINTS OF ORDER 11 ON ELLIPTIC CURVES OVER Q. THERE ARE NO POINTS OF ORDER 11 ON ELLIPTIC CURVES OVER Q. IAN KIMING We shall prove the followng result from [2]: Theorem 1. (Bllng-Mahler, 1940, cf. [2]) An ellptc curve defned over Q does not have a

More information

Lecture Notes on Linear Regression

Lecture Notes on Linear Regression Lecture Notes on Lnear Regresson Feng L fl@sdueducn Shandong Unversty, Chna Lnear Regresson Problem In regresson problem, we am at predct a contnuous target value gven an nput feature vector We assume

More information

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009

College of Computer & Information Science Fall 2009 Northeastern University 20 October 2009 College of Computer & Informaton Scence Fall 2009 Northeastern Unversty 20 October 2009 CS7880: Algorthmc Power Tools Scrbe: Jan Wen and Laura Poplawsk Lecture Outlne: Prmal-dual schema Network Desgn:

More information

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan 2/21/2008. Notes for Lecture 8

U.C. Berkeley CS278: Computational Complexity Professor Luca Trevisan 2/21/2008. Notes for Lecture 8 U.C. Berkeley CS278: Computatonal Complexty Handout N8 Professor Luca Trevsan 2/21/2008 Notes for Lecture 8 1 Undrected Connectvty In the undrected s t connectvty problem (abbrevated ST-UCONN) we are gven

More information

find (x): given element x, return the canonical element of the set containing x;

find (x): given element x, return the canonical element of the set containing x; COS 43 Sprng, 009 Dsjont Set Unon Problem: Mantan a collecton of dsjont sets. Two operatons: fnd the set contanng a gven element; unte two sets nto one (destructvely). Approach: Canoncal element method:

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

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

Cocyclic Butson Hadamard matrices and Codes over Z n via the Trace Map

Cocyclic Butson Hadamard matrices and Codes over Z n via the Trace Map Contemporary Mathematcs Cocyclc Butson Hadamard matrces and Codes over Z n va the Trace Map N. Pnnawala and A. Rao Abstract. Over the past couple of years trace maps over Galos felds and Galos rngs have

More information

Stanford University CS254: Computational Complexity Notes 7 Luca Trevisan January 29, Notes for Lecture 7

Stanford University CS254: Computational Complexity Notes 7 Luca Trevisan January 29, Notes for Lecture 7 Stanford Unversty CS54: Computatonal Complexty Notes 7 Luca Trevsan January 9, 014 Notes for Lecture 7 1 Approxmate Countng wt an N oracle We complete te proof of te followng result: Teorem 1 For every

More information

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017

U.C. Berkeley CS294: Beyond Worst-Case Analysis Luca Trevisan September 5, 2017 U.C. Berkeley CS94: Beyond Worst-Case Analyss Handout 4s Luca Trevsan September 5, 07 Summary of Lecture 4 In whch we ntroduce semdefnte programmng and apply t to Max Cut. Semdefnte Programmng Recall that

More information

12 MATH 101A: ALGEBRA I, PART C: MULTILINEAR ALGEBRA. 4. Tensor product

12 MATH 101A: ALGEBRA I, PART C: MULTILINEAR ALGEBRA. 4. Tensor product 12 MATH 101A: ALGEBRA I, PART C: MULTILINEAR ALGEBRA Here s an outlne of what I dd: (1) categorcal defnton (2) constructon (3) lst of basc propertes (4) dstrbutve property (5) rght exactness (6) localzaton

More information

STAT 309: MATHEMATICAL COMPUTATIONS I FALL 2018 LECTURE 16

STAT 309: MATHEMATICAL COMPUTATIONS I FALL 2018 LECTURE 16 STAT 39: MATHEMATICAL COMPUTATIONS I FALL 218 LECTURE 16 1 why teratve methods f we have a lnear system Ax = b where A s very, very large but s ether sparse or structured (eg, banded, Toepltz, banded plus

More information

Polynomials. 1 What is a polynomial? John Stalker

Polynomials. 1 What is a polynomial? John Stalker Polynomals John Stalker What s a polynomal? If you thnk you already know what a polynomal s then skp ths secton. Just be aware that I consstently wrte thngs lke p = c z j =0 nstead of p(z) = c z. =0 You

More information

Short running title: A generating function approach A GENERATING FUNCTION APPROACH TO COUNTING THEOREMS FOR SQUARE-FREE POLYNOMIALS AND MAXIMAL TORI

Short running title: A generating function approach A GENERATING FUNCTION APPROACH TO COUNTING THEOREMS FOR SQUARE-FREE POLYNOMIALS AND MAXIMAL TORI Short runnng ttle: A generatng functon approach A GENERATING FUNCTION APPROACH TO COUNTING THEOREMS FOR SQUARE-FREE POLYNOMIALS AND MAXIMAL TORI JASON FULMAN Abstract. A recent paper of Church, Ellenberg,

More information

The Geometry of Logit and Probit

The Geometry of Logit and Probit The Geometry of Logt and Probt Ths short note s meant as a supplement to Chapters and 3 of Spatal Models of Parlamentary Votng and the notaton and reference to fgures n the text below s to those two chapters.

More information

Representation theory and quantum mechanics tutorial Representation theory and quantum conservation laws

Representation theory and quantum mechanics tutorial Representation theory and quantum conservation laws Representaton theory and quantum mechancs tutoral Representaton theory and quantum conservaton laws Justn Campbell August 1, 2017 1 Generaltes on representaton theory 1.1 Let G GL m (R) be a real algebrac

More information

A CHARACTERIZATION OF ADDITIVE DERIVATIONS ON VON NEUMANN ALGEBRAS

A CHARACTERIZATION OF ADDITIVE DERIVATIONS ON VON NEUMANN ALGEBRAS Journal of Mathematcal Scences: Advances and Applcatons Volume 25, 2014, Pages 1-12 A CHARACTERIZATION OF ADDITIVE DERIVATIONS ON VON NEUMANN ALGEBRAS JIA JI, WEN ZHANG and XIAOFEI QI Department of Mathematcs

More information

A new construction of 3-separable matrices via an improved decoding of Macula s construction

A new construction of 3-separable matrices via an improved decoding of Macula s construction Dscrete Optmzaton 5 008 700 704 Contents lsts avalable at ScenceDrect Dscrete Optmzaton journal homepage: wwwelsevercom/locate/dsopt A new constructon of 3-separable matrces va an mproved decodng of Macula

More information

Learning Theory: Lecture Notes

Learning Theory: Lecture Notes Learnng Theory: Lecture Notes Lecturer: Kamalka Chaudhur Scrbe: Qush Wang October 27, 2012 1 The Agnostc PAC Model Recall that one of the constrants of the PAC model s that the data dstrbuton has to be

More information

A 2D Bounded Linear Program (H,c) 2D Linear Programming

A 2D Bounded Linear Program (H,c) 2D Linear Programming A 2D Bounded Lnear Program (H,c) h 3 v h 8 h 5 c h 4 h h 6 h 7 h 2 2D Lnear Programmng C s a polygonal regon, the ntersecton of n halfplanes. (H, c) s nfeasble, as C s empty. Feasble regon C s unbounded

More information

General viscosity iterative method for a sequence of quasi-nonexpansive mappings

General viscosity iterative method for a sequence of quasi-nonexpansive mappings Avalable onlne at www.tjnsa.com J. Nonlnear Sc. Appl. 9 (2016), 5672 5682 Research Artcle General vscosty teratve method for a sequence of quas-nonexpansve mappngs Cuje Zhang, Ynan Wang College of Scence,

More information

VQ widely used in coding speech, image, and video

VQ widely used in coding speech, image, and video at Scalar quantzers are specal cases of vector quantzers (VQ): they are constraned to look at one sample at a tme (memoryless) VQ does not have such constrant better RD perfomance expected Source codng

More information

n ). This is tight for all admissible values of t, k and n. k t + + n t

n ). This is tight for all admissible values of t, k and n. k t + + n t MAXIMIZING THE NUMBER OF NONNEGATIVE SUBSETS NOGA ALON, HAROUT AYDINIAN, AND HAO HUANG Abstract. Gven a set of n real numbers, f the sum of elements of every subset of sze larger than k s negatve, what

More information

NP-Completeness : Proofs

NP-Completeness : Proofs NP-Completeness : Proofs Proof Methods A method to show a decson problem Π NP-complete s as follows. (1) Show Π NP. (2) Choose an NP-complete problem Π. (3) Show Π Π. A method to show an optmzaton problem

More information

Every planar graph is 4-colourable a proof without computer

Every planar graph is 4-colourable a proof without computer Peter Dörre Department of Informatcs and Natural Scences Fachhochschule Südwestfalen (Unversty of Appled Scences) Frauenstuhlweg 31, D-58644 Iserlohn, Germany Emal: doerre(at)fh-swf.de Mathematcs Subject

More information

Algorithms for factoring

Algorithms for factoring CSA E0 235: Crytograhy Arl 9,2015 Instructor: Arta Patra Algorthms for factorng Submtted by: Jay Oza, Nranjan Sngh Introducton Factorsaton of large ntegers has been a wdely studed toc manly because of

More information

BOUNDEDNESS OF THE RIESZ TRANSFORM WITH MATRIX A 2 WEIGHTS

BOUNDEDNESS OF THE RIESZ TRANSFORM WITH MATRIX A 2 WEIGHTS BOUNDEDNESS OF THE IESZ TANSFOM WITH MATIX A WEIGHTS Introducton Let L = L ( n, be the functon space wth norm (ˆ f L = f(x C dx d < For a d d matrx valued functon W : wth W (x postve sem-defnte for all

More information

Lecture 2: Gram-Schmidt Vectors and the LLL Algorithm

Lecture 2: Gram-Schmidt Vectors and the LLL Algorithm NYU, Fall 2016 Lattces Mn Course Lecture 2: Gram-Schmdt Vectors and the LLL Algorthm Lecturer: Noah Stephens-Davdowtz 2.1 The Shortest Vector Problem In our last lecture, we consdered short solutons to

More information

Eigenvalues of Random Graphs

Eigenvalues of Random Graphs Spectral Graph Theory Lecture 2 Egenvalues of Random Graphs Danel A. Spelman November 4, 202 2. Introducton In ths lecture, we consder a random graph on n vertces n whch each edge s chosen to be n the

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

On quasiperfect numbers

On quasiperfect numbers Notes on Number Theory and Dscrete Mathematcs Prnt ISSN 1310 5132, Onlne ISSN 2367 8275 Vol. 23, 2017, No. 3, 73 78 On quasperfect numbers V. Sva Rama Prasad 1 and C. Suntha 2 1 Nalla Malla Reddy Engneerng

More information

The Ramanujan-Nagell Theorem: Understanding the Proof By Spencer De Chenne

The Ramanujan-Nagell Theorem: Understanding the Proof By Spencer De Chenne The Ramanujan-Nagell Theorem: Understandng the Proof By Spencer De Chenne 1 Introducton The Ramanujan-Nagell Theorem, frst proposed as a conjecture by Srnvasa Ramanujan n 1943 and later proven by Trygve

More information

Graph Reconstruction by Permutations

Graph Reconstruction by Permutations Graph Reconstructon by Permutatons Perre Ille and Wllam Kocay* Insttut de Mathémathques de Lumny CNRS UMR 6206 163 avenue de Lumny, Case 907 13288 Marselle Cedex 9, France e-mal: lle@ml.unv-mrs.fr Computer

More information

LECTURE V. 1. More on the Chinese Remainder Theorem We begin by recalling this theorem, proven in the preceeding lecture.

LECTURE V. 1. More on the Chinese Remainder Theorem We begin by recalling this theorem, proven in the preceeding lecture. LECTURE V EDWIN SPARK 1. More on the Chnese Remander Theorem We begn by recallng ths theorem, proven n the preceedng lecture. Theorem 1.1 (Chnese Remander Theorem). Let R be a rng wth deals I 1, I 2,...,

More information

MATH 241B FUNCTIONAL ANALYSIS - NOTES EXAMPLES OF C ALGEBRAS

MATH 241B FUNCTIONAL ANALYSIS - NOTES EXAMPLES OF C ALGEBRAS MATH 241B FUNCTIONAL ANALYSIS - NOTES EXAMPLES OF C ALGEBRAS These are nformal notes whch cover some of the materal whch s not n the course book. The man purpose s to gve a number of nontrval examples

More information

Polynomials. 1 More properties of polynomials

Polynomials. 1 More properties of polynomials Polynomals 1 More propertes of polynomals Recall that, for R a commutatve rng wth unty (as wth all rngs n ths course unless otherwse noted), we defne R[x] to be the set of expressons n =0 a x, where a

More information

Composite Hypotheses testing

Composite Hypotheses testing Composte ypotheses testng In many hypothess testng problems there are many possble dstrbutons that can occur under each of the hypotheses. The output of the source s a set of parameters (ponts n a parameter

More information

Chowla s Problem on the Non-Vanishing of Certain Infinite Series and Related Questions

Chowla s Problem on the Non-Vanishing of Certain Infinite Series and Related Questions Proc. Int. Conf. Number Theory and Dscrete Geometry No. 4, 2007, pp. 7 79. Chowla s Problem on the Non-Vanshng of Certan Infnte Seres and Related Questons N. Saradha School of Mathematcs, Tata Insttute

More information

Distribution of subgraphs of random regular graphs

Distribution of subgraphs of random regular graphs Dstrbuton of subgraphs of random regular graphs Zhcheng Gao Faculty of Busness Admnstraton Unversty of Macau Macau Chna zcgao@umac.mo N. C. Wormald Department of Combnatorcs and Optmzaton Unversty of Waterloo

More information

From the Euclidean Algorithm for Solving a Key Equation for Dual Reed Solomon Codes to the Berlekamp-Massey Algorithm

From the Euclidean Algorithm for Solving a Key Equation for Dual Reed Solomon Codes to the Berlekamp-Massey Algorithm 1 / 32 From the Eucldean Algorthm for Solvng a Key Equaton for Dual Reed Solomon Codes to the Berlekamp-Massey Algorthm Mara Bras-Amorós, Mchael E O Sullvan The Claude Shannon Insttute Workshop on Codng

More information

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 3, Issue 1, July 2013

ISSN: ISO 9001:2008 Certified International Journal of Engineering and Innovative Technology (IJEIT) Volume 3, Issue 1, July 2013 ISSN: 2277-375 Constructon of Trend Free Run Orders for Orthogonal rrays Usng Codes bstract: Sometmes when the expermental runs are carred out n a tme order sequence, the response can depend on the run

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

U.C. Berkeley CS294: Beyond Worst-Case Analysis Handout 6 Luca Trevisan September 12, 2017

U.C. Berkeley CS294: Beyond Worst-Case Analysis Handout 6 Luca Trevisan September 12, 2017 U.C. Berkeley CS94: Beyond Worst-Case Analyss Handout 6 Luca Trevsan September, 07 Scrbed by Theo McKenze Lecture 6 In whch we study the spectrum of random graphs. Overvew When attemptng to fnd n polynomal

More information

Randić Energy and Randić Estrada Index of a Graph

Randić Energy and Randić Estrada Index of a Graph EUROPEAN JOURNAL OF PURE AND APPLIED MATHEMATICS Vol. 5, No., 202, 88-96 ISSN 307-5543 www.ejpam.com SPECIAL ISSUE FOR THE INTERNATIONAL CONFERENCE ON APPLIED ANALYSIS AND ALGEBRA 29 JUNE -02JULY 20, ISTANBUL

More information

Approximate Smallest Enclosing Balls

Approximate Smallest Enclosing Balls Chapter 5 Approxmate Smallest Enclosng Balls 5. Boundng Volumes A boundng volume for a set S R d s a superset of S wth a smple shape, for example a box, a ball, or an ellpsod. Fgure 5.: Boundng boxes Q(P

More information

Linear, affine, and convex sets and hulls In the sequel, unless otherwise specified, X will denote a real vector space.

Linear, affine, and convex sets and hulls In the sequel, unless otherwise specified, X will denote a real vector space. Lnear, affne, and convex sets and hulls In the sequel, unless otherwse specfed, X wll denote a real vector space. Lnes and segments. Gven two ponts x, y X, we defne xy = {x + t(y x) : t R} = {(1 t)x +

More information

Smarandache-Zero Divisors in Group Rings

Smarandache-Zero Divisors in Group Rings Smarandache-Zero Dvsors n Group Rngs W.B. Vasantha and Moon K. Chetry Department of Mathematcs I.I.T Madras, Chenna The study of zero-dvsors n group rngs had become nterestng problem snce 1940 wth the

More information

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction

The Multiple Classical Linear Regression Model (CLRM): Specification and Assumptions. 1. Introduction ECONOMICS 5* -- NOTE (Summary) ECON 5* -- NOTE The Multple Classcal Lnear Regresson Model (CLRM): Specfcaton and Assumptons. Introducton CLRM stands for the Classcal Lnear Regresson Model. The CLRM s also

More information

Supplement: Proofs and Technical Details for The Solution Path of the Generalized Lasso

Supplement: Proofs and Technical Details for The Solution Path of the Generalized Lasso Supplement: Proofs and Techncal Detals for The Soluton Path of the Generalzed Lasso Ryan J. Tbshran Jonathan Taylor In ths document we gve supplementary detals to the paper The Soluton Path of the Generalzed

More information

NOTES ON SIMPLIFICATION OF MATRICES

NOTES ON SIMPLIFICATION OF MATRICES NOTES ON SIMPLIFICATION OF MATRICES JONATHAN LUK These notes dscuss how to smplfy an (n n) matrx In partcular, we expand on some of the materal from the textbook (wth some repetton) Part of the exposton

More information

REDUCTION MODULO p. We will prove the reduction modulo p theorem in the general form as given by exercise 4.12, p. 143, of [1].

REDUCTION MODULO p. We will prove the reduction modulo p theorem in the general form as given by exercise 4.12, p. 143, of [1]. REDUCTION MODULO p. IAN KIMING We wll prove the reducton modulo p theorem n the general form as gven by exercse 4.12, p. 143, of [1]. We consder an ellptc curve E defned over Q and gven by a Weerstraß

More information

Efficient Decomposition of Associative Algebras

Efficient Decomposition of Associative Algebras Effcent Decomposton of Assocatve Algebras W Eberly Department of Computer Scence Unversty of Calgary Calgary, Alberta Canada, T2N 1N4 emal: eberly@cpscucalgaryca M Gesbrecht Department of Computer Scence

More information

Calculation of time complexity (3%)

Calculation of time complexity (3%) Problem 1. (30%) Calculaton of tme complexty (3%) Gven n ctes, usng exhaust search to see every result takes O(n!). Calculaton of tme needed to solve the problem (2%) 40 ctes:40! dfferent tours 40 add

More information

Advanced Algebraic Algorithms on Integers and Polynomials

Advanced Algebraic Algorithms on Integers and Polynomials Advanced Algebrac Algorthms on Integers and Polynomals Analyss of Algorthms Prepared by John Ref, Ph.D. Integer and Polynomal Computatons a) Newton Iteraton: applcaton to dvson b) Evaluaton and Interpolaton

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

An Introduction to Morita Theory

An Introduction to Morita Theory An Introducton to Morta Theory Matt Booth October 2015 Nov. 2017: made a few revsons. Thanks to Nng Shan for catchng a typo. My man reference for these notes was Chapter II of Bass s book Algebrac K-Theory

More information

Singular Value Decomposition: Theory and Applications

Singular Value Decomposition: Theory and Applications Sngular Value Decomposton: Theory and Applcatons Danel Khashab Sprng 2015 Last Update: March 2, 2015 1 Introducton A = UDV where columns of U and V are orthonormal and matrx D s dagonal wth postve real

More information

Christian Aebi Collège Calvin, Geneva, Switzerland

Christian Aebi Collège Calvin, Geneva, Switzerland #A7 INTEGERS 12 (2012) A PROPERTY OF TWIN PRIMES Chrstan Aeb Collège Calvn, Geneva, Swtzerland chrstan.aeb@edu.ge.ch Grant Carns Department of Mathematcs, La Trobe Unversty, Melbourne, Australa G.Carns@latrobe.edu.au

More information