Careers360 Logo
Derivative of a Function wrt Another Function

Derivative of a Function wrt Another Function

Edited By Komal Miglani | Updated on Sep 12, 2024 06:03 PM IST

Higher order Differentiation is one of the important parts of Calculus, which applies to measuring the change in the function at a certain point. Mathematically, it forms a powerful tool by which slopes of functions are determined, the maximum and minimum of functions found, and problems on motion, growth, and decay, to name a few. These concepts of differentiation have been broadly applied in branches of mathematics, physics, engineering, economics, and biology.

In this article, we will cover the concept of higher-order derivative of a Function. This concept falls under the broader category of Calculus, a crucial Chapter in class 12 Mathematics. It is not only essential for board exams but also for competitive exams like the Joint Entrance Examination (JEE Main), and other entrance exams such as SRMJEE, BITSAT, WBJEE, BCECE, and more. Over the last five years of the JEE Main exam (from 2013 to 2023), a total of nine questions have been asked on this concept, including one in 2020, two in 2021, two in 2022, and four in 2023.

Function:

$A$ and $B$ are two non-empty sets, then a relation from $A$ to $B$ is said to be a function if each element $x$ in $A$ is assigned a unique element $f(x)$ in $B$, and it is written as
$f: A \rightarrow B$ and read as $f$ is a mapping from $A$ to $B$.

Derivative of a Function

Let $f$ be defined on an open interval $I \subseteq$ containing the point $x_0$, and suppose that $\lim _{\Delta x \rightarrow 0} \frac{f\left(x_0+\Delta x\right)-f\left(x_0\right)}{\Delta x}$ exists. Then $f$ is said to be differentiable at $x_0$ and the derivative of $f$ at $x_0$, denoted by $f^{\prime}\left(x_0\right)$, is given by

$
f^{\prime}\left(x_0\right)=\lim _{\Delta x \rightarrow 0} \frac{\Delta y}{\Delta x}=\lim _{\Delta x \rightarrow 0} \frac{f\left(x_0+\Delta x\right)-f\left(x_0\right)}{\Delta x}
$

For all $x$ for which this limit exists,
$f^{\prime}(x)=\lim _{\Delta x \rightarrow 0} \frac{\Delta y}{\Delta x}=\lim _{\Delta x \rightarrow 0} \frac{f(x+\Delta x)-f(x)}{\Delta x}$ is a function of $x$.

In addition to $f^{\prime}(x)$, other notations are used to denote the derivative of $y=f(x)$. The most common notations are $f^{\prime}(x), \frac{d y}{d x}, y^{\prime}, \frac{d}{d x}[f(x)], D_x[y]$ or $D y$ or $y_1$. Here $\frac{d}{d x}$ or $D$ is the differential operator.

Higher Order Derivative of a Function

The derivative of a function is itself a function, so we can find the derivative of a derivative. The new function obtained by differentiating the derivative is called the second derivative. Furthermore, we can continue to take derivatives to obtain the third derivative, a fourth derivative, and so on.

Collectively, these are referred to as higher-order derivatives. The notation for the higher-order derivatives of $y=f(x)$ can be expressed in any of the following forms:

$
\begin{aligned}
& f^{\prime}(x), f^{\prime \prime}(x), f^{\prime \prime \prime}(x), f^{(4)}(x), \ldots, f^{(n)}(x) \\
& y^{\prime}, y^{\prime \prime}(x), y^{\prime \prime \prime}(x), y^{(4)}(x), \ldots, y^{(n)}(x) \\
& \frac{d y}{d x}, \frac{d^2 y}{d x^2}, \frac{d^3 y}{d x^3}, \frac{d^4 y}{d x^4}, \ldots, \frac{d^n y}{d x^n}
\end{aligned}
$

Properties of derivative of a function

1. The derivative of sum of two functions is equal to the sum of their derivatives.

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

2. The derivative of differnce betweeen two functions is equal to the difference between their derivatives.

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

3. The derivative of the product of two functions is given by

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

4. The derivative of the quotient of two functions is given by

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

Derivative of a function with respect to another function

Derivative of a function with respect to another function is differentiating two functions with a dependent vaiable. toChain rule can be usedo find the derivative of a function with respect to another.

Chain rule

Let $f(x)$ and $g(x)$ be two functions. To differentiate $f(x)$ with respect to $g(x)$, Let $u=f(x)$ and $v=g(x)$.

$\left(\frac{\mathrm{d} u}{\mathrm{~d} v}\right)=\frac{\frac{\mathrm{d} u}{\mathrm{~d} x}}{\frac{\mathrm{d} x}{\mathrm{~d} v}}$ where $\frac{\mathrm{d} x}{\mathrm{~d} v}\neq0$

Solved Examples

Example 1: If $y^2+\log _e\left(\cos ^2 x\right)=y, x \in\left[-\frac{\pi}{2}, \frac{\pi}{2}\right]$, then:
[JEE Main 2020]
1) $y^{\prime \prime}(0)=0$
2) $\left|y^{\prime}(0)\right|+\left|y^{\prime \prime}(0)\right|=1$
3) $\left|y^{\prime \prime}(0)\right|=2$
4) $\left|y^{\prime}(0)\right|+\left|y^{\prime \prime}(0)\right|=3$

