Functions: Summary

  • a function is a special type of relation that associates each domain element to a single codomain element

  • Cartesian product, relation and function are all sets:

  • fn is a proper subsets of all relations which are subset of Cartesian product: f(x)=y  xRy  X×Yf(x)=y \ \subset \ xRy \ \subseteq \ X \times Y

Function definition

A function is a particular relation on sets, that associates each element xx of a set XX, called a domain of the function (DOM), to a single element yy of a set YY, called a codomain of the function (COD).

A function is also defined by a set GG of ordered pairs (x,y)(x,y) such that xXx \in X and yYy \in Y and every element of XX is the first component of exactly one ordered pair in GG.

A functions is a set of ordered pairs with unique first components. All functions are relations, but not vice versa.

Defining properties of a function:

  1. each element of domain, must be associated, and

  2. it must be associated to a single element in codomain

Additional properties:

  • both domain and codomain are non-empty sets

  • related element in domain is called pre-image

  • all elements of domain are pre-images

  • element that's associated to in codomain is called image

  • not all elements of codomain are images

  • the set of all images is called range

  • an image may be associated to more then one pre-image

  • function relation can be denoted by f(x)=yf (x)=y (read as "f of x")

  • pre-image xx is the input argument of the function

  • image yy is the output value of the function

  • a function can also be uniquely represented by its graph, which is a list of all the ordered pairs (x,y)R(x,y)\in R, where y=f(x)y=f(x)

  • functions are also called maps, denoted by xf(x)x\mapsto f(x)

If domain and codomain are comprised of numbers, then the ordered pairs, plotted as the points in the Cartesian coordinates system, form a curve that is also called the graph of the function. The related element yy in codomain is called the image of xx under ff or the value of ff applied to the argument xx. In the context of numbers, it is common to say that yy is the value of ff of xx, denoted as y=f(x)y = f(x).

A univalent or single-valued relation is a relation where every element of domain is related to a single element of codomain:

x y1 y2 [ (x,y1R)(x,y2R) y1=y2 ]\forall x\ \forall y_1\ \forall y_2\ \big[\ (x,y_1 \in R) \land (x,y_2 \in R) \to\ y_1=y_2\ \big]

Univalent relations may be identified to functions whose domain is a subset of X.

A left-total relation is a relation such that

xX,yY:  (x,y)R\forall x\in X, \exists y\in Y:\;(x,y)\in R

Formal functions may be strictly identified to relations that are both univalent and left total. Violating the left-totality is similar to giving a convenient encompassing set instead of the true domain, as explained above.

Various properties of functions and also the functional composition may be reformulated in the language of relations. For example, a function is injective if the converse relation {\displaystyle R^{\text{T))\subseteq (Y\times X)} is univalent, where the converse relation is defined as {\displaystyle R^{\text{T))={(y,x):;(x,y)\in R}.}

Notation

The most commonly used notation is functional notation, which defines the function using an equation that gives the names of the function and the argument explicitly.

Let f:RRf:\mathbb{R} \to \mathbb{R} be the function defined by the equation f(x)=x2f(x) = x^2.

The notation, y=f(x)y=f(x), ("y equals f of x") means that the pair (x,y)(x, y) belongs to the set of pairs defining the function ff. If XX is the domain of ff, the set of pairs defining the function is: {(x,f(x)) ⁣:xX}\{(x,f(x))\colon x\in X\}

To explicitly express domain XX and the codomain YY of a function ff, the arrow notation is often used:

f:XYf:X\to Y\quad

"the function f from X to Y". Or:

XfYX \stackrel{f} \to Y

"the function f maps x to f (x)"

This is often used in relation with the arrow notation for elements, often stacked immediately below the arrow notation giving the function symbol, domain, and codomain:

xf(x)x\mapsto f(x)

Index notation is often used instead of functional notation; instead of writing f(x)f (x), one writes: fxf_{x}

Image and preimage

Let f:XYf: X\to Y, then the image by ff of an element xx of the domain XX is f(x)f(x). If AA is any subset of XX, then the image of AA by ff, denoted f(A)f(A) is the subset of the codomain YY consisting of all images of elements of AA, that is, f(A)={f(x)xA}f(A)=\{f(x)\mid x\in A\}

The image of ff is the image of the whole domain, that is f(X)f(X), also called the range of ff.

The inverse image or preimage by ff of a subset BB of the codomain YY is the subset of the domain XX consisting of all elements of XX whose images belong to BB. It is denoted by f1(B)f^{-1}(B). That is,

f1(B)={xXf(x)B}f^{-1}(B)=\{x\in X\mid f(x)\in B\}

For example, the preimage of {4,9}\{4,9\} under the square function is the set {3,2,2,3}\{−3,−2,2,3\}.

Injective

