EE512: Error Control Coding

Σχετικά έγγραφα
Finite Field Problems: Solutions

Homework 3 Solutions

2 Composition. Invertible Mappings

Reminders: linear functions

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

Ordinal Arithmetic: Addition, Multiplication, Exponentiation and Limit

Matrices and Determinants

2. THEORY OF EQUATIONS. PREVIOUS EAMCET Bits.

Partial Differential Equations in Biology The boundary element method. March 26, 2013

Chapter 6: Systems of Linear Differential. be continuous functions on the interval

Example Sheet 3 Solutions

Section 8.3 Trigonometric Equations

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions

Lecture 15 - Root System Axiomatics

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8 questions or comments to Dan Fetter 1

SOLVING CUBICS AND QUARTICS BY RADICALS

Every set of first-order formulas is equivalent to an independent set

C.S. 430 Assignment 6, Sample Solutions

Inverse trigonometric functions & General Solution of Trigonometric Equations

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

ST5224: Advanced Statistical Theory II

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

Second Order Partial Differential Equations

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:

Tridiagonal matrices. Gérard MEURANT. October, 2008

6.3 Forecasting ARMA processes

Areas and Lengths in Polar Coordinates

Numerical Analysis FMN011

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0.

Areas and Lengths in Polar Coordinates

Congruence Classes of Invertible Matrices of Order 3 over F 2

Quadratic Expressions

Chapter 6: Systems of Linear Differential. be continuous functions on the interval

6.1. Dirac Equation. Hamiltonian. Dirac Eq.

Section 7.6 Double and Half Angle Formulas

Approximation of distance between locations on earth given by latitude and longitude

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ.

Nowhere-zero flows Let be a digraph, Abelian group. A Γ-circulation in is a mapping : such that, where, and : tail in X, head in

( y) Partial Differential Equations

Concrete Mathematics Exercises from 30 September 2016

CRASH COURSE IN PRECALCULUS

Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

4.6 Autoregressive Moving Average Model ARMA(1,1)

k A = [k, k]( )[a 1, a 2 ] = [ka 1,ka 2 ] 4For the division of two intervals of confidence in R +

MATHEMATICS. 1. If A and B are square matrices of order 3 such that A = -1, B =3, then 3AB = 1) -9 2) -27 3) -81 4) 81

Statistical Inference I Locally most powerful tests

Fractional Colorings and Zykov Products of graphs

ORDINAL ARITHMETIC JULIAN J. SCHLÖDER

Srednicki Chapter 55

Math 6 SL Probability Distributions Practice Test Mark Scheme

Main source: "Discrete-time systems and computer control" by Α. ΣΚΟΔΡΑΣ ΨΗΦΙΑΚΟΣ ΕΛΕΓΧΟΣ ΔΙΑΛΕΞΗ 4 ΔΙΑΦΑΝΕΙΑ 1

derivation of the Laplacian from rectangular to spherical coordinates

On a four-dimensional hyperbolic manifold with finite volume

( ) 2 and compare to M.

w o = R 1 p. (1) R = p =. = 1

ω ω ω ω ω ω+2 ω ω+2 + ω ω ω ω+2 + ω ω+1 ω ω+2 2 ω ω ω ω ω ω ω ω+1 ω ω2 ω ω2 + ω ω ω2 + ω ω ω ω2 + ω ω+1 ω ω2 + ω ω+1 + ω ω ω ω2 + ω

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 19/5/2007

Differentiation exercise show differential equation

Second Order RLC Filters

PARTIAL NOTES for 6.1 Trigonometric Identities

Solution Series 9. i=1 x i and i=1 x i.

Lecture 2. Soundness and completeness of propositional logic

Solutions to Exercise Sheet 5

ECE Spring Prof. David R. Jackson ECE Dept. Notes 2

Exercises 10. Find a fundamental matrix of the given system of equations. Also find the fundamental matrix Φ(t) satisfying Φ(0) = I. 1.

The challenges of non-stable predicates

A Note on Intuitionistic Fuzzy. Equivalence Relation

Problem Set 9 Solutions. θ + 1. θ 2 + cotθ ( ) sinθ e iφ is an eigenfunction of the ˆ L 2 operator. / θ 2. φ 2. sin 2 θ φ 2. ( ) = e iφ. = e iφ cosθ.

Homework 8 Model Solution Section

forms This gives Remark 1. How to remember the above formulas: Substituting these into the equation we obtain with

