Surprising rational/irrational formula

  • Context: Undergrad 
  • Thread starter Thread starter uman
  • Start date Start date
  • Tags Tags
    Formula
Click For Summary
SUMMARY

The discussion centers around a mathematical formula that determines whether a number is rational or irrational using limits and elementary functions. The formula is defined as f(x)=limm→∞[limn→∞cos2n(m!πx)]. For rational numbers, f(x) equals 1, while for irrational numbers, f(x) equals 0. This intriguing result highlights the relationship between factorials and trigonometric functions in classifying numbers.

PREREQUISITES
  • Understanding of limits in calculus
  • Familiarity with trigonometric functions, specifically cosine
  • Knowledge of rational and irrational numbers
  • Basic concepts of factorial notation (m!)
NEXT STEPS
  • Explore advanced calculus concepts involving limits and continuity
  • Study the properties of trigonometric functions in depth
  • Investigate the implications of rationality in number theory
  • Learn about the applications of factorials in mathematical proofs
USEFUL FOR

Mathematicians, students of calculus, and anyone interested in number theory and the properties of rational and irrational numbers.

uman
Messages
348
Reaction score
1
I found this interesting. Maybe a few other people here will too. I would have never thought that there is a formula based only on limits and elementary functions that tells whether a given number is rational or irrational. Anyone else think this is cool?

f(x)=\lim_{m\to\infty}[\lim_{n\to\infty}cos^{2n}(m!\pi x)]
 
Physics news on Phys.org
Not that this is useful for any purpose, because to evaluate that limit you'd probably already have to know if the number is rational or irrational... but I still thought it was neat.
 
Sur it's cool.
I'm sure it could be used for something, even though that would detract something from its pure beauty.
 
What exactly is the theorem you are referring to?
 
If x is rational, f(x)=1, because eventually m! is a multiple of the denominator of x, and so m!x is an integer. Then cos^{2n}(m!x pi) = 1, so the inner limit is 1.

If x is irrational, no matter how high m is, m! is not an integer and so cos^2(m!x pi) is less than one, and so the inner limit is equal to zero and hence f(x)=0.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 9 ·
Replies
9
Views
7K
  • · Replies 85 ·
3
Replies
85
Views
9K
  • · Replies 13 ·
Replies
13
Views
9K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 7 ·
Replies
7
Views
2K