How do you find the derivative of $\ln (\tan x)?$
Answer
592.2k+ views
Hint:The given function is a composite function that is a function that consists of another function or the argument of a function is another function. Composite functions can be differentiated with the help of chain rule, let us take an example of a composite function $f(x) = h(g(x))$, its derivative will be given as follows:
$\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{d\left( {h(g(x)} \right)}}{{d\left( {g(x)} \right)}} \times \dfrac{{d\left( {g(x)} \right)}}{{dx}}$
Formula used:
Chain rule: If a function $f(x)$ is composition of various function as follows$f(x) = {g_1}({g_2}({g_3}(....{g_1}(x))))$ then $\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{d\left( {{g_1}({g_2}({g_3}(....{g_n}(x))))} \right)}}{{d\left( {{g_2}({g_3}(....{g_n}(x)))} \right)}} \times \dfrac{{d\left( {{g_2}({g_3}(....{g_n}(x)))} \right)}}{{d\left( {{g_3}(....{g_n}(x))} \right)}} \times \dfrac{{d\left( {{g_3}(....{g_n}(x))} \right)}}{{d\left( {(....{g_n}(x)} \right)}} \times ...... \times \dfrac{{d\left( {{g_n}(x)} \right)}}{{dx}}$
Derivative of logarithm function: $\dfrac{{d\ln x}}{{dx}} = \dfrac{1}{x}$
And derivative of tangent function: $\dfrac{{d\tan x}}{{dx}} = {\sec ^2}x$
Complete step by step answer:
In order to find the derivative of the function $f(x) = \ln (\tan x)$, we have to use chain rule because this is a composite function, tangent function is the argument of the logarithmic function in this given composite function. Let us understand chain rule in order to solve this problem.If a function $f(x)$ is composition of various function as follows
$f(x) = {g_1}({g_2}({g_3}(....{g_1}(x))))$ then its derivative will be given as
$\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{d\left( {{g_1}({g_2}({g_3}(....{g_n}(x))))} \right)}}{{d\left( {{g_2}({g_3}(....{g_n}(x)))} \right)}} \times \dfrac{{d\left( {{g_2}({g_3}(....{g_n}(x)))} \right)}}{{d\left( {{g_3}(....{g_n}(x))} \right)}} \times \dfrac{{d\left( {{g_3}(....{g_n}(x))} \right)}}{{d\left( {(....{g_n}(x)} \right)}} \times ...... \times \dfrac{{d\left( {{g_n}(x)} \right)}}{{dx}}$
In the given function
$f(x) = \ln (\tan x)$
Taking derivative both sides with respect to $x$
$\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{d\left( {\ln (\tan x)} \right)}}{{dx}}$
Now applying chain rule to the given function $f(x) = \ln (\tan x)$, we will get
$\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{d\left( {\ln (\tan x)} \right)}}{{d(\tan x)}} \times \dfrac{{d\left( {\tan x} \right)}}{{dx}}$
We know that,
$\dfrac{{d\ln x}}{{dx}} = \dfrac{1}{x}\;{\text{and}}\;\dfrac{{d\tan x}}{{dx}} = {\sec ^2}x$
So simplifying the derivatives further with help of this,
$\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{1}{{\tan x}} \times {\sec ^2}x \\
\Rightarrow\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{{{\sec }^2}x}}{{\tan x}} \\ $
You can left it like this or should simplify it further in sine and cosine as follows
\[\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{{{\sec }^2}x}}{{\tan x}} \\
\Rightarrow\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{1}{{\dfrac{{\sin x}}{{\cos x}} \times {{\cos }^2}x}} \\
\therefore\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{1}{{\sin x\cos x}} = \csc x\sec x \\ \]
Therefore the desired derivative of $f(x) = \ln (\tan x)$ is equal to $\csc x\sec x$.
Note: When applying the chain rule in a more complex composite function then do the calculations or simplification stepwise, because chain rule also becomes complex for complex composite functions and your one mistake will change the whole answer.
$\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{d\left( {h(g(x)} \right)}}{{d\left( {g(x)} \right)}} \times \dfrac{{d\left( {g(x)} \right)}}{{dx}}$
Formula used:
Chain rule: If a function $f(x)$ is composition of various function as follows$f(x) = {g_1}({g_2}({g_3}(....{g_1}(x))))$ then $\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{d\left( {{g_1}({g_2}({g_3}(....{g_n}(x))))} \right)}}{{d\left( {{g_2}({g_3}(....{g_n}(x)))} \right)}} \times \dfrac{{d\left( {{g_2}({g_3}(....{g_n}(x)))} \right)}}{{d\left( {{g_3}(....{g_n}(x))} \right)}} \times \dfrac{{d\left( {{g_3}(....{g_n}(x))} \right)}}{{d\left( {(....{g_n}(x)} \right)}} \times ...... \times \dfrac{{d\left( {{g_n}(x)} \right)}}{{dx}}$
Derivative of logarithm function: $\dfrac{{d\ln x}}{{dx}} = \dfrac{1}{x}$
And derivative of tangent function: $\dfrac{{d\tan x}}{{dx}} = {\sec ^2}x$
Complete step by step answer:
In order to find the derivative of the function $f(x) = \ln (\tan x)$, we have to use chain rule because this is a composite function, tangent function is the argument of the logarithmic function in this given composite function. Let us understand chain rule in order to solve this problem.If a function $f(x)$ is composition of various function as follows
$f(x) = {g_1}({g_2}({g_3}(....{g_1}(x))))$ then its derivative will be given as
$\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{d\left( {{g_1}({g_2}({g_3}(....{g_n}(x))))} \right)}}{{d\left( {{g_2}({g_3}(....{g_n}(x)))} \right)}} \times \dfrac{{d\left( {{g_2}({g_3}(....{g_n}(x)))} \right)}}{{d\left( {{g_3}(....{g_n}(x))} \right)}} \times \dfrac{{d\left( {{g_3}(....{g_n}(x))} \right)}}{{d\left( {(....{g_n}(x)} \right)}} \times ...... \times \dfrac{{d\left( {{g_n}(x)} \right)}}{{dx}}$
In the given function
$f(x) = \ln (\tan x)$
Taking derivative both sides with respect to $x$
$\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{d\left( {\ln (\tan x)} \right)}}{{dx}}$
Now applying chain rule to the given function $f(x) = \ln (\tan x)$, we will get
$\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{d\left( {\ln (\tan x)} \right)}}{{d(\tan x)}} \times \dfrac{{d\left( {\tan x} \right)}}{{dx}}$
We know that,
$\dfrac{{d\ln x}}{{dx}} = \dfrac{1}{x}\;{\text{and}}\;\dfrac{{d\tan x}}{{dx}} = {\sec ^2}x$
So simplifying the derivatives further with help of this,
$\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{1}{{\tan x}} \times {\sec ^2}x \\
\Rightarrow\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{{{\sec }^2}x}}{{\tan x}} \\ $
You can left it like this or should simplify it further in sine and cosine as follows
\[\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{{{{\sec }^2}x}}{{\tan x}} \\
\Rightarrow\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{1}{{\dfrac{{\sin x}}{{\cos x}} \times {{\cos }^2}x}} \\
\therefore\dfrac{{d\left( {f(x)} \right)}}{{dx}} = \dfrac{1}{{\sin x\cos x}} = \csc x\sec x \\ \]
Therefore the desired derivative of $f(x) = \ln (\tan x)$ is equal to $\csc x\sec x$.
Note: When applying the chain rule in a more complex composite function then do the calculations or simplification stepwise, because chain rule also becomes complex for complex composite functions and your one mistake will change the whole answer.
Recently Updated Pages
Master Class 5 English: Engaging Questions & Answers for Success

Master Class 5 Maths: Engaging Questions & Answers for Success

Master Class 5 Social Science: Engaging Questions & Answers for Success

Master Class 5 Science: Engaging Questions & Answers for Success

Class 5 Question and Answer - Your Ultimate Solutions Guide

Master Class 9 General Knowledge: Engaging Questions & Answers for Success

Trending doubts
Which are the Top 10 Largest Countries of the World?

The total number of vertebrae in man is a30 b31 c32 class 12 biology CBSE

Draw a labelled sketch of the human eye class 12 physics CBSE

The number of cranial nerves in a frog is A 10 pairs class 12 biology CBSE

Differentiate between homogeneous and heterogeneous class 12 chemistry CBSE

Differentiate between Pyramid of energy and pyramid class 12 biology CBSE