ΠΑΝΕΠΙΣΤΗΜΙΟ ΚΥΠΡΟΥ ΤΜΗΜΑ ΠΛΗΡΟΦΟΡΙΚΗΣ. ΕΠΛ342: Βάσεις Δεδομένων. Χειμερινό Εξάμηνο Φροντιστήριο 10 ΛΥΣΕΙΣ. Επερωτήσεις SQL

CHAPTER 101 FOURIER SERIES FOR PERIODIC FUNCTIONS OF PERIOD

ΚΥΠΡΙΑΚΗ ΕΤΑΙΡΕΙΑ ΠΛΗΡΟΦΟΡΙΚΗΣ CYPRUS COMPUTER SOCIETY ΠΑΓΚΥΠΡΙΟΣ ΜΑΘΗΤΙΚΟΣ ΔΙΑΓΩΝΙΣΜΟΣ ΠΛΗΡΟΦΟΡΙΚΗΣ 6/5/2006

ANSWERSHEET (TOPIC = DIFFERENTIAL CALCULUS) COLLECTION #2. h 0 h h 0 h h 0 ( ) g k = g 0 + g 1 + g g 2009 =?

The Simply Typed Lambda Calculus

DIRECT PRODUCT AND WREATH PRODUCT OF TRANSFORMATION SEMIGROUPS

CHAPTER 48 APPLICATIONS OF MATRICES AND DETERMINANTS

Mean-Variance Analysis

Math221: HW# 1 solutions

Other Test Constructions: Likelihood Ratio & Bayes Tests

Strain gauge and rosettes

Math 446 Homework 3 Solutions. (1). (i): Reverse triangle inequality for metrics: Let (X, d) be a metric space and let x, y, z X.

Instruction Execution Times

= {{D α, D α }, D α }. = [D α, 4iσ µ α α D α µ ] = 4iσ µ α α [Dα, D α ] µ.

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1

1 String with massive end-points

Generating Set of the Complete Semigroups of Binary Relations

Risk! " #$%&'() *!'+,'''## -. / # $

Homomorphism in Intuitionistic Fuzzy Automata

UNIT - I LINEAR ALGEBRA. , such that αν V satisfying following condition

Trigonometric Formula Sheet

F19MC2 Solutions 9 Complex Analysis

5. Choice under Uncertainty

MATH423 String Theory Solutions 4. = 0 τ = f(s). (1) dτ ds = dxµ dτ f (s) (2) dτ 2 [f (s)] 2 + dxµ. dτ f (s) (3)

D Alembert s Solution to the Wave Equation

Lanczos and biorthogonalization methods for eigenvalues and eigenvectors of matrices

Συστήματα Διαχείρισης Βάσεων Δεδομένων

MATH1030 Linear Algebra Assignment 5 Solution

Chapter 3: Ordinal Numbers

Transcript:

EE512: Error Control Coding Solution for Assignment on Finite Fields February 16, 2007 1. (a) Addition and Multiplication tables for GF (5) and GF (7) are shown in Tables 1 and 2. + 0 1 2 3 4 0 0 1 2 3 4 1 1 2 3 4 0 2 2 3 4 0 1 3 3 4 0 1 2 4 4 0 1 2 3 0 1 2 3 4 0 0 0 0 0 0 1 0 1 2 3 4 2 0 2 4 1 3 3 0 3 1 4 2 4 0 4 3 2 1 Table 1: Tables for GF(5) + 0 1 2 3 4 5 6 0 0 1 2 3 4 5 6 1 1 2 3 4 5 6 0 2 2 3 4 5 6 0 1 3 3 4 5 6 0 1 2 4 4 5 6 0 1 2 3 5 5 6 0 1 2 3 4 6 6 0 1 2 3 4 5 0 1 2 3 4 5 6 0 0 0 0 0 0 0 0 1 0 1 2 3 4 5 6 2 0 2 4 6 1 3 5 3 0 3 6 2 5 1 4 4 0 4 1 5 2 6 3 5 0 5 3 1 6 4 2 6 0 6 5 4 3 2 1 Table 2: Tables for GF(7) (b) GF (4) = {0, 1, α, α 2 }, α 2 = α + 1, α 3 = 1. The addition and multiplication tables are shown in Table 3. + 0 1 α α 2 0 0 1 α α 2 1 1 0 α 2 α α α α 2 0 1 α 2 α 2 α 1 0 0 1 α α 2 0 0 0 0 0 1 0 1 α α 2 α 0 α α 2 1 α 2 0 α 2 1 α Table 3: Tables for GF(4) 2. Construction of GF (16) using three different irreducible polynomials: (a) Using π 1 (x) = x 4 + x + 1: Let α be a root of π 1 (x) = 0; α 4 = α + 1. Table 4 shows the construction. (b) Using π 2 (x) = x 4 + x 3 + 1: Let β be a root of π 2 (x) = 0; β 4 = β 3 + 1. Table 4 shows the construction. (c) Using π 3 (x) = x 4 + x 3 + x 2 + x + 1: Let γ be a root of π 3 (x) = 0; γ 4 = γ 3 + γ 2 + γ + 1. Table 5 shows the powers of γ. Note that γ is not a primitive element of GF (16), since order of γ 1

