Know Functions, Types of Functions, What is Composite Function ? Periodic Functions ? Properties of functions. You should learn set theory and relations before learning about functions.

# Functions

A function defined from set A to set B is a special case of a relation defined from set A to set B.

Let A and B be two non empty sets then a function defined from set A to B is a rule that each element of set A is uniquely associated with a element of set B.

## Domain Co-domain and Range of a function

Let’s consider a function from set a to b as shown in figure.

• Set A is called domain of the function.

• Set B is called Co-domain of the function.

• Set of elements of set B which are associated with elements of set a is called Range of the function.

#### Image and Pre image

In the above example

A is called as the image of 1. And 1 is called as Pre-image of a.

Similarly

B is image of 2 and 2 is pre- image of B.

Note: if there exists any vertical line on the graph of function which can cut the graph of function at more than one point, then it means that for a particular x we got more than one value of y hence by definition it’s not a function .

### Domain

[Latexpage]

Talking for a function y= f(x)

X is the input and f is a rule as per which we get the value of function i.e Y.

• X is input of function and is called as independent variable.

• Y is output of function and is called as dependent variable.

Domain of a function y = f(x) is the set of values of x for which the function is defined.

Note:

if domain of $\displaystyle{f_{1}(x) \hspace{2mm} is\hspace{2mm} D_{1}\hspace{2mm}}$and domain of $\displaystyle{ f_{2}(x)\hspace{2mm} is \hspace{2mm} D_{2}\hspace{2mm} }$then

• Domain of $\displaystyle{f1_(x)\pm f_{2}(x)}$ is $\displaystyle{D1\cap D2}$

• Domain of $\displaystyle{\frac{f_{1}(x)}{f_{2}(x)}}$ is $\displaystyle{D1 \cap D2 – x: f_{2}(x) = 0}$

• Domain of $\displaystyle{ ^{f(x)}C_{g(x)}}$ is

$$ f(x) \ge g(x) $$

$$\qquad f(x) \hspace{2mm}\epsilon \hspace{2mm}Natural \hspace{2mm}numbers $$

$$\qquad g(x) \hspace{2mm} \epsilon\hspace{2mm} Whole \hspace{2mm}numbers $$

• Domain of $\displaystyle{ f(x)^{g(x)} }$

$$ f(x) > 0 $$

$$ g(x) \hspace{2mm} \epsilon Real \hspace{2mm} Number $$

• Domain of $\displaystyle{ y = \log_{g(x)} f(x) }$

$$ f(x) > 0 $$

$$ g(x) > 0 $$

$$ g(x) \hspace{2mm} \ne 0 $$

### Range

For a function y = f(x), range is the set of values which the function attains for all the inputs within its domain, means range is the set of values of “y”.

#### Ways to determine range of a function

• if possible then express x in terms of y. i.e $\displaystyle{ x = g(y)}$ and find the domain of this function i.e value of y for which this function is defined,by using methods we studied above.

This will be the required range as we obtain set of values of “y”.

• by graph

If we plot the graph of the function or the graph is given to us then simply we had to see the set of values of y , hence range can be found.

• Using Monotonocity

(1) if a function is continuous i.e it’s graph can be drawn without lifting off pen from the paper. And it’s monotonic increasing for interval $\displaystyle{[a,b] }$ i.e

\begin{align*}

f(x_{2}) \ge f(x_{1}) for\hspace{2mm}all \hspace{2mm} x_{2} \ge x_{1}

\end{align*}

*Note- equality should hold at discrete points in above expression then the function will be monotonic increasing. Similarly we can state for monotonic Decreasing.*

Then Range is $\displaystyle{ [f(a),f(b)]}$

(2) if function is continuous and monotonic decreasing in $\displaystyle{[a,b]}$

Then Range is $\displaystyle{[f(b),f(a)]}$

