fbpx
Wikipedia

Midy's theorem

In mathematics, Midy's theorem, named after French mathematician E. Midy,[1] is a statement about the decimal expansion of fractions a/p where p is a prime and a/p has a repeating decimal expansion with an even period (sequence A028416 in the OEIS). If the period of the decimal representation of a/p is 2n, so that

then the digits in the second half of the repeating decimal period are the 9s complement of the corresponding digits in its first half. In other words,

For example,

Extended Midy's theorem edit

If k is any divisor of h (where h is the number of digits of the period of the decimal expansion of a/p (where p is again a prime)), then Midy's theorem can be generalised as follows. The extended Midy's theorem[2] states that if the repeating portion of the decimal expansion of a/p is divided into k-digit numbers, then their sum is a multiple of 10k − 1.

For example,

 

has a period of 18. Dividing the repeating portion into 6-digit numbers and summing them gives

 

Similarly, dividing the repeating portion into 3-digit numbers and summing them gives

 

Midy's theorem in other bases edit

Midy's theorem and its extension do not depend on special properties of the decimal expansion, but work equally well in any base b, provided we replace 10k − 1 with bk − 1 and carry out addition in base b.

For example, in octal

 

In duodecimal (using inverted two and three for ten and eleven, respectively)

 

Proof of Midy's theorem edit

Short proofs of Midy's theorem can be given using results from group theory. However, it is also possible to prove Midy's theorem using elementary algebra and modular arithmetic:

Let p be a prime and a/p be a fraction between 0 and 1. Suppose the expansion of a/p in base b has a period of , so

 

where N is the integer whose expansion in base b is the string a1a2...a.

Note that b  − 1 is a multiple of p because (b  − 1)a/p is an integer. Also bn−1 is not a multiple of p for any value of n less than , because otherwise the repeating period of a/p in base b would be less than .

Now suppose that  = hk. Then b  − 1 is a multiple of bk − 1. (To see this, substitute x for bk; then b = xh and x − 1 is a factor of xh − 1. ) Say b  − 1 = m(bk − 1), so

 

But b  − 1 is a multiple of p; bk − 1 is not a multiple of p (because k is less than  ); and p is a prime; so m must be a multiple of p and

 

is an integer. In other words,

 

Now split the string a1a2...a into h equal parts of length k, and let these represent the integers N0...Nh − 1 in base b, so that

 

To prove Midy's extended theorem in base b we must show that the sum of the h integers Ni is a multiple of bk − 1.

Since bk is congruent to 1 modulo bk − 1, any power of bk will also be congruent to 1 modulo bk − 1. So

 
 
 

which proves Midy's extended theorem in base b.

To prove the original Midy's theorem, take the special case where h = 2. Note that N0 and N1 are both represented by strings of k digits in base b so both satisfy

 

N0 and N1 cannot both equal 0 (otherwise a/p = 0) and cannot both equal bk − 1 (otherwise a/p = 1), so

 

and since N0 + N1 is a multiple of bk − 1, it follows that

 

Corollary edit

From the above,

  is an integer

Thus  

And thus for  

 

For   and is an integer

 

and so on.

Notes edit

  1. ^ Leavitt, William G. (June 1967). "A Theorem on Repeating Decimals". The American Mathematical Monthly. Mathematical Association of America. 74 (6): 669–673. doi:10.2307/2314251. JSTOR 2314251. MR 0211949.
  2. ^ Bassam Abdul-Baki, Extended Midy's Theorem, 2005.

References edit

  • Rademacher, H. and Toeplitz, O. The Enjoyment of Mathematics: Selections from Mathematics for the Amateur. Princeton, NJ: Princeton University Press, pp. 158–160, 1957. MR0081844
  • E. Midy, "De Quelques Propriétés des Nombres et des Fractions Décimales Périodiques". College of Nantes, France: 1836.
  • Ross, Kenneth A. "Repeating decimals: a period piece". Math. Mag. 83 (2010), no. 1, 33–45. MR2598778

External links edit