Solution:

$
\begin{aligned}
& y^2+\log _e\left(\cos ^2 x\right)=y \\
& y^2+2 \log _e(\cos x)=y \\
& 2 y y^{\prime}-2 \frac{\sin x}{\cos x}=y^{\prime} \\
& 2 y y^{\prime}-2 \tan x=y^{\prime} \\
& \therefore y^{\prime}(0)=0 \\
& 2\left(y^{\prime}\right)^2+2 y y^{\prime \prime}-2 \sec ^2 x=y^{\prime \prime} \\
& \therefore\left|y^{\prime \prime}(0)\right|=2
\end{aligned}
$

Hence, the answer is the option 3.

Example 2: Let $f: S \rightarrow S_{\text {where }} S=(0, \infty)$ be twice differentiable function such that $f(x+1)=x f(x)$. If $g: S \rightarrow R$ be defined as $g(x)=\log _e f(x)$ then the value of $\left|g^{\prime \prime}(5)-g^{\prime \prime}(1)\right|$ is equal to: [JEE Main 2021]
1) $\frac{205}{144}$
2) $\frac{197}{144}$
3) $\frac{187}{144}$
4) $0$

Solution:

$
\begin{aligned}
& \ln f(x+1)=\ln (x f(x)) \\
& \ln f(x+1)=\ln x+\ln f(x) \\
& \Rightarrow \quad g(x+1)=\ln x+g(x) \\
& \Rightarrow \quad g(x+1)-g(x)=\ln x \\
& \Rightarrow \quad g^{\prime \prime}(x+1)-g^{\prime \prime}(x)=-\frac{1}{x^2}
\end{aligned}
$
Put $x=1,2,3,4$
$
\begin{aligned}
& g^{\prime \prime}(2)-g^{\prime \prime}(1)=-\frac{1}{1^2} \quad \ldots(1) \\
& g^{\prime \prime}(3)-g^{\prime \prime}(2)=-\frac{1}{2^2} \quad \ldots(2) \\
& g^{\prime \prime}(4)-g^{\prime \prime}(3)=-\frac{1}{3^2} \quad \ldots(3) \\
& g^{\prime \prime}(5)-g^{\prime \prime}(4)=-\frac{1}{4^2} \quad \ldots(4)
\end{aligned}
$
Add all the equations we get

$
\begin{aligned}
& g^{\prime \prime}(5)-g^{\prime \prime}(1)=-\frac{1}{1^2}-\frac{1}{2^2}-\frac{1}{3^2}-\frac{1}{4^2} \\
& \left|g^{\prime \prime}(5)-g^{\prime \prime}(1)\right|=\frac{205}{144}
\end{aligned}
$

Hence, the answer is the option 1.

Example 3: If

$
\cos ^{-1}\left(\frac{y}{2}\right)=\log _{\mathrm{e}}\left(\frac{x}{5}\right)^5,|y|<2
$

then?
[JEE Main 2022]
1) $x^2 y^{\prime \prime}+x y^{\prime}-25 y=0$
2) $x^2 y^{\prime \prime}-x y^{\prime}-25 y=0$
3) $x^2 y^{\prime \prime}-x y^{\prime}+25 y=0$
4) $x^2 y^{\prime \prime}+x y^{\prime}+25 y=0$

Solution:

$
\begin{aligned}
& \cos ^{-1} \frac{\mathrm{y}}{2}=5 \log _{\mathrm{e}} \frac{\mathrm{x}}{5} \\
& \Rightarrow \frac{\mathrm{y}}{2}=\cos \left(5 \log _{\mathrm{e}} \frac{\mathrm{x}}{5}\right) \\
& \Rightarrow \mathrm{y}^{\prime}=-2 \sin \left(5 \log _{\frac{\mathrm{x}}{5}}^5\right) \times \frac{5}{\mathrm{x} / 5} \times \frac{1}{5} \\
& =\frac{-10 \sin \left(5 \log _{\mathrm{e}} \frac{\mathrm{x}}{5}\right)}{\mathrm{x}}
\end{aligned}
$

$\begin{aligned} & \Rightarrow y^{\prime \prime}=\frac{-x \times 10 \cos \left(5 \log _e \frac{x}{5}\right) \times \frac{5}{x / 5} \times \frac{1}{5}+10 \sin \left(5 \log _e \frac{x}{5}\right)}{x^2} \\ & \Rightarrow x^2 y^{\prime \prime}=-50 \cos \left(5 \log _e \frac{x}{5}\right)+10 \sin \left(5 \log _e \frac{x}{5}\right) \\ & \Rightarrow x^2 y^{\prime \prime}=-25 y-x y^{\prime} \\ & \Rightarrow x^2 y^{\prime \prime}+x y^{\prime}+25 y=0\end{aligned}$ṁ

