Go Back   Science Forums
View Single Post
Old 04-20-2009   #26 (permalink)
CraigD's Avatar
CraigD
Creating


Location:
Silver Spring, MD, USA
 
CraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond repute
 



Not Ranked  0 score     
Post The problem of intractability with exact representations of irrational numbers

Quote:
Originally Posted by Boof-head View Post
Ah cha, as Ramunandran would have said, what if we don't expand or calculate pi?
I suspect that most programmers with a math bent – who tend to spend a lot of time ignoring proven impossibility and just trying to code it anyway – have on at least one occasions seriously considered this question.

The real numbers, which consist of the rational and the irrational numbers, taunt one to find a simple scheme to represent digitally. For the other common numbers systems - the naturals, integers, rationals, and complex - numbers can be simply and compactly represented with pairs of numbers of the more elementary system –

\mathbb{Z}=\mathbb{N}_1 -\mathbb{N}_2,

\mathbb{Q}=\mathbb{Z}_1 \div \mathbb{Z}_2,

\mathbb{C}=\mathbb{R}_1 + i \mathbb{R}_2

– but not so with the reals.

Exactly representing an irrational real number is no big challenge – just write it using recognized symbols, \pi, e, \sqrt{2}, etc. The big deal ensues when you start doing arithmetic with them.

For example, the simple series \sum_{a=1}^{100} \sqrt{a}

which has an approximate rational value 671.46295, has the exact rational value:

55 + 28\sqrt{2} + 15\sqrt{3} + 10\sqrt{5} + 10\sqrt{6} + 6\sqrt{7} + 6\sqrt{10} + 6\sqrt{11} + 3\sqrt{13} + 3\sqrt{14} + 3\sqrt{15} + 3\sqrt{17} + 3\sqrt{19} + 3\sqrt{21} + 3\sqrt{22} +
3\sqrt{23} + \sqrt{26} + \sqrt{29} + \sqrt{30} + \sqrt{31} + \sqrt{33} + \sqrt{34} + \sqrt{35} + \sqrt{37} + \sqrt{38} + \sqrt{39} + \sqrt{41} + \sqrt{42} + \sqrt{43} + \sqrt{46} + \sqrt{47} + \sqrt{51} +
\sqrt{53} + \sqrt{55} + \sqrt{57} + \sqrt{58} + \sqrt{59} + \sqrt{61} + \sqrt{62} + \sqrt{65} + \sqrt{66} + \sqrt{67} + \sqrt{69} + \sqrt{70} + \sqrt{71} + \sqrt{73} + \sqrt{74} + \sqrt{77} +
\sqrt{78} + \sqrt{79} + \sqrt{82} + \sqrt{83} + \sqrt{85} + \sqrt{86} + \sqrt{87} + \sqrt{89} + \sqrt{91} + \sqrt{93} + \sqrt{94} + \sqrt{95} + \sqrt{97}

As long as the number of operations in a calculation are small, on a human scale, it’s not impractical to represent irrational numbers exactly. If, however, a calculation has billions or more of operations, as they commonly do when performed using a computer, the representations can become impractically unwieldy – intractable, to use a good term – with even simple operations such as comparisons requiring nearly the equivalent of repeating the entire preceding calculation. For some fairly modest calculations, the amount of data storage required for systematic schemes to exact represent a rational number can exceed the amount possible given the limited amount of matter and energy in the visible universe!

Intuitively, one can visualize this problem being that real and complex numbers can simply contain too much information to be represented without making shrewd, very context-dependent decisions about the representation scheme to be used. Trying to formalize “shrewd context-dependent decisions” can be a nightmare task.


----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies

Last edited by CraigD; 04-20-2009 at 03:50 PM.. Reason: Fixed grammer mistake
Reply With Quote
 
» Advertisement
» Current Poll
Who's the sexiest man alive? Johnny Depp or Robert Pattinson?
Johnny Depp - 30.00%
3 Votes
Robert Pattinson - 0%
0 Votes
Someone else (please specify) - 40.00%
4 Votes
I'm too macho to think a guy is sexy - 30.00%
3 Votes
Total Votes: 10
You may not vote on this poll.


All times are GMT -8. The time now is 03:00 AM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000-2009 Hypography
Part of the Hypography - Science for Everyone Network