Power Polynomial Vector α inf 0 0000 α 0 1 0001 α α 0010 α 2 α 2 0100 α 3 α 3 1000 α 4 α + 1 0011 α 5 α 2 + α 0110 α 6 α 3 + α 2 1100 α 7 α 3 + α + 1 1011 α 8 α 2 + 1 0101 α 9 α 3 + α 1010 α 10 α 2 + α + 1 0111 α 11 α 3 + α 2 + α 1110 α 12 α 3 + α 2 + α + 1 1111 α 13 α 3 + α 2 + 1 1101 α 14 α 3 + 1 1001 Power Polynomial Vector β inf 0 0000 β 0 1 0001 β β 0010 β 2 β 2 0100 β 3 β 3 1000 β 4 β 3 + 1 1001 β 5 β 3 + β + 1 1011 β 6 β 3 + β 2 + β + 1 1111 β 7 β 2 + β + 1 0111 β 8 β 3 + β 2 + β 1110 β 9 β 2 + 1 0101 β 10 β 3 + β 1010 β 11 β 3 + β 2 + 1 1101 β 12 β + 1 0011 β 13 β 2 + β 0110 β 14 β 3 + β 2 1100 Table 4: GF(16) using π 1 (x) and π 2 (x). is 5. It can be noticed that the polynomial π 3 (x) = x 4 + x 3 + x 2 + x + 1 can be written as π 3 (x) = (1 + x) 4 + (1 + x) 3 + 1 = π 2 (1 + x). Thus (1 + γ) is a root of π 2 (x), and it has to be a primitive element, since π 2 (x) is a primitive polynomial. Table 5 shows the construction of GF (16) using (1 + γ) as the primitive element. Power Polynomial γ inf 0 γ 0 1 γ γ γ 2 γ 2 γ 3 γ 3 γ 4 γ 3 + γ 2 + γ + 1 γ 5 1 Power Polynomial Vector (1 + γ) inf 0 0000 (1 + γ) 0 1 0001 (1 + γ) 1 + γ 0011 (1 + γ) 2 1 + γ 2 0101 (1 + γ) 3 1 + γ + γ 2 + γ 3 1111 (1 + γ) 4 γ + γ 2 + γ 3 1110 (1 + γ) 5 1 + γ 2 + γ 3 1101 (1 + γ) 6 γ 3 1000 (1 + γ) 7 1 + γ + γ 2 0111 (1 + γ) 8 1 + γ 3 1001 (1 + γ) 9 γ 2 0100 (1 + γ) 10 γ 2 + γ 3 1100 (1 + γ) 11 1 + γ + γ 3 1011 (1 + γ) 12 γ 0010 (1 + γ) 13 γ + γ 2 0110 (1 + γ) 14 γ + γ 3 1010 Table 5: GF (16) using π 3 (x). (d) Isomorphism between two fields is a one-one and onto mapping of the elements of one field to another such that all the operations of the fields are preserved. If φ is an isomorphism from F 1 F 2, φ(a 1 a 2 ) = φ(a 1 )oφ(a 2 ), where a 1, a 2 F 1, is the operation defined in F 1, and o is the operation defined in F 2. Observing the elements of GF (16) constructed using π 1 (x), α 7 is a root of π 2 (x). Thus mapping α 7 GF 1 β GF 2 is an isomorphism between GF 1 and GF 2. Similarily, α 3 is a root of π 3 (x). Thus mapping α 3 GF 1 γ GF 3 is an isomorphism between GF 1 and GF 3. 3. (a) Finding all polynomials of degree 2 and degree 3 that are irreducible over GF(2) and GF(3): 2

