Table of Contents
1. Definition
- Function is defined as a rule or a manner or a mapping or a correspondence \(f\) which maps each & every element of set \(A\) with a unique element of set \(B\).
- Let \(A\) and \(B\) be any two non-empty sets, mapping from \(A\) to \(B\) will be a function only when every element in set \(A\) has one and only one image in set \(B\).
- It is denoted by \(f:A\to B\) or \(A\xrightarrow{f} B\) and it can be read as ” \(f\) is a function from \(A\) to \(B\) “
2. Real Function
A function whose range is a subset of real numbers is called real valued function. Further, if domain of the function is either real number or a subset of real numbers, then it is called a real function.
- Every real function is a real valued function but converse is not true e.g., \(f:C\to R\) is a real valued function but not a real function, where \(C\) is the set of complex numbers.
Key notes
- There may exist some elements in set \(B\) which are not the images of any element in set \(A\).
- To each and every independent element in \(A\), there corresponds one and only one image in \(B\).
- The number of functions from a finite set \(A\) to finite set \(B\) = \([n(B)]^{[n(A)]}\)
3. Algebra of Real Function
Let \(f:X\to R\) and \(g:X\to R\) be any two real functions, where \(X\subseteq R\). Then, we define
(1) \((f\pm g):X\to R\) by \((f\pm g)(x)=f(x)\pm g(x)\), for all \(x\in X\).
(2) \((f\cdot g):X\to R\) by \((f\cdot g)(x)=f(x)\cdot g(x)\), for all \(x\in X\).
(3) \(\left(\frac fg\right):X_0\to R\), where \(X_0=\{x\in X:g(x)\ne0\}\), by \(\left(\frac fg\right)(x)=\frac{f(x)}{g(x)}\) provided \(g(x)\ne0,\ x\in X\).
Let \(f:X\to R\) and \(\alpha\) be a real number. Then, we define \((\alpha f):X\to R\) by \((\alpha f)(x)=\alpha f(x)\), for all \(x\in X\).
For Instance, Let, \(f(x)=x^2\) and \(g(x)=2x+1\) be two real functions, Then,
(1) \((f+g)(x)=x^2+2x+1\)
(2) \((f-g)(x)=x^2-2x-1\)
(3) \((f\cdot g)(x)=x^2(2x+1)=2x^3+x^2\)
(4) \(\left(\frac fg\right)(x)=\frac{x^2}{2x+1},\quad x\ne-\frac12\)
4. Domain, Co-domain and Range of a Function
- Let \(f:A\to B\) be a function, then the set \(A\) is known as the domain of \(f\) and the set \(B\) is known as co-domain of \(f\). If an element ‘ \(a\) ‘ of \(A\) is associated to the member ‘ \(b\) ‘ of \(B\), then ‘ \(b\) ‘ is called the \(f\)-image of ‘ \(a\) ‘ and we write \(b=f(a)\). Further ‘ \(a\) ‘ is called a pre-image of ‘ \(b\) ‘. The set \(\{f(a):\forall a\in A\}\) is called the range of \(f\) and is denoted by \(f(A)\). Clearly \(f(A)\subseteq B\).For example, Let, \(A=\{-3,-2,-1,1,2,3\}\), \(B=\{1,4,9,16\}\) and the function is. \(f:A\xrightarrow{x^2}B\). Here, Domain of the function is \(\{-3,-2,-1,1,2,3\}\), range of the function is \(\{1,4,9\}\) and co-domain of the function is \(\{1,4,9,16\}\).
4.1 Methods for Finding Domain and Range of Function
The general formulas used to find the domain of different types of functions are:
- Domain of any polynomial (linear, quadratic, cubic, etc.) function is \(R\).
- Domain of a square root function \(\sqrt{x}\) is \(x\ge0\).
- Domain of an exponential function is \(R\).
- Domain of logarithmic function is \(x>0\).
- To find the domain of a rational function \(y=f(x)\), set the denominator \(\ne0\).
- If domain of \(y=f(x)\) and \(y=g(x)\) are \(D_1\) and \(D_2\) respectively then the domain of \(f(x)\pm g(x)\) or \(f(x)\cdot g(x)\) is \(D_1\cap D_2\).
The general formulas used to find the range of different types of functions are:
- Range of any non-constant linear function is \(R\).
- Range of a quadratic function is \(y=a(x-h)^2+k\) is \(y\ge k\), if \(a>0\) and \(y\le k\), if \(a<0\).
- Range of a square root function \(y=\sqrt{x}\) is \(y\ge0\).
- Range of an exponential function is \(y>0\).
- Range of logarithmic function is \(R\).
- To find the range of a rational function \(y=f(x)\), solve it for \(x\) and require a real solution \(x\) in the original domain.
5. Types of Functions
- One-one or Injective Function: A function \(f:X\to Y\) is defined to be one-one (or injective), if the images of distinct elements of \(X\) under \(f\) are distinct, i.e., for every \(x,y\in X\) with \(x\ne y\), \(f(x)\ne f(y)\).
- Many-one Function: A function \(f:X\to Y\) is defined to be a many-one function if two or more elements of \(X\) under \(f\) have the same image, i.e., if \(x,y\in X\) such that \(x\ne y\), but \(f(x)=f(y)\).
- Onto or Surjective Function: A function f : X → Y is said to be onto (or surjective), if every element of Y is the image of some element of X under f i.e., for every y ∈ Y, there exists an element x in X such that f(x) = y.
Note
\(f:X\to Y\) is onto if and only if Range of \(f=Y\)
- One-one onto or Bijective Function: A function f : X → Y is said to be one-one onto (or bijective), if f is both one-one and onto.
6. Number of Functions
Let \(f:A\to B\) be a function, where \(n(A)=m\) and \(n(B)=n\). Then,
(1) The number of function from \(A\) to \(B\) is the same as the number of ways of assigning images to every element of \(A\) and hence it is \(n^m\).
(2) If \(n(B)
(3) If \(n(B)\ge n(A)\), then number of one-one functions from A to B is \({}^nP_m\).
(4) The number of one-one function from \(A\) to \(A\) is \(m!\).
7. Classification of Functions
7.1 Constant Function
- A constant function is a function which does not change its parameters or range for different values of the domain. In other words, a constant function is a function that always gives or returns the same value.
- Graphically a constant function is a straight line, which is parallel to the \(x\)-axis. The domain of the function is the \(x\)-value and is represented on the \(x\)-axis, and the range of the function is \(y\) or \(f(x)\) which is marked with reference to the \(y\)-axis.
- Let \(k\) be a constant, then function \(f(x)=k\ \forall x\in R\) is known as constant function.
- The graphical representation of the function is
Here, Domain of \(f(x)=R\) and Range of \(f(x)=\{k\}\)
7.2 Polynomial Function
- A polynomial function is a function that involves only non-negative integer powers or only positive integer exponents of a variable like the quadratic equation, cubic equation, etc.
- The function \(y=f(x)=a_0x^n+a_1x^{n-1}+\cdots+a_n\), where \(a_0,a_1,a_2,\ldots,a_n\) are real coefficients and \(n\) is a non-negative integer, is known as a polynomial function.
- There are various types of polynomial functions based on the degree of the polynomial. The most common types are:
- Zero Polynomial Function: \(P(x)=0\)
- Linear Polynomial Function: \(P(x)=a_0x+a_1\)
- Quadratic Polynomial Function: \(P(x)=a_0x^2+a_1x+a_2\)
- Cubic Polynomial Function: \(P(x)=a_0x^3+a_1x^2+a_2x+a_3\)
- Quartic Polynomial Function: \(P(x)=a_0x^4+a_1x^3+a_2x^2+a_3x+a_4\)
Note
All constant functions are linear functions,
- The Domain of \(P(x)=R\) and Range of