Unpublished Manuscripts by G.W. Leibniz Associated with Nondecimal Systems

Similar documents
Leibniz s De Progressione Dyadica manuscript

MATH Dr. Halimah Alshehri Dr. Halimah Alshehri

Extracting Hexadecimal Digits of π

Intermediate Math Circles March 6, 2013 Number Theory I

π-day, 2013 Michael Kozdron

Part I, Number Systems. CS131 Mathematics for Computer Scientists II Note 1 INTEGERS

2010 HSC NOTES FROM THE MARKING CENTRE MATHEMATICS

Numbering Systems. Contents: Binary & Decimal. Converting From: B D, D B. Arithmetic operation on Binary.

SEVENTH EDITION and EXPANDED SEVENTH EDITION

NUMBERS AND CODES CHAPTER Numbers

Leibniz and the Infinite


EE260: Digital Design, Spring n Digital Computers. n Number Systems. n Representations. n Conversions. n Arithmetic Operations.

COMPLEX NUMBERS ALGEBRA 7. Dr Adrian Jannetta MIMA CMath FRAS INU0114/514 (MATHS 1) Complex Numbers 1/ 22 Adrian Jannetta

Prepared by Sa diyya Hendrickson. Package Summary

Conversions between Decimal and Binary

Finding Prime Factors

Linear Equations. 196 minutes. 191 marks. Page 1 of 50

Chapter 1. Foundations of GMAT Math. Arithmetic

1 Computing System 2. 2 Data Representation Number Systems 22

SUMS OF POWERS AND BERNOULLI NUMBERS

Appendix A. Common Mathematical Operations in Chemistry

Higher Unit 9 topic test

Number Bases. Ioan Despi. University of New England. August 4, 2013

Section 4. Quantitative Aptitude

CSE 20 DISCRETE MATH. Fall

3 The fundamentals: Algorithms, the integers, and matrices

Core 1 Module Revision Sheet J MS. 1. Basic Algebra

CS1800 Discrete Structures Final Version A

Modular Arithmetic Instructor: Marizza Bailey Name:

6664/01 Edexcel GCE Core Mathematics C2 Bronze Level B2

Equations and inequalities: Solving linear equations

All About Numbers Definitions and Properties

Alfred North Whitehead (English Mathematician and Philosopher; )

Algebra. Mathematics Help Sheet. The University of Sydney Business School

Time: 1 hour 30 minutes

Grade 8 Chapter 7: Rational and Irrational Numbers

Algebra Exam. Solutions and Grading Guide

CHAPTER 2 NUMBER SYSTEMS

We say that the base of the decimal number system is ten, represented by the symbol

Time: 1 hour 30 minutes

How Kepler discovered his laws

Real Number. Euclid s division algorithm is based on the above lemma.

A group of figures, representing a number, is called a numeral. Numbers are divided into the following types.

Numbers. The aim of this lesson is to enable you to: describe and use the number system. use positive and negative numbers

CS1800 Discrete Structures Fall 2017 October, CS1800 Discrete Structures Midterm Version A

CISC 1400 Discrete Structures

6664/01 Edexcel GCE Core Mathematics C2 Gold Level G2

Math 016 Lessons Wimayra LUY

Examiners Report/ Principal Examiner Feedback. June GCE Core Mathematics C2 (6664) Paper 1

Maths Scheme of Work. Class: Year 10. Term: autumn 1: 32 lessons (24 hours) Number of lessons

Order of Operations. Real numbers

4 Number Theory and Cryptography

NOTES. Reconsidering Leibniz s Analytic Solution of the. Catenary Problem:

THE LOGIC OF COMPOUND STATEMENTS

Number Theory: Representations of Integers

SAT & ACT Foundations

Solving Linear and Rational Inequalities Algebraically. Definition 22.1 Two inequalities are equivalent if they have the same solution set.

The Not-Formula Book for C1

The Leibniz Catenary Construction: Geometry vs Analysis in the 17 th Century

Elementary and Intermediate Algebra

National 5 Course Notes. Scientific Notation (or Standard Form) This is a different way of writing very large and very small numbers in the form:-

Course Number 432/433 Title Algebra II (A & B) H Grade # of Days 120

The Magic of Negative Numbers in Computers

From the Y9 teaching programme

History of Mathematics

NUMERICAL METHODS C. Carl Gustav Jacob Jacobi 10.1 GAUSSIAN ELIMINATION WITH PARTIAL PIVOTING

Playing with Numbers. introduction. numbers in general FOrM. remarks (i) The number ab does not mean a b. (ii) The number abc does not mean a b c.

Adding and Subtracting Terms

MODULE- 07 : FLUIDICS AND FLUID LOGIC

The of the fraction ¾ is 3. a. numerator b. b. area c. c. addend d. d. denominator