(3) if f(x) is continuous in [a,b] and f`(x)= 0 has a solution $\displaystyle{x= \alpha}$

Then Range is

\begin{align*}

[Min{f(a),f(b),f(\alpha)}, Max{f(a),f(b),f(\alpha)}]

\end{align*}

#### Points to note :

• If f(x) is a odd degree polynomial defined for all the numbers on real line. Then its range will be $\displaystyle{[-\infty,\infty]}$

• Range of $\displaystyle{A\sin{x} + B\cos{x} \hspace{2mm}}$ is

\begin{align*} [-\sqrt{A^2 + B^2 }, \sqrt{A^2 + B^2 }]

\end{align*}

## Equal/Identical Functions

Two functions f(x) and g(x) are defined to be equal/identical functions if

(I) Domain of f(x) = Domain of g(x)

(II) Range of f(x) = Range of g(x)

(III) f(x) = g(x)

All these points should hold for all values of “x” in their common domain.

## Types of Functions

### One – One function

Any function f(x) from set A to set B is defined to be one one function if different elements of set A have different images in set B. This Mapping is also Known as *INJECTIVE MAPPING.*

### Many- One function

Any function f(x) from set A to B is defined as many – one if

Atleast there are atleast two elements of set A which have same images in set B.

### Onto function

A function f(x) from set A to B is called as onto function if

Every element of set B has atleast one Pre-image in set A i.e every element of set b must be associated. Here we can see that

Range of function = Co-domain for a onto function. This is also known as *surjective Mapping*.

### Into Function

For a function from set A to B. If there exists atleast one element of set B which has no Pre-image in set A. This function is called as Into Function.

Here $\displaystyle{ Range \ne Co-domain}$

### Bijective Function

A function which is both one-one and onto is called as bijective function.

# Even and Odd Functions

if for a function y = f(x)

\begin{align*}

f(-x) = f(x)

\end{align*}

Then function is defined to be a even function. For example $\displaystyle{y= \cos{x}, y=\sec{x}}$ are even functions.

Similarly if

\begin{align*}

f(-x) = -f(x)

\end{align*}

Then the function is defined to be a odd function.for example $\displaystyle{y= \sin{x}}$ is a odd function.

## Properties

• if we plot the graph of a even function then we can observe that the graph of a even function is symmetric about the Y axis. As in case of graph of cos(x).

• if we plot the graph of odd functions then we can see a different type of symmetry said as symmetry about a point. The graph of all of functions are symmetric about origin.

• derivative of an Even function is a odd function and vice versa.

• f(x) = 0 is the only function which is both even and odd together, we can justify it by the definitions of even and odd function.

## Composite Functions

Let’s take the situation that, we have a function “f” from set X to set Y, also we are having another function “g” from set Y to set Z. Now we can combine these two functions f and g and we can get a composite Function g(f(x)) from set X to set Z.

Denoted as “gof” is a composite Function from set X to set Z. Now let’s analyse it through the mapping shown in above figure.

If we enter “a” as input to g(f(x)) the value/output we obtain will be

\begin{align*}

g(f(x)) = g(f(a)) = g(1) = @

\end{align*}

Similarly we can define f(g(x)) i.e fog.

Note:

1.for gof to be defined the range of f(x) should be in domain of g(x) i.e\begin{align*}Range \hspace{2mm} of \hspace{2mm} f(x) \subseteq \hspace{2mm} Domain\hspace{2mm}of\hspace{2mm}g(x)\end{align*}

2. In general $\displaystyle{ fog \ne gof }$

# Periodic Functions

If the graph of a functions repeats after a finite interval then the function is called as periodic function.

The length of this interval is known as period of the function, while the smallest possible interval after which graph repeats is fundamental proof of function.

Mathematically, a function f(x) is periodic if

\begin{align*}

f(x+T) = f(x) \hspace{2mm} \forall\hspace{2mm}x

\hspace{2mm} \epsilon \hspace{2mm}Domain\hspace{2mm} of\hspace{2mm} function

\end{align*}

### Properties of Periodic Functions

Here we will state some of the results and properties without proof:

• if f(x) has period “T”, then $\displaystyle{\sqrt{f(x)} , \frac{1}{f(x)}}$ will all have same period T.

• if f(x) has period “T” , then the period of f(ax+b) will be $\displaystyle{\frac{T}{|a|}}$.

• if period of f(x) is $\displaystyle{T_{1}}$ and period of g(x) is $\displaystyle{T_{2}}$ then the period of

\begin{align*}

f(x) \pm g(x) , f(x).g(x) , \frac{f(x)}{g(x)}

\end{align*}

Will be $\displaystyle{L.C.M[T_{1},T_{2}]}$ if this L.C.M doesn’t exist then the resultant functions won’t be periodic.

We have to check seperately whether it’s fundamental period of not.

• All constant functions are periodic as their graph repeats but they have no fundamental period.

• if “gof” is defined and f(x) have period “T”, then gof will also have period “T”. For fundamental period we have to check it.

Grasped Concepts of Functions ? Time to learn Inverse Trigonometric Functions