Hence the answer is the option (4).

Example 4: If $y=\frac{\sqrt{\left(1+t^2\right)}-\sqrt{\left(1-t^2\right)}}{\sqrt{\left(1+t^2\right)}+\sqrt{\left(1-t^2\right)}}$ and $x=\sqrt{\left(1-t^4\right)}$ then $\frac{d y}{d x}$ is equal to
1) $
\frac{-1}{t^2\left\{1+\sqrt{\left.\left(1-t^4\right)\right\}}\right.}
$

2) $
\frac{\left\{\sqrt{\left(1-t^4\right)}-1\right\}}{t^6}
$

3) $
\frac{1}{t^2\left\{1+\sqrt{\left.\left(1-t^4\right)\right\}}\right.}
$

4) $
\frac{1-\sqrt{\left(1-t^4\right)}}{t^6}
$

Solution:
$
\begin{aligned}
& y=\frac{\left(\sqrt{1+t^2}-\sqrt{1-t^2}\right)^2}{\left(\sqrt{1+t^2}\right)^2-\left(\sqrt{1-t^2}\right)^2} \\
& =\frac{2-2 \sqrt{1-t^4}}{2 t^2}=\frac{1-\sqrt{1-t^4}}{t^2} \\
& \frac{d y}{d t}=\frac{t^2\left\{0-\frac{1}{2 \sqrt{1-t^4}} \times-4 t^3\right\}-\left\{1-\sqrt{1-t^4}\right\} 2 t}{t^4} \\
& =\frac{2 t^5}{\sqrt{1-t^4}}-2 t\left\{1-\sqrt{1-t^4}\right\} \\
& =\frac{2\left\{1-\sqrt{1-t^4}\right\}}{t^3 \sqrt{1-t^4}} \\
& \frac{d x}{d t}=\frac{-2 t^3}{\sqrt{1-t^4}} \\
& \frac{d y}{d x}=\frac{\sqrt{1-t^4}-1}{t^6}=\frac{-1}{t^2\left\{1+\sqrt{1-t^4}\right\}}
\end{aligned}
$


Hence, the answer is the option 1.

Example 5: If $f(x)=x^3-x^2 f^{\prime}(1)+x f^{\prime \prime}(2)-f^{\prime \prime \prime}(3), x \in \mathbb{R}$ then:
[JEE Main 2023]
1) $f(1)+f(2)+f(3)=f(0)$
2) $2 \mathrm{f}(0)-\mathrm{f}(1)+\mathrm{f}(3)=\mathrm{f}(2)$
3) $3 f(1)+f(2)=f(3)$
4) $f(3)-f(2)=f(1)$

Solution:

$
\begin{aligned}
& f(x)=x^3-x^2 f^{\prime}(1)+x f^{\prime \prime}(2)-f^{\prime \prime \prime}(3) \\
& f(x)=x^3-a x^2+b x-c \\
& f^{\prime}(x)=3 x^2-2 a x+b \\
& f^{\prime \prime}(x)=6 x-2 a
\end{aligned}
$

$\begin{aligned} & f^{\prime \prime \prime}(x)=6 \\ & f^{\prime \prime \prime}(3)=6 \\ & f^{\prime}(1)=3-2 a+b=a \Rightarrow 3 a=b+3 \\ & f^{\prime \prime}(2)=12-2 a=b \Rightarrow 2 a=12-b \text { Page } \\ & \quad a=3, b=6 \\ & f^{\prime \prime \prime}(3)=6=c \\ & f(x)=x^3-3 x^2+6 x-6 \\ & f(0)=-6 \quad f(2)=2 \\ & f(1)=-2 \quad f(3)=12\end{aligned}$

Hence, the answer is the option 2.

Summary

Derivative of a Function with respect to another Function and the higher-order derivative of a Function is an important concept in Calculus. It provides a deep understanding of how the functions interact and change. It is very helpful in practical applications for physics, economics, etc. The chain rule is used to find the derivative of a function with respect to another.. The derivative can be found a lot of times like the second, third, and fourth derivative.

Frequently Asked Questions (FAQs)

1. What is the second derivative?

The derivative of a function is itself a function, so we can find the derivative of a derivative.

2. What is the formula for differentiating concerning another function?

 The formula is

$
\left(\frac{d y}{d u}=\frac{\frac{d y}{d x}}{\frac{d u}{d x}}\right)
$

3. What is the chain rule?

The chain rule helps differentiate one function concerning another.

4. What are higher-order derivatives and how are they denoted?

Higher-order derivatives are derivatives taken multiple times, denoted as $\left(y^{(n)}\right) \operatorname{or}\left(\frac{d^n y}{d x^n}\right)$, where $(n)$ is the order.

5. How do you find the second derivative of a function $(y)$ concerning $(x)$ ?

The second derivative, $\left(y^{\prime \prime}\right)$ is found by differentiating the first derivative:

$
\left(y^{\prime \prime}=\frac{d}{d x}\left(\frac{d y}{d x}\right)\right)
$

Articles

Back to top