2.1. Real Line#

The set of real numbers is also known as real line.

2.1.1. Prelude#

We look at some justification for why real numbers are needed.

Proposition 2.1

There is no rational number whose square root is 2.

Proof. Let us assume that there indeed is a rational number whose square root is 2:

(pq)2=2.

We assume that p and q have no common factor. Then we have: p2=2q2. This means that p2 is even. Thus, p is even. Let p=2r. Then 4r2=2q2q2=2r2. This means that q2 is even. Thus, q is even. But this contradicts our assumption that p and q have no common factor.

This argument shows that the set of rational numbers is not complete in the sense that we can posit the existence of numbers which are not rational.

We extend the set further to a larger number system known as real numbers. The completeness axiom plays a major role in the definition of real numbers.

2.1.2. Real numbers#

We present the axiomatic definition of real numbers.

Definition 2.1 (Real Numbers)

The real numbers are the members of a nonempty set R equipped with two operations + and from R×R into R called addition and multiplication, that satisfy following axioms. We will denote arbitrary members of R as x,y and z. We will also abbreviate multiplication xy as xy.

  1. x+y=y+x and xy=yx; commutative laws.

  2. x+(y+z)=(x+y)+z and x(yz)=(xy)z; associative laws.

  3. x(y+z)=xy+xz; distributive law.

  4. There exists an element 0R such that x+0=xxR; additive identity.

  5. For each xR there exists an element in R denoted by x such that x+(x)=0; additive inverse.

  6. There exists an element 1R with 10 satisfying 1x=xxR; multiplicative identity.

  7. For each x0 there exists an element in R denoted by x1 satisfying xx1=1; multiplicative inverse.

  8. For any x,yR either xy or yx holds; total order.

  9. If xy, then x+zy+z holds for each zR.

  10. If xy and z0 then xzyz.

  11. Every nonempty set of real numbers that is bounded from above has a least upper bound; completeness axiom.

Axioms (1-7) are field axioms. Axioms (8-10) establish that R is an ordered field. Axiom (11) is discussed further in Axiom 2.1.

It can be shown that if R and S are two different sets satisfying these axioms then they are isomorphic and for all practical purposes identical.

Several remarks immediately follow from the definition.

  • The zero element (additive identity) is unique.

  • The one element (multiplicative identity) is unique.

  • The additive inverse x is unique.

  • x=(1)x holds.

  • The multiplicative inverse x1 for x0 is unique.

  • 0x=0.

  • (x)=x.

  • (x)(y)=xy.

  • xy=x+(y)=(yx).

  • (x1)1=xx0.

Remarks above are derived from field properties of real line.

Further remarks on order property

  • An alternative notation for xy is yx.

  • x>y means that xy and xy.

  • x<y means that xy and xy.

  • x<yy>xyx>xx=0.

Definition 2.2 (Positive and negative numbers)

  • Any number xR satisfying x>0 is called a positive number.

  • Any number xR satisfying x<0 is called a negative number.

  • Any number xR satisfying x0 is called a non-negative number.

  • Any number xR satisfying x0 is called a non-positive number.

Proposition 2.2

If x+ϵy for each ϵ>0, then xy holds.

Proof. If the result doesn’t hold, then x<yyx>0. Let ϵ=12(yx). Then x+ϵ=12(x+y)y. This implies 12(yx)0yx<0, which is a contradiction.

Definition 2.3 (Absolute value)

The absolute value |a| of a real number aR is defined as follows. if a0, then |a|=a and if a<0, then |a|=a. ab denotes the larger of the two numbers. ab denotes the smaller of the two numbers.

Remark 2.1

Thus |a|=a(a)aR. Further |a|=|a|.

Proposition 2.3

The absolute value satisfies following properties:

  1. |a|0 for each aR, and |a|=0a=0.

  2. |ab|=|a||b|a,bR.

  3. |a+b||a|+|b|a,bR; the triangle inequality.

Proof. If a=0 then by definition |a|=0. Again from definition, for any non-zero value, |a| is not zero. Hence |a|=0a=0.

