$f(x) = x^2$ on $\reals$
The graph of $f(x) = x^2$.
The squaring function, as a function $f : \reals \to \reals$.
Terms
| Term | This example | Why |
|---|---|---|
| domain | $\reals$ | $f$ is declared as a function $\reals \to \reals$. |
| codomain | $\reals$ | $f$ is declared as a function $\reals \to \reals$. |
| image | $f([-1, 2]) = [0, 4]$ | The squares of the numbers in $[-1, 2]$ are exactly the numbers in $[0, 4]$: the smallest is $0^2 = 0$, and the largest is $2^2 = 4$. |
| preimage | $f^{-1}(\setdef{4}) = \setdef{-2, 2}$ and $f^{-1}(\setdef{-1}) = \emptyset$ | The preimage $f^{-1}(\setdef{4})$ exists even though $f$ has no inverse. No real number squares to $-1$, so $f^{-1}(\setdef{-1})$ is empty. |
| range (image) | $f(\reals) = [0, \infty)$ | The range of $f$ is $[0, \infty)$, because squares of real numbers are exactly the nonnegative numbers. |
| range (codomain) | $\reals$ | In the sense of the codomain, the range of $f$ is $\reals$, the set where outputs are allowed to land. |
| continuously differentiable | ✓ | $x \mapsto x^2$ on $\reals$ is continuously differentiable because its derivative $2x$ is continuous. |
| continuous | ✓ | $x \mapsto x^2$ is continuous. |
| sequentially continuous | ✓ | $x \mapsto x^2$ on $\reals$ is sequentially continuous, because if $x_n \to x$, then $x_n^2 \to x^2$, since the limit of a product is the product of the limits. |
| function | ✓ | $f(x) = x^2$ is a function, because it assigns to each real number $x$ exactly one real number $x^2$. |
| relation | ✓ | $f(x) = x^2$ is a relation between $\reals$ and $\reals$: it relates each $x$ to $x^2$, and its graph $\setdef{(x, x^2) \suchthat x \in \reals}$ is a subset of $\reals \times \reals$. |
| positive definite function | ✓ | $x \mapsto x^2$ on $\reals$ is positive definite because it is positive away from $0$ and zero at $0$. |
| convex function | ✓ | The function $x \mapsto x^2$ is convex, because its second derivative is $2 \geq 0$. |
| locally Lipschitz continuous | ✓ | $x \mapsto x^2$ on $\reals$ is locally Lipschitz continuous, because on each interval $[-R, R]$ its slope $2x$ is bounded by $2R$. |
| Lipschitz continuous | ✗ | $x \mapsto x^2$ on $\reals$ is not Lipschitz continuous, because its slope $2x$ is unbounded on $\reals$. |
| uniformly continuous | ✗ | $f(x) = x^2$ is not uniformly continuous on $\reals$, because its graph gets steeper and steeper, so no single closeness of inputs works everywhere. |
| class-$\mathcal{K}$ | ✗ | $x \mapsto x^2$ on $\reals$ is not of class $\mathcal{K}$, because a class-$\mathcal{K}$ function is strictly increasing, but $x^2$ decreases on $(-\infty, 0]$. |
| operator | ✗ | $f(x) = x^2$ on $\reals$ is not an operator, because its inputs are numbers, not elements of a space of functions. |
| functional | ✗ | $f(x) = x^2$ on $\reals$ is not a functional, because its inputs are numbers, not elements of a space of functions. |
| transform | ✗ | $f(x) = x^2$ on $\reals$ is not a transform, because its inputs are numbers, not elements of a space of functions. |
Distinctions using this example
- Lipschitz Continuous vs. Continuously Differentiable
- Continuous vs. Uniformly Continuous
- Convex Set vs. Convex Function
- Domain vs. Range vs. Codomain vs. Image vs. Preimage: The domain and codomain of $f$ are both $\reals$. Squares of real numbers are exactly the nonnegative numbers, so the range is $[0, \infty)$, which is smaller than the codomain. The image of $[-1, 2]$ is $[0, 4]$, which is smaller than the range. The preimage of $\setdef{4}$ is $\setdef{-2, 2}$, even though $f$ has no inverse.
- Function vs. Map: “Function” is the usual word for $f(x) = x^2$, because its inputs and outputs are numbers.
- Range: Statistical Range vs. Image vs. Codomain
- Types of Continuity
All examples · All distinctions · All definitions · Notation