{"id":84,"date":"2018-07-21T11:06:23","date_gmt":"2018-07-21T11:06:23","guid":{"rendered":"http:\/\/csp11.epgpbooks.inflibnet.ac.in\/?post_type=chapter&#038;p=84"},"modified":"2018-12-27T10:02:31","modified_gmt":"2018-12-27T10:02:31","slug":"algebraic-structures-and-finite-fields-1","status":"publish","type":"chapter","link":"https:\/\/ebooks.inflibnet.ac.in\/csp11\/chapter\/algebraic-structures-and-finite-fields-1\/","title":{"rendered":"Algebraic Structures and Finite Fields 1"},"content":{"raw":"<div><span style=\"float: right\"><a href=\"https:\/\/youtu.be\/NgCVU2KU2pU\" target=\"_blank\" rel=\"noopener\"><img src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"epgp books\" width=\"75px\" height=\"75px;\" \/><\/a>\r\n<\/span><\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>Learning Objectives<\/strong>\r\n\r\n\u00d8\u00a0 To review the concept of algebraic structures\r\n\r\n\u00d8\u00a0\u00a0 To define and give some examples of groups, rings, fields\r\n\r\n\u00d8\u00a0\u00a0 To review the concept of Ring and Field\r\n\r\n\u00d8\u00a0\u00a0 To define the purpose of Finite Field in\u00a0 cryptography\r\n\r\n\u00d8\u00a0\u00a0 To discuss about the Galois field to perform modulo prime p\r\n\r\n\u00d8\u00a0\u00a0 To understand Galois fields with some examples.\r\n\r\n&nbsp;\r\n\r\n<strong>8.1 Algebraic Structures:<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Abstract algebra is the study of algebraic structures. Such a structure consists of a set together with one or more binary operations, which are required to satisfy certain axioms. For example, here is the definition of a simple algebraic structure known as a group.<\/p>\r\n&nbsp;\r\n\r\n<strong>8.2 Group<\/strong>\r\n\r\n&nbsp;\r\n\r\nA <strong>group<\/strong> is a set <em>G<\/em> together with a binary operation <em>\u2217<\/em> on <em>G<\/em>, satisfying the following axioms:\r\n\r\n&nbsp;\r\n\r\n1.\u00a0\u00a0\u00a0 The\u00a0 operation\u00a0 <em>\u2217<\/em> is\u00a0 associative.\u00a0 That is,\r\n<p style=\"padding-left: 60px\"><em>a\u00a0 <\/em><em>\u2217<\/em> (<em>b<\/em> <em>\u2217<\/em> <em>c<\/em>) = (<em>a<\/em> <em>\u2217<\/em> <em>b<\/em>) <em>\u2217<\/em> <em>c<\/em> for all <em>a, b, c<\/em> <em>\u2208<\/em> <em>G<\/em>.<\/p>\r\n<em>\u00a0<\/em>\r\n\r\n2.\u00a0\u00a0\u00a0 There exists an element <em>e<\/em> <em>\u2208<\/em> <em>G<\/em> with the property that\r\n<p style=\"padding-left: 60px\"><em>a <\/em><em>\u2217<\/em><em> e <\/em>=<em> e <\/em><em>\u2217<\/em><em> a <\/em>=<em> a<\/em><\/p>\r\n\r\n<\/div>\r\n<span style=\"text-align: initial;font-size: 1em\">\u00a0 \u00a0for all <\/span><em style=\"text-align: initial;font-size: 1em\">a<\/em> <em style=\"text-align: initial;font-size: 1em\">\u2208<\/em> <em style=\"text-align: initial;font-size: 1em\">G<\/em><span style=\"text-align: initial;font-size: 1em\">. (This element <\/span><em style=\"text-align: initial;font-size: 1em\">e<\/em><span style=\"text-align: initial;font-size: 1em\"> is called the <\/span><strong style=\"text-align: initial;font-size: 1em\">identity element<\/strong><span style=\"text-align: initial;font-size: 1em\"> of <\/span><em style=\"text-align: initial;font-size: 1em\">G<\/em><span style=\"text-align: initial;font-size: 1em\">.)<\/span>\r\n<div>\r\n\r\n3.\u00a0\u00a0\u00a0 For each element <em>a<\/em> <em>\u2208<\/em> <em>G<\/em>, there exists an element <em>a<\/em><em>\u2212<\/em>1 <em>\u2208<\/em> <em>G<\/em> such that\r\n\r\n&nbsp;\r\n<p style=\"padding-left: 60px\"><em>a\u00a0\u00a0 <\/em><em>\u2217<\/em> .<em>a<\/em><sup><em>\u2212<\/em>1<\/sup>. = .<em>a<\/em><sup><em>\u2212<\/em>1<\/sup>. <em>\u2217<\/em> <em>a<\/em><\/p>\r\n<p style=\"padding-left: 60px\">=\u00a0\u00a0\u00a0 <em>e.<\/em><\/p>\r\n&nbsp;\r\n\r\n(The element <em>a<\/em><sup><em>\u2212<\/em>1<\/sup>\u00a0 is called the <strong>inverse<\/strong> of <em>a<\/em>.)\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">The binary operation <em>\u2217<\/em> in this definition may be any operation at all, such as addition, multiplication, or composition of functions. Any set of elements with an operation that satisfies these axioms forms a group. For example:<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">\u2022\u00a0 The set Z of integers forms a group under the operation of addition. In particular, addition is associative, the element 0 is an additive identity, and every integer has an additive inverse.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">\u2022\u00a0 The set R <em>\u2212<\/em> <em>{<\/em>0<em>}<\/em> of nonzero real numbers forms a group under the operation of multiplication. Note that zero must be excluded, since it does not have a multiplicative inverse.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">\u2022\u00a0 The set GL(<em>n,<\/em> R) of all invertible <em>n \u00d7 n<\/em> matrices forms a group under the operation of matrix multiplication. In this case, the identity element is the<\/p>\r\n<em>\u00a0<\/em>\r\n\r\n<em>n \u00d7 n <\/em>identity matrix.\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Groups are a particularly simple algebraic structure, having only one operation and three axioms. Most algebraic structures have more than one operation, and are required to satisfy a long list of axioms.<\/p>\r\n&nbsp;\r\n\r\nHere is a partial list of the most important algebraic\u00a0\u00a0\u00a0\u00a0 structures:\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">\u2022\u00a0 A <strong>group<\/strong> is an algebraic structure with a single operation, as defined above. Groups are closely associated with the idea of symmetry, and most groups that arise in mathematics are groups of symmetry transformations, with the operation being composition of functions.<\/p>\r\n<em>\u00a0<\/em>\r\n<p style=\"text-align: justify\">\u2022\u00a0 A <strong>field<\/strong> is an algebraic structure with addition and multiplication, which obey all of the usual rules of elementary algebra. Examples of fields include the rational numbers Q, the real numbers R, and the complex numbers C.<\/p>\r\n<em>\u00a0<\/em>\r\n<p style=\"text-align: justify\">\u2022\u00a0 A <strong>ring<\/strong> is a more general algebraic structure with addition and multiplication. Unlike a field, a ring is not required to have multiplicative inverses, and the multiplication is not required to be commutative. A good example of a ring is the set of all <em>n\u00d7 n\u00a0<\/em><span style=\"font-size: 1em;text-align: initial\">matrices under the operations of matrix addition and matrix multiplication. The integers Z also form a ring under the operations of addition\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">and multiplication.<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">\u2022\u00a0 A <strong>module<\/strong> is similar to a vector space, except that the scalars are only required to be elements of a ring. For example, the set Z<em>n<\/em> of <em>n<\/em>-dimensional vectors with integer entries forms a module, where \u201cscalar multiplication\u201d refers to multiplication by integer scalars.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Because algebraic structures are inherently abstract, the names for them are fairly arbitrary. Words like \u201cgroup\u201d, \u201cmodule\u201d, and \u201cfield\u201d are just interchangeable collective nouns, and you should not ascribe any importance to which structure has which name. The word \u201cring\u201d is also in this category\u2014it is meant to refer to an association or coalition, such as a smuggling ring or a ring of spies, and should not convey any sense of circularity.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The structures listed above are only a sample of the many algebraic structures of importance in mathematics. Many fields of mathematics involve their own special algebraic structures, and new algebraic structures are defined all the time. To give you a sense of scale, the online encyclopedia Wikipedia currently has articles on over a hundred different algebraic structures, and this represents only a small fraction of those that have been investigated in the mathematical literature.<\/p>\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>8.3 Fields<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">The most familiar form of algebra is the elementary algebra that you learned in high school, namely the algebra of the real numbers. From an abstract point of view, this is the algebra of fields.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">A <strong>field<\/strong> is a set <em>F<\/em> together with two binary operations + (the <strong>addition<\/strong> <strong>operation<\/strong>) and (the<strong> multiplication operation<\/strong>), that satisfy the following axioms:<\/p>\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\nThe addition operation is associative.\u00a0 That is,\r\n<p style=\"padding-left: 120px\">a + (b + c) = (a + b) + c<\/p>\r\nfor all a, b,c\u00a0 \u2208 F .\r\n\r\n<\/div>\r\n&nbsp;\r\n<div>\r\n\r\nThe addition operation is commutative.\u00a0 That is,\r\n<p style=\"text-align: justify\">a + b = b + a ,for all a,b \u2208 F There exists a special element of F called the additive identity, denoted by the symbol 0. This element has the property that a + 0 = a , for all a \u2208 F<\/p>\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\ni.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 For each element <em>a<\/em> <em>\u2208<\/em> <em>F<\/em> , there is an element <em>\u2212a<\/em> <em>\u2208<\/em> <em>F<\/em> , called the <strong>additive inverse <\/strong>of <em>a<\/em>, with the property that\r\n\r\n<em>a\u00a0\u00a0 <\/em>+ (<em>\u2212a<\/em>) =\u00a0 0<em>.<\/em>\r\n\r\nii. The multiplication operation is associative. That is,\r\n\r\n<em>a \u00b7 <\/em>(<em>b \u00b7 c<\/em>) = (<em>a \u00b7 b<\/em>)<em> \u00b7 c<\/em>\r\n\r\nfor all <em>a, b, c<\/em> <em>\u2208<\/em> <em>F<\/em> .\r\n\r\n&nbsp;\r\n\r\niii.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 The multiplication operation is commutative. That is,\r\n\r\n<em>a \u00b7 b <\/em>=<em> b \u00b7 a<\/em>\r\n\r\nfor all <em>a, b<\/em> <em>\u2208<\/em> <em>F<\/em> .\r\n\r\n&nbsp;\r\n\r\niv.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 There exists a special element of <em>F<\/em> called the <strong>multiplicative<\/strong> <strong>identity<\/strong>, denoted by the symbol 1.This element has the property that\r\n\r\n&nbsp;\r\n\r\n<em>a \u00b7 <\/em>1 =<em> a<\/em>\r\n\r\n<\/div>\r\n<div>\r\n\r\nfor all <em>a<\/em> <em>\u2208<\/em> <em>F<\/em> .\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">v.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 For each element <em>a<\/em> <em>\u2208<\/em> <em>F<\/em> other than 0, there exists an element <em>a<\/em><em>\u2212<\/em>1\u00a0 <em>\u2208\u00a0<\/em><em>F <\/em>, called\u00a0 the <strong>multiplicative\u00a0 inverse<\/strong> of<em> a<\/em>, with the property\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 that<\/p>\r\n&nbsp;\r\n\r\n<em>a\u00a0\u00a0\u00a0 <\/em><em>\u00b7 a<\/em><em>\u2212<\/em>1 = 1<em>.<\/em>\r\n\r\n&nbsp;\r\n\r\nvi.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 The multiplication operation distributes over the addition operation. That is,\r\n\r\n&nbsp;\r\n\r\n<em>a\u00a0\u00a0 <\/em><em>\u00b7 <\/em>(<em>b <\/em>+<em> c<\/em>) = (<em>a \u00b7 b<\/em>) +(<em>ac<\/em>)\r\n\r\n&nbsp;\r\n\r\nfor all <em>a, b, c<\/em> <em>\u2208<\/em> <em>F<\/em> .\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Note that the axioms for a field are precisely the axioms for algebra on the real numbers. As a result, the real numbers R form a field under the usual operations of addition and multiplication. However, the real numbers are not the only possible field. Indeed, you are already familiar\u00a0with a few other examples:<\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">\u2022\u00a0 The rational numbers Q form a field under the usual operations of addition and multiplication. In particular, we can add or multiply two elements of Q to obtain another element of Q, and these operations obey all of the axioms listed above.<\/p>\r\n<em>\u00a0<\/em>\r\n<p style=\"text-align: justify\">\u2022\u00a0 The complex numbers C form a field under the commonly defined operations of addition and multiplication. Complex numbers do obey all of the listed axioms for a field, which is why elementary algebra works as usual for complex numbers.<\/p>\r\n&nbsp;\r\n\r\nThe following example discusses another class of fields that we shall be using repeatedly.\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>EXAMPLE 1 <\/strong>Integers Modulo <em>n<\/em>\r\n\r\n&nbsp;\r\n\r\nIf <em>n \u2265<\/em> 2, let Z<em>n<\/em> denote the set <em>{<\/em>0<em>,<\/em> 1<em>, . . . , n \u2212<\/em> 1<em>}<\/em> under the operations of addition\r\n\r\n&nbsp;\r\n\r\nand multiplication modulo <em>n<\/em> . For example, here are the addition and multiplication tables for Z<sub>5<\/sub>:\r\n\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-87 aligncenter\" src=\"http:\/\/csp11.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/55\/2018\/07\/1-37.png\" alt=\"\" width=\"372\" height=\"153\" \/>\r\n<p style=\"text-align: justify\">It is not hard to see that Z<em>n<\/em> satisfies most of the axioms for a field, but it is not clear that every nonzero element of Z <em>n<\/em> has a multiplicative inverse (as is required by axiom 8). For Z5, we can see from the multiplication table that every element has an inverse. In particular,<\/p>\r\n&nbsp;\r\n\r\n1<sup><em>\u2212<\/em>1<\/sup> = 1<em>,<\/em> 2<sup><em>\u2212<\/em>1<\/sup> = 3<em>,<\/em> 3<sup><em>\u2212<\/em>1<\/sup> = 2<em>,<\/em> and 4<sup><em>\u2212<\/em>1<\/sup> = 4<em>,<\/em> Thus Z<sub>5<\/sub> is a field.\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\nThe same is not true for Z6. Here is the multiplication table modulo\u00a0 6:\r\n\r\n<\/div>\r\n&nbsp;\r\n<div>\r\n\r\n<img class=\"size-full wp-image-88 aligncenter\" src=\"http:\/\/csp11.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/55\/2018\/07\/1-38.png\" alt=\"\" width=\"195\" height=\"180\" \/>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\nAs you can see from this table, 1<sup><em>\u2212<\/em>1<\/sup> = 1 and 5<sup><em>\u2212<\/em>1<\/sup> = 5 in Z6, but the elements 2, 3, and 4 do not have multiplicative inverses.\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">The following theorem from number theory characterizes which elements have multiplicative inverses. We will not prove this theorem here:<\/p>\r\n&nbsp;\r\n\r\n<em>Let <\/em><em>n<\/em> <em>\u2208<\/em> N<em>, and let <\/em><em>k<\/em> <em>\u2208<\/em> Z<em>n<\/em><em>. Then <\/em><em>k<\/em><em> has a multiplicative inverse in <\/em>Z<em>n<\/em><em> if and only if <\/em><em>k<\/em><em> and <\/em><em>n<\/em><em> are relatively prime.<\/em>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>Theorem 1<\/strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Multiplicative Inverses in Z<em>n<\/em>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Here <strong>relatively prime<\/strong> means that <em>k<\/em> and <em>n<\/em> have no common prime factors, their greatest common divisor is 1. This explains why 2, 3, and 4 have no multiplicative inverses in Z6 \u2014 all of these numbers have a factor in common with 6. We can immediately conclude the following:<\/p>\r\n&nbsp;\r\n\r\nZ<em>n<\/em>\u00a0 <em>is a field if and only if<\/em>\u00a0 <em>n<\/em> <em>is\u00a0 prime.<\/em>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>Corollary 2<\/strong>\u00a0\u00a0 Prime Fields:\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">This gives us a large class of fields that are very different from the real numbers. However, you should be aware that we have hardly exhausted the list of fields. For example, here are the addition and multiplication tables for a field with four elements:<\/p>\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-89 aligncenter\" src=\"http:\/\/csp11.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/55\/2018\/07\/1-39.png\" alt=\"\" width=\"337\" height=\"59\" \/>\r\n\r\n<\/div>\r\n<em><img class=\"size-full wp-image-90 aligncenter\" src=\"http:\/\/csp11.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/55\/2018\/07\/1-40.png\" alt=\"\" width=\"322\" height=\"123\" \/><\/em>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Note that this is not the same as Z4, since among other things Z4 is not a field. The lesson is that not every finite field comes from modular arithmetic.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">There are similar fields with eight and nine elements, although surprisingly it is not possible to define a field with six or ten elements. Indeed, a famous theorem of field theory asserts that there exists a field with <em>n<\/em> elements if and only if <em>n<\/em> is a power of a prime.<\/p>\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>8.4 Algebra of Fields<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">By definition, the elements of a field satisfy exactly the same algebraic axioms as the real numbers. As a result, everything you know about algebra for real numbers translates directly to algebra for the elements of any field. This includes virtually everything you know about elementary algebra, as well as basic linear algebra.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Of course, the definition of a field involves only addition and multiplication, but we usually think of algebra as involving the <em>four<\/em> operations of addition, subtraction, multiplication, and division. Fortunately, it is not difficult to define subtraction and division for elements of a field.<\/p>\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>Definition: Subtraction and Division in Fields <\/strong>Let <em>F<\/em> be a field, and let <em>a, b<\/em> <em>\u2208<\/em> <em>F<\/em> .\r\n\r\n(a) The <strong>difference<\/strong> of <em>a<\/em> and <em>b<\/em> is defined by the\u00a0 formula\r\n<p style=\"text-align: center\"><em>a\u00a0\u00a0 <\/em><em>\u2212 b <\/em>=<em> a <\/em>+ (<em>\u2212b<\/em>)<em>,<\/em><\/p>\r\nwhere <em>\u2212b<\/em> is the additive inverse of\u00a0\u00a0\u00a0\u00a0 <em>b<\/em>.\r\n\r\n&nbsp;\r\n\r\n(b)\u00a0\u00a0\u00a0\u00a0 If <em>b<\/em> <em>\u0192<\/em>= 0, the <strong>quotient<\/strong> of <em>a<\/em> and <em>b<\/em> is defined by the formula <em>a \u00f7 b <\/em>=<em> a \u00b7 <\/em>(<em>b<\/em><sup><em>\u2212<\/em>1<\/sup>)<em>,<\/em>\r\n<p style=\"text-align: justify\">where <em>b<\/em><sup><em>\u2212<\/em>1<\/sup>\u00a0 is the multiplicative inverse of\u00a0 <em>b<\/em>.<\/p>\r\n&nbsp;\r\n\r\nFor example, in the field Z5, we can divide 2 by 3 as\u00a0 follows:\r\n\r\n&nbsp;\r\n\r\n2 <em>\u00f7<\/em> 3\u00a0 =\u00a0 2 <em>\u00b7<\/em> (3<sup><em>\u2212<\/em>1<\/sup>)\u00a0 =\u00a0 2 <em>\u00b7<\/em> 2\u00a0 = 4<em>.<\/em>\r\n\r\n<\/div>\r\n<div>\r\n<p style=\"text-align: justify\">Now that we have subtraction and division, we can perform almost any algebraic computation in the usual way for elements of a field. :<\/p>\r\n&nbsp;\r\n\r\n<strong>EXAMPLE 1 : <\/strong>Solving an Equation\r\n\r\n&nbsp;\r\n\r\nSolve the following equation:\r\n\r\n&nbsp;\r\n\r\n3<em>x<\/em> + 4\u00a0\u00a0<em>\u2261 <\/em>6 (mod 7)<em>.<\/em>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">SOLUTION: Since Z7 is a field, we can solve this equation using elementary algebra. First we subtract 4 from both sides:<\/p>\r\n&nbsp;\r\n\r\n3<em>x<\/em>\u00a0 <em>\u2261<\/em> 2(mod 7)<em>.<\/em>\r\n\r\n&nbsp;\r\n\r\nNext we must divide through by 3. A moment\u2019s thought reveals that 3<sup><em>\u2212<\/em>1<\/sup> =\u00a0\u00a0 5 in Z7, so dividing through by 3 is the same as multiplying through by 5. This gives:\r\n\r\n&nbsp;\r\n<p style=\"text-align: center\"><em>x\u00a0<\/em><em>\u2261 <\/em>5<em> \u00b7 <\/em>2<em> \u2261 <\/em>3\u00a0 (mod 7)<em>.<\/em><\/p>\r\n&nbsp;\r\n\r\n<strong>8.5 Finite Field in Cryptography:<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Finite fields are one of the essential building blocks in coding theory and cryptography and thus appear in many areas in IT security. This section introduces finite fields systematically stating for which orders finite fields exist, shows how to construct them and how to compute in them efficiently. For applications 3 types of fields are particularly interesting \u2013 fields with a prime number of elements, extension fields of the minimal field {0, 1} and optimal extension fields.<\/p>\r\n&nbsp;\r\n\r\nThis section studies polynomials over finite fields.\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">A polynomial <em>f<\/em> (<em>x<\/em>) <em>\u2208<\/em> <em>K<\/em> [<em>x<\/em>] is <em>irreducible<\/em> if it cannot be written as a product of polynomials of lower degree over the same field, i.e. <em>u<\/em>(<em>x<\/em>)<em>|f<\/em> (<em>x<\/em>) implies <em>u<\/em> is constant or <em>u<\/em>(<em>x<\/em>) = <em>f<\/em> (<em>x<\/em>). Otherwise it is called reducible.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><strong>Example : <\/strong>Consider the following polynomials in IF2[<em>x<\/em>]<em>: f<\/em>1(<em>x<\/em>) = <em>x, f<\/em>2(<em>x<\/em>) = <em>x<\/em>2 + 1<em>,f<\/em>3(<em>x<\/em>) =<em> x<\/em>2 +<em> x <\/em>+ 1<em>, and f<\/em>4(<em>x<\/em>) =<em> x<\/em>4 +<em> x<\/em>2 + 1<em>.<\/em><\/p>\r\n&nbsp;\r\n\r\n<em>a)\u00a0\u00a0 <\/em>Apparently f1 is irreducible.\r\n\r\n&nbsp;\r\n\r\n<em>b)\u00a0\u00a0 <\/em>A non-trivial factor of f2 must be linear, one sees that (x + 1)|f2(x), actually f2(x) = (x + 1)2.\r\n\r\n<em>\u00a0<\/em>\r\n<p style=\"text-align: justify\"><em>c)\u00a0\u00a0 <\/em>There are only two linear polynomials, x and x + 1, over IF2. One easily checks that none of them divides f3, so f3 is irreducible.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\"><em>d)\u00a0\u00a0 <\/em>The last polynomial is not divisible by a linear factor. However, it is not irreducible since f4(x) = (x23 + x + 1)2 = f 2(x). which cannot be<\/p>\r\nfactored further since f3\u00a0\u00a0 is8\r\n\r\nirreducible.\r\n\r\n<\/div>\r\n<div>\r\n<p style=\"text-align: justify\">For functions over the reals, the derivative gives information about the slope of the tangent in a point. In the discrete setting of finite fields we lose this interpretation but we can still define the derivative of a polynomial.<\/p>\r\n&nbsp;\r\n\r\n<strong>Definition: (Minimal polynomial)<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Let K be a field, L be a finite extension field of K and \u03b1 \u2208 L. The polynomial m\u03b1 \u2208 K[x] constructed in Lemma 23 is called the minimal polynomial of \u03b1 over K.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The prime fields IF<em>p<\/em> are constructed as residue classes of the integers modulo a prime <em>p<\/em>. We have seen that the ring of polynomials over a field shares many similarities with the ring of integers and so we consider the polynomial ring modulo an irreducible polynomial.<\/p>\r\n&nbsp;\r\n\r\n<img class=\"size-full wp-image-91 aligncenter\" src=\"http:\/\/csp11.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/55\/2018\/07\/1-41.png\" alt=\"\" width=\"629\" height=\"527\" \/>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n\r\n<strong>8.6 Existence and uniqueness of finite fields<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">We have now obtained a way of constructing finite fields by using irreducible polynomials over prime fields and mentioned that the same construction can also be used for an arbitrary base field. This raises the need to question whether the constructed fields are the same and whether we can always find an irreducible polynomial of the desired degree. This section is rather technical in nature but establishes a major result towards proving the existence and uniqueness of finite fields of prime power order.<\/p>\r\n&nbsp;\r\n\r\nThe following definition and lemma hold in the context of arbitrary fields.\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>Definition:(Splitting field)<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><em>Let K be a field and let f <\/em>(<em>x<\/em>) <em>\u2208<\/em><em> K<\/em>[<em>x<\/em>]<em> be a polynomial. The <\/em>splitting field of<em> f is the smallest field extension L of K so that f splits into linear factors in L<\/em>[<em>x<\/em>]<em>.<\/em><\/p>\r\n&nbsp;\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">We state the following lemma without proof. It is an important piece in the construction of finite fields but its proof is rather technical.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">GF(<em>p<\/em>) of order (that is, size) <em>p<\/em> is easily constructed as the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Modular_arithmetic\">integers modulo <em>p<\/em>.\u00a0<\/a>The elements of a prime field may be represented by integers in the range 0, ..., <em>p<\/em> \u2212 1.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Let <em>F<\/em> be a finite field. For any element <em>x<\/em> in <em>F<\/em> and any <a href=\"https:\/\/en.wikipedia.org\/wiki\/Integer\">integer <\/a><em>n<\/em>, let us denote by <em>n<\/em>\u22c5<em>x<\/em> the sum of <em>n<\/em> copies of <em>x<\/em>. The least positive <em>n<\/em> such that <em>n<\/em>\u22c51 = 0 must exist and is prime; it is called the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Characteristic_(algebra)\">characteristic <\/a>of the field.<\/p>\r\n\r\n<\/div>\r\n<p style=\"text-align: justify\">If the characteristic of F is p, one can multiply an element k of GF(p) by an element x of F by choosing an integer representative for k. This multiplication makes F into a GF(p)-vector space. It follows that the number of elements of F is p <sup>n\u00a0<\/sup>for some integer n<\/p>\r\n\r\n<div>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">For every prime number <em>p<\/em> and every positive integer <em>n<\/em>, there are finite fields of order <em>p<\/em><sup><em>n<\/em><\/sup>, and all fields of this order are <a href=\"https:\/\/en.wikipedia.org\/wiki\/Isomorphic\">isomorphic. <\/a>One may therefore identify all fields of order <em>p<\/em><sup><em>n<\/em><\/sup>, which are therefore unambiguously denoted , <strong>F<\/strong><em>p<\/em><sup><em>n<\/em><\/sup> or GF(<em>p<\/em><sup><em>n<\/em><\/sup>), where the letters GF stand for \"Galois field\".<\/p>\r\n&nbsp;\r\n\r\nThe identity\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">is true (for every <em>x<\/em> and <em>y<\/em>) in a field of characteristic <em>p<\/em>. (This follows from the fact that all, except the first and the last, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Binomial_coefficient\">binomial coefficients <\/a>of the expansion of (<em>x<\/em> + <em>y<\/em>)<sup><em>p<\/em><\/sup> are multiples of <em>p<\/em>).<\/p>\r\n&nbsp;\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">For every element <em>x<\/em> in the prime field GF(<em>p<\/em>), one has <em>x<\/em><em>p<\/em> = <em>x<\/em> (This is an immediate consequence of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Fermat%27s_little_theorem\">Fermat's little theorem, <\/a>and this may be easily\u00a0<span style=\"text-align: initial;font-size: 1em\">proved as follows: the equality is trivially true for <\/span><em style=\"text-align: initial;font-size: 1em\">x<\/em><span style=\"text-align: initial;font-size: 1em\"> = 0 and <\/span><em style=\"text-align: initial;font-size: 1em\">x<\/em><span style=\"text-align: initial;font-size: 1em\"> = 1; one obtains the result for the other elements of GF(<\/span><em style=\"text-align: initial;font-size: 1em\">p<\/em><span style=\"text-align: initial;font-size: 1em\">) by applying the above identity to <\/span><em style=\"text-align: initial;font-size: 1em\">x<\/em><span style=\"text-align: initial;font-size: 1em\"> and 1, where <\/span><em style=\"text-align: initial;font-size: 1em\">x<\/em><span style=\"text-align: initial;font-size: 1em\"> successively takes the values 1, 2, ..., <\/span><em style=\"text-align: initial;font-size: 1em\">p<\/em><span style=\"text-align: initial;font-size: 1em\"> \u2212 1 modulo <\/span><em style=\"text-align: initial;font-size: 1em\">p<\/em><span style=\"text-align: initial;font-size: 1em\">.) This implies the equality for polynomials over GF(<\/span><em style=\"text-align: initial;font-size: 1em\">p<\/em><span style=\"text-align: initial;font-size: 1em\">). More generally, every element in GF(<\/span><em style=\"text-align: initial;font-size: 1em\">p<\/em><sup><em style=\"text-align: initial\">n<\/em><\/sup><span style=\"text-align: initial;font-size: 1em\">) satisfies the polynomial equation <\/span><em style=\"text-align: initial;font-size: 1em\">x<\/em><sup><em style=\"text-align: initial\">pn<\/em><\/sup><span style=\"text-align: initial;font-size: 1em\"> \u2212 <\/span><em style=\"text-align: initial;font-size: 1em\">x<\/em><span style=\"text-align: initial;font-size: 1em\"> = 0.<\/span><\/p>\r\n\r\n<\/div>\r\n<div>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Any finite field extension of a finite field is separable and simple. That is, if <em>E<\/em> is a finite field and <em>F<\/em> is a subfield of <em>E<\/em>, then <em>E<\/em> is obtained from <em>F<\/em> by adjoining a single element whose <a href=\"https:\/\/en.wikipedia.org\/wiki\/Minimal_polynomial_(field_theory)\">minimal polynomial <\/a>is separable. To use a jargon, finite fields are <a href=\"https:\/\/en.wikipedia.org\/wiki\/Perfect_field\">perfect.<\/a><\/p>\r\n&nbsp;\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Let <em>q<\/em> = <em>p<\/em><sup><em>n<\/em><\/sup> be a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Prime_power\">prime power, <\/a>and <em>F<\/em> be the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Splitting_field\">splitting field <\/a>of the polynomial over the prime field GF(<em>p<\/em>). This means that <em>F<\/em> is a finite field of lowest order, in which <em>P<\/em> has <em>q<\/em> distinct roots (the roots are distinct, as the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Formal_derivative\">formal<\/a> <a href=\"https:\/\/en.wikipedia.org\/wiki\/Formal_derivative\">derivative <\/a>of <em>P<\/em> is equal to \u22121). <a href=\"https:\/\/en.wikipedia.org\/wiki\/Finite_field#powersum\">Above identity <\/a>shows that the sum and the product of two roots of <em>P<\/em> are roots of <em>P<\/em>, as well as the multiplicative inverse of a root of <em>P<\/em>. In other word, the roots of <em>P<\/em> form a field of order <em>q<\/em>, which is equal to <em>F<\/em> by the minimality of the splitting field.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">The uniqueness up to isomorphism of splitting fields implies thus that all fields of order <em>q<\/em> are isomorphic.<\/p>\r\n&nbsp;\r\n\r\nIn summary, we have the following classification theorem first proved in 1893 by <a href=\"https:\/\/en.wikipedia.org\/wiki\/E._H._Moore\">E. H. Moore:<\/a>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\"><em>The order of a finite field is a prime power. For every prime power q there are fields of order q<\/em>,<em> and they are all isomorphic. In these fields, every element satisfies and the polynomial X<\/em><em>q<\/em> \u2212<em> X factors as<\/em>:<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">It follows that GF(<em>p<\/em><em>n<\/em>) contains a subfield isomorphic to GF(<em>p<\/em><em>m<\/em>) if and only if <em>m<\/em> is a divisor of <em>n<\/em>; in that case, this subfield is unique. In fact, the polynomial <em>X<\/em><em>pm<\/em> \u2212 <em>X<\/em> divides <em>X<\/em><em>pn<\/em> \u2212 <em>X<\/em> if and only if <em>m<\/em> is a divisor of <em>n<\/em>.<\/p>\r\n&nbsp;\r\n\r\n<strong>Non-prime fields<\/strong>\r\n\r\n&nbsp;\r\n<p style=\"text-align: justify\">Given a prime power q = p<sup>n<\/sup> with p prime and n &gt; 1, the field GF(q) may be explicitly constructed in the following way. One chooses first an irreducible polynomial P in GF(p)[X]of degree n (such an irreducible polynomial always exists). Then the quotient ring of the polynomial ring GF(p)[X] by the ideal generated by P is a field of order q.<\/p>\r\n&nbsp;\r\n<p style=\"text-align: justify\">More explicitly, the elements of GF(<em>q<\/em>) are the polynomials over GF(<em>p<\/em>) whose degree is strictly less than <em>n<\/em>. The addition and the subtraction are those of polynomials over GF(<em>p<\/em>). The product of two elements is the remainder of the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Euclidean_division_of_polynomials\">Euclidean division <\/a>by <em>P<\/em> of the product in GF(<em>p<\/em>)[<em>X<\/em>]. The multiplicative inverse\u00a0<span style=\"text-align: initial;font-size: 1em\">of a non-zero element may be computed with the extended Euclidean algorithm; see <\/span><a style=\"text-align: initial;font-size: 1em\" href=\"https:\/\/en.wikipedia.org\/wiki\/Extended_Euclidean_algorithm#Simple_algebraic_field_extensions\">Extended Euclidean algorithm \u00a7 Simple algebraic field extensions.<\/a><\/p>\r\n\r\n<\/div>\r\n&nbsp;\r\n<p style=\"text-align: justify\">Except in the construction of GF(4), there are several possible choices for P, which produce isomorphic results. To simplify the Euclidean division, for P one commonly chooses polynomials of the form which make the needed Euclidean divisions very efficient. However, for some fields, typically in characteristic 2, irreducible polynomials of the form X<sup>n<\/sup> + aX + b may not exist. In characteristic 2, if the polynomial X<sup>n<\/sup> + X + 1 is reducible, it is recommended to choose X<sup>n<\/sup> + X <sup>k<\/sup> + 1 with the lowest possible k that makes the polynomial irreducible. If all these trinomials are reducible, one chooses \"pentanomials\" X<sup> n<\/sup> + X <sup>a<\/sup> + X<sup> b<\/sup> + X <sup>c<\/sup> + 1, as polynomials of degree\r\ngreater than 1, with an even number of terms, are never irreducible in characteristic 2, having 1 as a root. \"pentanomials\" <em>X<\/em><sup><em>n<\/em><\/sup> + <em>X<\/em><sup><em>a<\/em><\/sup> + <em>X<\/em><sup><em>b<\/em><\/sup> + <em>X<\/em><sup><em>c<\/em><\/sup> + 1, as polynomials of degree greater than 1, with an even number of terms, are never irreducible in characteristic 2, having 1 as a root.<\/p>\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n&nbsp;\r\n\r\n<strong>Summary<\/strong>\r\n\r\n&nbsp;\r\n\r\n\u00d8 Outlined the algebraic structures\r\n\r\n\u00d8 Discussed about the groups, rings and fields with examples.\r\n\r\n\u00d8 Discussed about the galois field to perform modulo prime p with some examples.\r\n\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td><strong>you can view video on Algebraic Structures and Finite Fields 1<\/strong><\/td>\r\n<td><a href=\"https:\/\/youtu.be\/NgCVU2KU2pU\" target=\"_blank\" rel=\"noopener\"><img class=\"alignnone wp-image-120\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"\" width=\"36\" height=\"36\" \/><\/a><\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n\r\n<img class=\"size-full wp-image-92 alignleft\" src=\"http:\/\/csp11.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/55\/2018\/07\/1-42.png\" alt=\"\" width=\"634\" height=\"508\" \/>","rendered":"<div><span style=\"float: right\"><a href=\"https:\/\/youtu.be\/NgCVU2KU2pU\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"epgp books\" width=\"75px\" height=\"75px;\" \/><\/a><br \/>\n<\/span><\/div>\n<div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Learning Objectives<\/strong><\/p>\n<p>\u00d8\u00a0 To review the concept of algebraic structures<\/p>\n<p>\u00d8\u00a0\u00a0 To define and give some examples of groups, rings, fields<\/p>\n<p>\u00d8\u00a0\u00a0 To review the concept of Ring and Field<\/p>\n<p>\u00d8\u00a0\u00a0 To define the purpose of Finite Field in\u00a0 cryptography<\/p>\n<p>\u00d8\u00a0\u00a0 To discuss about the Galois field to perform modulo prime p<\/p>\n<p>\u00d8\u00a0\u00a0 To understand Galois fields with some examples.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>8.1 Algebraic Structures:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Abstract algebra is the study of algebraic structures. Such a structure consists of a set together with one or more binary operations, which are required to satisfy certain axioms. For example, here is the definition of a simple algebraic structure known as a group.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>8.2 Group<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>A <strong>group<\/strong> is a set <em>G<\/em> together with a binary operation <em>\u2217<\/em> on <em>G<\/em>, satisfying the following axioms:<\/p>\n<p>&nbsp;<\/p>\n<p>1.\u00a0\u00a0\u00a0 The\u00a0 operation\u00a0 <em>\u2217<\/em> is\u00a0 associative.\u00a0 That is,<\/p>\n<p style=\"padding-left: 60px\"><em>a\u00a0 <\/em><em>\u2217<\/em> (<em>b<\/em> <em>\u2217<\/em> <em>c<\/em>) = (<em>a<\/em> <em>\u2217<\/em> <em>b<\/em>) <em>\u2217<\/em> <em>c<\/em> for all <em>a, b, c<\/em> <em>\u2208<\/em> <em>G<\/em>.<\/p>\n<p><em>\u00a0<\/em><\/p>\n<p>2.\u00a0\u00a0\u00a0 There exists an element <em>e<\/em> <em>\u2208<\/em> <em>G<\/em> with the property that<\/p>\n<p style=\"padding-left: 60px\"><em>a <\/em><em>\u2217<\/em><em> e <\/em>=<em> e <\/em><em>\u2217<\/em><em> a <\/em>=<em> a<\/em><\/p>\n<\/div>\n<p><span style=\"text-align: initial;font-size: 1em\">\u00a0 \u00a0for all <\/span><em style=\"text-align: initial;font-size: 1em\">a<\/em> <em style=\"text-align: initial;font-size: 1em\">\u2208<\/em> <em style=\"text-align: initial;font-size: 1em\">G<\/em><span style=\"text-align: initial;font-size: 1em\">. (This element <\/span><em style=\"text-align: initial;font-size: 1em\">e<\/em><span style=\"text-align: initial;font-size: 1em\"> is called the <\/span><strong style=\"text-align: initial;font-size: 1em\">identity element<\/strong><span style=\"text-align: initial;font-size: 1em\"> of <\/span><em style=\"text-align: initial;font-size: 1em\">G<\/em><span style=\"text-align: initial;font-size: 1em\">.)<\/span><\/p>\n<div>\n<p>3.\u00a0\u00a0\u00a0 For each element <em>a<\/em> <em>\u2208<\/em> <em>G<\/em>, there exists an element <em>a<\/em><em>\u2212<\/em>1 <em>\u2208<\/em> <em>G<\/em> such that<\/p>\n<p>&nbsp;<\/p>\n<p style=\"padding-left: 60px\"><em>a\u00a0\u00a0 <\/em><em>\u2217<\/em> .<em>a<\/em><sup><em>\u2212<\/em>1<\/sup>. = .<em>a<\/em><sup><em>\u2212<\/em>1<\/sup>. <em>\u2217<\/em> <em>a<\/em><\/p>\n<p style=\"padding-left: 60px\">=\u00a0\u00a0\u00a0 <em>e.<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>(The element <em>a<\/em><sup><em>\u2212<\/em>1<\/sup>\u00a0 is called the <strong>inverse<\/strong> of <em>a<\/em>.)<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The binary operation <em>\u2217<\/em> in this definition may be any operation at all, such as addition, multiplication, or composition of functions. Any set of elements with an operation that satisfies these axioms forms a group. For example:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">\u2022\u00a0 The set Z of integers forms a group under the operation of addition. In particular, addition is associative, the element 0 is an additive identity, and every integer has an additive inverse.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">\u2022\u00a0 The set R <em>\u2212<\/em> <em>{<\/em>0<em>}<\/em> of nonzero real numbers forms a group under the operation of multiplication. Note that zero must be excluded, since it does not have a multiplicative inverse.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">\u2022\u00a0 The set GL(<em>n,<\/em> R) of all invertible <em>n \u00d7 n<\/em> matrices forms a group under the operation of matrix multiplication. In this case, the identity element is the<\/p>\n<p><em>\u00a0<\/em><\/p>\n<p><em>n \u00d7 n <\/em>identity matrix.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Groups are a particularly simple algebraic structure, having only one operation and three axioms. Most algebraic structures have more than one operation, and are required to satisfy a long list of axioms.<\/p>\n<p>&nbsp;<\/p>\n<p>Here is a partial list of the most important algebraic\u00a0\u00a0\u00a0\u00a0 structures:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">\u2022\u00a0 A <strong>group<\/strong> is an algebraic structure with a single operation, as defined above. Groups are closely associated with the idea of symmetry, and most groups that arise in mathematics are groups of symmetry transformations, with the operation being composition of functions.<\/p>\n<p><em>\u00a0<\/em><\/p>\n<p style=\"text-align: justify\">\u2022\u00a0 A <strong>field<\/strong> is an algebraic structure with addition and multiplication, which obey all of the usual rules of elementary algebra. Examples of fields include the rational numbers Q, the real numbers R, and the complex numbers C.<\/p>\n<p><em>\u00a0<\/em><\/p>\n<p style=\"text-align: justify\">\u2022\u00a0 A <strong>ring<\/strong> is a more general algebraic structure with addition and multiplication. Unlike a field, a ring is not required to have multiplicative inverses, and the multiplication is not required to be commutative. A good example of a ring is the set of all <em>n\u00d7 n\u00a0<\/em><span style=\"font-size: 1em;text-align: initial\">matrices under the operations of matrix addition and matrix multiplication. The integers Z also form a ring under the operations of addition\u00a0<\/span><span style=\"text-align: initial;font-size: 1em\">and multiplication.<\/span><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">\u2022\u00a0 A <strong>module<\/strong> is similar to a vector space, except that the scalars are only required to be elements of a ring. For example, the set Z<em>n<\/em> of <em>n<\/em>-dimensional vectors with integer entries forms a module, where \u201cscalar multiplication\u201d refers to multiplication by integer scalars.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Because algebraic structures are inherently abstract, the names for them are fairly arbitrary. Words like \u201cgroup\u201d, \u201cmodule\u201d, and \u201cfield\u201d are just interchangeable collective nouns, and you should not ascribe any importance to which structure has which name. The word \u201cring\u201d is also in this category\u2014it is meant to refer to an association or coalition, such as a smuggling ring or a ring of spies, and should not convey any sense of circularity.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The structures listed above are only a sample of the many algebraic structures of importance in mathematics. Many fields of mathematics involve their own special algebraic structures, and new algebraic structures are defined all the time. To give you a sense of scale, the online encyclopedia Wikipedia currently has articles on over a hundred different algebraic structures, and this represents only a small fraction of those that have been investigated in the mathematical literature.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>8.3 Fields<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The most familiar form of algebra is the elementary algebra that you learned in high school, namely the algebra of the real numbers. From an abstract point of view, this is the algebra of fields.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">A <strong>field<\/strong> is a set <em>F<\/em> together with two binary operations + (the <strong>addition<\/strong> <strong>operation<\/strong>) and (the<strong> multiplication operation<\/strong>), that satisfy the following axioms:<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>The addition operation is associative.\u00a0 That is,<\/p>\n<p style=\"padding-left: 120px\">a + (b + c) = (a + b) + c<\/p>\n<p>for all a, b,c\u00a0 \u2208 F .<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<div>\n<p>The addition operation is commutative.\u00a0 That is,<\/p>\n<p style=\"text-align: justify\">a + b = b + a ,for all a,b \u2208 F There exists a special element of F called the additive identity, denoted by the symbol 0. This element has the property that a + 0 = a , for all a \u2208 F<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>i.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 For each element <em>a<\/em> <em>\u2208<\/em> <em>F<\/em> , there is an element <em>\u2212a<\/em> <em>\u2208<\/em> <em>F<\/em> , called the <strong>additive inverse <\/strong>of <em>a<\/em>, with the property that<\/p>\n<p><em>a\u00a0\u00a0 <\/em>+ (<em>\u2212a<\/em>) =\u00a0 0<em>.<\/em><\/p>\n<p>ii. The multiplication operation is associative. That is,<\/p>\n<p><em>a \u00b7 <\/em>(<em>b \u00b7 c<\/em>) = (<em>a \u00b7 b<\/em>)<em> \u00b7 c<\/em><\/p>\n<p>for all <em>a, b, c<\/em> <em>\u2208<\/em> <em>F<\/em> .<\/p>\n<p>&nbsp;<\/p>\n<p>iii.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 The multiplication operation is commutative. That is,<\/p>\n<p><em>a \u00b7 b <\/em>=<em> b \u00b7 a<\/em><\/p>\n<p>for all <em>a, b<\/em> <em>\u2208<\/em> <em>F<\/em> .<\/p>\n<p>&nbsp;<\/p>\n<p>iv.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 There exists a special element of <em>F<\/em> called the <strong>multiplicative<\/strong> <strong>identity<\/strong>, denoted by the symbol 1.This element has the property that<\/p>\n<p>&nbsp;<\/p>\n<p><em>a \u00b7 <\/em>1 =<em> a<\/em><\/p>\n<\/div>\n<div>\n<p>for all <em>a<\/em> <em>\u2208<\/em> <em>F<\/em> .<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">v.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 For each element <em>a<\/em> <em>\u2208<\/em> <em>F<\/em> other than 0, there exists an element <em>a<\/em><em>\u2212<\/em>1\u00a0 <em>\u2208\u00a0<\/em><em>F <\/em>, called\u00a0 the <strong>multiplicative\u00a0 inverse<\/strong> of<em> a<\/em>, with the property\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 that<\/p>\n<p>&nbsp;<\/p>\n<p><em>a\u00a0\u00a0\u00a0 <\/em><em>\u00b7 a<\/em><em>\u2212<\/em>1 = 1<em>.<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>vi.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 The multiplication operation distributes over the addition operation. That is,<\/p>\n<p>&nbsp;<\/p>\n<p><em>a\u00a0\u00a0 <\/em><em>\u00b7 <\/em>(<em>b <\/em>+<em> c<\/em>) = (<em>a \u00b7 b<\/em>) +(<em>ac<\/em>)<\/p>\n<p>&nbsp;<\/p>\n<p>for all <em>a, b, c<\/em> <em>\u2208<\/em> <em>F<\/em> .<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Note that the axioms for a field are precisely the axioms for algebra on the real numbers. As a result, the real numbers R form a field under the usual operations of addition and multiplication. However, the real numbers are not the only possible field. Indeed, you are already familiar\u00a0with a few other examples:<\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">\u2022\u00a0 The rational numbers Q form a field under the usual operations of addition and multiplication. In particular, we can add or multiply two elements of Q to obtain another element of Q, and these operations obey all of the axioms listed above.<\/p>\n<p><em>\u00a0<\/em><\/p>\n<p style=\"text-align: justify\">\u2022\u00a0 The complex numbers C form a field under the commonly defined operations of addition and multiplication. Complex numbers do obey all of the listed axioms for a field, which is why elementary algebra works as usual for complex numbers.<\/p>\n<p>&nbsp;<\/p>\n<p>The following example discusses another class of fields that we shall be using repeatedly.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>EXAMPLE 1 <\/strong>Integers Modulo <em>n<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>If <em>n \u2265<\/em> 2, let Z<em>n<\/em> denote the set <em>{<\/em>0<em>,<\/em> 1<em>, . . . , n \u2212<\/em> 1<em>}<\/em> under the operations of addition<\/p>\n<p>&nbsp;<\/p>\n<p>and multiplication modulo <em>n<\/em> . For example, here are the addition and multiplication tables for Z<sub>5<\/sub>:<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-87 aligncenter\" src=\"http:\/\/csp11.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/55\/2018\/07\/1-37.png\" alt=\"\" width=\"372\" height=\"153\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-37.png 372w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-37-300x123.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-37-65x27.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-37-225x93.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-37-350x144.png 350w\" sizes=\"auto, (max-width: 372px) 100vw, 372px\" \/><\/p>\n<p style=\"text-align: justify\">It is not hard to see that Z<em>n<\/em> satisfies most of the axioms for a field, but it is not clear that every nonzero element of Z <em>n<\/em> has a multiplicative inverse (as is required by axiom 8). For Z5, we can see from the multiplication table that every element has an inverse. In particular,<\/p>\n<p>&nbsp;<\/p>\n<p>1<sup><em>\u2212<\/em>1<\/sup> = 1<em>,<\/em> 2<sup><em>\u2212<\/em>1<\/sup> = 3<em>,<\/em> 3<sup><em>\u2212<\/em>1<\/sup> = 2<em>,<\/em> and 4<sup><em>\u2212<\/em>1<\/sup> = 4<em>,<\/em> Thus Z<sub>5<\/sub> is a field.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>The same is not true for Z6. Here is the multiplication table modulo\u00a0 6:<\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-88 aligncenter\" src=\"http:\/\/csp11.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/55\/2018\/07\/1-38.png\" alt=\"\" width=\"195\" height=\"180\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-38.png 195w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-38-65x60.png 65w\" sizes=\"auto, (max-width: 195px) 100vw, 195px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>As you can see from this table, 1<sup><em>\u2212<\/em>1<\/sup> = 1 and 5<sup><em>\u2212<\/em>1<\/sup> = 5 in Z6, but the elements 2, 3, and 4 do not have multiplicative inverses.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The following theorem from number theory characterizes which elements have multiplicative inverses. We will not prove this theorem here:<\/p>\n<p>&nbsp;<\/p>\n<p><em>Let <\/em><em>n<\/em> <em>\u2208<\/em> N<em>, and let <\/em><em>k<\/em> <em>\u2208<\/em> Z<em>n<\/em><em>. Then <\/em><em>k<\/em><em> has a multiplicative inverse in <\/em>Z<em>n<\/em><em> if and only if <\/em><em>k<\/em><em> and <\/em><em>n<\/em><em> are relatively prime.<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Theorem 1<\/strong>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Multiplicative Inverses in Z<em>n<\/em><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Here <strong>relatively prime<\/strong> means that <em>k<\/em> and <em>n<\/em> have no common prime factors, their greatest common divisor is 1. This explains why 2, 3, and 4 have no multiplicative inverses in Z6 \u2014 all of these numbers have a factor in common with 6. We can immediately conclude the following:<\/p>\n<p>&nbsp;<\/p>\n<p>Z<em>n<\/em>\u00a0 <em>is a field if and only if<\/em>\u00a0 <em>n<\/em> <em>is\u00a0 prime.<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Corollary 2<\/strong>\u00a0\u00a0 Prime Fields:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">This gives us a large class of fields that are very different from the real numbers. However, you should be aware that we have hardly exhausted the list of fields. For example, here are the addition and multiplication tables for a field with four elements:<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-89 aligncenter\" src=\"http:\/\/csp11.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/55\/2018\/07\/1-39.png\" alt=\"\" width=\"337\" height=\"59\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-39.png 337w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-39-300x53.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-39-65x11.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-39-225x39.png 225w\" sizes=\"auto, (max-width: 337px) 100vw, 337px\" \/><\/p>\n<\/div>\n<p><em><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-90 aligncenter\" src=\"http:\/\/csp11.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/55\/2018\/07\/1-40.png\" alt=\"\" width=\"322\" height=\"123\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-40.png 322w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-40-300x115.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-40-65x25.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-40-225x86.png 225w\" sizes=\"auto, (max-width: 322px) 100vw, 322px\" \/><\/em><\/p>\n<div>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Note that this is not the same as Z4, since among other things Z4 is not a field. The lesson is that not every finite field comes from modular arithmetic.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">There are similar fields with eight and nine elements, although surprisingly it is not possible to define a field with six or ten elements. Indeed, a famous theorem of field theory asserts that there exists a field with <em>n<\/em> elements if and only if <em>n<\/em> is a power of a prime.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>8.4 Algebra of Fields<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">By definition, the elements of a field satisfy exactly the same algebraic axioms as the real numbers. As a result, everything you know about algebra for real numbers translates directly to algebra for the elements of any field. This includes virtually everything you know about elementary algebra, as well as basic linear algebra.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Of course, the definition of a field involves only addition and multiplication, but we usually think of algebra as involving the <em>four<\/em> operations of addition, subtraction, multiplication, and division. Fortunately, it is not difficult to define subtraction and division for elements of a field.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Definition: Subtraction and Division in Fields <\/strong>Let <em>F<\/em> be a field, and let <em>a, b<\/em> <em>\u2208<\/em> <em>F<\/em> .<\/p>\n<p>(a) The <strong>difference<\/strong> of <em>a<\/em> and <em>b<\/em> is defined by the\u00a0 formula<\/p>\n<p style=\"text-align: center\"><em>a\u00a0\u00a0 <\/em><em>\u2212 b <\/em>=<em> a <\/em>+ (<em>\u2212b<\/em>)<em>,<\/em><\/p>\n<p>where <em>\u2212b<\/em> is the additive inverse of\u00a0\u00a0\u00a0\u00a0 <em>b<\/em>.<\/p>\n<p>&nbsp;<\/p>\n<p>(b)\u00a0\u00a0\u00a0\u00a0 If <em>b<\/em> <em>\u0192<\/em>= 0, the <strong>quotient<\/strong> of <em>a<\/em> and <em>b<\/em> is defined by the formula <em>a \u00f7 b <\/em>=<em> a \u00b7 <\/em>(<em>b<\/em><sup><em>\u2212<\/em>1<\/sup>)<em>,<\/em><\/p>\n<p style=\"text-align: justify\">where <em>b<\/em><sup><em>\u2212<\/em>1<\/sup>\u00a0 is the multiplicative inverse of\u00a0 <em>b<\/em>.<\/p>\n<p>&nbsp;<\/p>\n<p>For example, in the field Z5, we can divide 2 by 3 as\u00a0 follows:<\/p>\n<p>&nbsp;<\/p>\n<p>2 <em>\u00f7<\/em> 3\u00a0 =\u00a0 2 <em>\u00b7<\/em> (3<sup><em>\u2212<\/em>1<\/sup>)\u00a0 =\u00a0 2 <em>\u00b7<\/em> 2\u00a0 = 4<em>.<\/em><\/p>\n<\/div>\n<div>\n<p style=\"text-align: justify\">Now that we have subtraction and division, we can perform almost any algebraic computation in the usual way for elements of a field. :<\/p>\n<p>&nbsp;<\/p>\n<p><strong>EXAMPLE 1 : <\/strong>Solving an Equation<\/p>\n<p>&nbsp;<\/p>\n<p>Solve the following equation:<\/p>\n<p>&nbsp;<\/p>\n<p>3<em>x<\/em> + 4\u00a0\u00a0<em>\u2261 <\/em>6 (mod 7)<em>.<\/em><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">SOLUTION: Since Z7 is a field, we can solve this equation using elementary algebra. First we subtract 4 from both sides:<\/p>\n<p>&nbsp;<\/p>\n<p>3<em>x<\/em>\u00a0 <em>\u2261<\/em> 2(mod 7)<em>.<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>Next we must divide through by 3. A moment\u2019s thought reveals that 3<sup><em>\u2212<\/em>1<\/sup> =\u00a0\u00a0 5 in Z7, so dividing through by 3 is the same as multiplying through by 5. This gives:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center\"><em>x\u00a0<\/em><em>\u2261 <\/em>5<em> \u00b7 <\/em>2<em> \u2261 <\/em>3\u00a0 (mod 7)<em>.<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><strong>8.5 Finite Field in Cryptography:<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Finite fields are one of the essential building blocks in coding theory and cryptography and thus appear in many areas in IT security. This section introduces finite fields systematically stating for which orders finite fields exist, shows how to construct them and how to compute in them efficiently. For applications 3 types of fields are particularly interesting \u2013 fields with a prime number of elements, extension fields of the minimal field {0, 1} and optimal extension fields.<\/p>\n<p>&nbsp;<\/p>\n<p>This section studies polynomials over finite fields.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">A polynomial <em>f<\/em> (<em>x<\/em>) <em>\u2208<\/em> <em>K<\/em> [<em>x<\/em>] is <em>irreducible<\/em> if it cannot be written as a product of polynomials of lower degree over the same field, i.e. <em>u<\/em>(<em>x<\/em>)<em>|f<\/em> (<em>x<\/em>) implies <em>u<\/em> is constant or <em>u<\/em>(<em>x<\/em>) = <em>f<\/em> (<em>x<\/em>). Otherwise it is called reducible.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><strong>Example : <\/strong>Consider the following polynomials in IF2[<em>x<\/em>]<em>: f<\/em>1(<em>x<\/em>) = <em>x, f<\/em>2(<em>x<\/em>) = <em>x<\/em>2 + 1<em>,f<\/em>3(<em>x<\/em>) =<em> x<\/em>2 +<em> x <\/em>+ 1<em>, and f<\/em>4(<em>x<\/em>) =<em> x<\/em>4 +<em> x<\/em>2 + 1<em>.<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><em>a)\u00a0\u00a0 <\/em>Apparently f1 is irreducible.<\/p>\n<p>&nbsp;<\/p>\n<p><em>b)\u00a0\u00a0 <\/em>A non-trivial factor of f2 must be linear, one sees that (x + 1)|f2(x), actually f2(x) = (x + 1)2.<\/p>\n<p><em>\u00a0<\/em><\/p>\n<p style=\"text-align: justify\"><em>c)\u00a0\u00a0 <\/em>There are only two linear polynomials, x and x + 1, over IF2. One easily checks that none of them divides f3, so f3 is irreducible.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><em>d)\u00a0\u00a0 <\/em>The last polynomial is not divisible by a linear factor. However, it is not irreducible since f4(x) = (x23 + x + 1)2 = f 2(x). which cannot be<\/p>\n<p>factored further since f3\u00a0\u00a0 is8<\/p>\n<p>irreducible.<\/p>\n<\/div>\n<div>\n<p style=\"text-align: justify\">For functions over the reals, the derivative gives information about the slope of the tangent in a point. In the discrete setting of finite fields we lose this interpretation but we can still define the derivative of a polynomial.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Definition: (Minimal polynomial)<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Let K be a field, L be a finite extension field of K and \u03b1 \u2208 L. The polynomial m\u03b1 \u2208 K[x] constructed in Lemma 23 is called the minimal polynomial of \u03b1 over K.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The prime fields IF<em>p<\/em> are constructed as residue classes of the integers modulo a prime <em>p<\/em>. We have seen that the ring of polynomials over a field shares many similarities with the ring of integers and so we consider the polynomial ring modulo an irreducible polynomial.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-91 aligncenter\" src=\"http:\/\/csp11.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/55\/2018\/07\/1-41.png\" alt=\"\" width=\"629\" height=\"527\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-41.png 629w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-41-300x251.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-41-65x54.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-41-225x189.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-41-350x293.png 350w\" sizes=\"auto, (max-width: 629px) 100vw, 629px\" \/><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p><strong>8.6 Existence and uniqueness of finite fields<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">We have now obtained a way of constructing finite fields by using irreducible polynomials over prime fields and mentioned that the same construction can also be used for an arbitrary base field. This raises the need to question whether the constructed fields are the same and whether we can always find an irreducible polynomial of the desired degree. This section is rather technical in nature but establishes a major result towards proving the existence and uniqueness of finite fields of prime power order.<\/p>\n<p>&nbsp;<\/p>\n<p>The following definition and lemma hold in the context of arbitrary fields.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Definition:(Splitting field)<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><em>Let K be a field and let f <\/em>(<em>x<\/em>) <em>\u2208<\/em><em> K<\/em>[<em>x<\/em>]<em> be a polynomial. The <\/em>splitting field of<em> f is the smallest field extension L of K so that f splits into linear factors in L<\/em>[<em>x<\/em>]<em>.<\/em><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">We state the following lemma without proof. It is an important piece in the construction of finite fields but its proof is rather technical.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">GF(<em>p<\/em>) of order (that is, size) <em>p<\/em> is easily constructed as the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Modular_arithmetic\">integers modulo <em>p<\/em>.\u00a0<\/a>The elements of a prime field may be represented by integers in the range 0, &#8230;, <em>p<\/em> \u2212 1.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Let <em>F<\/em> be a finite field. For any element <em>x<\/em> in <em>F<\/em> and any <a href=\"https:\/\/en.wikipedia.org\/wiki\/Integer\">integer <\/a><em>n<\/em>, let us denote by <em>n<\/em>\u22c5<em>x<\/em> the sum of <em>n<\/em> copies of <em>x<\/em>. The least positive <em>n<\/em> such that <em>n<\/em>\u22c51 = 0 must exist and is prime; it is called the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Characteristic_(algebra)\">characteristic <\/a>of the field.<\/p>\n<\/div>\n<p style=\"text-align: justify\">If the characteristic of F is p, one can multiply an element k of GF(p) by an element x of F by choosing an integer representative for k. This multiplication makes F into a GF(p)-vector space. It follows that the number of elements of F is p <sup>n\u00a0<\/sup>for some integer n<\/p>\n<div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">For every prime number <em>p<\/em> and every positive integer <em>n<\/em>, there are finite fields of order <em>p<\/em><sup><em>n<\/em><\/sup>, and all fields of this order are <a href=\"https:\/\/en.wikipedia.org\/wiki\/Isomorphic\">isomorphic. <\/a>One may therefore identify all fields of order <em>p<\/em><sup><em>n<\/em><\/sup>, which are therefore unambiguously denoted , <strong>F<\/strong><em>p<\/em><sup><em>n<\/em><\/sup> or GF(<em>p<\/em><sup><em>n<\/em><\/sup>), where the letters GF stand for &#8220;Galois field&#8221;.<\/p>\n<p>&nbsp;<\/p>\n<p>The identity<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">is true (for every <em>x<\/em> and <em>y<\/em>) in a field of characteristic <em>p<\/em>. (This follows from the fact that all, except the first and the last, <a href=\"https:\/\/en.wikipedia.org\/wiki\/Binomial_coefficient\">binomial coefficients <\/a>of the expansion of (<em>x<\/em> + <em>y<\/em>)<sup><em>p<\/em><\/sup> are multiples of <em>p<\/em>).<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">For every element <em>x<\/em> in the prime field GF(<em>p<\/em>), one has <em>x<\/em><em>p<\/em> = <em>x<\/em> (This is an immediate consequence of <a href=\"https:\/\/en.wikipedia.org\/wiki\/Fermat%27s_little_theorem\">Fermat&#8217;s little theorem, <\/a>and this may be easily\u00a0<span style=\"text-align: initial;font-size: 1em\">proved as follows: the equality is trivially true for <\/span><em style=\"text-align: initial;font-size: 1em\">x<\/em><span style=\"text-align: initial;font-size: 1em\"> = 0 and <\/span><em style=\"text-align: initial;font-size: 1em\">x<\/em><span style=\"text-align: initial;font-size: 1em\"> = 1; one obtains the result for the other elements of GF(<\/span><em style=\"text-align: initial;font-size: 1em\">p<\/em><span style=\"text-align: initial;font-size: 1em\">) by applying the above identity to <\/span><em style=\"text-align: initial;font-size: 1em\">x<\/em><span style=\"text-align: initial;font-size: 1em\"> and 1, where <\/span><em style=\"text-align: initial;font-size: 1em\">x<\/em><span style=\"text-align: initial;font-size: 1em\"> successively takes the values 1, 2, &#8230;, <\/span><em style=\"text-align: initial;font-size: 1em\">p<\/em><span style=\"text-align: initial;font-size: 1em\"> \u2212 1 modulo <\/span><em style=\"text-align: initial;font-size: 1em\">p<\/em><span style=\"text-align: initial;font-size: 1em\">.) This implies the equality for polynomials over GF(<\/span><em style=\"text-align: initial;font-size: 1em\">p<\/em><span style=\"text-align: initial;font-size: 1em\">). More generally, every element in GF(<\/span><em style=\"text-align: initial;font-size: 1em\">p<\/em><sup><em style=\"text-align: initial\">n<\/em><\/sup><span style=\"text-align: initial;font-size: 1em\">) satisfies the polynomial equation <\/span><em style=\"text-align: initial;font-size: 1em\">x<\/em><sup><em style=\"text-align: initial\">pn<\/em><\/sup><span style=\"text-align: initial;font-size: 1em\"> \u2212 <\/span><em style=\"text-align: initial;font-size: 1em\">x<\/em><span style=\"text-align: initial;font-size: 1em\"> = 0.<\/span><\/p>\n<\/div>\n<div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Any finite field extension of a finite field is separable and simple. That is, if <em>E<\/em> is a finite field and <em>F<\/em> is a subfield of <em>E<\/em>, then <em>E<\/em> is obtained from <em>F<\/em> by adjoining a single element whose <a href=\"https:\/\/en.wikipedia.org\/wiki\/Minimal_polynomial_(field_theory)\">minimal polynomial <\/a>is separable. To use a jargon, finite fields are <a href=\"https:\/\/en.wikipedia.org\/wiki\/Perfect_field\">perfect.<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Let <em>q<\/em> = <em>p<\/em><sup><em>n<\/em><\/sup> be a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Prime_power\">prime power, <\/a>and <em>F<\/em> be the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Splitting_field\">splitting field <\/a>of the polynomial over the prime field GF(<em>p<\/em>). This means that <em>F<\/em> is a finite field of lowest order, in which <em>P<\/em> has <em>q<\/em> distinct roots (the roots are distinct, as the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Formal_derivative\">formal<\/a> <a href=\"https:\/\/en.wikipedia.org\/wiki\/Formal_derivative\">derivative <\/a>of <em>P<\/em> is equal to \u22121). <a href=\"https:\/\/en.wikipedia.org\/wiki\/Finite_field#powersum\">Above identity <\/a>shows that the sum and the product of two roots of <em>P<\/em> are roots of <em>P<\/em>, as well as the multiplicative inverse of a root of <em>P<\/em>. In other word, the roots of <em>P<\/em> form a field of order <em>q<\/em>, which is equal to <em>F<\/em> by the minimality of the splitting field.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">The uniqueness up to isomorphism of splitting fields implies thus that all fields of order <em>q<\/em> are isomorphic.<\/p>\n<p>&nbsp;<\/p>\n<p>In summary, we have the following classification theorem first proved in 1893 by <a href=\"https:\/\/en.wikipedia.org\/wiki\/E._H._Moore\">E. H. Moore:<\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\"><em>The order of a finite field is a prime power. For every prime power q there are fields of order q<\/em>,<em> and they are all isomorphic. In these fields, every element satisfies and the polynomial X<\/em><em>q<\/em> \u2212<em> X factors as<\/em>:<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">It follows that GF(<em>p<\/em><em>n<\/em>) contains a subfield isomorphic to GF(<em>p<\/em><em>m<\/em>) if and only if <em>m<\/em> is a divisor of <em>n<\/em>; in that case, this subfield is unique. In fact, the polynomial <em>X<\/em><em>pm<\/em> \u2212 <em>X<\/em> divides <em>X<\/em><em>pn<\/em> \u2212 <em>X<\/em> if and only if <em>m<\/em> is a divisor of <em>n<\/em>.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Non-prime fields<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Given a prime power q = p<sup>n<\/sup> with p prime and n &gt; 1, the field GF(q) may be explicitly constructed in the following way. One chooses first an irreducible polynomial P in GF(p)[X]of degree n (such an irreducible polynomial always exists). Then the quotient ring of the polynomial ring GF(p)[X] by the ideal generated by P is a field of order q.<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">More explicitly, the elements of GF(<em>q<\/em>) are the polynomials over GF(<em>p<\/em>) whose degree is strictly less than <em>n<\/em>. The addition and the subtraction are those of polynomials over GF(<em>p<\/em>). The product of two elements is the remainder of the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Euclidean_division_of_polynomials\">Euclidean division <\/a>by <em>P<\/em> of the product in GF(<em>p<\/em>)[<em>X<\/em>]. The multiplicative inverse\u00a0<span style=\"text-align: initial;font-size: 1em\">of a non-zero element may be computed with the extended Euclidean algorithm; see <\/span><a style=\"text-align: initial;font-size: 1em\" href=\"https:\/\/en.wikipedia.org\/wiki\/Extended_Euclidean_algorithm#Simple_algebraic_field_extensions\">Extended Euclidean algorithm \u00a7 Simple algebraic field extensions.<\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p style=\"text-align: justify\">Except in the construction of GF(4), there are several possible choices for P, which produce isomorphic results. To simplify the Euclidean division, for P one commonly chooses polynomials of the form which make the needed Euclidean divisions very efficient. However, for some fields, typically in characteristic 2, irreducible polynomials of the form X<sup>n<\/sup> + aX + b may not exist. In characteristic 2, if the polynomial X<sup>n<\/sup> + X + 1 is reducible, it is recommended to choose X<sup>n<\/sup> + X <sup>k<\/sup> + 1 with the lowest possible k that makes the polynomial irreducible. If all these trinomials are reducible, one chooses &#8220;pentanomials&#8221; X<sup> n<\/sup> + X <sup>a<\/sup> + X<sup> b<\/sup> + X <sup>c<\/sup> + 1, as polynomials of degree<br \/>\ngreater than 1, with an even number of terms, are never irreducible in characteristic 2, having 1 as a root. &#8220;pentanomials&#8221; <em>X<\/em><sup><em>n<\/em><\/sup> + <em>X<\/em><sup><em>a<\/em><\/sup> + <em>X<\/em><sup><em>b<\/em><\/sup> + <em>X<\/em><sup><em>c<\/em><\/sup> + 1, as polynomials of degree greater than 1, with an even number of terms, are never irreducible in characteristic 2, having 1 as a root.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Summary<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p>\u00d8 Outlined the algebraic structures<\/p>\n<p>\u00d8 Discussed about the groups, rings and fields with examples.<\/p>\n<p>\u00d8 Discussed about the galois field to perform modulo prime p with some examples.<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>you can view video on Algebraic Structures and Finite Fields 1<\/strong><\/td>\n<td><a href=\"https:\/\/youtu.be\/NgCVU2KU2pU\" target=\"_blank\" rel=\"noopener\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-120\" src=\"http:\/\/epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/2018\/11\/download.png\" alt=\"\" width=\"36\" height=\"36\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-92 alignleft\" src=\"http:\/\/csp11.epgpbooks.inflibnet.ac.in\/wp-content\/uploads\/sites\/55\/2018\/07\/1-42.png\" alt=\"\" width=\"634\" height=\"508\" srcset=\"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-42.png 634w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-42-300x240.png 300w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-42-65x52.png 65w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-42-225x180.png 225w, https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-content\/uploads\/sites\/55\/2018\/07\/1-42-350x280.png 350w\" sizes=\"auto, (max-width: 634px) 100vw, 634px\" \/><\/p>\n","protected":false},"author":3,"menu_order":7,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":["dr-kulothungan"],"pb_section_license":""},"chapter-type":[],"contributor":[58],"license":[],"class_list":["post-84","chapter","type-chapter","status-publish","hentry","contributor-dr-kulothungan"],"part":3,"_links":{"self":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-json\/pressbooks\/v2\/chapters\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":6,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-json\/pressbooks\/v2\/chapters\/84\/revisions"}],"predecessor-version":[{"id":537,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-json\/pressbooks\/v2\/chapters\/84\/revisions\/537"}],"part":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-json\/pressbooks\/v2\/parts\/3"}],"metadata":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-json\/pressbooks\/v2\/chapters\/84\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-json\/pressbooks\/v2\/chapter-type?post=84"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-json\/wp\/v2\/contributor?post=84"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/ebooks.inflibnet.ac.in\/csp11\/wp-json\/wp\/v2\/license?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}