Let a and b two non-negative numbers. Then |a|=a and |b|=b. Thus, |a||b|=ab=|ab|. Further |a|+|b|=a+b=|a+b|.

Now, let a and b two non-positive numbers. Then |a|=a and |b|=b. ab is non-negative, hence |ab|=ab. a+b is non-positive, hence |a+b|=(a+b). Thus, |a||b|=(a)(b)=ab=|ab|. Further, |a|+|b|=(a)+(b)=(a+b)=|a+b|.

Now lets consider when a and b are of opposite signs. WLOG (without loss of generality), let us assume that a is positive and b is negative. Further let us assume that |a||b|. Clearly, then |a+b|<|a|+|b|. Also |ab|=ab=|a||b|.

Corollary 2.1

For a,bR the following hold:

|ab||a|+|b|.
||a||b|||ab|.

Proof. We know that

|a+b||a|+|b|.

Replacing b with b we get:

|ab||a|+|b|.

Again, replacing b with ba, we get:

|a+ba||a|+|ba||b||a||ab|.

Further, replacing a with ab in |a+b||a|+|b|, we get:

|ab+b||ab|+|b||a||b||ab|.

Combining the two, we get our result.

Proposition 2.4 (Distance triangle inequality)

Let a,b,cR. Then:

|ab||ac|+|cb|.

This is straight-forward application of Proposition 2.3.

|ac|+|cb||(ac)+(cb)|=|ab|.

Proposition 2.5

Two real numbers a and b are equal if and only if for every real number ϵ>0, |ab|<ϵ holds.

Proof. If a=b, then ab=0|ab|=0<ϵ for every ϵ>0. Now for the converse, we are given that for every ϵ>0, |ab|<ϵ. We have to show that a=b. Let as assume that ab. Choose ϵ0=|ab|. Clearly, for ϵ0>0, |ab|<ϵ0 doesn’t hold. This contradicts our assumption that for every ϵ>0 |ab|<ϵ. Hence a=b.

2.1.3. Intervals#

Definition 2.4 (Interval)

A subset S of R is called an interval if for every a,bS such that a<b, S contains all the real numbers between a and b. In other words, if a<x<b, then xS.

  • An open interval does not include its endpoints and is denoted as (a,b){xR|a<x<b}.

  • A closed interval does not include its endpoints and is denoted as [a,b]{xR|axb}.

  • A half-open interval includes one of its its endpoints : [a,b){xR|ax<b}; (a,b]{xR|a<xb}.

  • A degenerate interval is an interval of the form [a,a] which is a singleton containing aR.

2.1.4. Completeness Axiom#

Definition 2.5 (Upper and lower bounds)

Let A be a nonempty subset of R.

  • An upper bound of A is any uR such that xuxA.

  • A lower bound of A is any lR such that xlxA.

  • If A has an upper bound it is said to be bounded from above.

  • If A has a lower bound it is said to be bounded from below.

  • If A is both bounded from above and below, then A is said to be bounded.

  • A real number is called a least upper bound or supremum of A if it is an upper bound of A, and it is less than or equal to every other upper bound of A. The least upper bound is denoted by sup(A).

  • A real number is called a greatest lower bound or infimum of A if it is a lower bound of A, and it is greater than or equal to every other lower bound of A. The greatest lower bound is denoted by inf(A).

Remark 2.2

A set A can have at most one least upper bound and at most one greatest lower bound.

Remark 2.3

The infimum or supremum of a set A need not belong to the set itself.

The set S={x|0<x<1} has an infimum 0 and a supremum 1. Neither belong to the set.

The completeness axiom asserts that every nonempty set bounded from above has a least upper bound. We restate the axiom independently for emphasis.

Axiom 2.1 (Completeness axiom)

Every nonempty set of real numbers that is bounded from above has a least upper bound.

Example 2.1 (Least upper and greatest lower bounds)

Let

A={1n:nN}.

The set is bounded from above with sup(A)=1. The set is bounded from below with inf(A)=0.