midy, theorem, mathematics, named, after, french, mathematician, midy, statement, about, decimal, expansion, fractions, where, prime, repeating, decimal, expansion, with, even, period, sequence, a028416, oeis, period, decimal, representation, that, displaystyl. In mathematics Midy s theorem named after French mathematician E Midy 1 is a statement about the decimal expansion of fractions a p where p is a prime and a p has a repeating decimal expansion with an even period sequence A028416 in the OEIS If the period of the decimal representation of a p is 2n so that a p 0 a 1 a 2 a 3 a n a n 1 a 2 n displaystyle frac a p 0 overline a 1 a 2 a 3 dots a n a n 1 dots a 2n then the digits in the second half of the repeating decimal period are the 9s complement of the corresponding digits in its first half In other words a i a i n 9 displaystyle a i a i n 9 a 1 a n a n 1 a 2 n 10 n 1 displaystyle a 1 dots a n a n 1 dots a 2n 10 n 1 For example 1 13 0 076923 and 076 923 999 displaystyle frac 1 13 0 overline 076923 text and 076 923 999 1 17 0 0588235294117647 and 05882352 94117647 99999999 displaystyle frac 1 17 0 overline 0588235294117647 text and 05882352 94117647 99999999 Contents 1 Extended Midy s theorem 2 Midy s theorem in other bases 3 Proof of Midy s theorem 4 Corollary 5 Notes 6 References 7 External linksExtended Midy s theorem editIf k is any divisor of h where h is the number of digits of the period of the decimal expansion of a p where p is again a prime then Midy s theorem can be generalised as follows The extended Midy s theorem 2 states that if the repeating portion of the decimal expansion of a p is divided into k digit numbers then their sum is a multiple of 10k 1 For example 1 19 0 052631578947368421 displaystyle frac 1 19 0 overline 052631578947368421 nbsp has a period of 18 Dividing the repeating portion into 6 digit numbers and summing them gives 052631 578947 368421 999999 displaystyle 052631 578947 368421 999999 nbsp Similarly dividing the repeating portion into 3 digit numbers and summing them gives 052 631 578 947 368 421 2997 3 999 displaystyle 052 631 578 947 368 421 2997 3 times 999 nbsp Midy s theorem in other bases editMidy s theorem and its extension do not depend on special properties of the decimal expansion but work equally well in any base b provided we replace 10k 1 with bk 1 and carry out addition in base b For example in octal 1 19 0 032745 8 032 8 745 8 777 8 03 8 27 8 45 8 77 8 displaystyle begin aligned amp frac 1 19 0 overline 032745 8 8pt amp 032 8 745 8 777 8 8pt amp 03 8 27 8 45 8 77 8 end aligned nbsp In duodecimal using inverted two and three for ten and eleven respectively 1 19 0 076 E 45 12 076 12 E 45 12 E E E 12 07 12 6 E 12 45 12 E E 12 displaystyle begin aligned amp frac 1 19 0 overline 076 mathcal E 45 12 8pt amp 076 12 mathcal E 45 12 mathcal EEE 12 8pt amp 07 12 6 mathcal E 12 45 12 mathcal EE 12 end aligned nbsp Proof of Midy s theorem editShort proofs of Midy s theorem can be given using results from group theory However it is also possible to prove Midy s theorem using elementary algebra and modular arithmetic Let p be a prime and a p be a fraction between 0 and 1 Suppose the expansion of a p in base b has a period of ℓ so a p 0 a 1 a 2 a ℓ b a p b ℓ a 1 a 2 a ℓ a 1 a 2 a ℓ b a p b ℓ N 0 a 1 a 2 a ℓ b N a p a p N b ℓ 1 displaystyle begin aligned amp frac a p 0 overline a 1 a 2 dots a ell b 6pt amp Rightarrow frac a p b ell a 1 a 2 dots a ell overline a 1 a 2 dots a ell b 6pt amp Rightarrow frac a p b ell N 0 overline a 1 a 2 dots a ell b N frac a p 6pt amp Rightarrow frac a p frac N b ell 1 end aligned nbsp where N is the integer whose expansion in base b is the string a1a2 aℓ Note that b ℓ 1 is a multiple of p because b ℓ 1 a p is an integer Also bn 1 is not a multiple of p for any value of n less than ℓ because otherwise the repeating period of a p in base b would be less than ℓ Now suppose that ℓ hk Then b ℓ 1 is a multiple of bk 1 To see this substitute x for bk then bℓ xh and x 1 is a factor of xh 1 Say b ℓ 1 m bk 1 so a p N m b k 1 displaystyle frac a p frac N m b k 1 nbsp But b ℓ 1 is a multiple of p bk 1 is not a multiple of p because k is less than ℓ and p is a prime so m must be a multiple of p and a m p N b k 1 displaystyle frac am p frac N b k 1 nbsp is an integer In other words N 0 mod b k 1 displaystyle N equiv 0 pmod b k 1 nbsp Now split the string a1a2 aℓ into h equal parts of length k and let these represent the integers N0 Nh 1 in base b so that N h 1 a 1 a k b N h 2 a k 1 a 2 k b N 0 a l k 1 a l b displaystyle begin aligned N h 1 amp a 1 dots a k b N h 2 amp a k 1 dots a 2k b amp vdots N 0 amp a l k 1 dots a l b end aligned nbsp To prove Midy s extended theorem in base b we must show that the sum of the h integers Ni is a multiple of bk 1 Since bk is congruent to 1 modulo bk 1 any power of bk will also be congruent to 1 modulo bk 1 So N i 0 h 1 N i b i k i 0 h 1 N i b k i displaystyle N sum i 0 h 1 N i b ik sum i 0 h 1 N i b k i nbsp N i 0 h 1 N i mod b k 1 displaystyle Rightarrow N equiv sum i 0 h 1 N i pmod b k 1 nbsp i 0 h 1 N i 0 mod b k 1 displaystyle Rightarrow sum i 0 h 1 N i equiv 0 pmod b k 1 nbsp which proves Midy s extended theorem in base b To prove the original Midy s theorem take the special case where h 2 Note that N0 and N1 are both represented by strings of k digits in base b so both satisfy 0 N i b k 1 displaystyle 0 leq N i leq b k 1 nbsp N0 and N1 cannot both equal 0 otherwise a p 0 and cannot both equal bk 1 otherwise a p 1 so 0 lt N 0 N 1 lt 2 b k 1 displaystyle 0 lt N 0 N 1 lt 2 b k 1 nbsp and since N0 N1 is a multiple of bk 1 it follows that N 0 N 1 b k 1 displaystyle N 0 N 1 b k 1 nbsp Corollary editFrom the above a m p displaystyle frac am p nbsp is an integerThus m 0 mod p displaystyle m equiv 0 pmod p nbsp And thus for k ℓ 2 displaystyle k frac ell 2 nbsp b ℓ 2 1 0 mod p displaystyle b ell 2 1 equiv 0 pmod p nbsp For k ℓ 3 displaystyle k frac ell 3 nbsp and is an integer b 2 ℓ 3 b ℓ 3 1 0 mod p displaystyle b 2 ell 3 b ell 3 1 equiv 0 pmod p nbsp and so on Notes edit Leavitt William G June 1967 A Theorem on Repeating Decimals The American Mathematical Monthly Mathematical Association of America 74 6 669 673 doi 10 2307 2314251 JSTOR 2314251 MR 0211949 Bassam Abdul Baki Extended Midy s Theorem 2005 References editRademacher H and Toeplitz O The Enjoyment of Mathematics Selections from Mathematics for the Amateur Princeton NJ Princeton University Press pp 158 160 1957 MR0081844 E Midy De Quelques Proprietes des Nombres et des Fractions Decimales Periodiques College of Nantes France 1836 Ross Kenneth A Repeating decimals a period piece Math Mag 83 2010 no 1 33 45 MR2598778External links editWeisstein Eric W Midy s Theorem MathWorld Retrieved from https en wikipedia org w index php title Midy 27s theorem amp oldid 1186297447, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.