Thread Closed

Irrational number approximation by a rational number

 
Share Thread Thread Tools
May20-10, 06:40 AM   #1
 

Irrational number approximation by a rational number


Is there a way ( a theorem ) to find a rational number for a given irrational number such that it is an approximation to it to the required decimal places of accuracy. For example 22/7 is an approximate for pi for 2 decimal places.
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Bird's playlist could signal mental strengths and weaknesses
>> Minus environment, patterns still emerge: Computational study tracks E. coli cells' regulatory mechanisms
>> Bacterium uses natural 'thermometer' to trigger diarrheal disease, scientists find
May20-10, 06:41 AM   #2
 
best rational approximation (via continued fractions)
May20-10, 04:06 PM   #3
 
Recognitions:
Science Advisor Science Advisor
There is always the trivial solution. Write out the decimal expansion for the irrational to the required number (plus one) of places. Then truncate (or round). This rational number will satisfy the criterion.
May20-10, 05:26 PM   #4
 
Recognitions:
Homework Helper Homework Help

Irrational number approximation by a rational number


^That tends to give big denominators, how distasteful.
May21-10, 04:50 PM   #5
 
Recognitions:
Science Advisor Science Advisor
Quote by lurflurf View Post
^That tends to give big denominators, how distasteful.
Most of the time you can't do much else.
May21-10, 08:32 PM   #6
 
Mathematica has the command "Rationalize" to do this. I think it uses continued fractions as Xitami mentioned above. If you have more than one irrational number then you can ask if there is an approximate relation between them involving rational numbers. That problem can be efficiently solved using the LLL algorithm:

http://en.wikipedia.org/wiki/Lenstra...tion_algorithm
Jun21-10, 04:30 AM   #7
 
Write down the decimal expansion to the accurate number of digits required+1 and make the penultimate digit to round figure and then convert it to fraction by dividing it by 10 to power number of decimal digits.
Thread Closed
Thread Tools


Similar Threads for: Irrational number approximation by a rational number
Thread Forum Replies
Prove that between any two rational numbers there is at least one irrational number.. General Math 26
rational/irrational number General Math 12
For every rational number, there exists sum of two irrational numbers... Calculus & Beyond Homework 6
What number is rational and irrational General Math 22
Rational and Irrational Number Set proof. Set Theory, Logic, Probability, Statistics 4