The open interval (0,2)={xR:0<x<2} has lower and upper bounds as 0 and 2 respectively. So does the closed interval [0,2]={xR:0x2}. But (0,2) has no maximum or minimum element. [0,2] has both. Further, (0,2] has maximum element but not minimum, and [0,2) has minimum element but not maximum.

Example 2.2 (Distinction with rational numbers)

The set S={xQ:x22} doesn’t have a least upper bound in the set of rational numbers. For every xS, it is possible to find a yQ such that y>x and y2<2.

The axiomatic definition of real numbers claims that since the set S={xR:x22} is bounded from above, hence there exists a real number which is the least upper bound of this set. We simply denote this number as:

2sup{xR:x22}.

Corollary 2.2

Every nonempty set of real numbers that is bounded from below has a greatest lower bound.

Proof. Let AR be a nonempty set bounded from below. Consider the set of lower bounds for A defined as

B={bR:bxxA}.

Since B is bounded from above by numbers in A, hence by completeness axiom, B has a least upper bound denoted by sup(B). This indeed is the greatest lower bound of A as sup(B)=inf(A).

This result demonstrates that we only need an axiom for the least upper bound. The idea of existence of greatest lower bound immediately follows from it. We could have easily started with the existence of greatest lower bound as an axiom and derived the existence of least upper bound from it.

Remark 2.4

If a set A has a maximum (resp. minimum) element, then max(A)=sup(A) (resp. min(A)=inf(A) ).

On the other hand, if the supremum of a set A exists and sup(A)A, then sup(A) is the maximum element of A. Similarly if the infimum of a set A exists and inf(A)A, then inf(A) is the minimum element of A.

Proposition 2.6

Assume that the supremum of a subset A of R exists. Then for every ϵ>0, there exists some xA such that

sup(A)ϵ<xsup(A).

Conversely, let a be an upper bound of AR such that for every ϵ>0, there exists an xA such that aϵ<x, then a is the least upper bound of A.

Proof. Clearly, if xA then xsup(A). Now, if for every xA we have xsup(A)ϵ, then sup(A)ϵ is an upper bound of A, which is less than the least upper bound. This is a contradiction. Thus, for every ϵ>0, there exists an xA such that sup(A)ϵ<xsup(A).

Conversely, no matter how small ϵ>0 is chosen, aϵ cannot be an upper bound of A since there exists some xA such that x>aϵ. Hence a is indeed the least upper bound of A.

Proposition 2.7

Let A and B be two subsets of R bounded above with BA. Then

sup(B)sup(A).

Proof. Let a be an upper bound of A. Then axxA. Since BA, hence ayyB too. Thus, every upper bound of A is also an upper bound of B. Thus, sup(A) is also an upper bound of B. Since sup(B) is least upper bound of B, it is smaller than or equal to any other upper bound of B. Thus sup(B)sup(A).

Proposition 2.8

The set of natural numbers N is unbounded.

Proof. Assume by contradiction that N is bounded. Since NR, hence by completeness axiom, there exists a least upper bound of N. Let s=sup(N). Then nsnN. Then by Proposition 2.6, for ϵ=1 there exists some kN such that s1<k. This implies s<k+1. Further since s is the supremum, hence k+1s. Thus, s<k+1s, which is impossible.

Proposition 2.9 (Nested interval property)

For each nN, assume that we are given a closed interval In=[an,bn]={xR:anxbn}. Assume also that each In contains In+1. Then, the resulting nested sequence of closed intervals

I1I2InIn+1

has a nonempty intersection; i.e.

n=1In.

Proof. Consider the set of lower bounds

A={an:nN}.

Due to completeness axiom, the set has a least upper bound. Let x=sup(A). Further, due to nested structure, each bn is also an upper bound of A. Since x is the least upper bound, hence xbnnN. Thus, we have anxbn nN. Hence, xInnxn=1In .

2.1.5. Archimedian Property#

Proposition 2.10 (Archimedian property)

If x and y are two positive real numbers, then there exists some natural number n such that nx>y.

