Question
Question: Find the derivative of \( \tan \sqrt x \) w.r.t. \( x \) using first principle....
Find the derivative of tanx w.r.t. x using first principle.
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) is given as f′(x)=h→0limhf(x+h)−f(x)
tan(A−B)=1+tanAtanBtanA−tanB ⇒tanA−tanB=tan(A−B)(1+tanAtanB)
Complete step-by-step answer :
We have f(x)=tanx , therefore f(x+h)=tanx+h
Now, we know that by the first principle, the derivative can is given by the following formula:
f′(x)=h→0limhf(x+h)−f(x)
Now, we will put f(x)=tanx and f(x+h)=tanx+h in this formula.
⇒f′(x)=h→0limhtanx+h−tanx
We know that tanA−tanB=tan(A−B)(1+tanAtanB) . We will use this formula for tanx+h−tanx .
We will put tanx+h−tanx=tan(x+h−x)(1+tanx+htanx)
⇒f′(x)=h→0limhtan(x+h−x)(1+tanx+htanx)
Now we will separate the terms
⇒f′(x)=h→0limhtan(x+h−x)h→0lim(1+tanx+htanx)
We will find the limits separately first and put them into the main equation.
First, we will solve h→0limhtan(x+h−x)
We can write h=(x+h−x)(x+h+x)
h→0limhtan(x+h−x) =h→0lim(x+h−x)(x+h+x)tan(x+h−x) =h→0lim(x+h−x)tan(x+h−x)h→0lim(x+h+x)1 =1×2x1 =2x1
Now, we will solve the second term h→0lim(1+tanx+htanx)
Now, we will put both these values in the main equation
⇒f′(x)=h→0limhtan(x+h−x)h→0lim(1+tanx+htanx) ⇒f′(x)=2x1sec2x
Thus, the derivative of tanx w.r.t. x using the first principle is 2x1sec2x .
So, the correct answer is “2x1sec2x .”.
Note : There is a second method to find the derivative of tanx w.r.t. x . 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 . Here, we have taken x=y . Now, we will find the derivative of x which is 2x1 . Now, we will multiply both these derivatives and get the final answer as 2x1sec2x . This can also be written as:
dxdtanx=2x1sec2x