Section 2.3 - Functions#
(Relation)
A relation is a set of ordered pairs. Alternatively, a relation is a correspondence from one set of numbers to another set of numbers. Each correspondence can be represented as an element and each element can be represented as an ordered pair. The first value of the ordered pair will be the independent variable and the second value of the ordered pair will be called the dependent variable.
(Function)
A function is a relation in which, for each distinct value of the first component of the ordered pairs, there is exactly one value of the second component.
Let \(f\) be a function where \(x\) is the independent variable and is an element of the set \(A\). Let \(y\) be the dependent variable and is an element of the set \(B\). Let \(f\) be a correspondence
(Independent and Dependent Variable)
For every relation consisting of a set of ordered pairs \((x,y)\), there are two important sets of elements.
The set of all values of the independent variables \(x\) is the domain.
The set of all values of the dependent variable \(y\) is the range.
Let
The relation \(f\):
\(f\) is not a function since \(1\to2\) and \(1\to3\). This means the first number does not relate to exactly one element in the second number.
The domain of the the relation \(f\) is \(\{1,2,3\}\).
The range of the relation \(f\) is \(\{2,5,3,8\}\).
The correspondence is \(1\to2\), \(1\to3\), \(2\to2\), and \(3\to2\) or the table of values is:
\(x\)
\(y\)
1
2
1
3
2
2
3
2
The relation \(g\):
\(g\) is a function.
The domain of the function is \(\{1,2,5,4\}\).
The range of the function is \(\{2,5,3,8\}\).
The correspondence is \(1\to2\), \(2\to5\), \(5\to3\), and \(4\to8\) or the table of values is:
\(x\)
\(y\)
1
2
2
5
5
3
3
8
(Variations of the Definition of Function)
A function is a relation in which, for each distinct value of the first component of the ordered pairs, there is exactly one value of the second component.
A function is a set of ordered pairs in which no first component is repeated.
A function is a rule or correspondence that assigns exactly one range value to each distinct domain value.
A function \(f\) with the correspondence \(x\to y\), where \(y\) is a function of \(x\) is denoted
\[y=f(x)\]and is called function notation.a. If \(y=f(x)\) and (for example) \((1,2)\) is an element of the function set then
\[2=f(1).\]
Let
Solution:
To find \(f(0)\) we have
To solve \(f(x)=0\) we have
Let
Solution:
(Increasing, Decreasing, and Constant Functions)
Suppose that a function \(f\) is defined over an open interval \(I\) and \(x_{1}\) and \(x_{2}\) are in \(I\) (denoted \(x_{1},x_{2}\in I\)).
The function \(f\) is increasing over \(I\) if and only if \(f(x_{1})<f(x_{2})\) for all \(x_{1}<x_{2}\).
The function \(f\) is decreasing over \(I\) if and only if \(f(x_{1})>f(x_{2})\) for all \(x_{1}<x_{2}\).
The function \(f\) is constant over \(I\) if and only if \(f(x_{1})=f(x_{2})\) for all \(x_{1}<x_{2}\).
(Relative Extremes (or Local Extremes))
Suppose that a function \(f\) is defined over an open interval \(I\) and \(c\in I\).
If near \(x=c\), \(f(c)\) is the largest or smallest value of \(f\), then we say that \(x=c\) is a relative extreme.
If for all \(x\in I\), \(f(c)\) is the largest or smallest value of \(f\), then we say that \(x=c\) is an absolute extreme.
Define
The function is increasing on \([0,1)\)
The function is decreasing on \([1,2)\)
The function is constant on \((2,4]\)
(Domain of Important Functions (part one))
The domain of the function \(f(x)=x\) is the set of all value \(x\) such that \(x\) is a real number.
\[\text{dom}(x)=\{x\,|\,x\in\mathbb{R}\}\]The domain of the function \(f(x)=x^{n}\) where \(n\) is any integer is the set of all value \(x\) such that \(x\) is a real number.
\[\text{dom}(x^{n})=\{x\,|\,x\in\mathbb{R}\}\]The domain of the function \(f(x)=\sqrt{x}\) is the set of all \(x\) such that \(x\ge0\).
\[\text{dom}(\sqrt{x})=\{x\,|\,x\ge0\}\]The domain of the function \(f(x)=\frac{1}{x}\) is the set of all \(x\) such that \(x\ne0\).
\[\text{dom}(\frac{1}{x})=\{x\,|\,x\ne0\}\]