Quaternions and 3D Rotations

Total Page:16

File Type:pdf, Size:1020Kb

Quaternions and 3D Rotations Quaternions and 3D Rotations Jeanette Schofield April 7, 2011 Contents 1 Quaternions: Definition and Basic Properties 3 1.1 Equality . 4 1.2 Addition . 4 1.2.1 Closed Under Addition . 4 1.2.2 Additive Identity . 4 1.2.3 Additive Inverse . 5 1.2.4 Commutative Under Addition . 5 1.2.5 Associative Under Addition . 5 1.3 Multiplication . 6 1.3.1 Scalar Multiplication . 6 1.3.2 Multiplication of Two Quaternions . 6 1.3.3 Associative Under Multiplication . 6 1.3.4 Implications of i2 = j2 = k2 = ijk = −1................. 7 1.3.5 Multiplication of Two Quaternions Revisited . 8 1.3.6 Closed Under Multiplication . 9 1.3.7 Multiplicative Identity . 9 1.3.8 Conjugate . 10 1.3.9 Norm . 10 1.3.10 Multiplicative Inverse . 10 1.4 Multiplication is Distributive over Addition . 11 1.5 Remarks on Quaternion Multiplication and Commutativity . 12 1.6 Summary of Algebraic Properties . 13 2 Quaternions and Rotations 14 2.1 Rotations in Three-Space . 14 2.2 Proof: w = qvq∗ ................................. 15 2.3 Expanding w = qvq∗ ............................... 20 2.4 Rotation Algorithm . 21 2.5 Examples . 22 2.5.1 Example 1 . 22 2.5.2 Example 2 . 23 3 Rotating a Coordinate Frame S into Another Coordinate Frame S0 26 3.1 Generalized Two Axis-Angle Rotation Method . 26 3.2 Two Axis-Angle Rotation Method Using Quaternions . 27 1 3.2.1 Example . 28 A Some Useful Equations 31 A.1 The Dot and Cross Product of Two Vectors . 31 A.1.1 The Dot Product . 31 A.1.2 The Cross Product . 31 A.2 Useful Relationships . 31 A.2.1 Proof: If v is ? to w, kv + wk2 = kvk2 + kwk2 . 32 B Source Code for the Two Axis-Angle Frame Rotation Method 33 B.1 C++ Code Listing . 33 2 Chapter 1 Quaternions: Definition and Basic Properties Quaternions may be thought of as 4-tuples of real numbers: q = (q0; q1; q2; q3). Equivalently, quaternions may also be written in the form q = q0 + q1i + q2j + q3k (1.0.0.1) where i = (0; 1; 0; 0) j = (0; 0; 1; 0) (1.0.0.2) k = (0; 0; 0; 1) are themselves 4-tuples which satisfy the following relations i2 = j2 = k2 = ijk = −1: (1.0.0.3) 3 In R , a vector is defined as v = vxi + vyj + vzk where i, j, and k are vectors of the form i = (1; 0; 0) j = (0; 1; 0) k = (0; 0; 1): 3 4 Any vector in R can be mapped to R by (vx; vy; vz) 7! (0; vx; vy; vz) This mapping is often represented by v = 0 + v = v. By convention, the i, j, and k components of a quaternion are usually written as vectors. Thus, any quaternion q may be written as q = q0 + q = q0 + q1i + q2j + q3k (1.0.0.4) where i2 = j2 = k2 = ijk = −1: (1.0.0.5) Here, q0 is referred as the scalar part of the quaternion and q = q1i + q2j + q3k is referred to 3 as the vector part of the quaternion. The quaternions form a non-commutative division ring. This means that quaternions have all the properties of a field except that quaternions are not commutative under multi- plication. A discussion of the various properties of quaternions follows. 1.1 Equality Two quaternions, p = p0 + p1i + p2j + p3k and q = q0 + q1i + q2j + q3k are considered equal if and only if their corresponding scalar components are equal: p0 = q0 p1 = q1 p2 = q2 p3 = q3: 1.2 Addition Two quaternions, p = p0 + p1i + p2j + p3k and q = q0 + q1i + q2j + q3k, can be added together by combining their corresponding scalar and vector components: p + q = (p0 + p1i + p2j + p3k) + (q0 + q1i + q2j + q3k) = (p0 + q0) + (p1 + q1)i + (p2 + q2)j + (p3 + q3)k: The following subsections discuss various properties of the quaternions under addition. 1.2.1 Closed Under Addition The addition of two quaternions, p = p0 + p1i + p2j + p3k and q = q0 + q1i + q2j + q3k, will result in a third quaternion, r = r0 + r1i + r2j + r3k: p + q = p0 + p1i + p2j + p3k + q0 + q1i + q2j + q3k = (p0 + q0) + (p1 + q1)i + (p2 + q2)j + (p3 + q3)k = r0 + r1i + r2j + r3k = r: 1.2.2 Additive Identity The additive identity for quaternions is the zero quaternion, 0 = 0 + 0i + 0j + 0k: q + 0 = q0 + q1i + q2j + q3k + 0 + 0i + 0j + 0k = (q0 + 0) + (q1 + 0)i + (q2 + 0)j + (q3 + 0)k = q0 + q1i + q2j + q3k = q: 4 1.2.3 Additive Inverse The additive inverse for a quaternion q = q0 + q1i + q2j + q3k is given by −q = −q0 − q1i − q2j − q3k: q + (−q) = (q0 + q1i + q2j + q3k) + (−q0 − q1i − q2j − q3k) = (q0 − q0) + (q1 − q1)i + (q2 − q2)j + (q3 − q3)k = 0: 1.2.4 Commutative Under Addition Commutativity means that the order in which two quaternions are added together does not matter. Thus, for any two quaternions, p = p0 + p1i + p2j + p3k and q = q0 + q1i + q2j + q3k, p + q = (p0 + p1i + p2j + p3k) + (q0 + q1i + q2j + q3k) = (p0 + q0) + (p1 + q1)i + (p2 + q2)j + (p3 + q3)k = (q0 + p0) + (q1 + p1)i + (q2 + p2)j + (q3 + p3)k = (q0 + q1i + q2j + q3k) + (p0 + p1i + p2j + p3k) = q + p: 1.2.5 Associative Under Addition Associativity means given any three quaternions under addition, the order in which they are grouped together does not matter. For any three quaternions, p = p0 + p1i + p2j + p3k, q = q0 + q1i + q2j + q3k, and r = r0 + r1i + r2j + r3k, observe that (p + q) + r = (p0 + q0) + (p1 + q1)i + (p2 + q2)j + (p3 + q3)k + r0 + r1i + r2j + r3k = (p0 + q0) + r0 + (p1 + q1) + r1 i + (p2 + q2) + r2 j + (p3 + q3) + r3 k: Because the real numbers are associative under addition, the scalar componenets can be manipulated. Thus, (p + q) + r = p0 + (q0 + r0) + p1 + (q1 + r1) i + p2 + (q2 + r2) j + p3 + (q3 + r3) k = p0 + p1i + p2j + p3k + (q0 + r0) + (q1 + r1)i + (q2 + r2)j +(q3 + r3)k = p + (q + r): To summarize, the associativity of quaternions under addition means that the order in which three or more quaternions are combined does not matte; i.e. (p + q) + r = p + (q + r). 5 1.3 Multiplication For quaternions, there are two types of multiplication to discuss: scalar multiplication and the muiltiplication of two quaternions. Scalar multiplication involves the multiplication of a quaternion q = q0 +q1i+q2j+q3k by any scalar s 2 R. The multiplication of two quaternions involves multiplying two quaternions p = p0 + p1i + p2j + p3k and q = q0 + q1i + q2j + q3k. Various properties of quaternions that deal with multiplication will also be discussed in this section. 1.3.1 Scalar Multiplication Multiplication of a quaternion q = q0 + q1i + q2j + q3k by a scalar s is defined as sq = sq0 + sq = sq0 + sq1i + sq2j + sq3k: 1.3.2 Multiplication of Two Quaternions The multiplication of two quaternions, p = p0 + p and q = q0 + q, is defined as pq = (p0 + p)(q0 + q) = p0q0 + p0q + q0p + pq: (1.3.2.1) At this point is in unclear how to expand the term "pq." This will be revisted in a later section. 1.3.3 Associative Under Multiplication Quaternions are associative under multiplication. This means that for any three quaternions, p = p0 + p1i + p2j + p3k, q = q0 + q1i + q2j + q3k, and r = r0 + r1i + r2j + r3k, the order in which the quaternions are grouped together under multiplication does not matter: (pq)r = (p0q0 + p0q + q0p + pq)(r0 + r) = p0q0r0 + p0q0r + p0r0q + p0qr + q0r0p + q0pr + r0pq + pqr: Factoring p0 out of the first four terms and p out of the last four terms, (pq)r = p0(q0r0 + q0r + r0q + qr) + p(q0r0 + q0r + r0q + qr) = (p0 + p)(q0r0 + q0r + r0q + qr): By definition, qr = q0r0 + q0r + r0q + qr. Thus, (pq)r = p(qr) (1.3.3.1) and it has been shown that quaternions are associative under multiplication. 6 1.3.4 Implications of i2 = j2 = k2 = ijk = −1 The relationships i2 = j2 = k2 = ijk = −1 must always hold; some important relationships that follow from these statements will now be derived. Since i2 = ii = ijk = −1, this implies that i = jk: (1.3.4.1) Similarly, since k2 = kk = ijk = −1, then k = ij: (1.3.4.2) Using equation (1.3.4.2) and multiplying by j on the right, k(j) = ij(j) kj = i(jj) = i(j2) = i(−1) = −i so i = −kj: (1.3.4.3) From equations (1.3.4.1) and (1.3.4.3), the following relationships can be found for i: i = jk = −kj: Using equation (1.3.4.1) and multiplying on the left by j, (j)i = (j)jk ji = (jj)k = (j2)k = (−1)k = −k so k = −ji: (1.3.4.4) From equation (1.3.4.2) and (1.3.4.4), the following relationships are found for k: k = ij = −ji: Using equation (1.3.4.4) and multiplying on the right by i, k(i) = −ji(i) ki = −j(ii) = −j(i2) = −j(−1) = j: Thus, j = ki: (1.3.4.5) Using equation (1.3.4.2) and multiplying on the left by i, (i)k = (i)ij 7 ik = (ii)j = (i2)j = (−1)j = −j: Hence, j = −ik: (1.3.4.6) From equations (1.3.4.5) and (1.3.4.6), the following relationships are found for j: j = ki = −ik: To summarize, when multiplying two quaternions together, the relationships i2 = j2 = k2 = ijk = −1 must always hold.
Recommended publications
  • Chapter 1 the Field of Reals and Beyond
    Chapter 1 The Field of Reals and Beyond Our goal with this section is to develop (review) the basic structure that character- izes the set of real numbers. Much of the material in the ¿rst section is a review of properties that were studied in MAT108 however, there are a few slight differ- ences in the de¿nitions for some of the terms. Rather than prove that we can get from the presentation given by the author of our MAT127A textbook to the previous set of properties, with one exception, we will base our discussion and derivations on the new set. As a general rule the de¿nitions offered in this set of Compan- ion Notes will be stated in symbolic form this is done to reinforce the language of mathematics and to give the statements in a form that clari¿es how one might prove satisfaction or lack of satisfaction of the properties. YOUR GLOSSARIES ALWAYS SHOULD CONTAIN THE (IN SYMBOLIC FORM) DEFINITION AS GIVEN IN OUR NOTES because that is the form that will be required for suc- cessful completion of literacy quizzes and exams where such statements may be requested. 1.1 Fields Recall the following DEFINITIONS: The Cartesian product of two sets A and B, denoted by A B,is a b : a + A F b + B . 1 2 CHAPTER 1. THE FIELD OF REALS AND BEYOND A function h from A into B is a subset of A B such that (i) 1a [a + A " 2bb + B F a b + h] i.e., dom h A,and (ii) 1a1b1c [a b + h F a c + h " b c] i.e., h is single-valued.
    [Show full text]
  • Real Numbers and Their Properties
    Real Numbers and their Properties Types of Numbers + • Z Natural numbers - counting numbers - 1, 2, 3,... The textbook uses the notation N. • Z Integers - 0, ±1, ±2, ±3,... The textbook uses the notation J. • Q Rationals - quotients (ratios) of integers. • R Reals - may be visualized as correspond- ing to all points on a number line. The reals which are not rational are called ir- rational. + Z ⊂ Z ⊂ Q ⊂ R. R ⊂ C, the field of complex numbers, but in this course we will only consider real numbers. Properties of Real Numbers There are four binary operations which take a pair of real numbers and result in another real number: Addition (+), Subtraction (−), Multiplication (× or ·), Division (÷ or /). These operations satisfy a number of rules. In the following, we assume a, b, c ∈ R. (In other words, a, b and c are all real numbers.) • Closure: a + b ∈ R, a · b ∈ R. This means we can add and multiply real num- bers. We can also subtract real numbers and we can divide as long as the denominator is not 0. • Commutative Law: a + b = b + a, a · b = b · a. This means when we add or multiply real num- bers, the order doesn’t matter. • Associative Law: (a + b) + c = a + (b + c), (a · b) · c = a · (b · c). We can thus write a + b + c or a · b · c without having to worry that different people will get different results. • Distributive Law: a · (b + c) = a · b + a · c, (a + b) · c = a · c + b · c. The distributive law is the one law which in- volves both addition and multiplication.
    [Show full text]
  • Modular Arithmetic
    CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 5 Modular Arithmetic One way to think of modular arithmetic is that it limits numbers to a predefined range f0;1;:::;N ¡ 1g, and wraps around whenever you try to leave this range — like the hand of a clock (where N = 12) or the days of the week (where N = 7). Example: Calculating the day of the week. Suppose that you have mapped the sequence of days of the week (Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday) to the sequence of numbers (0;1;2;3;4;5;6) so that Sunday is 0, Monday is 1, etc. Suppose that today is Thursday (=4), and you want to calculate what day of the week will be 10 days from now. Intuitively, the answer is the remainder of 4 + 10 = 14 when divided by 7, that is, 0 —Sunday. In fact, it makes little sense to add a number like 10 in this context, you should probably find its remainder modulo 7, namely 3, and then add this to 4, to find 7, which is 0. What if we want to continue this in 10 day jumps? After 5 such jumps, we would have day 4 + 3 ¢ 5 = 19; which gives 5 modulo 7 (Friday). This example shows that in certain circumstances it makes sense to do arithmetic within the confines of a particular number (7 in this example), that is, to do arithmetic by always finding the remainder of each number modulo 7, say, and repeating this for the results, and so on.
    [Show full text]
  • Discrete Mathematics
    Slides for Part IA CST 2016/17 Discrete Mathematics <www.cl.cam.ac.uk/teaching/1617/DiscMath> Prof Marcelo Fiore [email protected] — 0 — What are we up to ? ◮ Learn to read and write, and also work with, mathematical arguments. ◮ Doing some basic discrete mathematics. ◮ Getting a taste of computer science applications. — 2 — What is Discrete Mathematics ? from Discrete Mathematics (second edition) by N. Biggs Discrete Mathematics is the branch of Mathematics in which we deal with questions involving finite or countably infinite sets. In particular this means that the numbers involved are either integers, or numbers closely related to them, such as fractions or ‘modular’ numbers. — 3 — What is it that we do ? In general: Build mathematical models and apply methods to analyse problems that arise in computer science. In particular: Make and study mathematical constructions by means of definitions and theorems. We aim at understanding their properties and limitations. — 4 — Lecture plan I. Proofs. II. Numbers. III. Sets. IV. Regular languages and finite automata. — 6 — Proofs Objectives ◮ To develop techniques for analysing and understanding mathematical statements. ◮ To be able to present logical arguments that establish mathematical statements in the form of clear proofs. ◮ To prove Fermat’s Little Theorem, a basic result in the theory of numbers that has many applications in computer science. — 16 — Proofs in practice We are interested in examining the following statement: The product of two odd integers is odd. This seems innocuous enough, but it is in fact full of baggage. — 18 — Proofs in practice We are interested in examining the following statement: The product of two odd integers is odd.
    [Show full text]
  • EE 595 (PMP) Advanced Topics in Communication Theory Handout #1
    EE 595 (PMP) Advanced Topics in Communication Theory Handout #1 Introduction to Cryptography. Symmetric Encryption.1 Wednesday, January 13, 2016 Tamara Bonaci Department of Electrical Engineering University of Washington, Seattle Outline: 1. Review - Security goals 2. Terminology 3. Secure communication { Symmetric vs. asymmetric setting 4. Background: Modular arithmetic 5. Classical cryptosystems { The shift cipher { The substitution cipher 6. Background: The Euclidean Algorithm 7. More classical cryptosystems { The affine cipher { The Vigen´erecipher { The Hill cipher { The permutation cipher 8. Cryptanalysis { The Kerchoff Principle { Types of cryptographic attacks { Cryptanalysis of the shift cipher { Cryptanalysis of the affine cipher { Cryptanalysis of the Vigen´erecipher { Cryptanalysis of the Hill cipher Review - Security goals Last lecture, we introduced the following security goals: 1. Confidentiality - ability to keep information secret from all but authorized users. 2. Data integrity - property ensuring that messages to and from a user have not been corrupted by communication errors or unauthorized entities on their way to a destination. 3. Identity authentication - ability to confirm the unique identity of a user. 4. Message authentication - ability to undeniably confirm message origin. 5. Authorization - ability to check whether a user has permission to conduct some action. 6. Non-repudiation - ability to prevent the denial of previous commitments or actions (think of a con- tract). 7. Certification - endorsement of information by a trusted entity. In the rest of today's lecture, we will focus on three of these goals, namely confidentiality, integrity and authentication (CIA). In doing so, we begin by introducing the necessary terminology. 1 We thank Professors Radha Poovendran and Andrew Clark for the help in preparing this material.
    [Show full text]
  • Quaternion Algebra and Calculus
    Quaternion Algebra and Calculus David Eberly, Geometric Tools, Redmond WA 98052 https://www.geometrictools.com/ This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. Created: March 2, 1999 Last Modified: August 18, 2010 Contents 1 Quaternion Algebra 2 2 Relationship of Quaternions to Rotations3 3 Quaternion Calculus 5 4 Spherical Linear Interpolation6 5 Spherical Cubic Interpolation7 6 Spline Interpolation of Quaternions8 1 This document provides a mathematical summary of quaternion algebra and calculus and how they relate to rotations and interpolation of rotations. The ideas are based on the article [1]. 1 Quaternion Algebra A quaternion is given by q = w + xi + yj + zk where w, x, y, and z are real numbers. Define qn = wn + xni + ynj + znk (n = 0; 1). Addition and subtraction of quaternions is defined by q0 ± q1 = (w0 + x0i + y0j + z0k) ± (w1 + x1i + y1j + z1k) (1) = (w0 ± w1) + (x0 ± x1)i + (y0 ± y1)j + (z0 ± z1)k: Multiplication for the primitive elements i, j, and k is defined by i2 = j2 = k2 = −1, ij = −ji = k, jk = −kj = i, and ki = −ik = j. Multiplication of quaternions is defined by q0q1 = (w0 + x0i + y0j + z0k)(w1 + x1i + y1j + z1k) = (w0w1 − x0x1 − y0y1 − z0z1)+ (w0x1 + x0w1 + y0z1 − z0y1)i+ (2) (w0y1 − x0z1 + y0w1 + z0x1)j+ (w0z1 + x0y1 − y0x1 + z0w1)k: Multiplication is not commutative in that the products q0q1 and q1q0 are not necessarily equal.
    [Show full text]
  • WORKSHEET # 7 QUATERNIONS the Set of Quaternions Are the Set Of
    WORKSHEET # 7 QUATERNIONS The set of quaternions are the set of all formal R-linear combinations of \symbols" i; j; k a + bi + cj + dk for a; b; c; d 2 R. We give them the following addition rule: (a + bi + cj + dk) + (a0 + b0i + c0j + d0k) = (a + a0) + (b + b0)i + (c + c0)j + (d + d0)k Multiplication is induced by the following rules (λ 2 R) i2 = j2 = k2 = −1 ij = k; jk = i; ki = j ji = −k kj = −i ik = −j λi = iλ λj = jλ λk = kλ combined with the distributive rule. 1. Use the above rules to carefully write down the product (a + bi + cj + dk)(a0 + b0i + c0j + d0k) as an element of the quaternions. Solution: (a + bi + cj + dk)(a0 + b0i + c0j + d0k) = aa0 + ab0i + ac0j + ad0k + ba0i − bb0 + bc0k − bd0j ca0j − cb0k − cc0 + cd0i + da0k + db0j − dc0i − dd0 = (aa0 − bb0 − cc0 − dd0) + (ab0 + a0b + cd0 − dc0)i (ac0 − bd0 + ca0 + db0)j + (ad0 + bc0 − cb0 + da0)k 2. Prove that the quaternions form a ring. Solution: It is obvious that the quaternions form a group under addition. We just showed that they were closed under multiplication. We have defined them to satisfy the distributive property. The only thing left is to show the associative property. I will only prove this for the elements i; j; k (this is sufficient by the distributive property). i(ij) = i(k) = ik = −j = (ii)j i(ik) = i(−j) = −ij = −k = (ii)k i(ji) = i(−k) = −ik = j = ki = (ij)i i(jj) = −i = kj = (ij)j i(jk) = i(i) = (−1) = (k)k = (ij)k i(ki) = ij = k = −ji = (ik)i i(kk) = −i = −jk = (ik)k j(ii) = −j = −ki = (ji)i j(ij) = jk = i = −kj = (ji)j j(ik) = j(−j) = 1 = −kk = (ji)k j(ji) = j(−k) = −jk = −i = (jj)i j(jk) = ji = −k = (jj)k j(ki) = jj = −1 = ii = (jk)i j(kj) = j(−i) = −ji = k = ij = (jk)j j(kk) = −j = ik = (jk)k k(ii) = −k = ji = (ki)i k(ij) = kk = −1 = jj = (ki)j k(ik) = k(−j) = −kj = i = jk = (ki)k k(ji) = k(−k) = 1 = (−i)i = (kj)i k(jj) = k(−1) = −k = −ij = (kj)j k(jk) = ki = j = −ik = (kj)k k(ki) = kj = −i = (kk)i k(kj) = k(−i) = −ki = −j = (kk)j 1 WORKSHEET #7 2 3.
    [Show full text]
  • Ring (Mathematics) 1 Ring (Mathematics)
    Ring (mathematics) 1 Ring (mathematics) In mathematics, a ring is an algebraic structure consisting of a set together with two binary operations usually called addition and multiplication, where the set is an abelian group under addition (called the additive group of the ring) and a monoid under multiplication such that multiplication distributes over addition.a[›] In other words the ring axioms require that addition is commutative, addition and multiplication are associative, multiplication distributes over addition, each element in the set has an additive inverse, and there exists an additive identity. One of the most common examples of a ring is the set of integers endowed with its natural operations of addition and multiplication. Certain variations of the definition of a ring are sometimes employed, and these are outlined later in the article. Polynomials, represented here by curves, form a ring under addition The branch of mathematics that studies rings is known and multiplication. as ring theory. Ring theorists study properties common to both familiar mathematical structures such as integers and polynomials, and to the many less well-known mathematical structures that also satisfy the axioms of ring theory. The ubiquity of rings makes them a central organizing principle of contemporary mathematics.[1] Ring theory may be used to understand fundamental physical laws, such as those underlying special relativity and symmetry phenomena in molecular chemistry. The concept of a ring first arose from attempts to prove Fermat's last theorem, starting with Richard Dedekind in the 1880s. After contributions from other fields, mainly number theory, the ring notion was generalized and firmly established during the 1920s by Emmy Noether and Wolfgang Krull.[2] Modern ring theory—a very active mathematical discipline—studies rings in their own right.
    [Show full text]
  • Math 412. §3.2, 3.3: Examples of Rings and Homomorphisms Professors Jack Jeffries and Karen E. Smith
    Math 412. x3.2, 3.3: Examples of Rings and Homomorphisms Professors Jack Jeffries and Karen E. Smith DEFINITION:A subring of a ring R (with identity) is a subset S which is itself a ring (with identity) under the operations + and × for R. DEFINITION: An integral domain (or just domain) is a commutative ring R (with identity) satisfying the additional axiom: if xy = 0, then x or y = 0 for all x; y 2 R. φ DEFINITION:A ring homomorphism is a mapping R −! S between two rings (with identity) which satisfies: (1) φ(x + y) = φ(x) + φ(y) for all x; y 2 R. (2) φ(x · y) = φ(x) · φ(y) for all x; y 2 R. (3) φ(1) = 1. DEFINITION:A ring isomorphism is a bijective ring homomorphism. We say that two rings R and S are isomorphic if there is an isomorphism R ! S between them. You should think of a ring isomorphism as a renaming of the elements of a ring, so that two isomorphic rings are “the same ring” if you just change the names of the elements. A. WARM-UP: Which of the following rings is an integral domain? Which is a field? Which is commutative? In each case, be sure you understand what the implied ring structure is: why is each below a ring? What is the identity in each? (1) Z; Q. (2) Zn for n 2 Z. (3) R[x], the ring of polynomials with R-coefficients. (4) M2(Z), the ring of 2 × 2 matrices with Z coefficients.
    [Show full text]
  • Math 11200/20 Lectures Outline I Will Update This
    Math 11200/20 lectures outline I will update this document after every lecture to keep track of what we covered. \Textbook" refers to the book by Diane Herrmann and Paul Sally. \Intro to Cryptography" refers to: • Introduction to Cryptography with Coding Theory, Second Edition, by Wade Trappe and Lawrence Washington. • http://calclab.math.tamu.edu/~rahe/2014a_673_700720/textbooks.html. week 1 9/26/16. Reference: Textbook, Chapter 0 (1) introductions (2) syllabus (boring stuff) (3) Triangle game (a) some ideas: parity, symmetry, balancing large/small, largest possible sum (b) There are 6 \symmetries of the triangle." They form a \group." (just for fun) 9/28/16. Reference: Textbook, Chapter 1, pages 11{19 (1) Russell's paradox (just for fun) (2) Number systems: N; Z; Q; R. (a) π 2 R but π 62 Q. (this is actually hard to prove) (3) Set theory (a) unions, intersections. (remember: \A or B" means \at least one of A, B is true") (b) drawing venn diagrams is very useful! (c) empty set. \vacuously true" (d) commutative property, associative, identity (the empty set is the identity for union), inverse, (distributive?) (i) how to show that there is no such thing as \distributive property of addi- tion over multiplication" (a + (b · c) = (a · b) + (a · c)) (4) Functions 9/30/16. Reference: Textbook, Chapter 1, pages 20{32 (1) functions (recap). f : A ! B. A is domain, B is range. (2) binary operations are functions of the form f : S × S ! S. (a) \+ is a function R × R ! R." Same thing as \+ is a binary operation on R." Same thing as \R is closed under +." (closed because you cannot escape!) a c ad+bc (b) N; Z are also closed under addition.
    [Show full text]
  • Vector Spaces
    Chapter 1 Vector Spaces Linear algebra is the study of linear maps on finite-dimensional vec- tor spaces. Eventually we will learn what all these terms mean. In this chapter we will define vector spaces and discuss their elementary prop- erties. In some areas of mathematics, including linear algebra, better the- orems and more insight emerge if complex numbers are investigated along with real numbers. Thus we begin by introducing the complex numbers and their basic✽ properties. 1 2 Chapter 1. Vector Spaces Complex Numbers You should already be familiar with the basic properties of the set R of real numbers. Complex numbers were invented so that we can take square roots of negative numbers. The key idea is to assume we have i − i The symbol was√ first a square root of 1, denoted , and manipulate it using the usual rules used to denote −1 by of arithmetic. Formally, a complex number is an ordered pair (a, b), the Swiss where a, b ∈ R, but we will write this as a + bi. The set of all complex mathematician numbers is denoted by C: Leonhard Euler in 1777. C ={a + bi : a, b ∈ R}. If a ∈ R, we identify a + 0i with the real number a. Thus we can think of R as a subset of C. Addition and multiplication on C are defined by (a + bi) + (c + di) = (a + c) + (b + d)i, (a + bi)(c + di) = (ac − bd) + (ad + bc)i; here a, b, c, d ∈ R. Using multiplication as defined above, you should verify that i2 =−1.
    [Show full text]
  • Properties of the Real Numbers Follow from the Ones Given in Table 1.2
    Properties of addition and multiplication of real numbers, and some consequences Here is a list of properties of addition and multiplication in R. They are given in Table 1.2 on page 18 of your book. It is good practice to \not accept everything that you are told" and to see if you can see why other \obvious sounding" properties of the real numbers follow from the ones given in Table 1.2. This type of critical thinking lead to the development of axiomatic systems; the earliest (and most widely known) being Euclid's axioms for geometry. The set of real numbers R is closed under addition (denoted by +) and multiplication (denoted by × or simply by juxtaposition) and satisfies: 1. Addition is commutative. x + y = y + x for all x; y 2 R. 2. Addition is associative. (x + y) + z = x + (y + z) for all x; y; z 2 R. 3. There is an additive identity element. There is a real number 0 with the property that x + 0 = x for all x 2 R. 4. Every real number has an additive inverse. Given any real number x, there is a real number (−x) so that x + (−x) = 0 5. Multiplication is commutative. xy = yx for all x; y 2 R. 6. Multiplication is associative. (xy)z = x(yz) for all x; y; z 2 R. 7. There is a multiplicative identity element. There is a real number 1 with the property that x:1 = x for all x 2 R. Furthermore, 1 6= 0. 8. Every non-zero real number has a multiplicative inverse.
    [Show full text]