In mathematics, a function f {\displaystyle f} defined on some set X {\displaystyle X} with real or complex values is called bounded if the set of its values is bounded. In other words, there exists a real number M {\displaystyle M} such that
for all x {\displaystyle x} in X {\displaystyle X} . A function that is not bounded is said to be unbounded.
If f {\displaystyle f} is real-valued and f ( x ) ≤ A {\displaystyle f(x)\leq A} for all x {\displaystyle x} in X {\displaystyle X} , then the function is said to be bounded (from) above by A {\displaystyle A} . If f ( x ) ≥ B {\displaystyle f(x)\geq B} for all x {\displaystyle x} in X {\displaystyle X} , then the function is said to be bounded (from) below by B {\displaystyle B} . A real-valued function is bounded if and only if it is bounded from above and below.[additional citation(s) needed]
An important special case is a bounded sequence, where X {\displaystyle X} is taken to be the set N {\displaystyle \mathbb {N} } of natural numbers. Thus a sequence f = ( a 0 , a 1 , a 2 , … ) {\displaystyle f=(a_{0},a_{1},a_{2},\ldots )} is bounded if there exists a real number M {\displaystyle M} such that
for every natural number n {\displaystyle n} . The set of all bounded sequences forms the sequence space l ∞ {\displaystyle l^{\infty }} .
The definition of boundedness can be generalized to functions f : X → Y {\displaystyle f:X\rightarrow Y} taking values in a more general space Y {\displaystyle Y} by requiring that the image f ( X ) {\displaystyle f(X)} is a bounded set in Y {\displaystyle Y} .