2011-12-28
cringe warning: i wrote this blog post as a teenager, and i am possibly quite embarrassed with it's content.

Abstract

The purpose of this essay shall be to examine the differences and similarities between the set of rational numbers, and the set of irrational numbers. We shall also examine some proofs of how both sets are dense in the set of real numbers, .

Set of Rationals is Dense in set of Reals

Proposition: is dense in

Proof: Let and be real numbers such that . We need to show contains a rational number. The Archimedian Property will be essential to this proof. The archimedian property says that for any positive , there exists an such that . Therefore, we can choose an such that Now, by the theorem that states for any number , there is exactly one integer in the interval we can say that there exists an integer in the interval if we let . Thus, Now divide every term by to get But by the archimedian property, , so Therefore, the rational number , which implies that is dense in .

Set of Irrationals is Dense in the set of Reals

Proposition: The uncountable set of irrational numbers is dense in

Proof: The proof of this proposition is a consequence of the proof that any rational number is dense in . Choose any positive irrational number, say . By the density of , there is a rational in such that lies in the interval and is irrational since it’s the product of a rational number and irrational number. Therefore, the uncountable set of irrational numbers is dense in

Bijective Function from Natural numbers to Rational Numbers

A function is a bijection (one-to-one correspondence) if and only if it has an inverse which is equal to it’s own inverse. In order for a function to be bijective, the cardinalities of the domain and range must be equal.

The Cantor pairing function satisfies this condition. The Cantor pairing function is a pairing function defined by

We must make sure that the function is both (1) one-to-one and (2) onto. Suppose we are given with and we want to find and . It is helpful to define some intermediate values in the calculation: where is the triangle number of . If we solve the quadratic equation which is a strictly increasing and continuous function when t is non-negative real. Since we get that So to calculate x and y from z,

Here we have shown the inverse of the Cantor pairing function. Therefore, it must be one-to-one and onto. Thus, the Cantor Pairing Function is the one-to-one function that

Bijective function from Natural numbers to Irrational Numbers

We can show that there exists no bijective function that maps the natural numbers to Irrational numbers. We know that for a bijective function (a function with one-to-one correspondence between domain and range) to exist, the cardinalities of the domain and range must be equal.

Definition: A countable set is a set with the same cardinality (number of elements) as some subset of the set of natural numbers.

Lemma: is uncountable.

Proof: Assume (for a contradiction) that R is countable. Each can be expressed as an infinite decimal. Suppose the 1-to-1 correspondence with is : where and and every real such that every real number appears once in Now choose a real number such that Then is different from all those in the list, and hence there cannot exist such a 1-to-1 correspondence between and . Therefore, is uncountable.

The proof of there exists no bijective function that maps the natural numbers to Irrational numbers follows immediately

Proof: Since is an uncountable set, of which the rationals are a countable subset, the complementary set of irrationals is uncountable. We cannot have a bijective function for a set that is uncountable, therefore, there exists no bijective function that maps the natural numbers to the set of all irrational numbers.

Similarities & Difference of Rationals and Irrationals