What number is rational and irrational

In summary, an irrational number is one that is not rational and cannot be expressed as a fraction, while a positive number is greater than zero and a negative number is less than zero. However, an irrational number can be approximated by a sequence of rational numbers. The real numbers are a dense set, meaning that for any real number, there exists a sequence of rationals that converges to it. The completeness axiom can also be used to define real numbers.
  • #1
Tina
1
0
When is x rational and irrational?

Also When is r positive and negative? :confused:
 
Mathematics news on Phys.org
  • #2
By definition an irrational number is one that is not rational. Therefore, it is not possible for a number to both rational and irrational. If you're thinking of the number zero (0) then you're mistaken since 0 is clearly rational - it can be expressed as a ratio of whole numbers.

Also, a positive number is one that is greater than zero and a negative number is one that is less than 0. The only alternative to those two conditions is a number that is neither greater than zero nor less than zero - which is zero itself and it is neither positive nor negative.
 
  • #3
Tina said:
When is x rational and irrational?

Also When is r positive and negative? :confused:

The definition of "rational number" is that it can be written as a fraction.
(1/2, 3/5, 2/3, etc.)
It is also true that rational numbers are those that, in decimal notation, are either terminating or repeating. (1/2= 0.5 is terminating, 3/5= 0.6 is terminating, 2/3= 0.66666... is repeating)

An irrational number is any number that is NOT rational. [itex]\sqrt{2}[/itex] for example, as well as [itex]\pi[/itex]. Irrational numbers tend to be written in "funny" ways exactly because they are not as simple to write as rational numbers.

Are you really asking what a negative number is? That seems very elementary for someone who is also working with rational and irrational numbers. About the best answer is that positive numbers are greater than 0 and negative numbers are less that 0. That negative sign in front of a number is a pretty good clue!

Since you specifically said "when is r positive or negative", I wonder if you are not thinking of polar coordinates. If that is the case the answer is easy: r is never negative, it can only be 0 or positive.

I just realized that the question was NOT "what numbers are rational or irrational" or "what numbers are positive or negative" as I must have thought when I wrote this.

Hurkyl is completely correct- there are NO numbers that are both rational and irrational and there are NO numbers that are both positive and negative.
 
Last edited by a moderator:
  • #4
HallsofIvy said:
An irrational number is any number that is NOT irrational.
A = not A?
 
  • #5
Tina (welcome to PF, BTW!),
It would be best if you give the context of your questions:

Is it for example that you wonder:
What can I assume in some calculation/proof, and what must I prove?
Or just: how do I KNOW this?
 
  • #6
Aren't all irrational numbers just sequences of rational numbers?
 
  • #7
gravenewworld said:
Aren't all irrational numbers just sequences of rational numbers?

A sequence of rational numbers would be rational.

1 then 2 -> 1.2
 
  • #8
A sequence of rational numbers would be rational.

Not all the time. The real numbers have the property that they are dense, i.e. for any real number a there is a sequence of rational numbers {r_n} so r_n--->a. So say for the irrational number pi

r_1=3.0
r_2=3.1
r_3=3.14
r_4=3.141

and so on you get the idea. If a is irrational you can just choose r_n to be the rational numbers of the first n terms of the decimal expansion of a followed by zeroes. If r has its decimal expansion that agrees with the expansion of a to the mth place then the number differs from a less than 10^-m. So obviously the sequence of rationals {r_n} converges to a.
 
  • #9
Anyways, you're missing a subtlety.

Any irrational number is equal to the limit of some sequence of rational numbers.


Except for a few particular models of the real numbers, it is incorrect to say that an irrational number is a sequence of rational numbers.


Also a correction:

The real numbers have the property that they are dense

You meant to say

The rational numbers are a dense subset of the real numbers.

Or more compactly,

The rationals are dense in the reals.
 
Last edited:
  • #10
Hurkyl said:
Any irrational number is equal to the limit of some sequence of rational numbers.
Is there a proof of this somewhere?
 
  • #11
Is there a proof of this somewhere?

Yes. Gravenworld's last post (#8) is a good demonstration of this fact.

A rigorous proof would require use of the completeness axiom, though.
 
Last edited:
  • #12
Ah yes thanks for catching my mistake. The rational numbers are dense in the real numbers.
 
  • #13
Alkatran said:
A = not A?
Ooops! I will edit that. Thanks.
 
  • #14
Hmm, couldn't edit- the post is too old. Of course, what I meant was that "an irrational number is any number that is not RATIONAL".

By the way, the fact that, for any real number there exist a sequence of rationals that converge to it can be used as a definition of "real number".

Let X be the set of all increasing, bounded, sequences of rational numbers (convergent or not). We say that two such sequences, {an} and {bn}, are equivalent if and only if the sequence {an- bn} converges to 0. It is easy to show that that is an "equivalence relation" and so partitions the set X into equivalence classes. We identify the real numbers with those equivalence classes (addition, multiplication are defined by using "representative" sequences). That definition makes it easy to prove that any increasing bounded sequence of real numbers converges to a real number and the "completeness axiom" follows from that.
 
  • #15
Hurkyl said:
The rational numbers are a dense subset of the real numbers.
... contrary to the rational numbers, the real numbers are dense in themselves :laughing:

But when it goes to :
Hurkyl said:
Or more compactly,
... the real numbers are not compact in themselves :tongue2:

Sorry about that :blushing:
 
  • #16
I beg to differ; I think the rationals are also dense in themselves!
 
  • #17
