Intervals

Bounded intervals

We will call interval the set of numbers included between two given limits.

If a and b are two real numbers such that ab, the interval of endpoints a and b is the segment ab, or, also, the set of numbers included between a and b.

If we consider that the endpoints a and b belong to the interval, we will say that it is a closed interval and will denote it as [a,b].

If x is a real number that belongs to [a,b], the point that represents x on the line is on the right of a and on the left of b; this means that a<x<b, and since a and b belong to the interval as well, it is possible that x=a or x=b, so a real number x belongs to the closed interval [a,b] if axb. We will write this algebraic definition in the following way: [a,b]={xR|axb}

If the endpoints do not belong to the interval, we call it an open interval and we will denote it as (a,b). If x is a real number that belongs to (a,b), it is necessary that a<x<b, and we will write it in algebraic language as: (a,b)={xR|a<x<b}

If only one of the endpoints belongs to the interval we say that it is a semiopen interval and we will denote it as (a,b] or [a,b), depending on which endpoint belongs to the interval:

(a,b]={xR|a<xb} [a,b)={xR|ax<b}

In any kind of interval, a is the lower endpoint , and b the upper endpoint. And |ba| is the length of the interval.

The point C at the same distance from a to b, we will call center of the interval. We will call the distance between the center of the interval and the endpoints the radius .

The center of an interval of endpoints a and b is the point a+b2; in fact:

d(a,a+b2)=|a+b2a|=|a+b2a2|=ba2

d(a+b2,b)=|ba+b2|=|2bab2|=ba2

On the other hand, the points of an interval of endpoints a and b can be defined in terms of the distance to the center of the interval.

If x[a,b], the distance of x to the center is less than or equal to the radius of the interval, and as d(x,C)=|Cx|, we have: [a,b]={xR | |Cx|r} where r represents the radius of the interval (r=d(a,b)), and, similarly, for open intervals: (a,b)={xR | |Cx|<r}

To determine the endpoints of an interval given the center and the radius, we apply the properties of the absolute value:

|Cx|<r|xC|<r r<xC<rr+C<x<r+C

Therefore the endpoints of an interval of center C and radius r are Cr and C+r.

The length of an interval is equal to the distance between its two endpoints: long([a,b])=d(a,b) And as it depends on the endpoints, the length is the same whether the interval is open or closed: long((a,b))=long([a,b])=long((a,b])=long([a,b))

Let's observe that the length of an interval depends on the distance used when calculating it, so, continuing with the previous notation, if we use the p-adic distance to calculate the length of an interval, we will denote it as: longp((a,b))=dp(a,b)

Example

The interval [13,25] is a closed interval bounded by lower endpoint 13 and upper endpoint 25.

The center of the interval is a point C: C=a+b2=13+252=5+6152=1130.

And the radius is: d(a,C)=|113013|=|11301030|=130.

The length of this interval is: long([13,25])=d(13,25)=|1325|=|5615|=115

Unbounded intervals

If we consider an interval that does not have lower endpoint or upper endpoint, we obtain a set of the kind: {xR | xb}, or {xR | ax}

Graphically, these sets are represented as all those that are on the left of b, or on the right of a, respectively.

We call these sets unbounded intervals and to denote them we use the infinity symbol as an endpoint. Although is not a number, we will use to denote that it is less than any number and + to denote that it is greater than any number, in such a way that a lower unbounded interval is denoted by:

(,a)={xR | x<a}

if it is opened, whereas if it is closed:

(,a]={xR | xa}

If the interval does not have upper endpoint, we call it an unbounded upper, and we write it as:

(a,+)={xR | a<x}

if it is opened, and

[a,+)={xR | ax}

if it is closed.

Example

[5,+)={xR | 5x}

(,23)={xR | 23<a}