The Construction of Graham's Number

Total Page:16

File Type:pdf, Size:1020Kb

The Construction of Graham's Number Graham's Number 1 The Construction of Graham's Number by Ian Tame Background The primary goal of this article is to formally define and attempt to con- struct Graham's number, which appeared in the 1980 Guinness Book of World Records as being the largest number used in a formal mathematical proof (Gardner [1]). To undertake this task, we first consider the represen- tation of large numbers - in the sense of numbers that are of a significantly higher order than numbers used in everyday life, and to contrast these num- bers against the magnitudes of very large physical astronomical quantities. Explicit reference is made to the infamous googolplex and extensive use is made of the powerful Knuth up-arrow operators, which are a standardized notation for very large numbers, and are used to define Graham's number. Standardized Notation for very large numbers We proceed by introducing a special notation which will enable us to use a standardized system for writing very large numbers; and to compare and sort large numbers in increasing order, the Knuth up-arrow notation. First recall the fundamental relationship of multiplication with natural num- bers, whereby multiplication by a natural number is defined as iterated (re- peated) addition: a × b = a + a + ::: + a : | {z } b copies of a The next fundamental relationship is exponentiation (taking powers) for a natural power, defined as iterated multiplication: ab = a × a × ::: × a : | {z } b copies of a Grasping this structure of nested iterated operations is essential to under- standing how to interpret and build-up your own expressions of large num- bers within the Knuth system. You will soon appreciate that the versatility of this notation to represent incredibly large numbers lies in the fact that it 2 Graham's Number is based on iterated exponentiation; which is one of the fastest growing of all conventional functions! Now we introduce the Knuth up-arrow notation. First the single up-arrow operator """, which simply denotes exponentiation, a " b = ab: (Recall this can be thought of as repeated multiplication). Example 1. 5 " 3 = 53 = 5 × 5 × 5 = 125: Example 2. 10 " 4 = 104 = 10 × 10 × 10 × 10 = 10; 000: Now we extend this concept to denote iterated exponentiation by defining the Knuth double up-arrow operator """". a . a "" b = a " (a " (::: " a)) = aa | {z } | {z } b copies of a b copies of a IMPORTANT: expressions with the double up-arrow operator must be eva- luated from right to left (ie they are right-associative). Also, observe this right associative nested exponentiation is often called a power tower. Example 3. 22 4 2 "" 4 = 2 " (2 " (2 " 2)) = 22 = 22 = 216 = 65; 536: Example 4. In this example we make reference and comparison to volume defined in terms of Planck units. According to string theory, lengths smaller than the Planck length do not make any physical sense. To get some comprehen- sion of how this compares to an atomic scale, the radius of a proton is 1020 times larger than the Planck length. Graham's Number 3 5 "" 3 = 5 " (5 " 5) 5 = 5(5 ) = 53125 = (10log 5)3125 = 103125×log5 = 102184:28 = 100:28 × 102184 ≈ 1:91 × 102184 > 8:5 × 10184(the number of Planck volumes in observable universe)1 In the last example, the ability of the Knuth up-arrow operators to generate very large numbers has been starkly highlighted. With just the double up- arrow operator we have been able to generate a number that is unimaginably larger than even the number of Planck volumes in the known universe. But we have only just begun! The notation is now extended to define a triple up-arrow operator which is used to denote iterated application of the double up-arrow operator, as follows: a """ b = a "" (a "" (::: "" a)) | {z } b copies of a Again remember the right to left order of evaluation rule. Example 5. 3 3 """ 3 = 3 "" (3 "" 3) = 3 "" 33 = 3 " (3 " (::: " 3)) | {z } 3 33 copies of 3 3 But 33 = 327 = 7; 625; 597; 484; 987, so 3 """ 3 is given by . 3 . 3 " (3 " (::: " 3)) = 33 : | {z } | {z } 7,625,597,484,987 7,625,597,484,987 copies of 3 copies of 3 1A Planck volume is 4:22419×10−105 m3 which is based on a cube with Planck length 1:6162 × 10−35 m. 4 Graham's Number The number 3 """ 3 and the results from Example 5 will feature later in the description of Graham's Number. To appreciate the scale of magnitude of 3 """ 3, we now proceed to demonstrate that 3 """ 3 has a magnitude significantly greater than 10 "" (1010). First we need to prove the following two Lemmas. n Lemma 1: 33 > 10n (n 2 Z+) n 33 ≥ 33n since exponentiation dominates linear functions > 3nlog310 n = 3log310 = 10n: Lemma 2: 3 "" (2n) > 10 "" n fn 2 Z+g The proof is by mathematical induction. Induction Basis: n = 1 3 "" 2 = 3 " 3 = 33 = 27 > 10 = 10 "" 1: Hence establishing the Induction Basis. Induction Hypothesis. Assume result is true from some n = k 3 "" (2k) > 10 "" k: (1) Now consider the result for n = k + 1. 3 "" (2(k + 1)) = 3 "" (2k + 2) 3""(2k) = 33 10""k > 33 from (1) > 1010""k from Lemma 1. since 10 "" k is a positive integer = 10 "" (k + 1): Hence the result is true for n = k + 1. Induction Step. So it follows the result is true for n = 1 by the Induction Basis, and hence for n = 2; 3; 4; ::: for all n 2 Z+ by the Principle of Mathematical Induction. We can now prove the main theorem for 3 """ 3: Graham's Number 5 Theorem: 3 """ 3 > 10 "" (1010) 3 """ 3 = 3 "" (3 "" 3) 3 = 3 "" (33 ) = 3 "" (327) = 3 "" ((10log3)27) = 3 "" (1027log3) > 3 "" (1012:882) > 3 "" (1012) > 10 "" (5 × 1011) from Lemma 2. > 10 "" (1010): Observe from the last result that 3 """ 3 is significantly greater than . 10 . 10 "" (1010) = 1010 ; | {z } 1010 copies of 10 which obviously dwarfs in magnitude the googolplex, which is defined as 100 102 1010 1010 = 1010 < 1010 : | {z } 4 copies of 10 In general, the nth up-arrow operator expands into a right-associative series of (n − 1) up-arrow operators according to a "" ::: " b = a " ::: " (a " ::: " (::: " ::: " a )) | {z } | {z } | {z } | {z } n n-1 n-1 n-1 | {z } b copies of a Refer to Example 6. below, in order to see how this works in specific cases. Example 6. a) 3 """" 5 = 3 """ (3 """ (3 """ (3 """ 3) )) b) 5 """ 3 = 5 "" (5 "" 5) c) 2 "" 4 = 2 " (2 " (2 " 2) ) d) 7 "" 2 = 7 " 7 So with the generalised Knuth up-arrow notational framework established, we are in a position to formally define Graham's number, G. 6 Graham's Number Graham's Number G is calculated in 64 steps using 64 layers. 8 G = 3 "" ::::::::::::::: " 3 = g > 64 > | {z } > 3 "" ::::::::: " 3 = g > 63 <> | {z } 64 layers ······ > > 3 "" ::: " 3 = g2 > | {z } > :> 3 """" 3 = g1 | {z } The value of layer 1 is g1, the value of layer 2 is g2, and so on, up to layer 64 with value g64. The number of up-arrows in each layer is determined by the value of the layer below. So that the number of up-arrows in layer n = gn−1. That is layer n is of the form, "3 followed by gn−1 up-arrow operators follo- wed by 3". So to begin to understand the magnitude of Graham's Number, we have to start with the calculation of g1 (the lowest layer), and then the value of g2, and so on, eventually up to the value for g64. So let us begin with step 1, the computation of g1. By definition: g1 = 3 """" 3 = 3 """ (3 """ 3) (2) . 3 . = 3 """ 33 (3) | {z } 7,625,597,484,987 copies of 3 Observe the number of 3's in the expression (3) for g1 is 3 """ 3; that is 3 exponentiated by itself 7,625,597,484,987 times, which is an incomprehensi- bly large number. And remember this is just the number of 3's in the power stack of g1. (Recall we have shown in Theorem 3. that this number is grea- ter than 10 "" (1010), and hence unimaginably greater than the number of Plank volumes in the observable universe). Yet we have not even come close to determining the actual value for g1. To attempt this we will make use of a convenient shorthand notation for representing the Knuth double up-arrow operator, viz: nb = b "" n: Refer to Example 7. below, in order to see how this works with specific cases. Graham's Number 7 Example 7. a) 3 "" 3 = 33 3 b) 3 """ 3 = 3 "" (3 "" 3) = 3 "" 33 = 33 Note such nested left power towers are evaluated from the top down. A useful generalisation of the result in Example 7.b (verifiable by mathema- tical induction) of the left power tower derivation is: b . .. b """ n = b "" (b "" (::: "" b)) = b b : (4) | {z } | {z } n copies of b n copies of b Then when we apply the result in Example 7.b to the second occurrence of 3 """ 3 to the expression for g1 in (2), we yield the relationship g1 = 3 """ (3 """ 3) 3 = 3 """ 33 (5) So that applying (4) to (5) generates the following more compact left power stack form for g1: 3 .. .3 g1 = 3 : (6) | {z } 3 33 copies of 3 3 3 But now recall that 33 designates a right power tower with 33 (= 33 = 7,625,597,484,987 copies of 3).
Recommended publications
  • Lesson 2: the Multiplication of Polynomials
    NYS COMMON CORE MATHEMATICS CURRICULUM Lesson 2 M1 ALGEBRA II Lesson 2: The Multiplication of Polynomials Student Outcomes . Students develop the distributive property for application to polynomial multiplication. Students connect multiplication of polynomials with multiplication of multi-digit integers. Lesson Notes This lesson begins to address standards A-SSE.A.2 and A-APR.C.4 directly and provides opportunities for students to practice MP.7 and MP.8. The work is scaffolded to allow students to discern patterns in repeated calculations, leading to some general polynomial identities that are explored further in the remaining lessons of this module. As in the last lesson, if students struggle with this lesson, they may need to review concepts covered in previous grades, such as: The connection between area properties and the distributive property: Grade 7, Module 6, Lesson 21. Introduction to the table method of multiplying polynomials: Algebra I, Module 1, Lesson 9. Multiplying polynomials (in the context of quadratics): Algebra I, Module 4, Lessons 1 and 2. Since division is the inverse operation of multiplication, it is important to make sure that your students understand how to multiply polynomials before moving on to division of polynomials in Lesson 3 of this module. In Lesson 3, division is explored using the reverse tabular method, so it is important for students to work through the table diagrams in this lesson to prepare them for the upcoming work. There continues to be a sharp distinction in this curriculum between justification and proof, such as justifying the identity (푎 + 푏)2 = 푎2 + 2푎푏 + 푏 using area properties and proving the identity using the distributive property.
    [Show full text]
  • Chapter 2. Multiplication and Division of Whole Numbers in the Last Chapter You Saw That Addition and Subtraction Were Inverse Mathematical Operations
    Chapter 2. Multiplication and Division of Whole Numbers In the last chapter you saw that addition and subtraction were inverse mathematical operations. For example, a pay raise of 50 cents an hour is the opposite of a 50 cents an hour pay cut. When you have completed this chapter, you’ll understand that multiplication and division are also inverse math- ematical operations. 2.1 Multiplication with Whole Numbers The Multiplication Table Learning the multiplication table shown below is a basic skill that must be mastered. Do you have to memorize this table? Yes! Can’t you just use a calculator? No! You must know this table by heart to be able to multiply numbers, to do division, and to do algebra. To be blunt, until you memorize this entire table, you won’t be able to progress further than this page. MULTIPLICATION TABLE ϫ 012 345 67 89101112 0 000 000LEARNING 00 000 00 1 012 345 67 89101112 2 024 681012Copy14 16 18 20 22 24 3 036 9121518212427303336 4 0481216 20 24 28 32 36 40 44 48 5051015202530354045505560 6061218243036424854606672Distribute 7071421283542495663707784 8081624324048566472808896 90918273HAWKESReview645546372819099108 10 0 10 20 30 40 50 60 70 80 90 100 110 120 ©11 0 11 22 33 44NOT 55 66 77 88 99 110 121 132 12 0 12 24 36 48 60 72 84 96 108 120 132 144 Do Let’s get a couple of things out of the way. First, any number times 0 is 0. When we multiply two numbers, we call our answer the product of those two numbers.
    [Show full text]
  • Grade 7/8 Math Circles the Scale of Numbers Introduction
    Faculty of Mathematics Centre for Education in Waterloo, Ontario N2L 3G1 Mathematics and Computing Grade 7/8 Math Circles November 21/22/23, 2017 The Scale of Numbers Introduction Last week we quickly took a look at scientific notation, which is one way we can write down really big numbers. We can also use scientific notation to write very small numbers. 1 × 103 = 1; 000 1 × 102 = 100 1 × 101 = 10 1 × 100 = 1 1 × 10−1 = 0:1 1 × 10−2 = 0:01 1 × 10−3 = 0:001 As you can see above, every time the value of the exponent decreases, the number gets smaller by a factor of 10. This pattern continues even into negative exponent values! Another way of picturing negative exponents is as a division by a positive exponent. 1 10−6 = = 0:000001 106 In this lesson we will be looking at some famous, interesting, or important small numbers, and begin slowly working our way up to the biggest numbers ever used in mathematics! Obviously we can come up with any arbitrary number that is either extremely small or extremely large, but the purpose of this lesson is to only look at numbers with some kind of mathematical or scientific significance. 1 Extremely Small Numbers 1. Zero • Zero or `0' is the number that represents nothingness. It is the number with the smallest magnitude. • Zero only began being used as a number around the year 500. Before this, ancient mathematicians struggled with the concept of `nothing' being `something'. 2. Planck's Constant This is the smallest number that we will be looking at today other than zero.
    [Show full text]
  • Maths Secrets of Simpsons Revealed in New Book
    MONDAY 7 OCTOBER 2013 WWW.THEDAY.CO.UK Maths secrets of Simpsons revealed in new book The most successful TV show of all time is written by a team of brilliant ‘mathletes’, says writer Simon Singh, and full of obscure mathematical jokes. Can numbers really be all that funny? MATHEMATICS Nerd hero: The smartest girl in Springfield was created by a team of maths wizards. he world’s most popular cartoon a perfect number, a narcissistic number insist that their love of maths contrib- family has a secret: their lines are and a Mersenne Prime. utes directly to the more obvious humour written by a team of expert mathema- Another of these maths jokes – a black- that has made the show such a hit. Turn- Tticians – former ‘mathletes’ who are board showing 398712 + 436512 = 447212 ing intuitions about comedy into concrete as happy solving differential equa- – sent shivers down Simon Singh’s spine. jokes is like wrestling mathematical tions as crafting jokes. ‘I was so shocked,’ he writes, ‘I almost hunches into proofs and formulas. Comedy Now, science writer Simon Singh has snapped my slide rule.’ The numbers are and maths, says Cohen, are both explora- revealed The Simpsons’ secret math- a fake exception to a famous mathemati- tions into the unknown. ematical formula in a new book*. He cal rule known as Fermat’s Last Theorem. combed through hundreds of episodes One episode from 1990 features a Mathletes and trawled obscure internet forums to teacher making a maths joke to a class of Can maths really be funny? There are many discover that behind the show’s comic brilliant students in which Bart Simpson who will think comparing jokes to equa- exterior lies a hidden core of advanced has been accidentally included.
    [Show full text]
  • The Exponential Function
    University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln MAT Exam Expository Papers Math in the Middle Institute Partnership 5-2006 The Exponential Function Shawn A. Mousel University of Nebraska-Lincoln Follow this and additional works at: https://digitalcommons.unl.edu/mathmidexppap Part of the Science and Mathematics Education Commons Mousel, Shawn A., "The Exponential Function" (2006). MAT Exam Expository Papers. 26. https://digitalcommons.unl.edu/mathmidexppap/26 This Article is brought to you for free and open access by the Math in the Middle Institute Partnership at DigitalCommons@University of Nebraska - Lincoln. It has been accepted for inclusion in MAT Exam Expository Papers by an authorized administrator of DigitalCommons@University of Nebraska - Lincoln. The Exponential Function Expository Paper Shawn A. Mousel In partial fulfillment of the requirements for the Masters of Arts in Teaching with a Specialization in the Teaching of Middle Level Mathematics in the Department of Mathematics. Jim Lewis, Advisor May 2006 Mousel – MAT Expository Paper - 1 One of the basic principles studied in mathematics is the observation of relationships between two connected quantities. A function is this connecting relationship, typically expressed in a formula that describes how one element from the domain is related to exactly one element located in the range (Lial & Miller, 1975). An exponential function is a function with the basic form f (x) = ax , where a (a fixed base that is a real, positive number) is greater than zero and not equal to 1. The exponential function is not to be confused with the polynomial functions, such as x 2. One way to recognize the difference between the two functions is by the name of the function.
    [Show full text]
  • Simple Statements, Large Numbers
    University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln MAT Exam Expository Papers Math in the Middle Institute Partnership 7-2007 Simple Statements, Large Numbers Shana Streeks University of Nebraska-Lincoln Follow this and additional works at: https://digitalcommons.unl.edu/mathmidexppap Part of the Science and Mathematics Education Commons Streeks, Shana, "Simple Statements, Large Numbers" (2007). MAT Exam Expository Papers. 41. https://digitalcommons.unl.edu/mathmidexppap/41 This Article is brought to you for free and open access by the Math in the Middle Institute Partnership at DigitalCommons@University of Nebraska - Lincoln. It has been accepted for inclusion in MAT Exam Expository Papers by an authorized administrator of DigitalCommons@University of Nebraska - Lincoln. Master of Arts in Teaching (MAT) Masters Exam Shana Streeks In partial fulfillment of the requirements for the Master of Arts in Teaching with a Specialization in the Teaching of Middle Level Mathematics in the Department of Mathematics. Gordon Woodward, Advisor July 2007 Simple Statements, Large Numbers Shana Streeks July 2007 Page 1 Streeks Simple Statements, Large Numbers Large numbers are numbers that are significantly larger than those ordinarily used in everyday life, as defined by Wikipedia (2007). Large numbers typically refer to large positive integers, or more generally, large positive real numbers, but may also be used in other contexts. Very large numbers often occur in fields such as mathematics, cosmology, and cryptography. Sometimes people refer to numbers as being “astronomically large”. However, it is easy to mathematically define numbers that are much larger than those even in astronomy. We are familiar with the large magnitudes, such as million or billion.
    [Show full text]
  • The Notion Of" Unimaginable Numbers" in Computational Number Theory
    Beyond Knuth’s notation for “Unimaginable Numbers” within computational number theory Antonino Leonardis1 - Gianfranco d’Atri2 - Fabio Caldarola3 1 Department of Mathematics and Computer Science, University of Calabria Arcavacata di Rende, Italy e-mail: [email protected] 2 Department of Mathematics and Computer Science, University of Calabria Arcavacata di Rende, Italy 3 Department of Mathematics and Computer Science, University of Calabria Arcavacata di Rende, Italy e-mail: [email protected] Abstract Literature considers under the name unimaginable numbers any positive in- teger going beyond any physical application, with this being more of a vague description of what we are talking about rather than an actual mathemati- cal definition (it is indeed used in many sources without a proper definition). This simply means that research in this topic must always consider shortened representations, usually involving recursion, to even being able to describe such numbers. One of the most known methodologies to conceive such numbers is using hyper-operations, that is a sequence of binary functions defined recursively starting from the usual chain: addition - multiplication - exponentiation. arXiv:1901.05372v2 [cs.LO] 12 Mar 2019 The most important notations to represent such hyper-operations have been considered by Knuth, Goodstein, Ackermann and Conway as described in this work’s introduction. Within this work we will give an axiomatic setup for this topic, and then try to find on one hand other ways to represent unimaginable numbers, as well as on the other hand applications to computer science, where the algorith- mic nature of representations and the increased computation capabilities of 1 computers give the perfect field to develop further the topic, exploring some possibilities to effectively operate with such big numbers.
    [Show full text]
  • Hyperoperations and Nopt Structures
    Hyperoperations and Nopt Structures Alister Wilson Abstract (Beta version) The concept of formal power towers by analogy to formal power series is introduced. Bracketing patterns for combining hyperoperations are pictured. Nopt structures are introduced by reference to Nept structures. Briefly speaking, Nept structures are a notation that help picturing the seed(m)-Ackermann number sequence by reference to exponential function and multitudinous nestings thereof. A systematic structure is observed and described. Keywords: Large numbers, formal power towers, Nopt structures. 1 Contents i Acknowledgements 3 ii List of Figures and Tables 3 I Introduction 4 II Philosophical Considerations 5 III Bracketing patterns and hyperoperations 8 3.1 Some Examples 8 3.2 Top-down versus bottom-up 9 3.3 Bracketing patterns and binary operations 10 3.4 Bracketing patterns with exponentiation and tetration 12 3.5 Bracketing and 4 consecutive hyperoperations 15 3.6 A quick look at the start of the Grzegorczyk hierarchy 17 3.7 Reconsidering top-down and bottom-up 18 IV Nopt Structures 20 4.1 Introduction to Nept and Nopt structures 20 4.2 Defining Nopts from Nepts 21 4.3 Seed Values: “n” and “theta ) n” 24 4.4 A method for generating Nopt structures 25 4.5 Magnitude inequalities inside Nopt structures 32 V Applying Nopt Structures 33 5.1 The gi-sequence and g-subscript towers 33 5.2 Nopt structures and Conway chained arrows 35 VI Glossary 39 VII Further Reading and Weblinks 42 2 i Acknowledgements I’d like to express my gratitude to Wikipedia for supplying an enormous range of high quality mathematics articles.
    [Show full text]
  • Multiplication Fact Strategies Assessment Directions and Analysis
    Multiplication Fact Strategies Wichita Public Schools Curriculum and Instructional Design Mathematics Revised 2014 KCCRS version Table of Contents Introduction Page Research Connections (Strategies) 3 Making Meaning for Operations 7 Assessment 9 Tools 13 Doubles 23 Fives 31 Zeroes and Ones 35 Strategy Focus Review 41 Tens 45 Nines 48 Squared Numbers 54 Strategy Focus Review 59 Double and Double Again 64 Double and One More Set 69 Half and Then Double 74 Strategy Focus Review 80 Related Equations (fact families) 82 Practice and Review 92 Wichita Public Schools 2014 2 Research Connections Where Do Fact Strategies Fit In? Adapted from Randall Charles Fact strategies are considered a crucial second phase in a three-phase program for teaching students basic math facts. The first phase is concept learning. Here, the goal is for students to understand the meanings of multiplication and division. In this phase, students focus on actions (i.e. “groups of”, “equal parts”, “building arrays”) that relate to multiplication and division concepts. An important instructional bridge that is often neglected between concept learning and memorization is the second phase, fact strategies. There are two goals in this phase. First, students need to recognize there are clusters of multiplication and division facts that relate in certain ways. Second, students need to understand those relationships. These lessons are designed to assist with the second phase of this process. If you have students that are not ready, you will need to address the first phase of concept learning. The third phase is memorization of the basic facts. Here the goal is for students to master products and quotients so they can recall them efficiently and accurately, and retain them over time.
    [Show full text]
  • Standards Chapter 10: Exponents and Scientific Notation Key Terms
    Chapter 10: Exponents and Scientific Notation Standards Common Core: 8.EE.1: Know and apply the properties of integer exponents to generate equivalent numerical Essential Questions Students will… expressions. How can you use exponents to Write expressions using write numbers? integer exponents. 8.EE.3: Use numbers expressed in the form of a single digit times an integer power of 10 to estimate How can you use inductive Evaluate expressions very large or very small quantities, and to express reasoning to observe patterns involving integer exponents. how many times as much one is than the other. and write general rules involving properties of Multiply powers with the 8.EE.4: Perform operations with numbers expressed exponents? same base. in scientific notation, including problems where both decimal and scientific notation are used. Use How can you divide two Find a power of a power. scientific notation and choose units of appropriate powers that have the same size for measurements of very large or very small base? Find a power of a product. quantities (e.g., use millimeters per year for seafloor spreading). Interpret scientific notation that has been How can you evaluate a Divide powers with the same generated by technology. nonzero number with an base. exponent of zero? How can you evaluate a nonzero Simplify expressions number with a negative integer involving the quotient of Key Terms exponent? powers. A power is a product of repeated factors. How can you read numbers Evaluate expressions that are written in scientific involving numbers with zero The base of a power is the common factor.
    [Show full text]
  • Matrix Multiplication. Diagonal Matrices. Inverse Matrix. Matrices
    MATH 304 Linear Algebra Lecture 4: Matrix multiplication. Diagonal matrices. Inverse matrix. Matrices Definition. An m-by-n matrix is a rectangular array of numbers that has m rows and n columns: a11 a12 ... a1n a21 a22 ... a2n . .. . am1 am2 ... amn Notation: A = (aij )1≤i≤n, 1≤j≤m or simply A = (aij ) if the dimensions are known. Matrix algebra: linear operations Addition: two matrices of the same dimensions can be added by adding their corresponding entries. Scalar multiplication: to multiply a matrix A by a scalar r, one multiplies each entry of A by r. Zero matrix O: all entries are zeros. Negative: −A is defined as (−1)A. Subtraction: A − B is defined as A + (−B). As far as the linear operations are concerned, the m×n matrices can be regarded as mn-dimensional vectors. Properties of linear operations (A + B) + C = A + (B + C) A + B = B + A A + O = O + A = A A + (−A) = (−A) + A = O r(sA) = (rs)A r(A + B) = rA + rB (r + s)A = rA + sA 1A = A 0A = O Dot product Definition. The dot product of n-dimensional vectors x = (x1, x2,..., xn) and y = (y1, y2,..., yn) is a scalar n x · y = x1y1 + x2y2 + ··· + xnyn = xk yk . Xk=1 The dot product is also called the scalar product. Matrix multiplication The product of matrices A and B is defined if the number of columns in A matches the number of rows in B. Definition. Let A = (aik ) be an m×n matrix and B = (bkj ) be an n×p matrix.
    [Show full text]
  • Ackermann and the Superpowers
    Ackermann and the superpowers Ant´onioPorto and Armando B. Matos Original version 1980, published in \ACM SIGACT News" Modified in October 20, 2012 Modified in January 23, 2016 (working paper) Abstract The Ackermann function a(m; n) is a classical example of a total re- cursive function which is not primitive recursive. It grows faster than any primitive recursive function. It is usually defined by a general recurrence together with two \boundary" conditions. In this paper we obtain a closed form of a(m; n), which involves the Knuth superpower notation, namely m−2 a(m; n) = 2 " (n + 3) − 3. Generalized Ackermann functions, that is functions satisfying only the general recurrence and one of the bound- ary conditions are also studied. In particular, we show that the function m−2 2 " (n + 2) − 2 also belongs to the \Ackermann class". 1 Introduction and definitions The \arrow" or \superpower" notation has been introduced by Knuth [1] as a convenient way of expressing very large numbers. It is based on the infinite sequence of operators: +, ∗, ",... We shall see that the arrow notation is closely related to the Ackermann function (see, for instance, [2]). 1.1 The Superpowers Let us begin with the following sequence of integer operators, where all the operators are right associative. a × n = a + a + ··· + a (n a's) a " n = a × a × · · · × a (n a's) 2 a " n = a " a "···" a (n a's) m In general we define a " n as 1 Definition 1 m m−1 m−1 m−1 a " n = a " a "··· " a | {z } n a's m The operator " is not associative for m ≥ 1.
    [Show full text]