i. x 2 + x + 1 is the only irreducible polynomial of degree 2 over GF (2). x 3 + x + 1 and x 3 + x 2 + 1 are the irreducible polynomials of degree 3 over GF (2). To check if the irreducible polynomial of degree m over GF (p), f(x) is primitive, it is required to find the smallest number n such that f(x) divides x n 1. If n = p m 1, then f(x) is primitive, If n < p m 1, then f(x) is not primitive. Since there is just one irreducible polynomial of degree 2 over GF (2), it has to be primitive. Both the irreducible polynomials of degree 3 over GF (2) are also primitive. ii. x 2 + x + 2, x 2 + 2x + 2 and x 2 + 1 are the irreducible polynomials of degree 2 over GF (3). It can be seen that x 2 + 1 divides x 4 1 over GF (3); thus, it is not a primitive polynomial. It can be verified that the other two irreducible polynomials of degree 2 over GF (3)are primitive. x 3 + 2x + 1,x 3 + 2x 2 + 1,x 3 + x 2 + 2,x 3 + 2x + 2,x 3 + x 2 + x + 2 and x 3 + 2x 2 + 2x + 2 are the irreducible polynomilas of degree 3 over GF (3). x 3 + 2x + 1 and x 3 + 2x 2 + 1 are the primitive polynomials of degree 3 over GF (3), the rest of the irreducible polynomials are not primitive (It can be verified that they divide x 13 1). (b) Construction of GF (9) in two different ways: i. Construction using primitive polynomial: Consider the primitive polynomial π 1 (x) = x 2 + x + 2. Let α be a root of π 1 (x) = 0; therefore, α 2 = 2α + 1. Power Polynomial Vector(with basis [1,α]) 0 0 00 1 1 01 α α 10 α 2 2α + 1 21 α 3 2α + 2 22 α 4 2 02 α 5 2α 20 α 6 α + 2 12 α 7 α + 1 11 Table 6: GF 1 (9) ii. Construction using non-primitive polynomial: Consider the non-primitive polynomial π 2 (x) = x 2 + 1. Let β be a root of π 2 (x) = 0. Since π 2 (x) is not a primitive polynomial, β will not be a primitive element of GF (9). π 2 (x) can be written as, π 2 (x) = (x + 1) 2 + (x + 1) + 2, Thus (1 + β) is a primitive element of GF (9). Power Polynomial Vector(with basis [1,β]) 0 0 00 1 1 01 (1 + β) β + 1 11 (1 + β) 2 2β 20 (1 + β) 3 2β + 1 21 (1 + β) 4 2 02 (1 + β) 5 2β + 2 22 (1 + β) 6 β 10 (1 + β) 7 β + 2 12 Table 7: GF 2 (9) To find the isomorphism between GF 1 and GF 2, note that α 2 GF 1 is a root of π 2 (x), thus α 2 β is an isomorphism. 4. (a) Let GF (9) = {0, 1, α, α 2,..., α 7 }, where α is the root of the primitive polynomial π(x) = x 2 + x + 2. The multiplicative group GF (9) = {1, α, α 2,..., α 7 }. Ord(α i ) = n/(n, i), where n 3

