Posted by: suugakuisfun | April 22, 2008

Theory of Functions

Definition (Mapping, Domain, Range). A mapping or relation between 2 sets, A and B is a rule assigning some elements from A (called the domain) to an element in B (called the range).

Example 1. If the set A were the set of positive real numbers and the set B were the set of negative real numbers, the rule “take the negative of an element” assigns each positive integer in A to an element in B.

Mathematically, we say that f is a relation from a domain A to a range B using the following shorthand.

f:A \rightarrow B

The rule of the function is often written as f(a) where a \in A. An element b in the range can thus be given by b = f(a). In the example above, b = f(a) = -a.

Definition (Function). A mapping is defined as a function if it assigns each element in its domain A to exactly one element in its range B. The domain and range of f are sometimes referred to as D_f and R_f respectively.

Example 2. The mapping f:\mathbb{R}^+ \rightarrow \mathbb{R}^- where f(x) = -x (example 1) is a function.

Example 3. (Counter-example) The mapping f:\mathbb{R} \rightarrow \mathbb{R} where f(x) = \pm \sqrt{x} is not a function since f(4) = 2 or -2.

It is common to write a function in the following manner instead.

f : x \rightarrow \text{(rule of the function)}, x \in D_f

Example 4. The function in example 1 can be written as f : x \rightarrow -x, x \in \mathbb{R}^+

We can use a vertical line test on the graph of y = f(x) to determine whether f(x) is the rule of a function or not.

f(x) is a function if and only if every vertical line x = k where k \in D_f intersects the graph of y = f(x) exactly once.

Categories