Function is a relationship between two variables where each input corresponds to exactly one output. For every, \(\forall\) input, \(x\in X\) there is a unique output, \(f(x) \in y\text{.}\)
All possible real values of input \(x\) for which the function is definded are called a domain and the corresponding output values are called a Range. Each input \(x\) produces exactly one output \(f(x).\)
where \(x\) is the input and \(y\) is the output. For example,
\begin{align*}
f(x) \amp =x^{2} \\
f(x) \amp =\sin(x)\\
f(x) \amp = \frac{1}{x} \, \quad (\text{ defined for }\, x \neq 0).
\end{align*}
Functions describe how quantities are changing. Functions can be represented algebrically, graphically, or numerically and they must pass the vertical line test in graphical form. (No vertical line intersects the graph more than once.)
Vertical line test: if any vertical line (drawn parallel to the y-axis) intersects the graph at more than one point, then the realtion is not a function, because it means a single x-value produces multiple y-values. i.e. a function is a relation when a vertical line intersects the graph at most once.
a vertical line at \(x=0\) intersects at two points \((0,1.5)\) and \((0,-1.5).\) Hence, \(y=\pm \sqrt{1-x^2}\) is not a function. The expression \(\pm \sqrt{1 - x^2}\) actually represents two separate functions. However, \(y=+ \sqrt{1-x^2}\) is a function (upper half circle) and \(y=- \sqrt{1-x^2}\) is also a function (lower half circle).
we have the \(x\) and its corresponding \(y\) values are given in a table below. We can see that every \(x\) value is producing only unique \(y\) value. Hence, y is a function.
we have the \(x\) and its corresponding \(y\) values are given in a table below. We can see that when \(x=4\text{,}\) it is giving either \(y = -2\) or \(y=2\) which are not unique. Hence, y is not a function.
Monotonic Functions: a function \(f(x)\) is monotonic in an interval \([a,b]\) if it is either only strictly increasing or only strictly decreasing in that interval. i.e., it has single behavior in that interval. [FigureΒ 1.4.3]
One-to-one (injective): Every element in the codomain is mapped to by at most one element in the domain. No two distinct inputs produce the same output: if \(f(a) = f(b)\text{,}\) then \(a = b\text{.}\)
Greatest Integer Function (GIF): The GIF, also known as Floor Function is denoted by \(\lfloor x \rfloor\text{,}\) and is defined as the greatest integer less than or equal to \(x\text{.}\) For any real number \(x\text{,}\)\(\lfloor x \rfloor = n\text{,}\) where \(n\) is an integer and \(n \leq x \lt n+1\text{.}\) It essentially "rounds down" ( \(x\) ) to the nearest integer.
Fractional Part Function (FPF): The fractional part of a real number ( \(x\) ), denoted by \(\{x\}\text{,}\) is the part "after the decimal point", defined as: \(\{x\}=x-\lfloor x \rfloor \text{.}\) It satisfies \(0 \leq \{x\} \lt 1\text{.}\) It is always non-negative.