Proof. For contradiction assume that nxy holds for every nN. Since, x,y>0, nyx1nN. This contradicts Proposition 2.8.

This also tells us that for any real number x>0, there exists an nN satisfying 1n<x. By choosing y=1 in above, we get nx>1x>1n.

Example 2.3

Let A={1n:nN}. We show that inf(A)=0. Clearly 0 is a lower bound. Now if x>0 then we can find n0N such that 1/n0<x. Thus x>0 cannot be a lower bound of A. Hence 0 is the greatest lower bound of A.

2.1.6. Rational Numbers#

Proposition 2.11 (Density of Q in R)

Between any two distinct real numbers there exists a rational number.

Proof. Let a and b be the two distinct real numbers. If the two numbers are of opposite sign, then 0 is an obvious rational number between them. If a and b are both non-positive, then the rational number can be chosen to be the negative of the rational number between a and b. We now consider the case where both a and b are non-negative. Without loss of generality, we assume that 0a<b. Consider the set

A={nN:n>max{1ba,1b}}.

Since N is not bounded from above, A is nonempty. Fix an element qA. Clearly, 0<1q<ba and 1<bq. Now, let

B={nN:n<bq}.

Since 1B, B is nonempty. Also, B is a finite set. Let p=max(B). Clearly, pB and p+1B.

Finally, we will show that a<pq<b. Since pB, p<bqpq<b. Further,

p+1bqbpq+1q<pq+baa<pq.

Proposition 2.12

There exists a real number αR satisfying α2=2.

Proof. Consider the set

A={xR:x2<2}.

Clearly, A is bounded above. Now, choose α=sup(A). We show that α2=2 by ruling out α2<2 and α2>2. Assume that α2<2. Consider for some nN:

(α+1n)2=α2+2αn+1n2<α2+2αn+1n=α2+2α+1n.

Now choose n0N large enough so that

1n0<2α22α+1.

This implies 2α+1n0<2α2. Thus,

(α+1n0)2<α2+(2α2)=2.

Thus α+1n0A contradicting the assumption that α2 is an upper bound of A. Hence α2<2 is not possible.

Now assuming α2>2, we show that it cannot be the least upper bound of A. We start with

(α1n)2=α22αn+1n2>α22αn.

Choosing n0>2α/(α22), we get 2αn0<α22. Thus

(α1n0)2>α2(α22)=2.

Thus (α1n0)2 is also an upper bound of A. But

(α1n0)2<α2.

Hence, α2 cannot be the least upper bound of A. Thus, α2>2 is not possible. Since for every real number α2, exactly one of the possibilities α2<2, α2>2 or α2=2 has to be true, hence α2=2.

2.1.7. Irrational Numbers#

Definition 2.6 (Irrational number)

A real number which is not rational is known as irrational number. The set of irrational numbers is denoted by I.

Clearly, I=RQ. Also, R=QI. Although Q forms a field, but I does not. For example 2×2=2 is rational. Thus I is not closed under multiplication. Further, 0 and 1 (the additive and multiplicative identities) don’t belong to I.

Proposition 2.13

The sum of a rational and an irrational number is irrational. The product of a non-zero rational number and an irrational number is irrational.

Proof. Let qQ and iI. Let r=q+i. Then i=rq. If r were rational, then i would have to be rational (since Q is closed under addition). But i is irrational, hence r is irrational.

Now let q0. Let r=qi. Then i=r/q. If r were rational, then i would have to be rational since Q is closed under multiplication.

Proposition 2.14 (Density of I in R)

Between any two distinct real numbers there exists an irrational number.

Proof. Let a,bR. Without loss of generality, assume a<b. Consider the numbers: a2,b2. Since Q is dense in R (Proposition 2.11), there exists a rational number q such that

a2<q<b2.

Clearly a<q+2<b. But by Proposition 2.13, q+2 is irrational. This completes the proof.

Proposition 2.15 (Existence of roots)

For a real number a and any natural number n2, we have the following:

  1. If a0 and n is even, there exists a unique b0 such that bn=a.

  2. If aR and n is odd, then there exists a unique bR such that bn=a.

