
How do you find the derivative of $\ln (\tan x)?$
Answer
537.6k+ 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 12 English: Engaging Questions & Answers for Success

Master Class 12 Economics: Engaging Questions & Answers for Success

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

Master Class 12 Maths: Engaging Questions & Answers for Success

Master Class 12 Chemistry: Engaging Questions & Answers for Success

Master Class 12 Business Studies: Engaging Questions & Answers for Success

Trending doubts
What are the major means of transport Explain each class 12 social science CBSE

Which are the Top 10 Largest Countries of the World?

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

Explain sex determination in humans with line diag class 12 biology CBSE

The pH of the pancreatic juice is A 64 B 86 C 120 D class 12 biology CBSE

Explain sex determination in humans with the help of class 12 biology CBSE

