# Limit (mathematics)

In mathematics, the concept of a "**limit**" is used to describe the behavior of a function, as its argument gets "close" to either some point, or infinity; or the behavior of a sequence's elements, as their index approaches infinity. Limits are used in calculus and other branches of mathematical analysis to define derivatives and continuity.

The concept of the "limit of a function" is further generalized to the concept of topological net, while the limit of a sequence is closely related to limit and direct limit in category theory.

## Contents

## Limit of a function

*Main article: limit of a function*

Suppose *f*(*x*) is a real function and *c* is a real number. The expression:

means that *f*(*x*) can be made to be as close to *L* as desired by making *x* sufficiently close to *c*. In that case, we say that "the limit of *f*(*x*), as *x* approaches *c*". Note that this statement can be true even if *f*(*c*) *L*. Indeed, the function *f*(*x*) need not even be defined at *c*.
Two examples help illustrate this.

Consider as *x* approaches 2. In this case, *f*(*x*) is defined at 2 and equals its limit of 0.4:

f(1.9) | f(1.99) | f(1.999) | f(2) | f(2.001) | f(2.01) | f(2.1) |

0.4121 | 0.4012 | 0.4001 | 0.4 | 0.3998 | 0.3988 | 0.3882 |

As *x* approaches 3, *f*(*x*) approaches 0.3 and hence we have .
In the case where , *f* is said to be continuous at *x* = *c*.
But it is not always the case.
Consider

The limit of *g*(*x*) as *x* approaches 2 is 0.4 (just as in *f*(*x*)), but ; *g* is not continuous at *x* = 2.

### Formal definition

A limit is formally defined as follows: Let be a function defined on an open interval containing (except possibly at ) and let be a real number. The statement

means that for each there exists a such that for all where , then .

### Limit of a function at infinity

One need not examine limits only as *x* approaches some finite number; one can also examine the limit of a function as *x* approaches positive or negative infinity.

For example, consider .

*f*(100) = 1.9802*f*(1000) = 1.9980*f*(10000) = 1.9998

As *x* becomes extremely large, *f*(*x*) approaches 2. In this case,

If one considers the codomain of *f* is the extension real line, then limit of a function at infinity could be considered as a special case of limit of a function at a point.

- if and only if for each such that whenever

## Limit of a sequence

*Main article: limit of a sequence*

Consider the following sequence: 1.79, 1.799, 1.7999,... We could observe that the numbers are "approaching" 1.8, the limit of the sequence.

Formally, suppose *x*_{1}, *x*_{2}, ... is a sequence of real numbers.
We say that the real number *L* is the *limit* of this sequence and we write

if and only if

- for every ε>0 there exists a natural number
*n*_{0}(which will depend on ε) such that for all*n*>*n*_{0}we have |*x*_{n}-*L*| < ε.

Intuitively, this means that eventually all elements of the sequence get as close as we want to the limit, since the absolute value |*x*_{n} - *L*| can be interpreted as the "distance" between *x*_{n} and *L*. Not every sequence has a limit; if it does, we call it *convergent*, otherwise *divergent*. One can show that a convergent sequence has only one limit.

The limit of a sequence and the limit of a function are closely related. On one hand, the limit of a sequence is simply the limit at infinity of a function defined on natural numbers. On the other hand, a limit of a function *f* at *x*, if it exists, is the same as the limit of the sequence *x*_{n}=*f*(*x*+1/*n*).

## Topological net

*Main article: net (topology)*

All of the above notions of limit can be unified and generalized to arbitrary topological spaces by introducing topological nets and defining their limits. The article on nets elaborates on this.

An alternative is the concept of limit for filters on topological spaces.

## Limit in category theory

*Main article: limit (category theory)*

cs:Limita de:Limes (Mathematik) es:Límite matemático eo:Limeso fr:Limite (mathématiques) io:Limito id:Limit it:Limite (matematica) he:גבול (מתמטיקה) ja:極限 hu:Határérték nl:Limiet no:Grenseverdi pl:Granica (matematyka) pt:Limite fi:Raja-arvo sv:Gränsvärde tr:Limit zh:极限 Template:Link FA