2.1.8. Uncountability#

Proposition 2.16

The set R is uncountable.

Proof. Assume that R is countable. Then it is possible to enumerate R as R={x1,x2,}. Consider a closed interval I1 which doesn’t contain x1. Further, consider a second closed interval I2I1 which doesn’t contain x2. If I1=[a,b], then by choosing c1=(a+b)/3, and c2=2(a+b)/3, we get disjoint closed sub-intervals [a,c1] and [c2,b]. x2 can lie in at most one of them, hence it is always possible to choose I2I1 as desired. Now given In has been chosen, choose In+1 such that:

  1. In+1In and

  2. xn+1In+1.

Now, consider the countable intersection of nested closed sets

I=n=1In.

If xiR (as an element in the enumeration of R), then xiIi. Thus xiI. Thus, if R is countable, then no real number lies in I. But by nested interval property, I is not empty. This contradicts our assumption that R is countable.

Corollary 2.3

The set of irrational numbers is uncountable.

Proof. If I were countable, then R=QI would also be countable. But this is not true. Hence I is uncountable.

2.1.9. Algebraic Numbers#

Definition 2.7 (Algebraic real number)

A real number is called algebraic if it is the root of a polynomial with integer coefficients. i.e. xR is algebraic if there exist integers a0,a1,,anZ, not all zero, such that

anxn+an1xn1++a1x+a0=0.

Example 2.4 (Algebraic real numbers)

  • 2 is algebraic since it is the root of the equation x22=0.

  • 23 is algebraic since it is the root of the equation x32=0.

  • 2+3 is algebraic since it is the root of the equation x410x2+1=0.

Proposition 2.17

The set of algebraic numbers is countable.

Proof. Let nN. Let An be the algebraic numbers obtained as roots of polynomials with integer coefficients that have degree n given by

anxn+an1xn1++a1x+a0=0.

Each polynomial can be represented by an n+1-tuple given by

(an,an1,,a1,a0).

Thus, it has a one-one correspondence with the Cartesian product Zn+1. Since finite Cartesian product of countable sets is countable, hence Zn+1 is countable. This means that the number of polynomials of order n is countable. Since each polynomial of order n can have at most n roots, hence An is countable.

Now consider the union

A=n=1An

as the set of algebraic numbers. Since union of a countable family of countable sets is countable, hence A is countable.

2.1.10. Transcendental Numbers#

Definition 2.8 (Transcendental numbers)

A real number is called transcendental if it is not algebraic.

Proposition 2.18 (Existence of transcendental numbers)

Transcendental numbers exist and they are uncountable.

Proof. Let A denote the set of algebraic numbers and B denote the set of transcendental numbers. Then R=AB. Since A is countable and R is uncountable, hence B is non-empty and is uncountable.

2.1.11. Intervals are Uncountable#

Proposition 2.19

The open interval (0,1)={xR:0<x<1} is uncountable.

Proof. Assume that (0,1) is countable. Then, the numbers x(0,1) can be enumerated. Let f:N(0,1) be such an enumeration. Let f(m) be given by (in the decimal representation)

f(m)=.am1am2.

Define a real number x(0,1) with the decimal expansion

x=.b1b2

using the rule:

bn={2if ann2;3if ann=2.

The number x cannot be f(1) since b1a11. The number x cannot be f(n)nN since bnann. Thus x doesn’t belong to the suggested enumeration of (0,1). Thus, (0,1) is uncountable.

Proposition 2.20

(0,1) is uncountable if and only if R is uncountable.

Proof. If R were countable, then (0,1) would be countable since (0,1)R. Thus, (0,1) can be uncountable only if R is uncountable.

Now if (0,1) were countable then R would be countable since R can be written as

R=n=(n,n+1)Z.

Every open interval (n,n+1) has the same cardinality as (0,1) and Z is countable. Thus, R is uncountable only if (0,1) is uncountable. In other words, (0,1) is uncountable if R is uncountable.