I was just joking. I thought a discrete set cannot be dense at all, because all the subset of a discrete set are open, thus no subset can be closed, thus no subset can be dense. Now that I think about it seriously, I think you must be right. Is it true that any set is dense in itself ? What's the definite answer ! :confused: :uhh:

Just had a thought : the fact that Q is (partially) ordered. It is sufficient to show that for any two rationals, another lies between them. Q is dense in itself. I do not delete the begining, since I would like to know what happens in the case of a set without partial order.
 
  • #18
Being dense is a topological property...

Of course, any totally ordered space has a natural topology that respects the ordering (let the neighborhoods be open intervals), so it makes sense to speak of being dense in an ordered set.

A set S is dense in a topological space T if the closure of S is all of T. So, clearly, T is dense in T.


The rational numbers is not a discrete space: the property it lacks is being complete.

Also, there's nothing stopping a set from being both open an closed. For any topological space, both the empty set and the whole thing are both open and closed. And, in general, any set that is isolated from the rest of the space (such as any set in a discrete topology) is both open and closed.



As an addendum, the term "dense order" means something else entirely: an ordering is dense if, for any A and B with A < B there is a C so that A < C < B.


edit: changed an erroneous use of the word "set" to "space"
 
Last edited:
  • #19
Thanks Hurkyl ! Much clearer in my head now... I should never have quit math for physics :cry:
 
  • #20
gravenewworld said:
Not all the time. The real numbers have the property that they are dense, i.e. for any real number a there is a sequence of rational numbers {r_n} so r_n--->a. So say for the irrational number pi

r_1=3.0
r_2=3.1
r_3=3.14
r_4=3.141

and so on you get the idea. If a is irrational you can just choose r_n to be the rational numbers of the first n terms of the decimal expansion of a followed by zeroes. If r has its decimal expansion that agrees with the expansion of a to the mth place then the number differs from a less than 10^-m. So obviously the sequence of rationals {r_n} converges to a.

So any real number is the limit of a sequence of rationals. Is any real number also a limit of a sequence of irrationals? I found this proof of the latter statement...

http://answers.yahoo.com/question/index?qid=20080921221913AAsHFAp

it seems contradictory to have that every real number is both the limit of a sequences of rationals as well as the limit of a sequence of irrationals.
 
  • #21
If you think about the formal definition of a limit, this shouldn't seem that contradictory. For one, there are SO MANY more irrational numbers than rational numbers (the set of irrational numbers is uncountable), so even on an intuitive level, it shouldn't be hard to convince yourself that if you can approximate a real number by a sequence of rationals, then certainly you could approximate the same real number by a sequence of irrationals. The proof given in the yahoo answers link relies fundamentally on the fact that the decimal expansion of a real number is arbitrarily close to approximating rational numbers. Richard Courant gives a pretty intuitive explanation regarding such approximations here:

"[PLAIN Real Numbers and Infinite Domains"]http://kr.cs.ait.ac.th/~radok/math/mat6/calc1.htm#1.1.2 Real Numbers and Infinite Domains[/URL]
 
Last edited by a moderator:
  • #22
Alkatran said:
A = not A?

Oops! Thanks. I'll go back and edit so I can pretend I never made that silly error!
 
  • #23
gravenewworld said:
Aren't all irrational numbers just sequences of rational numbers?
Yes.

Alkatran said:
A sequence of rational numbers would be rational.

1 then 2 -> 1.2
No, the limit of a sequence of rational numbers does not have to be rational.

Ethereal said:
Is there a proof of this somewhere?
One way of defining the real numbers, in terms of rational numbers, is to define them to be equivalence classes of certain kinds of kinds of sequences of rational numbers.

For example, we can define the real numbers to be equivalence classes of Cauchy sequences of rational numbers with two such sequences, [itex]\{a_n\}[/itex] and [itex]\{b_n\}[/itex] defined to be "equivalent" if and only if the sequence [itex]\{a_n- b_n\}[/itex] converges to 0.

Alternatively, we can define the real numbers to be equivalence classes of "increasing sequences of rational numbers having an upper bound" with the same equivalence relation.


For example, the sequence {3, 3.1, 3.14, 3.141, 3.141, 3.1415, 3.14159, 3.141592, ...} is both a Cauchy sequence and an increasing sequence of rational numbers having limit \(\displaystyle \pi\), an irrational number. In the senses of the two definitions above, the equivalence class containing that sequence would be the number \(\displaystyle \pi\).
 

What is a rational number?

A rational number is a number that can be expressed as a ratio of two integers, where the denominator is not equal to 0. It can be written in the form of a/b, where a and b are integers.

What is an irrational number?

An irrational number is a number that cannot be expressed as a ratio of two integers. These numbers cannot be written in the form of a/b, where a and b are integers. They are non-terminating and non-repeating decimals.

How can I tell if a number is rational or irrational?

You can determine if a number is rational or irrational by looking at its decimal representation. If the decimal is non-terminating and non-repeating, then the number is irrational. If the decimal is either terminating or repeating, then the number is rational.

Are all integers rational numbers?

Yes, all integers are rational numbers. This is because they can be written in the form of a/b, where b=1. For example, 5 can be written as 5/1, making it a rational number.

Can a number be both rational and irrational?

No, a number cannot be both rational and irrational. It can only be one or the other. This is because the definition of a rational number excludes numbers that cannot be expressed as a ratio of two integers.

Similar threads

Replies
19
Views
1K
Replies
7
Views
1K
  • General Math
Replies
27
Views
3K
  • General Math
Replies
5
Views
1K
Replies
6
Views
1K
Replies
4
Views
595
Replies
13
Views
1K
Replies
5
Views
2K
Back
Top