{"id":29,"date":"2016-09-22T20:04:57","date_gmt":"2016-09-22T20:04:57","guid":{"rendered":"http:\/\/keithmellinger.com\/magma\/?page_id=29"},"modified":"2016-11-03T19:49:14","modified_gmt":"2016-11-03T19:49:14","slug":"groups","status":"publish","type":"page","link":"https:\/\/keithmellinger.com\/magma\/groups\/","title":{"rendered":"Groups"},"content":{"rendered":"<p>One of the most powerful uses of <em>Magma<\/em> is with group theory. We will only be able to touch the surface of what <em>Magma<\/em> can do, but this should give you enough to see the power. Let\u2019s start simply. We\u2019ll define the symmetric group on 4 elements and pull out an element to examine.<\/p>\n<p><code>&gt; S4 := SymmetricGroup(4);<br \/>\n&gt; S4;<br \/>\nSymmetric group S4 acting on a set of cardinality 4<br \/>\nOrder = 24 = 2^3 * 3<br \/>\n&gt; p := S4!(1,2,3);<br \/>\n&gt; Order(p);<br \/>\n3<\/code><\/p>\n<p>It\u2019s easy to create subgroups generated by elements.<\/p>\n<p><code>&gt; S := sub&lt;S4 | p&gt;;<br \/>\n&gt; S;<br \/>\nPermutation group S acting on a set of cardinality 4<br \/>\nOrder = 3<br \/>\n(1, 2, 3)<\/code><\/p>\n<p>We can also create permutation groups by giving a list of generators. Let\u2019s look at the Klein 4 group and show that it is not cyclic.<\/p>\n<p><code>Klein4 := PermutationGroup&lt;4 | (1,2)(3,4), (1,3)(2,4) &gt;;<br \/>\n&gt; #Klein4;<br \/>\n4<br \/>\n&gt; IsAbelian(Klein4);<br \/>\ntrue<br \/>\n&gt; IsCyclic(Klein4);<br \/>\nfalse<br \/>\n&gt; C4 := CyclicGroup(4);<br \/>\n&gt; Klein4,C4;<br \/>\nPermutation group Klein4 acting on a set of cardinality 4<br \/>\nOrder = 4 = 2^2<br \/>\n(1, 2)(3, 4)<br \/>\n(1, 3)(2, 4)<br \/>\nPermutation group C4 acting on a set of cardinality 4<br \/>\nOrder = 4 = 2^2<br \/>\n(1, 2, 3, 4)<br \/>\n&gt; IsIsomorphic(Klein4,C4);<br \/>\nfalse<\/code><\/p>\n<p><strong><em>Exercise:<\/em><\/strong> Since <em>Magma<\/em> was written by mathematicians for mathematicians, it\u2019s often easy to guess the commands for certain things. Try to do the following without looking up the commands:<\/p>\n<ol>\n<li>Use <em>Magma<\/em> to show that the symmetric group acting on a set of cardinality 3 is the same as the dihedral group acting on a set of cardinality 3.<\/li>\n<li>Construct a permutation group acting on 4 elements generated by the cycle elements (1,2)(3,4) and (1,2,3). Check if this group is the same as the alternating group A<sub>4<\/sub>.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>One of the most powerful uses of Magma is with group theory. We will only be able to touch the surface of what Magma can do, but this should give you enough to see the power. Let\u2019s start simply. We\u2019ll define the symmetric group on 4 elements and pull out an element to examine. &gt; &hellip; <a href=\"https:\/\/keithmellinger.com\/magma\/groups\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Groups<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-29","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/keithmellinger.com\/magma\/wp-json\/wp\/v2\/pages\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/keithmellinger.com\/magma\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/keithmellinger.com\/magma\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/keithmellinger.com\/magma\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/keithmellinger.com\/magma\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":5,"href":"https:\/\/keithmellinger.com\/magma\/wp-json\/wp\/v2\/pages\/29\/revisions"}],"predecessor-version":[{"id":58,"href":"https:\/\/keithmellinger.com\/magma\/wp-json\/wp\/v2\/pages\/29\/revisions\/58"}],"wp:attachment":[{"href":"https:\/\/keithmellinger.com\/magma\/wp-json\/wp\/v2\/media?parent=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}