Polynomial functions over nite commutative rings

Size: px
Start display at page:

Download "Polynomial functions over nite commutative rings"

Transcription

1 Polynomial functions over nite commutative rings Balázs Bulyovszky a, Gábor Horváth a, a Institute of Mathematics, University of Debrecen, Pf. 400, Debrecen, 4002, Hungary Abstract We prove a necessary and sucient condition for a function being a polynomial function over a nite, commutative, unital ring. Further, we give an algorithm running in quasilinear time that determines whether or not a function given by its function table can be represented by a polynomial, and if the answer is yes then it provides one such polynomial. Keywords: polynomial functions; local rings; interpolation 2010 MSC: 13M10, 13P99, 13H05, 13F10, 11T06 1. Introduction It is well-known that given nitely many pairs (a i, b i ) (0 i n) over a eld, there exists a polynomial p of degree at most n such that p(a i ) = b i for all 0 i n. Several classical interpolation methods exists e.g. by Lagrange, by Newton or by Hermite to name a few. A direct consequence of these results is that an arbitrary function over a nite eld can be represented by a polynomial. These methods, however, do not generalize in a straightforward manner to commutative rings. In fact, not even every function can be represented by a polynomial over a nite commutative ring which is not a eld. The question arises naturally: given a nite ring R and a function f : R R, does there exists a polynomial p R[x] such that p(r) = f(r) for every r R, and if such polynomial exists, then how could one nd such a polynomial? Carlitz [1] gave several necessary and sucient conditions for a function over Z p t being a polynomial function. For example, a function f : Z p t Z p t is a polynomial function if and only if there exists φ 0,..., φ t 1 : Z p t Z p t such that f(r + sp) = φ 0 (r) + (sp)φ 1 (r) + + (sp) t 1 φ t 1 (r) Corresponding author Preprint submitted to Elsevier July 23, 2017