Essex County College Division of Mathematics MTH-122 Assessments. Honor Code

LIMITS AND DERIVATIVES

Exponents, Radicals, and Scientific Notation

ORDERS OF UNITS IN MODULAR ARITHMETIC

14:332:231 DIGITAL LOGIC DESIGN. Why Binary Number System?

Time: 1 hour 30 minutes

THE MATHEMATICS OF EULER. Introduction: The Master of Us All. (Dunham, Euler the Master xv). This quote by twentieth-century mathematician André Weil

CONTENTS NUMBER SYSTEMS. Number Systems

Time: 1 hour 30 minutes

Theory of Equations. Lesson 5. Barry H. Dayton Northeastern Illinois University Chicago, IL 60625, USA. bhdayton/theq/

Third Grade Report Card Rubric 1 Exceeding 2 Meeting 3 Developing 4 Area of Concern

12/31/2010. Digital Operations and Computations Course Notes. 01-Number Systems Text: Unit 1. Overview. What is a Digital System?

Revision Topic 8: Solving Inequalities Inequalities that describe a set of integers or range of values

College Algebra & Trig w Apps

Intermediate Algebra

ABE Math Review Package

A primer on matrices

Math Review. for the Quantitative Reasoning measure of the GRE General Test

College Algebra with Corequisite Support: Targeted Review

Chapter 2 (Part 3): The Fundamentals: Algorithms, the Integers & Matrices. Integers & Algorithms (2.5)

Examiner s Report Pure Mathematics

Examples MAT-INF1100. Øyvind Ryan

Chapter Usual types of questions Tips What can go ugly. and, common denominator will be

Power series and Taylor series

Chapter 2 Linear Equations and Inequalities in One Variable

Academic Outcomes Mathematics

Decimal Addition: Remember to line up the decimals before adding. Bring the decimal straight down in your answer.

Integer Relation Methods : An Introduction

Basic Principles of Algebra

Transcription:

UDC 51(091) Unpublished Manuscripts by G.W. Leibniz Associated with Nondecimal Systems E. V. Shukhman, A. E. Shukhman Orenburg State Pedagogical University, Gagarina av. 1, Orenburg, 460001, Russia Orenburg State University, Pobedy av. 13, Orenburg, 460018, Russia Abstract. The paper presents unpublished manuscripts from Leibniz Archive in Hannover on binary fractions and hexadecimal numbers. The research of Leibniz s correspondence and manuscripts shows that he knew the principles of binary fraction representation, could operate them, and was the first who proposed to apply the binary system for calculating transcendental numbers. At the same time to calculate binary fractions he used either division or the method of undetermined digits. Evidently he did not know any efficient algorithm of conversion into binary fractions. Also Leibniz understood the connection between hexadecimal and binary systems, knew the algorithm for converting integers to hexadecimal system, introduced several methods to present hexadecimal digits and suggested the practical use of the hexadecimal system instead of the binary system that nowadays came true in computer science and mathematics. Keywords: history of mathematics, G. W. Leibniz, unpublished manuscripts, binary system, hexadecimal system. 1. Introduction The history of the binary and hexadecimal number systems is interesting due to their wide use in theoretical computer science and computer technology. Nondecimal systems have been the subject of research and tool for problem solving in the works of many mathematicians, although not all the results had been published. The German mathematician and philosopher Gottfried Wilhelm Leibniz (1646 1716) is considered the founder of binary arithmetic, despite the fact that the English mathematician Thomas Harriot (1560 1621) had used the binary system in his manuscripts long before Leibniz [1]. First time Leibniz introduced the binary arithmetic in his manuscript De Progressione Dyadica (About binary progression) dated March 15, 1679 [2]. Leibniz presents the binary representations of numbers from 1 to 100, proposes an algorithm of converting integers into the binary system by means of multiple division by 2 calculating binary digits as remainders, presents examples of addition, subtraction, multiplication and division in the binary system. Leibniz s article in 1703 [3] was the first publication on the binary system. However in this article Leibniz doesn t present algorithms for converting integers into the binary system and back. Leibniz points out

