* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Decimal Representation of Real Numbers
History of mathematical notation wikipedia , lookup
Location arithmetic wikipedia , lookup
Large numbers wikipedia , lookup
Mathematical proof wikipedia , lookup
History of logarithms wikipedia , lookup
Georg Cantor's first set theory article wikipedia , lookup
Series (mathematics) wikipedia , lookup
Hyperreal number wikipedia , lookup
Infinitesimal wikipedia , lookup
Real number wikipedia , lookup
Proofs of Fermat's little theorem wikipedia , lookup
Elementary mathematics wikipedia , lookup
abstractmath.org help with abstract math Produced by Charles Wells. Home Website TOC Website Index Back to the real numbers chapter Posted 28 June 2017 DECIMAL REPRESENTATION OF REAL NUMBERS Contents Notation and terminology .............................................................................................................................. 1 Variations in usage ...................................................................................................................................................1 How to think about the decimal representation ............................................................................................. 2 Decimal representation and geometric series............................................................................................... 2 Notation and terminology A real number has a decimal representation. It gives the approximate location of the number on the real line. Examples The rational number 1/2 is real and has the decimal representation 0.5. The rational number - 1/ 2 has the representation - 0.5 . The number 1/3 is also real and has the infinite decimal representation 1.333… This means there is an infinite number of 3’s, or to put it another way, for every positive integer n, the nth decimal place of the decimal representation of 1/3 is 3. The number p has a decimal representation beginning 3.14159… So you can locate p approximately by going 3.14 units to the right from 0. You can locate it more exactly by going 3.14159 units to the right, if you can measure that accurately. The decimal representation of p is infinitely long so you can theoretically represent it with as much accuracy as you wish. In practice, of 10 (10 course, it would take longer than the age of the universe to find the first 10 ) digits. Bar notation It is customary to put a bar over a sequence of digits at the end of a decimal representation to indicate that the sequence is repeated forever. For example, 42 1 = 42.3 3 and 52.71656565… (65 repeating infinitely often) may be written 52.7165 . A decimal representation that is only finitely long, for example 5.477, could also be written 5.4770 . Terminology The decimal representation of a real number is also called its decimal expansion. A representation can be given to other bases besides 10; more about that here. Variations in usage Approximations If you give the first few decimal places of a real number, you are giving an approximation to it. Mathematicians on the one hand and scientists and engineers on the other tend to treat expressions such as " 3.14159" in two different ways. The mathematician may think of it as a precisely given number, namely 314159 / 100000, so in particular it represents a rational number. This number is not p , although it is close to it. The scientist or engineer will probably treat it as the known part of the decimal representation of a real number. From their point of view, one knows 3.14159 to six significant figures. Abstractmath.org always takes the mathematician's point of view. If I refer to 3.14159, I mean the rational number 314159 / 100000. I may also refer to p as “approximately 3.15159…”. Integers and reals in computer languages Computer languages typically treat integers as if they were distinct from real numbers. In particular, many languages have the convention that the expression ‘2’ denotes the integer and the expression ‘2.0’ denotes the real number. Mathematicians do not use this convention. They regard the integer 2 and the real number 2 as the same mathematical object. (Well, most of them do, anyway.) How to think about the decimal representation The decimal representation is not the number, any more than an Exxon sign is the Exxon corporation. It is a representation of the number. (Duh). It is good to know the representation, or the first part of it, since it allows you to place the number in approximately the right place on the number line (or to approximate a distance of that length). 1 The notation 42.3 denotes a decimal representation of 42 . This decimal representation 3 contains an infinite number of 3’s after the decimal point. It is wrong to think of it as “going to infinity” or “going on for ever and ever”. It is not going anywhere. It already has all of the 3’s. It is a static mathematical object, not a changing process. More here. Decimal representation and infinite series The decimal representation of a real number is shorthand for a particular infinite series (MW, Wik). Let the part before the decimal place be the integer n and the part after the decimal place be d1d2d3 ... where d i is the digit in the ith place. (For example, for p , n = 3, d1 = 1, d 2 = 4, d3 = 1, and so forth.) Then the the decimal notation n.d1d2d3 ... represents the limit of the series ¥ n+ å di i i = 1 10 Example 1 42 = 42 + 3 ¥ 3 i i = 1 10 å The number 42 1 is EXACTLY equal to the sum of the infinite series. If you stop the series after 3 a finite number of terms, then the number is approximately equal to the resulting sum. For example, 42 1/3 is approximately equal to 42 + 3 3 3 + + 10 100 1000 This inequality gives an estimate of the accuracy of this approximation: 1 42.333 < 42 < 42.334 3 Agitated objection When I think about 42.3 I can’t visualize an infinite number of 3’s all at once. I can think of them only as coming into the list one at a time. Sharp rejoinder: You are not being asked to visualize all the 3’s at once, but just to accept the fact that the notation 1 42.3 denotes all the 3’s at once, and that that is the decimal representation of 42 . Live with it. 3 In ordinary English the “…” often indicates continuing through time, as in for example “They climbed to the top of the ridge, and saw another, higher ridge in the distance, so they walked to that ridge and climbed it, only to see another one still further away…” 1 But the decimal representation of 42 is a complete, infinitely long sequence of decimal digits, 3 every one of which (after the decimal point) is a “3” right now. You should similarly think of the decimal expansion of 2 as having all its decimal digits in place at once, although of course in this case you have to calculate them in order. Calculating them is only finding out what they are. They are already there. Important: This description is about how a mathematican thinks about infinite decimal expansions. The thinking has some sort of physical representation in your head that allows you to think about to the hundred millionth decimal place of 2 or p even if you don’t know what it is. This does not mean that you have an infinite number of slots in your brain, one for each decimal place! Nor does it mean that the infinite number of decimal places actually exist “somewhere”. After all, you can think about unicorns and they don’t actually exist somewhere. Exact definitions Both the following are true: (1) The numbers 1/3, 2 and p have infinitely long decimal representations, in contrast for example to ½, whose decimal representation is exactly 0.5. (2) The expressions “1/3”, “ 2 ”and “ p ” exactly determine the numbers 1/3, a) 1/3 is exactly the number that gives 1 when multiplied by 3. b) c) 2 is exactly the unique positive real number whose square is 2. p is exactly the ratio of the circumference of a circle to its diameter. 2 and p : These two statements don’t contradict each other. All three numbers have exact definitions. The decimal representation of each one to a finite number of places provides an approximate location of that number on the real line. On the other hand, the complete decimal representation of each one represents it exactly, although you can’t write it down. Example A teacher may ask for an exact answer to the problem “What is the length of the diagonal of a square whose sides have length 2?” The exact answer is 8 . An approximate answer is 2.8284. Different decimal representations for the same number When the expansion ends in an infinite sequence of 0’s, we don’t usually write the 0’s: 2.10 = 2.1 , for example. The decimal representations of two different real numbers must be different. However, two different decimal representations can, in certain circumstances, represent the same real number. This happens when the decimal representation ends in an infinite sequence of 9’s or an infinite sequence of 0’s. Example 0.9 = 1.0 3.49 = 3.5 These equations are exact. 3.49 is exactly the same number as 3.5. (Indeed, 3.49 , 3.5, 35/10 and 7/2 are all different representations of the same number.) Two proofs that 0.9 = 1.0 The fact that 0.9 = 1.0 is notorious because many students simply don’t believe it is true. I will give two proofs here. There is much more detailed information about this in Wikipedia. Proof by formula This proof uses geometric series and requires understanding limits and infinite series. The main theorem about infinite geometric series is that, for r < 1 , this exact equation holds: ¥ å ar 1- r ar k = k= 1 ¥ The series represented by 0.9 is 9 1 . So here a = 9 and r = . Then by the main theorem, n 10 n= 1 10 å ¥ å 9 9 n= 1 10 n = 10 1- 1 =1 10 ¥ 9 is 1, not that it “goes to 1” or is “nearly 1”. n n= 1 10 Proof using the Archimedean Property This is an exact equation. It says å The proof in this section (suggested by Maria Terrell) requires less theoretical machinery than the ¥ previous proof. However, you still have to believe that 0.9 , which means å 9 n= 1 10 n by definition, converges to a real number. The Archimedean Property says that if r is a real number then there is an integer n bigger that r. Lemma If r is a positive real number, there is an integer n such that r > 1 . n Proof of Lemma a) If r is positive then so is 1 . r b) The Archimedean Property says that there is an integer n such that c) That means there is an integer n so that r > 1 < n. r 1 by a standard rule about inequalities. n End of proof. The contrapositive of the Lemma says: Lemma If r is a real number for which for every integer n, r £ 1 , then r is not positive. n Proof that 0.9 = 1.0 a) To prove 0.9 = 1.0 is the same as to prove that 1- 0.9 = 0 . k b) Let k be any positive integer and let t = 0.99...9 { . So t = k nines 3, t = 0.999 = 9 10 + 9 + 100 9 9 . For example, for k = n n= 1 10 å . 1000 c) Then 1- t = .00...01 { = k - 1 zeroes 1 1 . For example, 1- 0.999 = .001 = . k 103 10 ¥ d) Then 0.9 > t since all the terms in 0.9 are positive (remember 0.9 = 9 ). n n= 1 10 å e) t is the sum of the first k terms in 0.9 (which are all positive). By c) and d), for all integers k, 1- 0.9 < f) 1 10k k If n is any integer, then there is an integer k such that n < 10 (let k be the number of digits in n, for example). This means that g) 1 1 . > n 10k 1- 0.9 ³ 0 since it is the absolute value of something. h) Now e) and f) prove that for all integers n, 0 £ 1- 0.9 < i) 1 . n The contrapositive of the Lemma means that 1- 0.9 can’t be positive, but 1- 0.9 ³ 0 , so only possibility left is that 1- 0.9 = 0 , and that is what we had to prove.