Solveeit Logo

Question

Question: Find the derivative of \( \tan \sqrt x \) w.r.t. \( x \) using first principle....

Find the derivative of tanx\tan \sqrt x w.r.t. xx using first principle.

Explanation

Solution

Hint : To solve this problem, we can use the chain rule and derive it directly. But, we are asked to find the derivative by using the first principle which is the basic method to find the derivative. Here, we also need to use a trigonometric formula for determining the required derivative.
Formulas used:
First principle of derivatives states that the derivative of function f(x)f\left( x \right) is given as f(x)=limh0f(x+h)f(x)hf'\left( x \right) = \mathop {\lim }\limits_{h \to 0} \dfrac{{f\left( {x + h} \right) - f\left( x \right)}}{h}
tan(AB)=tanAtanB1+tanAtanB tanAtanB=tan(AB)(1+tanAtanB)   \tan \left( {A - B} \right) = \dfrac{{\tan A - \tan B}}{{1 + \tan A\tan B}} \\\ \Rightarrow \tan A - \tan B = \tan \left( {A - B} \right)\left( {1 + \tan A\tan B} \right) \;

Complete step-by-step answer :
We have f(x)=tanxf\left( x \right) = \tan \sqrt x , therefore f(x+h)=tanx+hf\left( {x + h} \right) = \tan \sqrt {x + h}
Now, we know that by the first principle, the derivative can is given by the following formula:
f(x)=limh0f(x+h)f(x)hf'\left( x \right) = \mathop {\lim }\limits_{h \to 0} \dfrac{{f\left( {x + h} \right) - f\left( x \right)}}{h}
Now, we will put f(x)=tanxf\left( x \right) = \tan \sqrt x and f(x+h)=tanx+hf\left( {x + h} \right) = \tan \sqrt {x + h} in this formula.
f(x)=limh0tanx+htanxh\Rightarrow f'\left( x \right) = \mathop {\lim }\limits_{h \to 0} \dfrac{{\tan \sqrt {x + h} - \tan \sqrt x }}{h}
We know that tanAtanB=tan(AB)(1+tanAtanB)\tan A - \tan B = \tan \left( {A - B} \right)\left( {1 + \tan A\tan B} \right) . We will use this formula for tanx+htanx\tan \sqrt {x + h} - \tan \sqrt x .
We will put tanx+htanx=tan(x+hx)(1+tanx+htanx)\tan \sqrt {x + h} - \tan \sqrt x = \tan \left( {\sqrt {x + h} - \sqrt x } \right)\left( {1 + \tan \sqrt {x + h} \tan \sqrt x } \right)
f(x)=limh0tan(x+hx)(1+tanx+htanx)h\Rightarrow f'\left( x \right) = \mathop {\lim }\limits_{h \to 0} \dfrac{{\tan \left( {\sqrt {x + h} - \sqrt x } \right)\left( {1 + \tan \sqrt {x + h} \tan \sqrt x } \right)}}{h}
Now we will separate the terms
f(x)=limh0tan(x+hx)hlimh0(1+tanx+htanx)\Rightarrow f'\left( x \right) = \mathop {\lim }\limits_{h \to 0} \dfrac{{\tan \left( {\sqrt {x + h} - \sqrt x } \right)}}{h}\mathop {\lim }\limits_{h \to 0} \left( {1 + \tan \sqrt {x + h} \tan \sqrt x } \right)
We will find the limits separately first and put them into the main equation.
First, we will solve limh0tan(x+hx)h\mathop {\lim }\limits_{h \to 0} \dfrac{{\tan \left( {\sqrt {x + h} - \sqrt x } \right)}}{h}
We can write h=(x+hx)(x+h+x)h = \left( {\sqrt {x + h} - \sqrt x } \right)\left( {\sqrt {x + h} + \sqrt x } \right)
limh0tan(x+hx)h =limh0tan(x+hx)(x+hx)(x+h+x) =limh0tan(x+hx)(x+hx)limh01(x+h+x) =1×12x =12x   \mathop {\lim }\limits_{h \to 0} \dfrac{{\tan \left( {\sqrt {x + h} - \sqrt x } \right)}}{h} \\\ = \mathop {\lim }\limits_{h \to 0} \dfrac{{\tan \left( {\sqrt {x + h} - \sqrt x } \right)}}{{\left( {\sqrt {x + h} - \sqrt x } \right)\left( {\sqrt {x + h} + \sqrt x } \right)}} \\\ = \mathop {\lim }\limits_{h \to 0} \dfrac{{\tan \left( {\sqrt {x + h} - \sqrt x } \right)}}{{\left( {\sqrt {x + h} - \sqrt x } \right)}}\mathop {\lim }\limits_{h \to 0} \dfrac{1}{{\left( {\sqrt {x + h} + \sqrt x } \right)}} \\\ = 1 \times \dfrac{1}{{2\sqrt x }} \\\ = \dfrac{1}{{2\sqrt x }} \;
Now, we will solve the second term limh0(1+tanx+htanx)\mathop {\lim }\limits_{h \to 0} \left( {1 + \tan \sqrt {x + h} \tan \sqrt x } \right)

limh0(1+tanx+htanx) =(1+tanxtanx) =1+tan2x =sec2x  \mathop {\lim }\limits_{h \to 0} \left( {1 + \tan \sqrt {x + h} \tan \sqrt x } \right) \\\ = \left( {1 + \tan \sqrt x \tan \sqrt x } \right) \\\ = 1 + {\tan ^2}\sqrt x \\\ = {\sec ^2}\sqrt x \;

Now, we will put both these values in the main equation
f(x)=limh0tan(x+hx)hlimh0(1+tanx+htanx) f(x)=12xsec2x   \Rightarrow f'\left( x \right) = \mathop {\lim }\limits_{h \to 0} \dfrac{{\tan \left( {\sqrt {x + h} - \sqrt x } \right)}}{h}\mathop {\lim }\limits_{h \to 0} \left( {1 + \tan \sqrt {x + h} \tan \sqrt x } \right) \\\ \Rightarrow f'\left( x \right) = \dfrac{1}{{2\sqrt x }}{\sec ^2}\sqrt x \;
Thus, the derivative of tanx\tan \sqrt x w.r.t. xx using the first principle is 12xsec2x\dfrac{1}{{2\sqrt x }}{\sec ^2}\sqrt x .
So, the correct answer is “12xsec2x\dfrac{1}{{2\sqrt x }}{\sec ^2}\sqrt x .”.

Note : There is a second method to find the derivative of tanx\tan \sqrt x w.r.t. xx . This method is called the chain rule. In this method we will find the derivative of the main function which is whose derivative is sec2y{\sec ^2}y . Here, we have taken x=y\sqrt x = y . Now, we will find the derivative of x\sqrt x which is 12x\dfrac{1}{{2\sqrt x }} . Now, we will multiply both these derivatives and get the final answer as 12xsec2x\dfrac{1}{{2\sqrt x }}{\sec ^2}\sqrt x . This can also be written as:
ddxtanx=12xsec2x\dfrac{d}{{dx}}\tan \sqrt x = \dfrac{1}{{2\sqrt x }}{\sec ^2}\sqrt x