the conformities in sequences of binary digits in the numbers from an arithmetic progression. Binary fractions are not mentioned in the article. G. Zacher published in 1973 the fullest study on Leibniz s writings on the binary system [4]. This edition contains a list and a detailed review of Leibniz s works as well as 28 original Leibniz texts including 23 letters from Leibniz s correspondence and 5 separate manuscripts. In the published texts binary fractions are mentioned only in some letters at the stage of definition, first of all calculating the number π that Leibniz called Ludolph s number after Ludolph van Ceulen who had calculated its value with 35 decimal digits. In 1703 1705 Leibniz discussed the use of binary arithmetic to calculate Ludolph s number in his letters with Jacob Hermann, Joachim Bouvet, César Caze, and Jakob Bernoulli [5]. To fully appreciate the results of Leibniz s research a study of his manuscripts from the Leibniz Archive in Hannover was performed. More than 1,500 sheets of manuscripts have been reviewed. Except 78 notes on 105 pages included in the archive folder LH XXXV, 3b, 5 ( Different manuscripts on the binary arithmetic ) we have found 24 documents from the other sections related to nondecimal systems. 14 unpublished notes on the binary fractions and 3 notes related to the hexadecimal system are the most important documents for our study. Their content is presented in details below. 2. Binary fractions in unpublished manuscripts by G. W. Leibniz First time Leibniz used binary fractions in unpublished second part of the above mentioned De Progressione Dyadica dated March 15, 1679 (LH XXXV, 3b, 2, p.3r-5). He writes the binary expressions for the fractions from 1 2 to 1 9, but doesn t separate the fractional part. To calculate a binary fraction Leibniz divides the numerator by the denominator using the galley method. He stops calculating when he finds the period of binary fraction. Leibniz verifies his calculation, for example, he adds the fractional part of 4 5 obtained by 2 digit left shift from 1 5 and 1 5, as result he obtains the fraction corresponding to integer 1. Similar calculations can be found in other Leibniz notes. Also Leibniz suggests an interesting method for determining binary digits with the use of undetermined coefficients (LH XXXV, 3b, 5, p.11). He denotes the binary digits in the period of 1 5 by the Latin letters lmnp, then adds 1 5 to 4 5 (shifted to 2 digits left) and using the known result he calculates the values of the digits l m n p l m n p l m n p l m n p l m n p l m n p 1 1 1 1 1 1 1 1 1 1 1 1 1 1,

where p = n = 1, m = l = 0. Similarly Leibniz finds the period 001 for 1 7 adding 3 values: the fraction without shift, with 1 digit shift and with 2 digits shift (using the equality 1 7 + 2 7 + 4 7 = 1). He uses the method to calculate the period 000111 for 1 9. On following page (LH XXXV, 3b, 5, p.12) Leibniz tries to apply his 1 method for the binary representation of 11. Denoting sequential digits of the fraction 1 11 as γβαzyxwutvqpml, Leibniz expresses the sum of 3 expressions: the fraction, the fraction with 1 digit left shift, and the fraction with 3 digit left shift. In fact he expressed the sum 1 11 + 2 11 + 8 11 = 1 = 0, 1111111... This gave him the possibility to calculate the digits l=1, m=0, n=1, p=1, q=1, r=0, s=1, t=0, u=1, w=0, x=0, y=0. At this point he stops the calculation, apparently having found an error (in fact u=0). In other note (LH XXXV, 3b, 5, p. 89) Leibniz tries to obtain binary expressions for fractions through multiplication of the already obtained ones. For example, he tries to calculate the expression for 1 15 as 1 3 1 5. Obtaining the erroneous intermediate outcome 0,0000111100001111 he converts it into the known right answer 0,000100010001 adding some periodic fraction. Then he tries to obtain a binary representation for 1 9 as 1 3 1 3, but only the first 9 digits after the point are correct. In Pro fractionibus dyadica exprimendi (Binary fraction expressions, LH XXXV, 3b, 5 p. 2-3) dated December 20, 1699, Leibniz begins with the binary expression for 1 3, then introduces the notation (b) (b in brackets) for the number he calls anti-b, i.e., if b = 0, then (b) = 1 and vice versa. Further on, he deduces some formulae for (b), trying to use them for calculating products of binary fractions in a generalized form. The note Tentata expressio circuli per progressionem dyadicam (The attempt to express the circle through binary progression, LH XXXV 12, 2, p.97) describes the initial steps of conversion π 4 into the binary system. Leibniz tries to compare the sum of several terms of the progression 1, 1 2, 1 4, 1 8, 1 16, 1 32, 1 64, 1 128, 1 256... with the sum of the series for π 4. So he deduces the following inequalities 1 2 < 1 1 3, 1 1 3 + 1 5 1 7 < 1 2 + 1 4 < 1 1 3 + 1 5. In the next step Leibniz makes a mistake and arrives at the wrong conclusion 1 1 3 + 1 5 1 7 + 1 9 < 1 2 + 1 4, so that the digit 0 must be placed in second position after the point. Of course his further attempts to evaluate the sum of the series were unsuccesfull. In another note without a title (LH XXXV, 13, 3, p.33-34) Leibniz expressed π/4 as a sum of a double row, in which the denominators are powers of two, but no simplification has reached in the summation.