An injective or one-to-one function, or injection, is a function that preserves distinctness: it never maps distinct elements of its domain to the same element of its codomain; every element of the function's codomain is the image of at most one element of its domain.

A function f:XYf:X\to Y is injective or one-to-one if for every xXx \in X, there exists at most one yYy \in Y such that f(x)=yf(x)=y. A function ff is injective if xyx\neq y implies f(x)f(y)f(x)\neq f(y).

xyf(x)f(y)x\neq y \Rightarrow f(x)\neq f(y).

The function f:XYf : X\to Y is injective if f(x1)f(x2)f(x_1)\neq f(x_2) for any two distinct elements, x1,x2Xx_1, x_2 \in X.

Surjective

A function f from a set X to a set Y is surjective (or onto), or a surjection, if for every element y in the codomain Y of f there is at least one element x in the domain X of f such that f(x) = y. The function f may map one or more elements of X to the same element of Y, so y may not be unique.

A function f:A→B is surjective (onto) if the image of f equals its range.

Equivalently, for every b∈B, there exists some a∈A such that f(a)=b. This means that for any y in B, there exists some x in A such that y=f(x).

Bijective

A function is bijective or one-to-one correspondent iff f is both injective and surjective.

A bijection is a function between the elements of two sets, where each element of one set is paired with exactly one element of the other set, and each element of the other set is paired with exactly one element of the first set. There are no unpaired elements.

In mathematical terms, a bijective function f: X → Y is a one-to-one (injective) and onto (surjective) mapping of a set X to a set Y.

Inverse

The inverse of a one-to-one corresponding function f:A→B, is the function g:B→A, holding the following property −

f(x)=y⇔g(y)=x The function f is called invertible, if its inverse function g exists.

Example A Function f:Z→Z,f(x)=x+5, is invertible since it has the inverse function g:Z→Z,g(x)=x−5.

A Function f:Z→Z,f(x)=x2 is not invertiable since this is not one-to-one as (−x)2=x2.

Composition

Functions f:XYf:X\to Y and g:YZg:Y\to Z can be composed to give a composition gfg\circ f, equal to g(f(x))g(f(x)), only if the codomain of ff is defined as the domain of gg.

Composition properties

  • Composition is associative, hgf=(hg)f=h(gf)h\circ g\circ f=(h\circ g)\circ f=h\circ (g\circ f)

  • Composition is not commutative

  • If ff and gg are one-to-one functions, their composition is as well.

  • If ff and gg are onto functions, their composition is as well.

A function space is a set of functions between domain and codomain.

A constant function is a function whose output value is the same for every input value.

An identity function (also called an identity relation, identity map or identity transformation) is a function that always returns the same value that was used as its argument.

A linear map (also called a linear mapping, linear transformation, soemtimes also linear function) is a mapping VWV \to W between two modules (including vector spaces) that preserves the operations of addition and scalar multiplication. An important special case is when V=WV = W, in which case the map is called a linear operator, or an endomorphism of VV. Sometimes the term linear function has the same meaning as linear map, while in analytic geometry it does not.

A polynomial is an expression consisting of variables (also called indeterminates) and coefficients, that involves only the operations of addition, subtraction, multiplication and non-negative integer exponents of variables. An example of a polynomial of a single indeterminate x is x2 − 4x + 7.

A rational function is any function which can be defined by a rational fraction, i.e. an algebraic fraction such that both the numerator and the denominator are polynomials.

An algebraic function is a function that can be defined as the root of a polynomial equation. Quite often algebraic functions are algebraic expressions using a finite number of terms, involving only the algebraic operations addition, subtraction, multiplication, division and raising to a fractional power.

An analytic function is a function that is locally given by a convergent power series. There exist both real analytic functions and complex analytic functions, categories that are similar in some ways, but different in others.

The smoothness of a function is a property measured by the number of derivatives it has that are continuous. A smooth function is a function that has derivatives of all orders everywhere in its domain.

A continuous function is a function for which sufficiently small changes in the input result in arbitrarily small changes in the output. Otherwise, a function is said to be a discontinuous function.

A measurable function is a function between two measurable spaces such that the preimage of any measurable set is measurable, analogously to the definition that a function between topological spaces is continuous if the preimage of each open set is open.

Restriction of a function ff is a new function fAf\vert _{A} obtained by choosing a smaller domain AA for the original function ff. The notation fAf{\upharpoonright _{A}} is also used.

Properties

Classes/properties

  • constant: output is the same for every input.

  • identity: output is the same as input.

  • Linear

  • Polynomial

  • Rational

  • Algebraic

  • Analytic

  • Smooth

  • Continuous

  • Measurable

  • Injective

  • Surjective

  • Bijective

Constructions  

  • Restriction

  • Composition

  • lambda, λ

  • Inverse

Generalizations  

  • Partial

  • Multivalued

  • Implicit

References

https://en.wikipedia.org/wiki/Function_(mathematics)

Last updated