Education
 

Function

From Mathematics

See also the Wikipedia article:

A function (or more strictly, a well-defined function) is a rule that assigns to every element in a set math exactly one element, called the image, from another set math. The set math is called the domain, while the set math is called the codomain. The subset of the codomain which precisely contains the set of all values that are assigned to some value in the domain is called the range. A function is also a relation.

[edit] Definition

When defining a function math with domain math and codomain math, it is common to denote it by math.

For example, the function math could be defined by the formula

math

with domain D being the real numbers and the range R being the non-negative real numbers. This function assigns the value 4 in the range to the number −2 in the domain.

math

Formally, a relation math from a set math to set math is said to be a function if it satisfies the following properties:

The first condition asserts that every element in the domain has an image in the codomain, while the second states that such an image is unique. This definition, however, allows the following possibilities for a function:

  • Two or more distinct elements in the domain may have the same image;
  • One or more element in the codomain may not be the image of any element in the domain.

One may also speak of multi-valued functions, which only satisfy the totality property, and of partially-defined functions, which only satisfy the functional property.

With those possibilities in mind, we may define a function math to be one of these three types of functions:

  • Injection, injective function, or one-to-one: for any math and math in math, if math, then math;
  • Surjection, surjective function, or onto: for any math in math, there exists an math in math such that math;
  • one-to-one correspondence, bijection, bijective function, or invertible, if math is both injective and surjective.

[edit] Notation

As a function math from a set math to a set math is formally a relation, which itself is a subset of the cartesian product math, the notations math (viewing math as a relation), and math are valid. However, whenever given an arbitrary math, it is cumbersome in writing to state that "there exists a unique math such that math." Therefore, we will define the preferred notation math to refer to the aforementioned unique math. Therefore, the following notations are equivalent:

  • math, when viewing math as a subset of the Cartesian product math;
  • math, when viewing math as a relation from math to math;
  • math

[edit] Examples

In practice a function is completly determined thru a formula that assign the variables, for example:

math

y is the depending variable and x is the independent one.