3. The hexadecimal system in unpublished manuscripts by G. W. Leibniz It s worth remarking that Leibniz was working on the hexadecimal system at the same time as on the binary in Sedecimal progression dated 1679 (Hexadecimal progression, LH XXXV, 13, 3 p. 23). For the greater part the note deals with the rules for converting decimal numbers to the hexadecimal number system. Leibniz presents the algorithm of convertion using the example of 1679 (the year of writing the note). The algorithm is based on sequential division by the powers of 16: 4096, 256, 16, 1. First the smallest power 256 is chosen which doesn t exceed the initial number. The division of 1679 by 256 gives 6 which is the first digit of the number. Leibniz notices that hexadecimal presentation of 1679 has 6 in hundreds. The remainder 143 is divided by 16, given 8 and a new remainder 15. Thus Leibniz obtained three digits 6, 8, 15. The digits between 10 and 15 can be represented in different ways. At the top of this page Leibniz uses sequential Latin letters m, n, p, q, r, s. He skipped the letter o, probably not to be mistaken for zero. Next Leibniz represents the digits between 10 and 15 through the initial letters at the time used for musical notes (Ut, Re, Mi, Fa, Sol, La). Leibniz also introduced the names for hexadecimal numerals from 1 to 30 combining German words and affixations with Latin names for musical notes. For example, the decimal number 42 in hexadecimal system is presented as 2u and pronounced utzwanzig. On the reverse page Leibniz converts the powers of 10 through 100000 into the hexadecimal number system. He obtains 10 = u, 100 = 64, 1000 = 3s8, 10000 = 2710, 100000 = 186u0. On the same page he checks the result, multiplying 100 by 10 in hexadecimal system (i.e. 64 by u). In the other notes (LH XXXV, 3b,17 p. 4r and LH XXXV, 3b, 5 p. 77) Leibniz introduces special signs for hexadecimal digits with values from 0 to 15 based on their binary representation. So the digit with value 11 has a binary presentation 1011 and is shown as the 4-component sign written in a column: dash, dot, dash and one more dash. Leibniz uses on more way for writing digits in a line. He writes a digit as the union of several arcs. An arc is convex upwards if it correspond to binary 1, an arc is convex downwards if it correspond to 0. Here Leibniz also points out that the binary numeration is theoretical but the hexadecimal numeration is more practical. Note that Leibniz s prediction that the practical applications of the hexadecimal and the binary systems are possible in the search for regularities in the sequences of digits of transcendental numbers is a genius because in 1995 the Bailey- Borwein-Plouffe (BBP) formula was discovered [6], which allows you to calculate any number of the number π in hexadecimal notation without having to calculate the previous digits: π = i=0 ( 1 4 16 i 8i + 1 2 8i + 4 1 8i + 5 1 ). 8i + 6

Thus, the hexadecimal system has advantages over the decimal system just to calculate the number π. Similar formulas exist for some constants, for example, ln 2. 4. Conclusions The study of Leibniz s correspondence and manuscripts shows that he knew the principles of binary fraction representation, could operate them, and was the first who proposed to apply the binary system for calculating transcendental numbers. At the same time Leibniz did not know any efficient algorithm of conversion into binary fractions. So analyzing Leibniz s manuscripts we can see his understanding of the connection between hexadecimal and binary systems. He also knew the algorithm for converting integers to hexadecimal system, introduced several methods to present hexadecimal digits and suggested the practical use of hexadecimal system instead of binary system that nowadays came true in computer science and mathematics. Acknowledgments The work is partially supported by Russian Foundation for Basic Research (grant No 15-33-01300) and German Academic Exchange Service (DAAD). References 1. Shirley J. W. Binary numeration before Leibniz // American Journal of Physics. 1951. Vol.19. P. 452-454. 2. Greve J., Gumin H., Hochstetter E. Herrn von Leibniz Rechnung mit Null und Eins Berlin, München: SiemensAG, 1966. P. 42 47. 3. Leibniz G. W. Explication de l arithmétique binaire, qui se sert des seuls caractères 0 et 1 avec des remarques sur son utilité, et sur ce qu elle donne le sens des anciennes figures Chinoies de Fohy // Histoire de l Académie Royale des Sciences anné MDCCIII. Avec les mémoires de mathématiques. 1705. P. 85 89. 4. Zacher H. J. Die Hauptschriften zur Dyadik von G. W. Leibniz: Ein Beitr. zur Geschichte des binären Zahlensystems Frankfurt a. M., Klostermann, 1973. 384 p. 5. Shukhman E. V. About non-decimal representations of fractional numbers in works by mathematicians in XVII-XVIII centuries // Istoriya nauki i tekhniki. 2013. No. 1. P. 3 16. 6. Bailey D. H., Borwein P. B., Plouffe S. On the Rapid Computation of Various Polylogarithmic Constants // Mathematics of Computation. 1997. Vol. 218. No. 66. P. 903 913.