is the order of the multiplicative group (8 in this case) and (n, i) denotes the GCD of n and i. Primitive elements are the elements with order 8. Elements of order 2 = { α 4 }; Elements of order 4 = { α 2,α 6 }; Elements of order 8 = { α, α 3, α 5, α 7 } (primitive). Similarly, let GF (16) = {0, 1, α, α 2,, α 14, α 4 = α + 1. Elements of order 3 = {α 5, α 10 }; Elements of order 5 = {α 3, α 6, α 9, α 12 }; Elements of order 15 = {α, α 2, α 4, α 7, α 8, α 11, α 13, α 14 } (primitive). (b) Order of elements in GF(32): Order of the Multiplicative group GF (32) is n = 31. Since n is prime, (n, i) = 1 for all i = all elements are primitive. For all non-zero, non-unity elements of GF (p m ) to be primitive, p m 1 should be prime. 5. (a) Multiplication and addition in GF(p)are defined modulo p. Thus, order of an element a is the smallest number n such that a n = 1 mod p. Using this condition, order of every element can be determined. Moreover, order of any element should divide the order of the multiplicative group p 1. An element is primitive if its order is equal to p 1. GF(7): Elements of order 2 = { 6}; Elements of order 3 = { 2,4}; Elements of order 6 (primitive) = { 3,5}. GF(11): Elements of order 2 = { 10}; Elements of order 5 = { 3,4,5,9}; Elements of order 10 (primitive) = { 2,6,7,8}. (b) All non-zero, non-unity elements of GF (p) cannot be primitive for p > 3 since (p 1) would not be prime, and there would be elements with order less than (p 1). In GF (3) there is only one non-zero, non-unity element and it has to be primitive. ( 6. (a) Let α GF (2 m ). We know that α 2m = α. Therefore, α 2m 1) 2 = α. Hence, α 2 m 1 is a square root of α. (b) Proof is similar to that for the previous part. 7. In GF(16), (x + y) 3 = x 3 + y 3 + 3x 2 y + 3xy 2 = x 3 + y 3 + xy(x + y). Using the given values for x + y and x 3 + y 3, we get that (α 14 ) 3 = α + xy(α 14 ). Simplifying, we get xy = α 14 or y = α 14 /x. Using in x + y = α 14, we get x + α14 x = α14, or the quadratic equation f(x) = x 2 + α 14 x + α 14 = 0. By trial and error, we see that the roots of f(x) in GF(16) are α 6 and α 8. Hence, possible solutions for (x, y) are (α 6, α 8 ) or (α 8, α 6 ). 8. (a) Since x + y = α 3, (x + y) 2 = x 2 + y 2 = (α 3 ) 2 = α 6. We see that the second equation is consistent with and fully dependent on the first equation. The set of solutions is {(x, x + α 3 ) : x GF(16)}. (b) The second equation is inconsistent with the first equation. Hence, no solution exists. 9. We are given that x 3 + y 3 + z 3 = 0 for x, y, x GF(64). Note that x 63 = y 63 = z 63 = 1. Since (a + b) 2 = a 2 + b 2 for a, b GF(64), we see that (a + b) 32 = a 32 + b 32. Using this, we get (x 3 + y 3 + z 3 ) 32 = 0. Simplifying the LHS above, we get that x 33 + y 33 + z 33 = 0. 4

10. Suppose β GF(q) is an element of order 5. Then, β is a root of x 5 1, since β 5 1 = 0. Notice that β 2, β 3, β 4 and β 5 = 1 are all distinct and additional roots of x 5 1. Since x 5 1 can have no further roots in GF(q), we get x 5 1 = (x β)(x β 2 )(x β 3 )(x β 4 )(x β 5 ). (a) If α GF(16) is a primitive element, we see that Ord(α 3 ) = 5. Hence, in GF(16)[x]. In GF(2)[x], x 5 + 1 = (x + α 3 )(x + α 6 )(x + α 9 )(x + α 12 )(x + 1) x 5 + 1 = (x + 1)(x 4 + x 3 + x 2 + x + 1) is a complete factorization into irreducibles. In GF(11), we see from Problem (5a) that 3 is an element of order 5. Hence, x 5 1 = (x 3)(x 3 2 )(x 3 3 )(x 3 4 )(x 3 5 ), = (x 3)(x 9)(x 5)(x 4)(x 1). (b) x 5 1 factors into linear factors over GF(p) when p 1 is a multiple of 5. 11. (a) i. Cyclotomic Decomposition of GF(9) (α: primitive): S = {α 0 } {α, α 3 } {α 2, α 6 } {α 4 } {α 5, α 7 }. Table 8 lists the minimal poynomials. Element Minimal Polynomial 0 x 1 x + 1 α, α 3 x 2 + x + 2 α 2, α 6 x 2 + 1 α 4 x + 2 α 5, α 7 x 2 x + 2 Table 8: Minimal polynomials of GF(9). ii. Cyclotomic Decomposition of GF(16) (α: primitive): S = {α 0 } {α, α 2, α 4, α 8 } {α 3, α 6, α 12, α 9 } {α 5, α 2 } {α 7, α 14 α 13, α 11 }. Table 9 lists the minimal poynomials. Element Minimal Polynomial 0 x 1 x + 1 α, α 2, α 4, α 8 x 4 + x + 1 α 3, α 6, α 12, α 9 x 4 + x 3 + x 2 + x + 1 α 5, α 10 x 2 + x + 1 α 7, α 14, α 13, α 11 x 4 + x 3 + 1 Table 9: Minimal polynomials of GF(16). (b) Not neccessarily. As a counterexample, the minimal polynomial of α 3 GF(16) (order 5, nonprimitive element) has degree 4. 5