2 holds for every r, s Z p t. Several generalizations of this result have been proved since, e.g by Spira [2] or later by Jiang, Peng, Sun and Zhang [3]. Note, however, that such a condition is not useful from an algorithmic perspective as it does not help nding a polynomial representing the input function f. Guha and Dukkipati [4] gave an algorithmically useful necessary and suf- cient condition for a function f : Z p t Z p t being a polynomial function. Let u 0 : Z p t Z p t be the function dened by { 0, if p r, u 0 (r) = 1, if p r, and let u k : Z p t Z p t (1 k t 1) be u k (r) = { 0, if p r, r k, if p r. Then f can be represented by a polynomial if and only if it is a linear combination of u 0,..., u t 1 and their shifts. Further, they gave an algorithm running in O (p t t + pt 3 ) time nding a polynomial representing f if one exists. Later they generalized their results to functions over Z n [5]. Both papers [4, 5] are based on Carlitz's result [1]. In this paper we generalize the results of Guha and Dukkipati [4, 5] to arbitrary nite, commutative, unital rings. Our proof is direct and is not based on Carlitz's result [1]. Further, we provide an algorithm running in quasilinear time (in the size of the ring) that determines whether or not function (over a nite, commutative, unital ring) given by its function table can be represented by a polynomial, and if yes then computes one such polynomial, as well. As every nite commutative, unital ring is a direct sum of local rings [6, Theorem VI.2], one only needs to consider these problems over nite, commutative, unital, local rings. In Section 2 we recall some basic facts necessary for our work. In particular, in Section 2.1 we summarize the most important properties of local rings, introduce functions u 0,..., u t 1 for local rings and prove that they are indeed polynomial functions. In Section 3 we generalize Guha and Dukkipati's necessary and sucient condition from [4] to arbitrary nite, commutative, unital, local rings by proving the following. Theorem 1. Let R be a nite, commutative, unital, local ring with maximal ideal M. Let t be the smallest positive integer for which M t = { 0 }. Let f : R R be an arbitrary function. Then f is a polynomial function over 2

3 R if and only if f can be written as a linear combination of the shifts of u 0,..., u t 1, where u 0 is the characteristic function of M, and u k (x) = x k u 0 (x) (1 k t 1). Let f : R R be an arbitrary function given by its function table. That is, f is given as the set of pairs (r, f(r)) for all r R, and the size of f is O ( R ). In Section 4 we provide an algorithm running in quasilinear time in R determining whether or not f is a polynomial function, and if yes then computing a polynomial representing f. Theorem 2. Let R be a nite, commutative, unital, local ring with maximal ideal M. Let t be the smallest positive integer for which M t = { 0 }. Let f : R R be an arbitrary function given by its function table. Then there exists an algorithm that decides whether or not f is a polynomial function, and if yes, then gives a polynomial that represents f, and the running time of this algorithm is O ( R t), if M is a principal ideal, and R/M t, T O ( R t 2 ), if M is a principal ideal, and R/M < t, O ( R t 2 log 3 M ), if M is not a principal ideal. Here and throughout the paper by log we mean base 2 logarithm. The running time of our algorithm is similar to that of Guha and Dukkipati [4, 5] for Z p t, p t. We need the notion of Galois rings in our algorithm, therefore we recall their main properties in Section Preliminaries Let R be a nite, commutative, unital ring. A polynomial p R[x] naturally induces a function p f : R R by substitution. A function f : R R is a polynomial function if there exists a polynomial p f R[x] such that p f (r) = f(r) for every r R. Every nite commutative, unital ring is a direct sum of local rings [6, Theorem VI.2]. Therefore, to understand polynomial functions over an arbitrary nite, commutative, unital ring, it is enough to consider local rings in the following Local rings A ring is local if it has a unique maximal ideal. We summarize some of the most important properties of local rings by [6, Chapter V]. Let R be a nite, commutative, unital, local ring with maximal ideal M. Let t denote the smallest positive integer for which M t = { 0 }. Note, that the quotient R/M is a eld, and for the set of invertible elements we have R = R \ M. 3

4 Further, if M = (m) is a principal ideal, then every r R can be written in the form sm i for some s R and 0 i t, and then all ideals of R are principal ideals generated by m i for some 0 i t. Let r R and f : R R be an arbitrary function. Let the shift of f by r be the function f r : R R, f r (x) = f(x r). Note that if f, g : R R are polynomial functions, then f + g, r f and f r are polynomial functions, as well (for every r R). Let u 1,..., u k : R R be arbitrary functions. Let u 1,..., u k denote the set of functions that can be written as a linear combination of shifts of u 1,..., u k with coecients from R. For every k { 0,..., t 1 } let u k : R R be the function dened as { 0, if x / M, u 0 (x) = (1) 1, if x M, and u k (x) = { 0, if x / M, x k, if x M. (2) Lemma 3. The functions u 0,..., u t 1 dened by (1) and (2) are polynomial functions over R. Proof. It is enough to prove that u 0 is a polynomial function, since u k (x) = x k u 0 (x). Recall that R = R \ M, and t was the smallest positive integer for which M t = { 0 }. Let d be the smallest multiple of exp R, which is at least t. That is, d t is the smallest positive integer, such that r d = 1 for every r R. Let p u0 (x) = 1 x d. We prove that p u0 (r) = u 0 (r) for every r R. Indeed, if r M, then d t implies r d = 0, hence p u0 (r) = 1 r d = 1 0 = 1. On the other hand, if r R \ M, then r is invertible, thus r d = 1, and p u0 (r) = 1 r d = 1 1 = 0. 4

5 2.2. Galois-rings In order to explain our algorithm in detail, we will need the notion of Galois-rings. Galois-rings have an important role in the theory of nite commutative rings [7, 8, 9]. Now, we summarize some of their properties by [6, Chapters XVIXVII]. Let h e (x) Z[x] be a monic polynomial of degree e, which is irreducible over Z p. Let c be positive integer. Then the Galois-ring GR(p c, e) is dened as the quotient Z[x]/(p c, h e (x)). Note, that the numbers p, c, e determine the Galois-ring GR(p c, e) up to isomorphism, that is GR(p c, e) is independent from the choice of h e. The Galois-ring GR(p c, e) is a nite, commutative, unital ring of size p ce and of characteristic p c. In particular, if c = 1, then GR(p, e) is isomorphic to the eld F p e, and if e = 1 (i.e. the degree of h e is 1), then GR(p c, 1) is isomorphic to Z p c. The Galois-ring GR(p c, e) is a local ring, its unique maximal ideal is (p), and (p) is its Jacobson-radical, as well. Furthermore, for every ideal I GR (p c, e) there exists 0 i c, such that I = (p i ). That is, every ideal of the Galois-ring is a principal ideal. Further, for every 1 i c the quotient GR(p c, e)/(p i ) is isomorphic to the Galois-ring GR(p i, e). In particular, the quotient by the Jacobson-radical is isomorphic to the eld F p e. Let R be a nite, commutative, unital, local ring with maximal ideal M and of characteristic p c, and assume R/M = p e. Then there exists a subring R 0 R, such that R 0 GR(p c, e). Consider R as an R 0 -module. Since every ideal of R 0 is principal, there exist elements b 1,..., b d R, such that R = R 0 b 1 R 0 b d as R 0 -modules [10]. That is, every r R can be written in the form d r = r i b i, i=1 where r i R 0, and r = 0 if and only if r i b i = 0 for every 1 i d. That is, r = 0 if and only if r i Ann(b i ), where Ann(b i ) = { r R 0 rb i = 0 }. Further, Ann(b i ) R 0 implies Ann(b i ) = (p c i ) for some 1 c i c. In particular, r i b i = 0 if and only if p c c i r i = 0 in R 0. Finally, b 1,..., b d can be chosen such that b 1 = 1, b 2,..., b d M, and Ann(b i ) R 0 (1 j d). In particular, Ann(b 1 ) = { 0 }, and R = d R 0 / Ann(b i ) R 0 2 d 1 R/M 2 d 1, i=1 thus d 1 log M. 5

6 3. The necessary and sucient condition We prove Theorem 1 in this section. Proof of Theorem 1. First, let f u 0,..., u t 1. By Lemma 3 the functions u 0,..., u t 1 can be represented by a polynomial. This implies that any shift and any linear combination of these shifts can be represented by a polynomial. Thus, the function f can be represented by a polynomial, as well. For the other direction, let f be a polynomial function. That is, there exists a polynomial p f R[x], such that p f (r) = f(r) for every r R. Let q = R/M, and let s 1,..., s q be an arbitrary representation system for the cosets of M. For every 1 j q let v j (x) = p f (x) u 0 (x s j ). Note that the functions v j (x) are polynomials as well, since p f (x) and u 0 (x) are polynomials. Then { f(r), if r s j + M, v j (r) = 0, if r / s j + M, and f = v v q. Therefore, it is enough to prove v j u 0,..., u t 1 for every j { 1,..., q }. For every 1 j q let w j (x) := v j (x + s j ). (3) Since v j is a polynomial, w j (x) is a polynomial as well, hence w j (x) = n a k x k for some a k R. We prove that for every r R w j (r) = a k u k (r). First, let r M. Recall, that M t = { 0 }. Now, u k (r) = r k for 0 k t 1, and u k (r) = 0 if k t. Now, we have w j (r) = n a k r k = a k r k = a k u k (r). 6

7 Now, let r / M. Then u k (r) = 0 for every 0 k t 1, that is This implies By (3) we have w j (r) = v j (r + s j ) = 0 = a k u k (r). w j (x) = a k u k (x). v j (x) = a k u k (x s j ), hence v j u 0, u 1,..., u t 1. Therefore, we have f = v v q u 0, u 1,..., u t 1, as well. 4. The algorithm Let R be a nite, commutative, unital, local ring with maximal ideal M, such that R/M = q = p e. Let s 1,..., s q be an arbitrary representation system for the cosets of M, but choose s q = 0 for convenience. Let t be the smallest positive integer for which M t = { 0 }. We assume M 2, otherwise R is a eld, in which case interpolation methods are well-known. Note, that log M M 1. We assume that the ring elements and the ideal structure of R are given in advance, and are not part of the input. Namely, R, M, q, t, s 1,... s q are already known. Further, we assume that every ring operation (including addition, multiplication and nding the inverse if one exists) takes one time-step. Let u 0 be the characteristic function of M dened by (1), and for every 1 k t 1 let u k be dened as u k (x) = x k u 0 (x). Let f : R R be a function given by its function table. That is, f is given as the set of pairs (r, f(r)) for all r R. Note, that only f is the input of our algorithm, the ring R and its elements, etc. are not. With the notations from Theorem 1 we have f(x) = q j=1 v j(x), where { f(x), if x s j M, v j (x) = 0, if x s j / M, for every j {1,..., q}. Let us assume that f is a polynomial function. By Theorem 1 every v j is a polynomial function, that is v j (x) = α j,k u k (x s j ) (4) 7

8 for some coecients α j,k. This implies f(x) = q α j,k u k (x s j ). j=1 Our aim is to determine the coecients α j,k (1 j q, 0 k t 1). The pseudocode for the main algorithm can be found as Algorithm 4.4 in Section 4.4. The algorithm consists of a main loop for j running from 1 to q (lines 434 of Algorithm 4.4), and each iteration determines the coecients α j,k (0 k t 1) and thus v j by (4). We explain the iteration for j = q, that is we detail the case for s q = 0. For every 1 j q 1 the coecients α j,k are determined similarly after an appropriate shift by s j (cf. lines 6 and 32 of Algorithm 4.4). First, for every r R let us substitute x = r into (4) for j = q to obtain v q (r) = α q,k u k (r). (5) Note, that if r / M, then u k (r) = 0 for every k {0,..., t 1}, that is v q (r) = 0. Thus, to determine all α q,k, one only needs to consider the equations in (5) for r M. From now on for easier notation we use α k instead of α q,k. Now, the M -many equations (5) take the form v q (r) = α k u k (r) = α k r k (r M). (6) Let A R M t be the matrix, whose rows are indexed by the elements of M, and the kth element of row r is r k 1. Let α denote the column vector (α 0,..., α t 1 ) T, and let the column vector v R M contain the element v q (r) in row r. (The matrix A, the vector v and the independent variables α are dened in lines 511 of Algorithm 4.4.) Now, the system of equations (6) is equivalent to the system of linear equations Aα = v. (7) Note, however, that if R is not a eld, then it is not straightforward whether or not Gaussian elimination can be used to solve such a system. We separate three cases to determine the vector α, depending on whether or not M is a principal ideal and q t or q < t. 8

9 4.1. M is a principal ideal and q t Let M = (m) for some m M. Again, we consider m as given in advance and not part of the input. Let us write every r R in the form r = sm i such that the power i is maximal. Then s R \ M = R. See Algorithm 4.1 in Section 4.4 for the pseudocode. Now, s 1,..., s q was a representation system of R/M. Consider the rst t of these elements: s 1,..., s t. Now, s i s j / M if 1 i j t. Let r 1 = s 1 m,..., r t = s t m, and consider the t t submatrix of A created by the rows corresponding to r 1,..., r t. Note, that this matrix is a Vandermonde-matrix, let us denote this matrix by V (r 1,..., r t ). We prove that (7) has a solution if and only if its subsystem corresponding to V (r 1,..., r t ) has a solution, and if that (arbitrary) solution satises (7). Now, V (r 1,..., r t ) = V (s 1,..., s t ) D, where V (s 1,..., s t ) denotes the Vandermonde-matrix corresponding to s 1,..., s t, and m D = 0 0 m m t 1 Now, det(v (s 1,..., s t )) = i<j (s i s j ) R = R \ M, since for every 1 i j t we have s i s j / M, and hence s i s j is invertible. This implies that the matrix V (s 1,..., s t ) is invertible, let L denote its inverse. One can determine L by applying GaussJordan elimination on V (s 1,..., s t ) in O (t 3 ) time. Note, that LV (r 1,..., r t ) = LV (s 1,..., s t ) D = D. That is, performing the same row operations on V (r 1,..., r t ), one obtains D as a result. That is, the GaussJordan elimination on V (r 1,..., r t ) results in the system m m m t 1 α 0 α 1 α 2. α t 1 = for b 0, b 1, b 2,..., b t 1 R, where b = (b 0, b 1, b 2,... b t 1 ) T = Lv. The system (8) is solvable if and only if b k is divisible by m k for every 0 k t 1, but the solution of (8) is not necessarily unique. Note, 9 b 0 b 1 b 2. b t 1 (8)

10 however, that if any solution of (8) satises (7), then every solution satises (7). Indeed, let α 0,..., α t 1 be an arbitrary solution of (8), and let r M be arbitrary. Write r = sm i for some i 1. Then multiplying the rth row of A by α results in α k r k = α k s k m ik = α k m k s k m (i 1)k = b k s k m (i 1)k, which is independent of the choice of α as a solution of (8). Thus, Algorithm 4.1 runs as follows. In lines 37 it obtains the system (8) in O (t 3 ) time if L is not computed, yet. Then in lines 814 it solves (8) in O (t) time. Finally, in lines 1519 it checks in O ( M t) time whether or not this solution of (8) satises the system (7). That is the system (7) can be solved in O (t 3 + M t) time. If a solution is found, then v q can immediately be obtained from it as a linear combination of u k s (line 32 of Algorithm 4.4), and the polynomial representation of v q can be obtained by Lemma 3 (line 35 of Algorithm 4.4). Repeating the algorithm for every coset s j + M and function v j gives a polynomial representation of f if one exists. Note that one does not need to recompute the steps of the GaussJordanelimination on every coset s j + M if one chooses the rows corresponding to the elements r 1 +s j,... r t +s j. Indeed, in that case GaussJordan-elimination would result in the same row operations, that is the matrix L is independent of j. Thus, only b needs to be recomputed (line 7 in Algorithm 4.1), which only needs an additional O (t 2 ) O ( M t) time for each j. Further, t 1 + log M 2 M 2 R, thus t 3 2 R t. Therefore, the time requirement of the entire algorithm in this case is O ( t 3 + ( M t) R/M ) O ( t 3 + R t ) O ( R t) M is a principal ideal (and q < t) See Algorithm 4.2 in Section 4.4 for the pseudocode. Recall, that M being principal yields that every ideal of R is principal (see Section 2.1). Then the matrix of the system (7) can be written in Hermite normal form [11]. A matrix is in Hermite normal form, if every row's rst occurring non-zero element is strictly right from that of the previous row. If R is a commutative unital ring, and every ideal of R is a principal ideal, then any matrix over R can be written in Hermite normal form using only invertible operations [11]. Note, however, that the algorithm described in [11] is more general than what we need. Therefore, Algorithm 4.2 explains a slightly more ecient way of writing the matrix A (in fact, any matrix over R) into Hermite normal form using modied Gauss-elimination. Again, let M = (m) for some m M, 10

11 and write every element of A in the form r = sm i, where s R (line 2 of Algorithm 4.2). Further, assume that A has t A columns and M A rows (if A is the matrix in (7), then t A = t and M A = M ). Now we explain lines 613 of Algorithm 4.2. Let a 1 = u 1 m k 1 (u 1 R ) be an element of A with smallest power of m. Move a 1 to the top left corner by swapping (possibly) two rows and two columns. From here on, every row operation is applied to the vector on the right-hand side of (7), and together with a column-swap we swap the appropriate coordinates of the vector α, as well. Now, multiply the rst row with u 1 1, and then subtract the appropriate multiple of the rst row from every other row such that the rst element of every other row becomes 0. Let A (1) denote the matrix obtained this way. By the choice of a 1, every element of A (1) is divisible by the top left element m k 1. The matrix A (1) can be obtained in O ( M t) time. This is the rst iteration of lines 613 of Algorithm 4.2. Assume that after the lth step we have a matrix A (l). Let a (l) j,k denote the k-th element of the j-th row in the matrix A (l). Assume further, that the top left l l-block in A (l) is an upper-triangular matrix with increasing powers of m in the diagonal, and a (l) j,k is divisible by a(l) i,i (1 i l) if j i and k i, and a (l) j,k = 0 if k l < j. We explain step l + 1. Let a l+1 = u l+1 m k l+1 (ul+1 R ) be an element among a (l) j,k (j, k > l) with smallest power of m. Replace a l+1 by a (l) l+1,l+1 using a row-swap and a column-swap. Multiply row l+1 with u 1 l+1, and then subtract the appropriate multiple of row l + 1 from every other row below row l + 1 such that column l + 1 below row l + 1 becomes 0. Let A (l+1) denote the matrix obtained this way. Now, the top left (l + 1) (l + 1)-block in A (l+1) is an upper-triangular matrix with increasing powers of m in the diagonal, and a (l+1) j,k a (l+1) i,i is divisible by (1 i l + 1) if j i and k i, and a (l+1) j,k = 0 if k l + 1 < j. Now, A R M A t A, thus repeating these steps min { ta, M A } times results in a matrix (denoted by A (t A) ), having increasing powers of m in its diagonal and every element under the diagonal is 0. Further, every element right or below a diagonal element is divisible by that diagonal element. The matrix A (t A) can be determined in O ( M A t A min { t A, M A }) steps from A. Hence, in O ( M A t A min { t A, M A }) time one can write the system (7) in Hermite- 11

12 normal form and obtain the equivalent system m k 1 a (t A) 1,2 a (t A) 1,3... a (t A) 1,t A 1 0 m k 2 a (t A) 2,3... a (t A) 2,t A m k 3... a (t A) 3,t A m kt A α 0 α 1 α 2. α ta 1 = b 1 b 2 b 3. b t b t+1. b M (9) for some appropriate b 1,..., b M R. (Note, that the coordinates of the vector α may be permuted, but that can be handled by simply re-indexing them.) Now, (9) (and thus (7)) has no solutions if b i 0 for any i > t A (lines 2123 of Algorithm 4.2). From now on we assume b i = 0 for every i > t A. Further, for every 1 i t A the element a (t A) i,j is divisible by m k i. Hence, if b i is not divisible by m k i for some 1 i t A, then (9) (and thus (7)) has no solutions (line 25 of Algorithm 4.2). Now we provide a solution of (9) (and thus of (7)) if b i is divisible by m k i for every 1 i t A. We solve (9) from bottom to top. Assume that for some 1 i t A 1 we have managed to nd α i+1,..., α ta 1 satisfying all but the rst i rows of (9). Now, the ith row is m k i α i + t A j=i+1 a (t A) i,j α j = b i. (10) Now, a (t A) i,j is divisible by m k i for every j > i. Hence, if b i is divisible by m k i, as well, then one can nd α i satisfying (10) (line 28 of Algorithm 4.2). Running i from t to 1 one can obtain a solution of (9), and thus, one of (7) (lines 2430 of Algorithm 4.2). Therefore, a linear system is solvable in O ( M A t A min { t A, M A }) time, if the matrix A has t A -many columns and M A -many rows. In particular, the system (7) is solvable in O ( M t 2 ) time, giving v q as a linear combination of u k s (line 32 of Algorithm 4.4), if possible. From this one can easily obtain the polynomial representation of v q using e.g. Lemma 3 (line 35 of Algorithm 4.4). Repeating Algorithm 4.2 for every coset s j + M and function v j, one obtains a polynomial representation of f = v v q, if one exists. The time needed for the entire algorithm in this case is O ( M t 2 R/M ) = O ( R t 2). 12

13 4.3. M is not a principal ideal See Algorithm 4.3 in Section 4.4 for the pseudocode. Let the characteristic of R be p c, and recall that R/M = p e. Then there exists a subring R 0 R such that R 0 GR(p c, e). Consider R as an R 0 -module. Since R 0 is isomorphic to a Galois-ring, every ideal of R 0 is a principal ideal. By [10] R is the direct sum of cyclic R 0 -modules. That is, there exist elements b 1,..., b d R (for some d) such that R = R 0 b 1 R 0 b d as a module. In fact, these elements can be chosen such that b 1 = 1, b 2,..., b d M. Now, every r R can be written in the form d r = r i b i, (11) i=1 where r i R 0. Further, r = 0 if and only if r i b i = 0 for every 1 i d, that is if r i Ann(b i ) R 0. In particular, Ann(b i ) = (p c i ) for some 1 c i c, and r i b i = 0 if and only if p c c i r i = 0 in R 0. Note, that one may run r i over R 0 / Ann(b i ) for all 1 i d and compute the right-hand side of (11), thus obtaining the decomposition of every r R in O ( R d) time (lines 37 of Algorithm 4.3). Storing these computations in an appropriate lookup table, we may assume that nding the form (11) of an arbitrary r R takes O (d) time. Consider system (7). Let us rewrite A and v using (11) as d A = A i b i, and (12) v = i=1 d v k b k, (13) k=1 where the elements of the matrices A i and of the vectors v k are all in R 0. Write α into the formal sum β 1 b β d b d where every β j is considered to be a vector of variables over R 0. Then system (7) can be rewritten as ( d ) d β j b j = v k b k. (14) i=1 A i b i) ( d j=1 Expanding the product of two sums on the left-hand side of (14), we obtain summands in the form of A i b i b j β j (1 i, j d). Again, by (11), b i b j can be written in the form d k=1 r i,j,kb k for some r i,j,k R 0 (1 i, j, k d). Hence, the system (14) can be rewritten as ( d d ) d A i r i,j,k β j v k b k = 0. k=1 i=1 j=1 13 k=1

14 Thus, (7) is solvable if and only if d d ( ) i=1 j=1 Ai r i,j,k β j v k bk = 0 is solvable for every 1 k d, that is if d d i=1 j=1 A ir i,j,k β j v k Ann(b k ) for every 1 k d for some β j from R 0. Since Ann(b k ) = (p c k ), the system (7) is solvable if and only if ( d ) d p c ck A i r i,j,k β j v k = 0 (15) i=1 j=1 has a solution in R 0 for every 1 k d. That is, we reduced solving (7) over R to solving a system of equations over R 0 having a base matrix of size M d td. This system is computed in lines 1520 of Algorithm 4.3. Finally, R 0 GR(p c, e) with maximal ideal (p), thus we are able to solve system (15) over R 0 by Algorithm 4.2 in Section 4.2 in O ( ( M d) (td) 2) = O ( M t 2 d 3 ) time. Now, we compute the time requirement of the algorithm in the case when M is not a principal ideal. Computing the form (11) for every r R takes O ( R d) time, but this needs to be computed only once (lines 37 of Algorithm 4.3). Rewriting every b i b j as d k=1 r i,j,kb k takes O(d 3 ) time (lines 814 of Algorithm 4.3). Obtaining (15) takes O ( M td 3 ) time (lines 1520 of Algorithm 4.3), solving (15) takes O ( M t 2 d 3 ) time (lines 2126 of Algorithm 4.3). In particular, the system (7) is solvable in O ( M t 2 d 3 ) time, giving v q as a linear combination of u k s (line 32 of Algorithm 4.4), if possible. From this one can easily obtain the polynomial representation of v q using e.g. Lemma 3 (line 35 of Algorithm 4.4). Repeating Algorithm 4.3 for every coset s j + M and function v j, one obtains a polynomial representation of f = v 1 + +v q, if one exists. Thus, the time requirement of the algorithm is O ( R d + R/M M t 2 d 3) = O ( R t 2 d 3). Now, b 2,..., b d M yields d 1 + log M 2 log M. Therefore, the time requirement of the algorithm is 4.4. Pseudocode of the algorithm O ( R t 2 d 3) O ( R t 2 log 3 M ). Finally, we list the pseudocode for the main algorithm (as Algorithm 4.4) and for the three cases (as Algorithms 4.1, 4.2, and 4.3 for Section 4.1, 4.2, and 4.3, respectively). 14

15 Algorithm 4.1 Pseudo code for SolveByInverse (Section 4.1) Input: 1: R, M, t, q, s 1,..., s q, m // given in advance 2: A, v, (optional: L) // input Output: α solution of Aα = v, if exists, and false, otherwise 3: if L is not dened then 4: V V (s 1,..., s t ) // Vandermonde-matrix 5: L V 1 // by GaussJordan elimination 6: end if 7: b Lv 8: for k = 0 to t 1 do 9: if m k b k then 10: α k one instance of b k /m k 11: else 12: return false and exit 13: end if 14: end for 15: for all r M do 16: if t 1 α kr k v(r) then 17: return false and exit 18: end if 19: end for 20: return (α 0,..., α t 1 ) T 15

16 Algorithm 4.2 Pseudo code for SolveByHermite (Section 4.2) Input: 1: A, v, R, M, m // input Output: α solution of Aα = v, if exists, and false, otherwise 2: write every element of A in the form sm i, where s R 3: A (0) A, and v (0) v 4: t A number of columns in A // A has t columns in (7) 5: M A number of rows in A // A has M rows in (7) 6: for l = 1 to min { t A, M A } do // modied Gauss-elimination 7: nd a l = u l m k l with smallest m-power in A (l 1) 8: switch a l 's row by the lth row of A (l 1) and switch the corresponding elements in v (l 1) 9: switch a l 's column by the lth column of A (l 1) and switch the corresponding variables in α 10: multiply row l of A (l 1) and of v (l 1) by u 1 l 11: for k = l + 1 to m A do 12: subtract appropriate multiple of lth row from row k such that its lth element becomes 0 (apply to both A (l 1) and v (l 1) ) 13: end for 14: A (l) matrix obtained from A (l 1) 15: k l power of m in a (l) l,l 16: v (l) vector obtained from v (l 1) 17: end for 18: A (ta) last A (l) // A (ta) is in Hermite normal form, see (9) 19: b last v (l) 20: for i = M A downto 1 do 21: if i > t A and b i 0 then 22: return false and exit 23: end if 24: if i t A then 25: if m k i b i then 26: return false and exit 27: else 28: α i b i /m k i t A j=i+1 α j a (t A) i,j /m k i 29: end if 30: end if 31: end for 32: return (α 0,..., α ta 1) T 16

17 Algorithm 4.3 Pseudo code for SolveByModule (Section 4.3) Input: 1: R, M, t, q, s 1,..., s q, R 0, b 1,..., b d, p, c, c 1,..., c d // given in advance 2: A, v (optional: LookupT able) // input Output: α solution of Aα = v, if exists, and false, otherwise 3: if LookupT able is not dened then 4: for all r R do // by iterating over cosets of R/ Ann(b i ) 5: compute r = d i=1 r ib i form and store the values in LookupT able 6: end for 7: end if 8: for i = 1 to d do 9: for j = 1 to d do 10: for k = 1 to d do 11: r i,j,k from LookupT able (b i b j ) 12: end for 13: end for 14: end for 15: for k = 1 to d do 16: Matrix k p c c k d i=1 d j=1 r i,j,ka i 17: v k p c c k vk 18: end for 19: Matrix ( Matrix T 1,..., Matrix T d ) T 20: vector ( v T 1,..., v T d 21: if SolveByHermite(Matrix, vector, R 0, (p), p) = false then 22: return false and exit 23: else ( ) 24: β T 1,..., β T T d SolveByHermite(Matrix, vector, R0, (p), p) 25: return d j=1 β jb j 26: end if ) T 17

18 Algorithm 4.4 Pseudo code for the main algorithm FindPolynomial Input: 1: R, M, t, q, s 1,..., s q, m, R 0, b 1,..., b d, p, c, c 1,..., c d // given in advance 2: f given as (r, f(r)) for all r R // input Output: a polynomial representing f if exists, and false otherwise 3: p f (x) 0 4: for j = 1 to q do // run through all cosets of M 5: for all r M do // dene vector and matrix of (7) 6: v(r) f(r + s j ) 7: for k = 1 to t do 8: a r,k r k 1 9: end for 10: end for 11: A ((a r,k )) 12: if M = (m) then 13: if q t then // Section : if L is already computed from a previous SolveByInverse run then 15: α SolveByInverse (A, v, L) 16: else 17: α SolveByInverse (A, v) 18: end if 19: else // Section : α SolveByHermite (A, v, R, M, m) 21: end if 22: else // Section : if LookupT able is already computed from a previous SolveByModule run then 24: α SolveByModule (A, v, LookupT able) 25: else 26: α SolveByModule (A, v) 27: end if 28: end if 29: if α = false then 30: return false and exit 31: else 32: p f (x) p f (x) + t 1 α ku k (x s j ) 33: end if 34: end for 35: p f (x) replace each u k by its representing polynomial from Lemma 3 36: return p f (x) 18

19 5. Acknowledgements We thank the anonymous referee for their suggestions, which signicantly improved the presentation of the paper. The research was supported by the Hungarian National Research, Development and Innovation Oce (NKFIH) grant no. K and grant no. FK [1] L. Carlitz, Functions and polynomials (mod p n ), Acta Arith. 9 (1964) [2] R. Spira, Polynomial interpolation over commutative rings, The American Mathematical Monthly 75 (6) (1968) [3] J. J. Jiang, G. H. Peng, Q. Sun, Q. F. Zhang, On polynomial functions over nite commutative rings, Acta Math. Sin. (Engl. Ser.) 22 (4) (2006) doi: /s URL [4] A. Guha, A. Dukkipati, An algorithmic characterization of polynomial functions over Z p n, Algorithmica 71 (2015) [5] A. Guha, A. Dukkipati, A faster algorithm for testing polynomial representability of functions over nite integer rings, Theoretical Computer Science 579 (2015) [6] B. R. MacDonald, Finite rings with identity, M. Dekker, [7] R. Raghavendran, Finite associative rings, Compositio Math. 21 (2) (1969) [8] R. S. Wilson, On the structure of nite rings, Compositio Math. 26 (1) (1973) [9] R. S. Wilson, On the structure of nite rings II, Pacic Journal of Mathematics 51 (1) (1974) [10] G. Köthe, Verallgemeinerte Abelsche Gruppen mit hyperkomplexem Operatorenring, Math. Z. 39 (1) (1935) doi: /bf URL [11] J. L. Hafner, K. S. McCurley, Asymptotically fast triangularization of matrices over rings, SIAM J. Comput. 20 (6) (1991) doi: / URL 19

x 3 2x = (x 2) (x 2 2x + 1) + (x 2) x 2 2x + 1 = (x 4) (x + 2) + 9 (x + 2) = ( 1 9 x ) (9) + 0

x 3 2x = (x 2) (x 2 2x + 1) + (x 2) x 2 2x + 1 = (x 4) (x + 2) + 9 (x + 2) = ( 1 9 x ) (9) + 0 1. (a) i. State and prove Wilson's Theorem. ii. Show that, if p is a prime number congruent to 1 modulo 4, then there exists a solution to the congruence x 2 1 mod p. (b) i. Let p(x), q(x) be polynomials

More information

MATH 326: RINGS AND MODULES STEFAN GILLE

MATH 326: RINGS AND MODULES STEFAN GILLE MATH 326: RINGS AND MODULES STEFAN GILLE 1 2 STEFAN GILLE 1. Rings We recall first the definition of a group. 1.1. Definition. Let G be a non empty set. The set G is called a group if there is a map called

More information

Lifting to non-integral idempotents

Lifting to non-integral idempotents Journal of Pure and Applied Algebra 162 (2001) 359 366 www.elsevier.com/locate/jpaa Lifting to non-integral idempotents Georey R. Robinson School of Mathematics and Statistics, University of Birmingham,

More information

. Consider the linear system dx= =! = " a b # x y! : (a) For what values of a and b do solutions oscillate (i.e., do both x(t) and y(t) pass through z

. Consider the linear system dx= =! =  a b # x y! : (a) For what values of a and b do solutions oscillate (i.e., do both x(t) and y(t) pass through z Preliminary Exam { 1999 Morning Part Instructions: No calculators or crib sheets are allowed. Do as many problems as you can. Justify your answers as much as you can but very briey. 1. For positive real

More information

RINGS: SUMMARY OF MATERIAL

RINGS: SUMMARY OF MATERIAL RINGS: SUMMARY OF MATERIAL BRIAN OSSERMAN This is a summary of terms used and main results proved in the subject of rings, from Chapters 11-13 of Artin. Definitions not included here may be considered

More information

Divisor matrices and magic sequences

Divisor matrices and magic sequences Discrete Mathematics 250 (2002) 125 135 www.elsevier.com/locate/disc Divisor matrices and magic sequences R.H. Jeurissen Mathematical Institute, University of Nijmegen, Toernooiveld, 6525 ED Nijmegen,

More information

Example 2: Let R be any commutative ring with 1, fix a R, and let. I = ar = {ar : r R},

Example 2: Let R be any commutative ring with 1, fix a R, and let. I = ar = {ar : r R}, 25. Ideals and quotient rings We continue our study of rings by making analogies with groups. The next concept we introduce is that of an ideal of a ring. Ideals are ring-theoretic counterparts of normal

More information

4.4 Noetherian Rings

4.4 Noetherian Rings 4.4 Noetherian Rings Recall that a ring A is Noetherian if it satisfies the following three equivalent conditions: (1) Every nonempty set of ideals of A has a maximal element (the maximal condition); (2)

More information

ALGEBRA QUALIFYING EXAM SPRING 2012

ALGEBRA QUALIFYING EXAM SPRING 2012 ALGEBRA QUALIFYING EXAM SPRING 2012 Work all of the problems. Justify the statements in your solutions by reference to specific results, as appropriate. Partial credit is awarded for partial solutions.

More information

1 Matrices and Systems of Linear Equations

1 Matrices and Systems of Linear Equations Linear Algebra (part ) : Matrices and Systems of Linear Equations (by Evan Dummit, 207, v 260) Contents Matrices and Systems of Linear Equations Systems of Linear Equations Elimination, Matrix Formulation

More information

ALGEBRA HW 4. M 0 is an exact sequence of R-modules, then M is Noetherian if and only if M and M are.

ALGEBRA HW 4. M 0 is an exact sequence of R-modules, then M is Noetherian if and only if M and M are. ALGEBRA HW 4 CLAY SHONKWILER (a): Show that if 0 M f M g M 0 is an exact sequence of R-modules, then M is Noetherian if and only if M and M are. Proof. ( ) Suppose M is Noetherian. Then M injects into

More information

List of topics for the preliminary exam in algebra

List of topics for the preliminary exam in algebra List of topics for the preliminary exam in algebra 1 Basic concepts 1. Binary relations. Reflexive, symmetric/antisymmetryc, and transitive relations. Order and equivalence relations. Equivalence classes.

More information

Algebraic structures I

Algebraic structures I MTH5100 Assignment 1-10 Algebraic structures I For handing in on various dates January March 2011 1 FUNCTIONS. Say which of the following rules successfully define functions, giving reasons. For each one

More information

Linear Algebra (part 1) : Matrices and Systems of Linear Equations (by Evan Dummit, 2016, v. 2.02)

Linear Algebra (part 1) : Matrices and Systems of Linear Equations (by Evan Dummit, 2016, v. 2.02) Linear Algebra (part ) : Matrices and Systems of Linear Equations (by Evan Dummit, 206, v 202) Contents 2 Matrices and Systems of Linear Equations 2 Systems of Linear Equations 2 Elimination, Matrix Formulation

More information

Solutions of exercise sheet 8

Solutions of exercise sheet 8 D-MATH Algebra I HS 14 Prof. Emmanuel Kowalski Solutions of exercise sheet 8 1. In this exercise, we will give a characterization for solvable groups using commutator subgroups. See last semester s (Algebra

More information

x y B =. v u Note that the determinant of B is xu + yv = 1. Thus B is invertible, with inverse u y v x On the other hand, d BA = va + ub 2

x y B =. v u Note that the determinant of B is xu + yv = 1. Thus B is invertible, with inverse u y v x On the other hand, d BA = va + ub 2 5. Finitely Generated Modules over a PID We want to give a complete classification of finitely generated modules over a PID. ecall that a finitely generated module is a quotient of n, a free module. Let

More information

A connection between number theory and linear algebra

A connection between number theory and linear algebra A connection between number theory and linear algebra Mark Steinberger Contents 1. Some basics 1 2. Rational canonical form 2 3. Prime factorization in F[x] 4 4. Units and order 5 5. Finite fields 7 6.

More information

Some generalizations of Abhyankar lemma. K.N.Ponomaryov. Abstract. ramied extensions of discretely valued elds for an arbitrary (not

Some generalizations of Abhyankar lemma. K.N.Ponomaryov. Abstract. ramied extensions of discretely valued elds for an arbitrary (not Some generalizations of Abhyankar lemma. K.N.Ponomaryov Abstract We prove some generalizations of Abhyankar lemma about tamely ramied extensions of discretely valued elds for an arbitrary (not nite, not

More information

Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) 1.1 The Formal Denition of a Vector Space

Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) 1.1 The Formal Denition of a Vector Space Linear Algebra (part 1) : Vector Spaces (by Evan Dummit, 2017, v. 1.07) Contents 1 Vector Spaces 1 1.1 The Formal Denition of a Vector Space.................................. 1 1.2 Subspaces...................................................

More information

Fraction-free Row Reduction of Matrices of Skew Polynomials

Fraction-free Row Reduction of Matrices of Skew Polynomials Fraction-free Row Reduction of Matrices of Skew Polynomials Bernhard Beckermann Laboratoire d Analyse Numérique et d Optimisation Université des Sciences et Technologies de Lille France bbecker@ano.univ-lille1.fr

More information

Algebra Qualifying Exam August 2001 Do all 5 problems. 1. Let G be afinite group of order 504 = 23 32 7. a. Show that G cannot be isomorphic to a subgroup of the alternating group Alt 7. (5 points) b.

More information

Standard Koszul standardly stratied algebras

Standard Koszul standardly stratied algebras Standard Koszul standardly stratied algebras Erzsébet Lukács, András Magyar Abstract In this paper, we prove that every standard Koszul (not necessarily graded) standardly stratied algebra is also Koszul.

More information

1 Solutions to selected problems

1 Solutions to selected problems Solutions to selected problems Section., #a,c,d. a. p x = n for i = n : 0 p x = xp x + i end b. z = x, y = x for i = : n y = y + x i z = zy end c. y = (t x ), p t = a for i = : n y = y(t x i ) p t = p

More information

VII Selected Topics. 28 Matrix Operations

VII Selected Topics. 28 Matrix Operations VII Selected Topics Matrix Operations Linear Programming Number Theoretic Algorithms Polynomials and the FFT Approximation Algorithms 28 Matrix Operations We focus on how to multiply matrices and solve

More information

Algebra Homework, Edition 2 9 September 2010

Algebra Homework, Edition 2 9 September 2010 Algebra Homework, Edition 2 9 September 2010 Problem 6. (1) Let I and J be ideals of a commutative ring R with I + J = R. Prove that IJ = I J. (2) Let I, J, and K be ideals of a principal ideal domain.

More information

Computational Methods. Systems of Linear Equations

Computational Methods. Systems of Linear Equations Computational Methods Systems of Linear Equations Manfred Huber 2010 1 Systems of Equations Often a system model contains multiple variables (parameters) and contains multiple equations Multiple equations

More information

LECTURE NOTES IN CRYPTOGRAPHY

LECTURE NOTES IN CRYPTOGRAPHY 1 LECTURE NOTES IN CRYPTOGRAPHY Thomas Johansson 2005/2006 c Thomas Johansson 2006 2 Chapter 1 Abstract algebra and Number theory Before we start the treatment of cryptography we need to review some basic

More information

ALGEBRA EXERCISES, PhD EXAMINATION LEVEL

ALGEBRA EXERCISES, PhD EXAMINATION LEVEL ALGEBRA EXERCISES, PhD EXAMINATION LEVEL 1. Suppose that G is a finite group. (a) Prove that if G is nilpotent, and H is any proper subgroup, then H is a proper subgroup of its normalizer. (b) Use (a)

More information

CANONICAL FORMS FOR LINEAR TRANSFORMATIONS AND MATRICES. D. Katz

CANONICAL FORMS FOR LINEAR TRANSFORMATIONS AND MATRICES. D. Katz CANONICAL FORMS FOR LINEAR TRANSFORMATIONS AND MATRICES D. Katz The purpose of this note is to present the rational canonical form and Jordan canonical form theorems for my M790 class. Throughout, we fix

More information

Fast Polynomial Multiplication

Fast Polynomial Multiplication Fast Polynomial Multiplication Marc Moreno Maza CS 9652, October 4, 2017 Plan Primitive roots of unity The discrete Fourier transform Convolution of polynomials The fast Fourier transform Fast convolution

More information

Ideals of Endomorphism rings 15 discrete valuation ring exists. We address this problem in x3 and obtain Baer's Theorem for vector spaces as a corolla

Ideals of Endomorphism rings 15 discrete valuation ring exists. We address this problem in x3 and obtain Baer's Theorem for vector spaces as a corolla 1. Introduction DESCRIBING IDEALS OF ENDOMORPHISM RINGS Brendan Goldsmith and Simone Pabst It is well known that the ring of linear transformations of a nite dimensional vector space is simple, i.e. it

More information

CHAPTER I. Rings. Definition A ring R is a set with two binary operations, addition + and

CHAPTER I. Rings. Definition A ring R is a set with two binary operations, addition + and CHAPTER I Rings 1.1 Definitions and Examples Definition 1.1.1. A ring R is a set with two binary operations, addition + and multiplication satisfying the following conditions for all a, b, c in R : (i)

More information

1. Group Theory Permutations.

1. Group Theory Permutations. 1.1. Permutations. 1. Group Theory Problem 1.1. Let G be a subgroup of S n of index 2. Show that G = A n. Problem 1.2. Find two elements of S 7 that have the same order but are not conjugate. Let π S 7

More information

Math 429/581 (Advanced) Group Theory. Summary of Definitions, Examples, and Theorems by Stefan Gille

Math 429/581 (Advanced) Group Theory. Summary of Definitions, Examples, and Theorems by Stefan Gille Math 429/581 (Advanced) Group Theory Summary of Definitions, Examples, and Theorems by Stefan Gille 1 2 0. Group Operations 0.1. Definition. Let G be a group and X a set. A (left) operation of G on X is

More information

Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra

Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra Course 311: Michaelmas Term 2005 Part III: Topics in Commutative Algebra D. R. Wilkins Contents 3 Topics in Commutative Algebra 2 3.1 Rings and Fields......................... 2 3.2 Ideals...............................

More information

The following can also be obtained from this WWW address: the papers [8, 9], more examples, comments on the implementation and a short description of

The following can also be obtained from this WWW address: the papers [8, 9], more examples, comments on the implementation and a short description of An algorithm for computing the Weierstrass normal form Mark van Hoeij Department of mathematics University of Nijmegen 6525 ED Nijmegen The Netherlands e-mail: hoeij@sci.kun.nl April 9, 1995 Abstract This

More information

School of Mathematics and Statistics. MT5836 Galois Theory. Handout 0: Course Information

School of Mathematics and Statistics. MT5836 Galois Theory. Handout 0: Course Information MRQ 2017 School of Mathematics and Statistics MT5836 Galois Theory Handout 0: Course Information Lecturer: Martyn Quick, Room 326. Prerequisite: MT3505 (or MT4517) Rings & Fields Lectures: Tutorials: Mon

More information

2 (17) Find non-trivial left and right ideals of the ring of 22 matrices over R. Show that there are no nontrivial two sided ideals. (18) State and pr

2 (17) Find non-trivial left and right ideals of the ring of 22 matrices over R. Show that there are no nontrivial two sided ideals. (18) State and pr MATHEMATICS Introduction to Modern Algebra II Review. (1) Give an example of a non-commutative ring; a ring without unit; a division ring which is not a eld and a ring which is not a domain. (2) Show that

More information

Math 120 HW 9 Solutions

Math 120 HW 9 Solutions Math 120 HW 9 Solutions June 8, 2018 Question 1 Write down a ring homomorphism (no proof required) f from R = Z[ 11] = {a + b 11 a, b Z} to S = Z/35Z. The main difficulty is to find an element x Z/35Z

More information

Algebra Exam Topics. Updated August 2017

Algebra Exam Topics. Updated August 2017 Algebra Exam Topics Updated August 2017 Starting Fall 2017, the Masters Algebra Exam will have 14 questions. Of these students will answer the first 8 questions from Topics 1, 2, and 3. They then have

More information

J. Symbolic Computation (1995) 11, 1{000 An algorithm for computing an integral basis in an algebraic function eld Mark van Hoeij Department of mathem

J. Symbolic Computation (1995) 11, 1{000 An algorithm for computing an integral basis in an algebraic function eld Mark van Hoeij Department of mathem J. Symbolic Computation (1995) 11, 1{000 An algorithm for computing an integral basis in an algebraic function eld Mark van Hoeij Department of mathematics University of Nijmegen 6525 ED Nijmegen The Netherlands

More information

Linear Regression and Its Applications

Linear Regression and Its Applications Linear Regression and Its Applications Predrag Radivojac October 13, 2014 Given a data set D = {(x i, y i )} n the objective is to learn the relationship between features and the target. We usually start

More information

Group Theory. 1. Show that Φ maps a conjugacy class of G into a conjugacy class of G.

Group Theory. 1. Show that Φ maps a conjugacy class of G into a conjugacy class of G. Group Theory Jan 2012 #6 Prove that if G is a nonabelian group, then G/Z(G) is not cyclic. Aug 2011 #9 (Jan 2010 #5) Prove that any group of order p 2 is an abelian group. Jan 2012 #7 G is nonabelian nite

More information

Linear Algebra March 16, 2019

Linear Algebra March 16, 2019 Linear Algebra March 16, 2019 2 Contents 0.1 Notation................................ 4 1 Systems of linear equations, and matrices 5 1.1 Systems of linear equations..................... 5 1.2 Augmented

More information

Linear Equations and Matrix

Linear Equations and Matrix 1/60 Chia-Ping Chen Professor Department of Computer Science and Engineering National Sun Yat-sen University Linear Algebra Gaussian Elimination 2/60 Alpha Go Linear algebra begins with a system of linear

More information

Efficient random number generation on FPGA-s

Efficient random number generation on FPGA-s Proceedings of the 9 th International Conference on Applied Informatics Eger, Hungary, January 29 February 1, 2014. Vol. 1. pp. 313 320 doi: 10.14794/ICAI.9.2014.1.313 Efficient random number generation

More information

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations Chapter 1: Systems of linear equations and matrices Section 1.1: Introduction to systems of linear equations Definition: A linear equation in n variables can be expressed in the form a 1 x 1 + a 2 x 2

More information

Finitely Generated Modules over a PID, I

Finitely Generated Modules over a PID, I Finitely Generated Modules over a PID, I A will throughout be a fixed PID. We will develop the structure theory for finitely generated A-modules. Lemma 1 Any submodule M F of a free A-module is itself

More information

Algebra Ph.D. Entrance Exam Fall 2009 September 3, 2009

Algebra Ph.D. Entrance Exam Fall 2009 September 3, 2009 Algebra Ph.D. Entrance Exam Fall 2009 September 3, 2009 Directions: Solve 10 of the following problems. Mark which of the problems are to be graded. Without clear indication which problems are to be graded

More information

(1) for all (2) for all and all

(1) for all (2) for all and all 8. Linear mappings and matrices A mapping f from IR n to IR m is called linear if it fulfills the following two properties: (1) for all (2) for all and all Mappings of this sort appear frequently in the

More information

Linear Algebra, 3rd day, Wednesday 6/30/04 REU Info:

Linear Algebra, 3rd day, Wednesday 6/30/04 REU Info: Linear Algebra, 3rd day, Wednesday 6/30/04 REU 2004. Info: http://people.cs.uchicago.edu/laci/reu04. Instructor: Laszlo Babai Scribe: Richard Cudney Rank Let V be a vector space. Denition 3.. Let S V,

More information

Homework 8 Solutions to Selected Problems

Homework 8 Solutions to Selected Problems Homework 8 Solutions to Selected Problems June 7, 01 1 Chapter 17, Problem Let f(x D[x] and suppose f(x is reducible in D[x]. That is, there exist polynomials g(x and h(x in D[x] such that g(x and h(x

More information

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4 Linear Algebra Section. : LU Decomposition Section. : Permutations and transposes Wednesday, February 1th Math 01 Week # 1 The LU Decomposition We learned last time that we can factor a invertible matrix

More information

Tori for some locally integral group rings

Tori for some locally integral group rings Tori for some locally integral group rings Diagonalizability over a principal ideal domain Master's Thesis Fabian Hartkopf May 217 Contents Preface............................................... 5.1 Introduction..........................................

More information

Polynomial Rings. i=0. i=0. n+m. i=0. k=0

Polynomial Rings. i=0. i=0. n+m. i=0. k=0 Polynomial Rings 1. Definitions and Basic Properties For convenience, the ring will always be a commutative ring with identity. Basic Properties The polynomial ring R[x] in the indeterminate x with coefficients

More information

Counting bases of representable matroids

Counting bases of representable matroids Counting bases of representable matroids Michael Snook School of Mathematics, Statistics and Operations Research Victoria University of Wellington Wellington, New Zealand michael.snook@msor.vuw.ac.nz Submitted:

More information

Eighth Homework Solutions

Eighth Homework Solutions Math 4124 Wednesday, April 20 Eighth Homework Solutions 1. Exercise 5.2.1(e). Determine the number of nonisomorphic abelian groups of order 2704. First we write 2704 as a product of prime powers, namely

More information

A division algorithm

A division algorithm A division algorithm Fred Richman Florida Atlantic University Boca Raton, FL 33431 richman@fau.edu Abstract A divisibility test of Arend Heyting, for polynomials over a eld in an intuitionistic setting,

More information

LINEAR SYSTEMS (11) Intensive Computation

LINEAR SYSTEMS (11) Intensive Computation LINEAR SYSTEMS () Intensive Computation 27-8 prof. Annalisa Massini Viviana Arrigoni EXACT METHODS:. GAUSSIAN ELIMINATION. 2. CHOLESKY DECOMPOSITION. ITERATIVE METHODS:. JACOBI. 2. GAUSS-SEIDEL 2 CHOLESKY

More information

4. Noether normalisation

4. Noether normalisation 4. Noether normalisation We shall say that a ring R is an affine ring (or affine k-algebra) if R is isomorphic to a polynomial ring over a field k with finitely many indeterminates modulo an ideal, i.e.,

More information

Structure of rings. Chapter Algebras

Structure of rings. Chapter Algebras Chapter 5 Structure of rings 5.1 Algebras It is time to introduce the notion of an algebra over a commutative ring. So let R be a commutative ring. An R-algebra is a ring A (unital as always) together

More information

SPRING 2006 PRELIMINARY EXAMINATION SOLUTIONS

SPRING 2006 PRELIMINARY EXAMINATION SOLUTIONS SPRING 006 PRELIMINARY EXAMINATION SOLUTIONS 1A. Let G be the subgroup of the free abelian group Z 4 consisting of all integer vectors (x, y, z, w) such that x + 3y + 5z + 7w = 0. (a) Determine a linearly

More information

ADVANCED COMMUTATIVE ALGEBRA: PROBLEM SETS

ADVANCED COMMUTATIVE ALGEBRA: PROBLEM SETS ADVANCED COMMUTATIVE ALGEBRA: PROBLEM SETS UZI VISHNE The 11 problem sets below were composed by Michael Schein, according to his course. Take into account that we are covering slightly different material.

More information

290 J.M. Carnicer, J.M. Pe~na basis (u 1 ; : : : ; u n ) consisting of minimally supported elements, yet also has a basis (v 1 ; : : : ; v n ) which f

290 J.M. Carnicer, J.M. Pe~na basis (u 1 ; : : : ; u n ) consisting of minimally supported elements, yet also has a basis (v 1 ; : : : ; v n ) which f Numer. Math. 67: 289{301 (1994) Numerische Mathematik c Springer-Verlag 1994 Electronic Edition Least supported bases and local linear independence J.M. Carnicer, J.M. Pe~na? Departamento de Matematica

More information

arxiv: v1 [math.ra] 15 Dec 2015

arxiv: v1 [math.ra] 15 Dec 2015 NIL-GOOD AND NIL-GOOD CLEAN MATRIX RINGS ALEXI BLOCK GORMAN AND WING YAN SHIAO arxiv:151204640v1 [mathra] 15 Dec 2015 Abstract The notion of clean rings and 2-good rings have many variations, and have

More information

Matrices and Vectors

Matrices and Vectors Matrices and Vectors James K. Peterson Department of Biological Sciences and Department of Mathematical Sciences Clemson University November 11, 2013 Outline 1 Matrices and Vectors 2 Vector Details 3 Matrix

More information

Review of Basic Concepts in Linear Algebra

Review of Basic Concepts in Linear Algebra Review of Basic Concepts in Linear Algebra Grady B Wright Department of Mathematics Boise State University September 7, 2017 Math 565 Linear Algebra Review September 7, 2017 1 / 40 Numerical Linear Algebra

More information

Midterm for Introduction to Numerical Analysis I, AMSC/CMSC 466, on 10/29/2015

Midterm for Introduction to Numerical Analysis I, AMSC/CMSC 466, on 10/29/2015 Midterm for Introduction to Numerical Analysis I, AMSC/CMSC 466, on 10/29/2015 The test lasts 1 hour and 15 minutes. No documents are allowed. The use of a calculator, cell phone or other equivalent electronic

More information

Sample algebra qualifying exam

Sample algebra qualifying exam Sample algebra qualifying exam University of Hawai i at Mānoa Spring 2016 2 Part I 1. Group theory In this section, D n and C n denote, respectively, the symmetry group of the regular n-gon (of order 2n)

More information

Rings. Chapter 1. Definition 1.2. A commutative ring R is a ring in which multiplication is commutative. That is, ab = ba for all a, b R.

Rings. Chapter 1. Definition 1.2. A commutative ring R is a ring in which multiplication is commutative. That is, ab = ba for all a, b R. Chapter 1 Rings We have spent the term studying groups. A group is a set with a binary operation that satisfies certain properties. But many algebraic structures such as R, Z, and Z n come with two binary

More information

17 Galois Fields Introduction Primitive Elements Roots of Polynomials... 8

17 Galois Fields Introduction Primitive Elements Roots of Polynomials... 8 Contents 17 Galois Fields 2 17.1 Introduction............................... 2 17.2 Irreducible Polynomials, Construction of GF(q m )... 3 17.3 Primitive Elements... 6 17.4 Roots of Polynomials..........................

More information

Rings. EE 387, Notes 7, Handout #10

Rings. EE 387, Notes 7, Handout #10 Rings EE 387, Notes 7, Handout #10 Definition: A ring is a set R with binary operations, + and, that satisfy the following axioms: 1. (R, +) is a commutative group (five axioms) 2. Associative law for

More information

MT5836 Galois Theory MRQ

MT5836 Galois Theory MRQ MT5836 Galois Theory MRQ May 3, 2017 Contents Introduction 3 Structure of the lecture course............................... 4 Recommended texts..................................... 4 1 Rings, Fields and

More information

Ring Theory Problems. A σ

Ring Theory Problems. A σ Ring Theory Problems 1. Given the commutative diagram α A σ B β A σ B show that α: ker σ ker σ and that β : coker σ coker σ. Here coker σ = B/σ(A). 2. Let K be a field, let V be an infinite dimensional

More information

Lecture 12 (Tue, Mar 5) Gaussian elimination and LU factorization (II)

Lecture 12 (Tue, Mar 5) Gaussian elimination and LU factorization (II) Math 59 Lecture 2 (Tue Mar 5) Gaussian elimination and LU factorization (II) 2 Gaussian elimination - LU factorization For a general n n matrix A the Gaussian elimination produces an LU factorization if

More information

2 Section 2 However, in order to apply the above idea, we will need to allow non standard intervals ('; ) in the proof. More precisely, ' and may gene

2 Section 2 However, in order to apply the above idea, we will need to allow non standard intervals ('; ) in the proof. More precisely, ' and may gene Introduction 1 A dierential intermediate value theorem by Joris van der Hoeven D pt. de Math matiques (B t. 425) Universit Paris-Sud 91405 Orsay Cedex France June 2000 Abstract Let T be the eld of grid-based

More information

COURSE SUMMARY FOR MATH 504, FALL QUARTER : MODERN ALGEBRA

COURSE SUMMARY FOR MATH 504, FALL QUARTER : MODERN ALGEBRA COURSE SUMMARY FOR MATH 504, FALL QUARTER 2017-8: MODERN ALGEBRA JAROD ALPER Week 1, Sept 27, 29: Introduction to Groups Lecture 1: Introduction to groups. Defined a group and discussed basic properties

More information

From Satisfiability to Linear Algebra

From Satisfiability to Linear Algebra From Satisfiability to Linear Algebra Fangzhen Lin Department of Computer Science Hong Kong University of Science and Technology Clear Water Bay, Kowloon, Hong Kong Technical Report August 2013 1 Introduction

More information

Theorem 5.3. Let E/F, E = F (u), be a simple field extension. Then u is algebraic if and only if E/F is finite. In this case, [E : F ] = deg f u.

Theorem 5.3. Let E/F, E = F (u), be a simple field extension. Then u is algebraic if and only if E/F is finite. In this case, [E : F ] = deg f u. 5. Fields 5.1. Field extensions. Let F E be a subfield of the field E. We also describe this situation by saying that E is an extension field of F, and we write E/F to express this fact. If E/F is a field

More information

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0. Matrices Operations Linear Algebra Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0 The rectangular array 1 2 1 4 3 4 2 6 1 3 2 1 in which the

More information

The only method currently known for inverting nf-exp requires computing shortest vectors in lattices whose dimension is the degree of the number eld.

The only method currently known for inverting nf-exp requires computing shortest vectors in lattices whose dimension is the degree of the number eld. A one way function based on ideal arithmetic in number elds Johannes Buchmann Sachar Paulus Abstract We present a new one way function based on the diculty of nding shortest vectors in lattices. This new

More information

Page Points Possible Points. Total 200

Page Points Possible Points. Total 200 Instructions: 1. The point value of each exercise occurs adjacent to the problem. 2. No books or notes or calculators are allowed. Page Points Possible Points 2 20 3 20 4 18 5 18 6 24 7 18 8 24 9 20 10

More information

On the Skeel condition number, growth factor and pivoting strategies for Gaussian elimination

On the Skeel condition number, growth factor and pivoting strategies for Gaussian elimination On the Skeel condition number, growth factor and pivoting strategies for Gaussian elimination J.M. Peña 1 Introduction Gaussian elimination (GE) with a given pivoting strategy, for nonsingular matrices

More information

JACOBI S ITERATION METHOD

JACOBI S ITERATION METHOD ITERATION METHODS These are methods which compute a sequence of progressively accurate iterates to approximate the solution of Ax = b. We need such methods for solving many large linear systems. Sometimes

More information

where c R and the content of f is one. 1

where c R and the content of f is one. 1 9. Gauss Lemma Obviously it would be nice to have some more general methods of proving that a given polynomial is irreducible. The first is rather beautiful and due to Gauss. The basic idea is as follows.

More information

On some computational problems in nite abelian groups. Universitat des Saarlandes. Fachbereich 14 - Informatik. Postfach

On some computational problems in nite abelian groups. Universitat des Saarlandes. Fachbereich 14 - Informatik. Postfach On some computational problems in nite abelian groups Johannes Buchmann Michael J. Jacobson, Jr. Universitat des Saarlandes Fachbereich 14 - Informatik Postfach 151150 66041 Saarbrucken Germany Edlyn Teske

More information

Algebra Exam Syllabus

Algebra Exam Syllabus Algebra Exam Syllabus The Algebra comprehensive exam covers four broad areas of algebra: (1) Groups; (2) Rings; (3) Modules; and (4) Linear Algebra. These topics are all covered in the first semester graduate

More information

Topics in linear algebra

Topics in linear algebra Chapter 6 Topics in linear algebra 6.1 Change of basis I want to remind you of one of the basic ideas in linear algebra: change of basis. Let F be a field, V and W be finite dimensional vector spaces over

More information

Abstract Algebra: Chapters 16 and 17

Abstract Algebra: Chapters 16 and 17 Study polynomials, their factorization, and the construction of fields. Chapter 16 Polynomial Rings Notation Let R be a commutative ring. The ring of polynomials over R in the indeterminate x is the set

More information

Inverses. Stephen Boyd. EE103 Stanford University. October 28, 2017

Inverses. Stephen Boyd. EE103 Stanford University. October 28, 2017 Inverses Stephen Boyd EE103 Stanford University October 28, 2017 Outline Left and right inverses Inverse Solving linear equations Examples Pseudo-inverse Left and right inverses 2 Left inverses a number

More information

THE MAXIMAL SUBGROUPS AND THE COMPLEXITY OF THE FLOW SEMIGROUP OF FINITE (DI)GRAPHS

THE MAXIMAL SUBGROUPS AND THE COMPLEXITY OF THE FLOW SEMIGROUP OF FINITE (DI)GRAPHS THE MAXIMAL SUBGROUPS AND THE COMPLEXITY OF THE FLOW SEMIGROUP OF FINITE (DI)GRAPHS GÁBOR HORVÁTH, CHRYSTOPHER L. NEHANIV, AND KÁROLY PODOSKI Dedicated to John Rhodes on the occasion of his 80th birthday.

More information

Computational Linear Algebra

Computational Linear Algebra Computational Linear Algebra PD Dr. rer. nat. habil. Ralf Peter Mundani Computation in Engineering / BGU Scientific Computing in Computer Science / INF Winter Term 2017/18 Part 2: Direct Methods PD Dr.

More information

Ore extensions of Baer and p.p.-rings

Ore extensions of Baer and p.p.-rings Journal of Pure and Applied Algebra 151 (2000) 215 226 www.elsevier.com/locate/jpaa Ore extensions of Baer and p.p.-rings Chan Yong Hong a;, Nam Kyun Kim b; 1, Tai Keun Kwak c a Department of Mathematics,

More information

Algebra. Modular arithmetic can be handled mathematically by introducing a congruence relation on the integers described in the above example.

Algebra. Modular arithmetic can be handled mathematically by introducing a congruence relation on the integers described in the above example. Coding Theory Massoud Malek Algebra Congruence Relation The definition of a congruence depends on the type of algebraic structure under consideration Particular definitions of congruence can be made for

More information

Homework 9 Solutions to Selected Problems

Homework 9 Solutions to Selected Problems Homework 9 Solutions to Selected Problems June 11, 2012 1 Chapter 17, Problem 12 Since x 2 + x + 4 has degree 2 and Z 11 is a eld, we may use Theorem 17.1 and show that f(x) is irreducible because it has

More information

Solutions Preliminary Examination in Numerical Analysis January, 2017

Solutions Preliminary Examination in Numerical Analysis January, 2017 Solutions Preliminary Examination in Numerical Analysis January, 07 Root Finding The roots are -,0, a) First consider x 0 > Let x n+ = + ε and x n = + δ with δ > 0 The iteration gives 0 < ε δ < 3, which

More information

Vladimir Kirichenko and Makar Plakhotnyk

Vladimir Kirichenko and Makar Plakhotnyk São Paulo Journal of Mathematical Sciences 4, 1 (2010), 109 120 Gorenstein Quivers Vladimir Kirichenko and Makar Plakhotnyk Faculty of Mechanics and Mathematics, Kyiv National Taras Shevchenko University,

More information

18.312: Algebraic Combinatorics Lionel Levine. Lecture 22. Smith normal form of an integer matrix (linear algebra over Z).

18.312: Algebraic Combinatorics Lionel Levine. Lecture 22. Smith normal form of an integer matrix (linear algebra over Z). 18.312: Algebraic Combinatorics Lionel Levine Lecture date: May 3, 2011 Lecture 22 Notes by: Lou Odette This lecture: Smith normal form of an integer matrix (linear algebra over Z). 1 Review of Abelian

More information

Contents. 4 Arithmetic and Unique Factorization in Integral Domains. 4.1 Euclidean Domains and Principal Ideal Domains

Contents. 4 Arithmetic and Unique Factorization in Integral Domains. 4.1 Euclidean Domains and Principal Ideal Domains Ring Theory (part 4): Arithmetic and Unique Factorization in Integral Domains (by Evan Dummit, 018, v. 1.00) Contents 4 Arithmetic and Unique Factorization in Integral Domains 1 4.1 Euclidean Domains and

More information

Solutions to odd-numbered exercises Peter J. Cameron, Introduction to Algebra, Chapter 2

Solutions to odd-numbered exercises Peter J. Cameron, Introduction to Algebra, Chapter 2 Solutions to odd-numbered exercises Peter J Cameron, Introduction to Algebra, Chapter 1 The answers are a No; b No; c Yes; d Yes; e No; f Yes; g Yes; h No; i Yes; j No a No: The inverse law for addition

More information