Table of Contents
1. Introduction
Differentiation is a method to compute the rate of change of one variable with respect to another independent variable.
For example, the rate of change of displacement of a particle with respect to time is called its velocity and the rate of change of velocity with respect to time is called its acceleration.
2. Derivative at a Point
- Let \(f(x)\) be a real valued function defined on an open interval \((a,b)\) and let \(c\in(a,b)\). Then, \(f(x)\) is said to be differentiable or derivable at \(x=c\), iff
\[ \lim_{x\to c}\frac{f(x)-f(c)}{x-c}\quad \text{exists finitely.} \]
This limit is called the derivative or differentiation of \(f(x)\) at \(x=c\) and is denoted by \(f'(c)\) or \(\left\{\frac{d}{dx}f(x)\right\}_{x=c}\). Thus,
\[ f'(c)=\lim_{x\to c}\frac{f(x)-f(c)}{x-c}, \]
(provided that the limit exists and is finite)
Geometrical interpretation of derivative.
Consider a function \(y=f(x)\). The derivative of \(f(x)\) at a point \(x=a\) is
\[ f'(a)=\lim_{h\to0}\frac{f(a+h)-f(a)}{h} \]
- This expression represents slope of the tangent line to the curve \(y=f(x)\) at the point \((a,f(a))\)
- Geometrically, the derivative is the slope of the tangent line to the curve at a specific point, indicating the rate of change of the function’s value.
Physical Interpretation of Derivative
The derivative often represents a rate of change of one quantity with respect to another.
- Velocity \(v(t)=\frac{ds}{dt}\) represents the rate at which the position changes over time.
- Acceleration \(a(t)=\frac{dv}{dt}=\frac{d^2s}{dt^2}\) represents how quickly the velocity of an object changes over time.
- Marginal cost \(M(c)=\frac{dc}{dx}\) measures the cost of producing one additional unit of a product.
3. Relation Between \(\frac{dy}{dx}\) and \(\frac{dx}{dy}\)
Let \(x\) and \(y\) be two variables connected by a relation of the form \(f(x,y)=0\). Let \(\Delta x\) be a small change in \(x\) and let \(\Delta y\) be the corresponding change in \(y\). Assume the relation locally defines an invertible differentiable function \(y=y(x)\), with \(\frac{dy}{dx}\ne0\). Then \(\frac{dy}{dx}=\lim_{\Delta x\to0}\frac{\Delta y}{\Delta x}\) and
\[ \frac{dx}{dy}=\lim_{\Delta y\to0}\frac{\Delta x}{\Delta y} \]
Now,
\[ \frac{\Delta y}{\Delta x}\cdot\frac{\Delta x}{\Delta y}=1\Rightarrow\lim_{\Delta x\to0}\left(\frac{\Delta y}{\Delta x}\cdot\frac{\Delta x}{\Delta y}\right)=1 \]
\[ \Rightarrow\lim_{\Delta x\to0}\frac{\Delta y}{\Delta x}\cdot\lim_{\Delta y\to0}\frac{\Delta x}{\Delta y}=1\ [\because\Delta x\to0\Leftrightarrow\Delta y\to0] \]
\[ \Rightarrow\frac{dy}{dx}\cdot\frac{dx}{dy}=1 \]
So,
\[ \frac{dy}{dx}=\frac{1}{\frac{dx}{dy}} \]
4. First Principle Method
- If \(f(x)\) is differentiable function, then \(\lim_{\Delta x\to0}\frac{\Delta y}{\Delta x}=\)
\[ \lim_{\Delta x\to0}\frac{f(x+\Delta x)-f(x)}{\Delta x}=f'(x)=\frac{dy}{dx} \]
Simply, \(f'(x)=\lim_{h\to0}\frac{f(x+h)-f(x)}{h}\)
This method is also known as ab-initio Method or Delta Method.
5. Some Standard Differentiation
(i) \(\frac{d}{dx}(x^n)=nx^{n-1},\ x\in R,\ n\in R,\ x>0\)
(ii) \(\frac{d}{dx}(\sqrt{x})=\frac{1}{2\sqrt{x}}\)
(iii) \(\frac{d}{dx}\left(\frac{1}{x^n}\right)=-\frac{n}{x^{n+1}}\)
(iv) \(\frac{d}{dx}(\sin x)=\cos x\)
(v) \(\frac{d}{dx}(\cos x)=-\sin x\)
(vi) \(\frac{d}{dx}(\tan x)=\sec^2x\)
(vii) \(\frac{d}{dx}(\sec x)=\sec x\tan x\)
(viii) \(\frac{d}{dx}(\operatorname{cosec}x)=-\operatorname{cosec}x\cot x\)
(ix) \(\frac{d}{dx}(\cot x)=-\operatorname{cosec}^2x\)
(x) \(\frac{d}{dx}(\log x)=\frac{1}{x},\ \text{for }x>0\)
(xi) \(\frac{d}{dx}(e^x)=e^x\)
(xii) \(\frac{d}{dx}(a^x)=a^x\log a,\ \text{for }a>0\)
(xiii) \(\frac{d}{dx}(\log_a x)=\frac{1}{x\log a},\ \text{for }x>0,\ a>0,\ a\ne1\)
(xiv) \(\frac{d}{dx}(\sin^{-1}x)=\frac{1}{\sqrt{1-x^2}},\ \text{for }-1<x<1\)
(xv) \(\frac{d}{dx}(\cos^{-1}x)=-\frac{1}{\sqrt{1-x^2}},\ \text{for }-1<x<1\)
(xvi) \(\frac{d}{dx}(\sec^{-1}x)=\frac{1}{|x|\sqrt{x^2-1}},\ \text{for }|x|>1\)
(xvii) \(\frac{d}{dx}(\operatorname{cosec}^{-1}x)=-\frac{1}{|x|\sqrt{x^2-1}},\ \text{for }|x|>1\)
(xviii) \(\frac{d}{dx}(\tan^{-1}x)=\frac{1}{1+x^2},\ \text{for }x\in R\)
(xix) \(\frac{d}{dx}(\cot^{-1}x)=-\frac{1}{1+x^2},\ \text{for }x\in R\)
6. Algebra of Differentiation
- The differential coefficient or derivative of a constant is equal to zero; i.e., \(\frac{d}{dx}(\text{constant})=0\)
- The derivative of a constant times a function is the constant times the derivative of the function,
\[ \text{i.e.,}\quad\frac{d}{dx}(kf(x))=k\frac{d}{dx}f(x) \]
Sum and difference rule
The derivative of the sum or difference of two functions is the sum or difference of their derivatives, i.e. derivative is distributive over addition and subtraction.
\[ \text{i.e.,}\quad\frac{d}{dx}(f(x)\pm g(x))=\frac{d}{dx}(f(x))\pm\frac{d}{dx}(g(x)) \]
Generalized form of sum and difference rule is :
\[ \frac{d}{dx}[f_1(x)\pm f_2(x)\pm f_3(x)\ldots\pm f_n(x)]=\frac{d}{dx}f_1(x)\pm\frac{d}{dx}f_2(x)\pm\frac{d}{dx}f_3(x)\pm\cdots\pm\frac{d}{dx}f_n(x) \]
Product Rule
If \(f(x)\) and \(g(x)\) are two differentiable functions, then \(f(x)g(x)\) is also differentiable.
\[ \frac{d}{dx}(f(x)g(x))=f(x)\frac{d}{dx}g(x)+g(x)\frac{d}{dx}f(x) \]
\[ \text{Or}\quad\frac{d(u\cdot v)}{dx}=u\cdot\frac{dv}{dx}+v\cdot\frac{du}{dx} \]
Derivative of the product of two function = first function × derivative of second function + second function × derivative of first function.
- In case of the product of three functions. I.e., \(y=u\cdot v\cdot w\).
\[ \frac{d}{dx}(u\cdot v\cdot w)=u\cdot v\cdot\frac{dw}{dx}+v\cdot w\cdot\frac{du}{dx}+u\cdot w\cdot\frac{dv}{dx} \]
Similarly, the derivative of the product of \(n\) number of functions
\[ \frac{d}{dx}(u_1u_2\ldots u_n)=u_1’u_2\ldots u_{n-1}u_n+u_1u_2’\ldots u_{n-1}u_n+\cdots+u_1u_2\ldots u_{n-1}u_n’ \]
Quotient Rule
- If \(f(x)\) and \(g(x)\) are two differentiable functions and \(g(x)\ne0\), then \(\frac{f(x)}{g(x)}\) is also differentiable.
\[ \frac{d}{dx}\left(\frac{f(x)}{g(x)}\right)=\frac{g(x)\frac{d}{dx}(f(x))-f(x)\frac{d}{dx}(g(x))}{(g(x))^2} \]
7. Derivative of Composite Function (Chain Rule)
- The Chain rule is used for differentiation of composite function of two or more functions.
- If \(y\) is a function of \(u\) and \(u\) is a function of \(x\).e., let us say \(y=f(u)\) and \(u=g(x)\) i.e., \(y=f(g(x))\), then the derivative of \(y\) with respect to \(x\) is :
\[ \frac{dy}{dx}=\frac{dy}{du}\times\frac{du}{dx} \]
Or
\[ (f(g(x)))’=f'(g(x))\times g'(x) \]
provided that \(\frac{dy}{du}\) and \(\frac{du}{dx}\) exist.
- If \(y\) is a function of \(u\) and \(u\) is a function of \(v\) and \(v\) is a function of \(x\) i.e., let us say \(y=f(u)\), \(u=g(v)\) and \(v=h(x)\) i.e., \(y=f(g(h(x)))\), then derivative of \(y\) with respect to \(x\) is :
\[ \frac{dy}{dx}=\frac{dy}{du}\times\frac{du}{dv}\times\frac{dv}{dx} \]
Or
\[ (f(g(h(x))))’=f'(g(h(x)))\times g'(h(x))\times h'(x) \]
provided that \(\frac{dy}{du}\), \(\frac{du}{dv}\) and \(\frac{dv}{dx}\) exist.
Some Standard Substitution
| S.N. | Function | Substitution |
|---|---|---|
| (i) | \(\sqrt{a^2-x^2}\) | \(x=a\sin\theta\text{ or }a\cos\theta\) |
| (ii) | \(\sqrt{x^2+a^2}\) | \(x=a\tan\theta\text{ or }a\cot\theta\) |
| (iii) | \(\sqrt{x^2-a^2}\) | \(x=a\sec\theta\text{ or }a\operatorname{cosec}\theta\) |
| (iv) | \(\sqrt{\frac{a-x}{a+x}}\) | \(x=a\cos2\theta\) |
| (v) | \(\sqrt{\frac{a^2-x^2}{a^2+x^2}}\) | \(x^2=a^2\cos2\theta\) |
| (vi) | \(\sqrt{ax-x^2}\) | \(x=a\sin^2\theta\) |
| (vii) | \(\sqrt{\frac{x}{a+x}}\) | \(x=a\tan^2\theta\) |
| (viii) | \(\sqrt{\frac{x}{a-x}}\) | \(x=a\sin^2\theta\) |
| (ix) | \(\sqrt{(x-a)(x-b)}\) | \(x=a\sec^2\theta-b\tan^2\theta\) |
| (x) | \(\sqrt{(x-a)(b-x)}\) | \(x=a\cos^2\theta+b\sin^2\theta\) |
8. Differentiation of Implicit Functions
- If the variables \(x\) and \(y\) are connected by the relation of the form \(f(x,y)=0\) and \(y\) is not explicitly expressed in the form \(y=f(x)\), then \(y\) is called an implicit function of \(x\).
- In the case of implicit function \(\frac{dy}{dx}\) can be found by the following steps :
(a) Differentiate each term of \(f(x,y)=0\) with respect to \(x\).
(b) Collect the terms containing \(\frac{dy}{dx}\) on one side and the terms not involving \(\frac{dy}{dx}\) on the other side.
(c) Express \(\frac{dy}{dx}\) as a function of \(x\) or \(y\) or both.
9. Logarithmic Differentiation
- The process of taking logarithm of the function first and then differentiate is called logarithmic differentiation. It is often useful in situations when
(i) a function is of the form \([f(x)]^{g(x)}\) where \(f\) and \(g\) are both differentiable functions.
(ii) a function is the product or quotient of a number of functions.
- Let’s consider a function \(y=[f(x)]^{g(x)}\) where \(f(x)\) and \(g(x)\) are also a function of \(x\), where \(f(x)>0\).
Taking logarithm of both the sides, we have,
\[ \Rightarrow\log y=g(x)\cdot\log f(x) \]
Differentiating with respect to \(x\), we get
\[ \begin{aligned} \Rightarrow\frac{1}{y}\frac{dy}{dx}&=g(x)\cdot\frac{1}{f(x)}\frac{df(x)}{dx}+\log\{f(x)\}\cdot\frac{dg(x)}{dx}\\ \Rightarrow\frac{dy}{dx}&=y\left[\frac{g(x)}{f(x)}\cdot\frac{df(x)}{dx}+\log\{f(x)\}\cdot\frac{dg(x)}{dx}\right]\\ \Rightarrow\frac{dy}{dx}&=[(f(x))^{g(x)}]\left[\frac{g(x)}{f(x)}\frac{df(x)}{dx}+\log\{f(x)\}\frac{dg(x)}{dx}\right] \end{aligned} \]
- Let’s consider another function \(y=\frac{f_1(x)\cdot f_2(x)}{g_1(x)\cdot g_2(x)}\) where \(f_1(x),f_2(x),g_1(x)\) and \(g_2(x)\) are the function of \(x\), where \(f_1(x),f_2(x),g_1(x),g_2(x)\) are positive.
Taking logarithm of both the sides, we have
\[ \Rightarrow\log y=\log[f_1(x)]+\log[f_2(x)]-\log[g_1(x)]-\log[g_2(x)] \]
Differentiating with respect to \(x\), we get
\[ \Rightarrow\frac{1}{y}\frac{dy}{dx}=\frac{f_1′(x)}{f_1(x)}+\frac{f_2′(x)}{f_2(x)}-\frac{g_1′(x)}{g_1(x)}-\frac{g_2′(x)}{g_2(x)} \]
\[ \frac{dy}{dx}=y\left[\frac{f_1′(x)}{f_1(x)}+\frac{f_2′(x)}{f_2(x)}-\frac{g_1′(x)}{g_1(x)}-\frac{g_2′(x)}{g_2(x)}\right] \]
\[ \Rightarrow\frac{dy}{dx}=\left[\frac{f_1(x)\cdot f_2(x)}{g_1(x)\cdot g_2(x)}\right]\left[\frac{f_1′(x)}{f_1(x)}+\frac{f_2′(x)}{f_2(x)}-\frac{g_1′(x)}{g_1(x)}-\frac{g_2′(x)}{g_2(x)}\right] \]
10. Differentiation of Parametric Functions
- If the variables \(x\) and \(y\) depend on the variable \(t\) (say) i.e., \(x=g(t), y=f(t)\). In such case \(x\) and \(y\) are called parametric functions and \(t\) is called parameter.
- To find \(\frac{dy}{dx}\) in case of parametric functions, we first obtain the relationship between \(x\) and \(y\) by eliminating the parameter \(t\) and then we differentiate it with respect to \(x\). But every time it is not convenient to eliminate the parameter. Therefore \(\frac{dy}{dx}\) can also be obtained by the following formula
\[ \frac{dy}{dx}=\frac{dy/dt}{dx/dt},\qquad\frac{dx}{dt}\ne0 \]
11. Differentiation of Infinite Series
- If \(y\) is given in the form of an infinitely repeating expression in \(x\) and we have to find out \(\frac{dy}{dx}\), an identical repeating tail may be replaced by \(y\), provided the expression converges to a differentiable function.
Case 1: Let \(y=\sqrt{f(x)+\sqrt{f(x)+\sqrt{f(x)+\cdots\infty}}}\),
\[ \begin{aligned} \Rightarrow y&=\sqrt{f(x)+y}\\ \Rightarrow y^2&=f(x)+y\\ \Rightarrow 2y\frac{dy}{dx}&=f'(x)+\frac{dy}{dx},\\ \Rightarrow\frac{dy}{dx}&=\frac{f'(x)}{2y-1} \end{aligned} \]
Case 2: Let \(y=f(x)^{f(x)^{f(x)^{f(x)^{\cdots\infty}}}}\), for a positive differentiable limit \(y\), with \(f(x)>0\) and \(1-y\log f(x)\ne0\).
\[ \begin{aligned} \Rightarrow y&=f(x)^y\\ \Rightarrow\log y&=y\log f(x)\\ \Rightarrow\frac{1}{y}\frac{dy}{dx}&=y\cdot\frac{f'(x)}{f(x)}+\log f(x)\cdot\frac{dy}{dx},\quad \Rightarrow\frac{dy}{dx}=\frac{y^2f'(x)}{f(x)[1-y\log f(x)]} \end{aligned} \]
Case 3: Let \(y=f(x)+\cfrac{1}{f(x)+\cfrac{1}{f(x)+\cdots\infty}}\)
\[ \begin{aligned} \Rightarrow y&=f(x)+\frac{1}{y}\\ \Rightarrow y^2-yf(x)-1&=0\\ \Rightarrow 2y\frac{dy}{dx}&=yf'(x)+f(x)\frac{dy}{dx}\\ \Rightarrow\frac{dy}{dx}&=\frac{yf'(x)}{2y-f(x)} \end{aligned} \]
12.Differentiation of a Function with Respect to Another Function
- In this section, we will discuss derivative of a function with respect to another function. Let \(u=f(x)\) and \(v=g(x)\) be two functions of \(x\).
Then, to find the derivative of \(f(x)\) w.r.t. \(g(x)\) i.e., to find \(\frac{du}{dv}\) we use the following formula \(\frac{du}{dv}=\frac{du/dx}{dv/dx}\), provided \(\frac{dv}{dx}\ne0\).
Thus, to find the derivative of \(f(x)\) w.r.t. \(g(x)\) we first differentiate both w.r.t. \(x\) and then divide the derivative of \(f(x)\) w.r.t. \(x\) by the derivative of \(g(x)\) w.r.t. \(x\).
13.Higher Order Derivatives
- If \(y\) is a function of \(x\) and is differentiable with respect to \(x\), then its derivative \(\frac{dy}{dx}\) is known as first order derivative.
- If the first derivative \(\frac{dy}{dx}\) is also a differentiable function, then it can be further differentiated with respect to \(x\) and this derivative is called the second derivative of \(y\) with respect to \(x\) and is denoted by \(\frac{d^2y}{dx^2}\)
- If \(\frac{d^2y}{dx^2}\) is also differentiable then its derivative is called the third derivative of \(y\) which is denoted by \(\frac{d^3y}{dx^3}\)
- Similarly, \(n\)th derivative of \(y\) is denoted by \(\frac{d^ny}{dx^n}\)
All these derivatives are called successive derivatives and this process is known as successive differentiation.
Important Point:
- \(\frac{d}{dx}\left(\frac{dy}{dx}\right)\) does not mean multiplication of \(\frac{d}{dx}\) and \(\frac{dy}{dx}\). It means the second order derivative of \(y\) w.r.t. \(x\) i.e., “the derivative of the derivative.”