This lecture continues Chapter 1 of MATH103 for Engineering, focusing on the fundamental concept of Functions, including their definition, properties (one-to-one), and inverse.
Given a relation $f:X\longrightarrow Y$
A function from a set D to a set Y is a rule that assigns a unique (single) element $f(x)\in Y$ to each element $x\in D$
Definition: Let X, Y be non-empty sets, and let $f: X \rightarrow Y$ be a relation from X into Y
A function $f$ is a rule that assigns exactly one element $y$ in a set $B$ to each element $x$ in a set $A$. In this case, we write $y=f(x)$.
We call the set $A$ the domain of $f$. The set of all values $f(x)$ in $B$ is called the range of $f$. That is, the range of $f$ is $\{f(x)|x\in A\}$. Unless explicitly stated otherwise, the domain of a function $f$ is the largest set of real numbers for which the function is defined. We refer to $x$ as the independent variable and to $y$ as the dependent variable.
Once $f$ defines a function, $X=D_{f}=$ Domain & $Y=R_{f}=$ Range
| Function | Domain (x) | Range (y) |
|---|---|---|
| $y=x^{2}$ | $(-\infty,\infty)$ | $[0,\infty)$ |
| $y=1/x$ | $(-\infty,0)\cup(0,\infty)$ | $(-\infty,0)\cup(0,\infty)$ |
| $y=\sqrt{x}$ | $[0,\infty)$ | $[0,\infty)$ |
| $y=\sqrt{4-x}$ | $(-\infty,4]$ | $[0,\infty)$ |
| $y=\sqrt{1-x^{2}}$ | $[-1,1]$ | $[0,1]$ |
A function $f(x)$ is one-to-one on a domain D if $f(x_{1})\ne f(x_{2})$ whenever $x_{1}\ne x_{2}$ in D.
Equivalently, $f(x_{1})=f(x_{2})$ implies $x_{1}=x_{2}$
Check algebraically and graphically if the following functions are one-to-one or not.
Assume: $f(x_{1})=f(x_{2})$,
Then, $2x_{1}+3=2x_{2}+3$,
Therefore, $x_{1}=x_{2}$,
Hence $f(x)$ is one - to - one.
Using the horizontal line test, we see that $y=x^{3}$ and $y=\sqrt{x}$ are one-to-one on their domains $(-\infty,\infty)$ and $[0,\infty)$, but $y=x^{2}$ and $y=\sin x$ are not one-to-one on their domains $(-\infty,\infty)$.
If $f$ is a function “with domain $D_f$ and range $R_f$” , we say that a function $g$ “with domain $R_f$ and range $D_f$” is the valid inverse of the function $f$ if and only if:
Notation: Usually $g$ is denoted by $f^{-1}$. So we write $f^{-1}(f(x)) = x$ and $f(f^{-1}(y)) = y$ (cancellation rule).
It is clear that: $x = f^{-1}(y)$, $y = f(x)$, $D_{f^{-1}} = R_f$, $R_{f^{-1}} = D_f$
Definition: If $f$ is a 1-1 function, then $f$ is said to have an inverse function denoted by $f^{-1}$.
We have to prove that:
“If you know the graph of $f$”
Find and graph the inverse function of each of the following functions:
First you must show (from the graph) that the given functions are One-to-One
(i) Since $f(x) = 0.5x + 1$ for all $x$
(ii) Therefore $f(\_)= (1/2) \_ + 1$
(iii) i.e., $f(f^{-1}(x)) = (1/2)f^{-1}(x) +1$
(iv) We know that: $f(f^{-1}(x)) = x$
(v) We get, $x = (1/2)f^{-1}(x) +1$
(vi) Solving for $f^{-1}(x)$ we get $2x = f^{-1}(x) + 2$
Hence, $f^{-1}(x) = 2x-2$
Definition: A function $P(x)$ is called an nth degree polynomial if it is of the form:
Where $n$ is a non-negative integer and the numbers $a_0, a_1, \dots, a_n$ are real constants called coefficients of the polynomial.
Note: A function $P(x)$ is called a polynomial if all the powers of $x$ are non-negative integers.
The domain of any polynomial is $\mathbb{R} = ]-\infty, \infty[$.
The highest power of $x$ appearing in the polynomial is said to be the degree of the polynomial.
For example: $y=x^2$ is a polynomial of degree 2 (quadratic polynomial).
Example: Sketch $y=x^2$
Understanding the domain of a function is crucial for defining where the function is valid and behaves as expected. Here's a quick reference for common function types:
| Function Type | Typical Domain | Notes |
|---|---|---|
| Polynomial Functions (e.g., $y=x^2+3x-1$) | $\mathbb{R}$ or $(-\infty, \infty)$ | All real numbers. No restrictions. |
| Rational Functions (e.g., $y=1/x$, $y=(x+2)/(x-3)$) | All real numbers except where the denominator is zero. | Set denominator $\ne 0$ and solve for $x$. |
| Square Root (or even root) Functions (e.g., $y=\sqrt{x}$) | All real numbers where the expression under the root is non-negative ($\ge 0$). | Set expression under root $\ge 0$ and solve for $x$. |
| Cube Root (or odd root) Functions (e.g., $y=\sqrt[3]{x}$) | $\mathbb{R}$ or $(-\infty, \infty)$ | All real numbers. No restrictions. |
| Logarithmic Functions (e.g., $y=\ln(x)$, $y=\log_{10}(x)$) | All real numbers where the argument of the logarithm is strictly positive ($> 0$). | Set argument of log $> 0$ and solve for $x$. |
| Exponential Functions (e.g., $y=e^x$, $y=2^x$) | $\mathbb{R}$ or $(-\infty, \infty)$ | All real numbers. No restrictions. |
| Trigonometric Functions (e.g., $y=\sin(x)$, $y=\cos(x)$) | $\mathbb{R}$ or $(-\infty, \infty)$ | For $\tan(x)$, $\sec(x)$, etc., exclude values where denominator (cosine) is zero. |
| Inverse Trigonometric Functions (e.g., $y=\arcsin(x)$) | Specific intervals, depends on the function. | For $\arcsin(x)$ and $\arccos(x)$, the domain is $[-1, 1]$. |