Question
Question: What is the derivative of \(y=\tan \left( x \right)\)?...
What is the derivative of y=tan(x)?
Solution
In this question we have been asked to find the derivative of the given trigonometric function tan(x). We will first rewrite the expression in the form of the quotient of sin(x) and cos(x),then we will use the formula of derivative of the term in the form of vu. We will use the formula dxdvu=v2vdxdu−udxdv and simplify the terms to get the required solution.
Complete step-by-step solution:
We have the term given to us as:
⇒y=tan(x)
Since we have to find the derivative of the term, it can be written as:
⇒y′=dxdtan(x)
Now we know that tan(x)=cos(x)sin(x) therefore, on substituting, we get:
⇒y′=dxdcos(x)sin(x)
We can see that the expression is in the form of the derivative of vu.
On using the formula dxdvu=v2vdxdu−udxdv on the expression, we get:
⇒y′=cos2(x)cos(x)dxdsin(x)−sin(x)dxdcos(x)
Now we know that dxdsin(x)=cos(x),and dxdcos(x)=−sin(x) therefore on substituting them in the expression, we get:
⇒y′=cos2(x)cos(x)cos(x)−sin(x)(−sin(x))
Now we know that the multiplication of two negative terms yields a positive term therefore, on simplifying the terms in the numerator, we get:
⇒y′=cos2(x)cos2(x)+sin2(x)
Now we know the trigonometric identity that sin2(x)+cos2(x)=1 therefore on substituting, we get:
⇒y′=cos2(x)1
Now we know that cos(x)1=sec(x) therefore, we get:
⇒y′=sec2x, which is the required derivative.
Therefore, we can write:
⇒dxdtan(x)=sec2(x), which is the required solution.
Note: The solution found in this question should be remembered as a direct result or formula of the term y=tan(x) and substituted in questions wherever derivative of tan(x) is required. It is to be remembered that differentiation is the inverse of integration. If the derivative of a term a is b, then the integration of the term b will be a.