## Methods of Differentiation

Here we will learn methods of Differentiation, We had already studied the two meanings of derivative(differentiation) of a function which is the geometrical and physical meanings. Since we know what does the differentiation of a function means and how it’s defined therefore now we will find derivatives of various functions using methods of differentiation. these methods of differentiation are useful as these help in finding derivatives of various functions.

### First and Second derivative of a function

When we talk about the derivative(differentiation) of a function we simply means first derivative denoted as [Latexpage] $$ f'(x) =\frac{dy}{dx}= \frac{d}{dx}f(x) $$ it should be noted that the differential operator $\displaystyle{ \frac{d}{dx} }$ must be seen as a single operator , *but this first order differential coefficients are so much flexible that one can algebraically manipulate them like *$$ \frac{dy}{dx} = \frac{1}{dx/dy} $$ But that’s not the case with higher order differential coefficients.

the second derivative of a function means the derivative of derivative of the function denoted as $$ f”(x) = \frac{d^{2}y}{dx^{2}}= \frac{d}{dx}(\frac{d}{dx}f(x)) $$ Similarly higher order derivatives are defined, the second order differential coefficients should not be manipulated algebraically like we can do we the first order. this implies that $$ \frac{d^{2}y}{dx^{2}} \ne \frac{1}{dx^{2}/d^{2}y} $$

### Some Standard Derivatives

Here some of the first derivatives of some functions are given which are useful in finding derivatives of various functions. Some Standard methods of differentiation are

y=f(x) | f'(x)= $\displaystyle{\frac{d}{dx}f(x)}$ |

K= constant | 0 |

$\displaystyle{x^n}$ | $\displaystyle{nx^{n-1}}$ |

$\displaystyle{a^x}$, a>0 | $\displaystyle{a^xlna}$ |

$e^x$ | $\displaystyle{e^x}$ |

lnx | $\frac{1}{x}$ |

$\sin{x}$ | $\cos{x}$ |

$\cos{x}$ | $-\sin{x}$ |

$\tan{x}$ | ${sec}^{2}x$ |

$sec{x}$ | $sec{x}.\tan{x}$ |

$cosec{x}$ | $-cosec{x}.\cot{x}$ |

$\cot{x}$ | $-{cosec}^{2}{x}$ |

${sin}^{-1}x$ | $\frac{1}{\sqrt{1-x^2}}$ |

${cos}^{-1}x$ | $\frac{-1}{\sqrt{1-x^2}}$ |

${tan}^{-1}x$ | $\frac{1}{1+x^2}$ |

${cot}^{-1}x$ | $\frac{-1}{1+x^2}$ |

${sec}^{-1}x$ | $\frac{1}{x\sqrt{x^2-1}}$ |

${cosec}^{-1}x$ | $\frac{-1}{x\sqrt{x^2-1}}$ |

### Some Standard Substitutions

For finding differentiation of any function the most prior thing is to simplify the given function and then differentiate it. there are some standard substitutions are used in certain situations where we are finding differentiation of the function

Expression | Suggested Substitution |

$\sqrt{a^{2}-x^{2}}$ | $x= a\sin{\theta}$, $x=a\cos{\theta}$ |

$\sqrt{a^{2}+x^{2}}$ | $x=a\tan{\theta}$ , $ x=a\cot{\theta}$ |

$\sqrt{x^{2}-a^{2}}$ | $x=a.sec\theta$ , $x=a.cosec\theta$ |

$\sqrt{\frac{a+x}{a-x}}$ or $\sqrt{\frac{a-x}{a+x}}$ | $x=a\cos{\theta}$, $x=a\cos{2\theta}$ |

## Fundamental Theorems on Differentiation

Here we are listing some of the very fundamental theorems on differentiation , these theorems can be proved using the basic definition of differentiation , as per first principle of differentiation.

talking for any two functions f(x) and g(x) which are differentiable. the basic methods of differentiation are

#### Derivative of sum/difference of two functions

$$ \frac{d}{dx}[f(x) \pm g(x)]= \frac{d}{dx}f(x) \pm \frac{d}{dx}g(x) $$

#### Product Rule

$$ \frac{d}{dx}[f(x).g(x)]= f(x)\frac{d}{dx}g(x)+ g(x) \frac{d}{dx}f(x) $$

#### Quotient Rule

$$ \frac{d}{dx}[\frac{f(x)}{g(x)}] = \frac{g(x) \frac{d}{dx}f(x)- f(x) \frac{d}{dx}g(x)}{{g(x)}^{2}} $$

#### Chain Rule

$$ \frac{d}{dx}[f(g(x))]= \frac{d}{d(g(x))}f(g(x)) \times \frac{d}{dx}g(x) $$

## Important Points to Know

- if f(x) and g(x) are inverse of each other then f(g(x))=x, by definition of inverse function. in this case we obtain an important result as proceeded below

$$ f(g(x))=x $$

differentiating both sides w.r.t x and applying chain rule we get

$$ f'(g(x))= \frac{1}{g'(x)} $$

- A equation whose degree of each term is “n” is said to be a homogenous equation of nth degree, for any homogenous equation the value of derivative will be always be given by, $\displaystyle{\frac{dy}{dx}= \frac{y}{x}}$ we’ll look on it’s proof in the topic of differential equations.

## Differentiation of one function w.r.t Another function

If we have two functions in terms of a same variable, for example we have f(x) and g(x) , then the differentiation of f(x) with respect to g(x) is given as

$$\frac{d}{d(g(x))}f(x) = \frac{\frac{d}{dx}f(x)}{ \frac{d}{dx}g(x)} $$

## Differentiation of implicit function

a Function is defined to be an implicit function if “y” can’t be independently expressed in terms of x. and if the function is explicit if “y” can be independently expressed in terms of x. An Implicit function contains both variables (x,y) in the terms which can’t be separated. Hence Implicit function is denoted as $ y=f(x,y)$.

there is a Result to directly obtain the differentiation of any implicit function.

$$\frac{dy}{dx}= -\frac{\frac{\partial}{\partial x}f(x,y)}{ \frac{\partial}{\partial y}f(x,y)} $$

$\frac{\partial}{\partial x}f(x,y) $denotes partial differentiation of the function with respect to variable “x”, which means differentiating the function with respect to “x”, while assuming “y” to be constant.

similarly, $\frac{\partial}{\partial y}f(x,y) $ denotes partial differentiation of the function with respect to variable “y”, which means differentiating the function with respect to “y”, while assuming “x” to be constant.

## Parametric Differentiation

When variables x and y are expressed in terms of any parameter let’s say both x and y are expressed in terms of “t” then the derivative of y with respect to x is evaluated as follows:

$$ \frac{dy}{dx}= \frac{dy}{dx}\times \frac{dt}{dt}=\frac{\frac{dy}{dt}}{\frac{dx}{dt}}$$

## Differentiation of determinants

let’s we have a following determinant

$$ \begin{vmatrix} f_{1}(x)&g_{1}(x)\\ f_{2}(x)&g_{2}(x) \end{vmatrix} $$ the derivative of determinant is given by

$$ \begin{vmatrix} f’_{1}(x)&g’_{1}(x)\\ f_{2}(x)&g_{2}(x) \end{vmatrix} + \begin{vmatrix} f_{1}(x)&g_{1}(x)\\ f’_{2}(x)&g’_{2}(x) \end{vmatrix} $$

and so on for any determinant the derivative is basically sum of determinants in such a way that first we differentiate first row while keeping others same in determinant and add it with the determinant whose second row is differentiated and other elements remains same, and so on. depending on number of rows.