- A mathematical relation is a set of ordered pairs whose set of first components is called the domain while the set of second components is called the range.
- A relation is a rule that relates values of the first set of values (called the domain) to the second set of values (called the range).
- A function is a relation in which each element in the domain corresponds to one and only one element in the range.
- All functions are relations but not all relations are defined as functions.
- Assume that M and N are sets. A function from M to N, signified by , is a set of ordered pairs wherein and every element of M is paired exactly one element of N.
- A function is typically denoted by a symbol . The notation states that y element is the value of .
- The notation is read as "".
- The domain is the set of all permissible values of where denotes the independent variable.
- The range is the set of all resulting values of , where denotes the dependent variable.
The following are typical ways to represent functions: set of ordered pairs, table of values, mapping diagram, graphs, and equation.
- Using Set of Ordered Pairs
Example 1. Let . Relation A represents a function because no two ordered pairs have the same first element. It is also a function from X to Y. The domain is X and the image of this function is Y.
- Using Table of Values
Example 2. Study the table of values below.
Table 1 describes a function since no two ordered pairs have the same first element. On the other hand, table 2 does not represent a function since it has .
- Using Mapping Diagram
Study the different mapping diagrams below.
One-to-One correspondence and Many-to-One Correspondence represent functions, while One-to-Many Correspondence and Many-to-Many Correspondence do not define functions.
- Function as a Graph
How do we determine if the graph of a relation defines a function? In this case, use the Vertical Line Test. By sketching a vertical line, it must intersect the graph at most once. Study the graphs below:
Graph 1 and Graph 2 represent a function, while Graph 3 does not define a function.
- Function as an Equation
- Functions can be represented in different forms mathematically.
- If y is nonlinear given that its degree is even, the given function is not a function.
- Equation of function should determine y as a function of x. Recall that in a function, the concept of dependence is important.
- The variable y is the dependent variable while the variable x is the independent variable.
In general, functions are classified into two types - Algebraic and Transcendental.
Functions are basically categorized in terms of the family of curves. The parent function is used to represent the simplest form among the family of functions. In doing transformations, the graphs of parent functions are served as bases.
Here are some basic types of functions:
- Polynomial Functions:
- Linear Functions
- Quadratic Functions
- Cubic Functions
- Quartic Functions
- Quintic Functions, etc.
- Absolute Value Functions
- Square Root Functions
- Greatest-Integer Functions (or Floor Functions)
- Ceiling Functions
- Piecewise-Defined Functions
- Trigonometric Functions and Inverse Trigonometric Functions
- Exponential and Logarithmic Functions
A function is even if for all x in the domain of , while a function is odd if for all x in the domain of . Otherwise, a function is neither odd or even if it fails to achieve the algebraic substitution of .
- The equation defines a function.
- On the other hand, the equation does not define a function.
- The equation does not represent a function.
- The equation is not a representation of function since it only involves an independent variable .
- The equation is not a function because it has a single value of that can generate different values of y.
- The equation represents a function.
- All equations can show a mathematical relation but not all of them can represent a function.
- The relation becomes a function if we treat this as .
- An empty set is a function.