Question
Question: How do you differentiate \[f\left( x \right)=\tan x\] twice using the quotient rule?...
How do you differentiate f(x)=tanx twice using the quotient rule?
Solution
This question is from the topic of calculus. In this question, we will use the quotient rule of differentiation. In solving this question, we will first differentiate tanx using the quotient rule of differentiation. We will get the new term. After that, we will differentiate that new term using the quotient rule of differentiation. After solving the further question, we will get our answer.
Complete step by step answer:
Let us solve this question.
In this question, we have asked to differentiate the given term twice using the quotient rule.
The given term is
f(x)=tanx
As we know that tanx=cosxsinx, so we can write
f(x)=cosxsinx
For differentiating the above equation using quotient rule of differentiation, let us first know about the quotient rule.
The formula for quotient rule of differentiation is:
dxd(vu)=v2v×dxdu−u×dxdv
Where, u and v are functions of any x.
So, for differentiating the equation f(x)=cosxsinx, we can write
f′(x)=dxd(f(x))=dxd(cosxsinx)
⇒f′(x)=dxd(cosxsinx)
Now, using the quotient rule, we can write
⇒f′(x)=dxd(cosxsinx)=(cosx)2cosx×dxd(sinx)−sinx×dxd(cosx)
Using the formulas of differentiation that is: dxd(sinx)=cosx and dxd(cosx)=−sinx, we can write the above equation as
⇒f′(x)=(cosx)2cosx×cosx−sinx×(−sinx)
The above equation can also be written as
⇒f′(x)=(cosx)2cos2x+sin2x
Using the formula cos2x+sin2x=1, we can write the above equation as
⇒f′(x)=(cosx)21=cos2x1
Now, we will again differentiate the above as it is said in the question that we have to differentiate twice, so we can write
⇒dxd[f′(x)]=dxd(cos2x1)
We can write the above equation as
⇒f′′(x)=dxd(cos2x1)
Now, using the quotient rule of differentiation, we can write
⇒f′′(x)=dxd(cos2x1)=(cos2x)2cos2x×dxd(1)−1×dxd(cos2x)
Using the formula of differentiation dxd(1)=0, we can write
⇒f′′(x)=(cos2x)2cos2x×(0)−dxd(cos2x)=cos4x0−dxd(cos2x)=−cos4xdxd(cos2x)
Now, we will use chain rule here. The formula for chain rule is:
dxd(f(g(x)))=dxd(f′(g(x)))g′(x)
Where, ‘f’ and ‘g’ are functions of x.
The above equation can also be written as
⇒f′′(x)=−cos4x2cosx×dxd(cosx)
Using the formula dxd(cosx)=−sinx, we can write
⇒f′′(x)=−cos4x2cosx×(−sinx)=cos4x2cosx×sinx
The above equation can also be written as
⇒f′′(x)=cos2x×cos2x2cosx×sinx=cos2x×cosx2×sinx
As we know that tanx=cosxsinx, we can write
⇒f′′(x)=cos2x2×cosxsinx=cos2x2×tanx
As we know that inverse of ‘cos’ is written as ‘sec’, so we can write
⇒f′′(x)=2sec2x×tanx
Hence, we got that the twice differentiation of f(x)=tanx using quotient rule is: f′′(x)=2sec2xtanx
Note: We should have a better knowledge in the topic of calculus to solve this type of question easily. We should remember the following formulas to solve this type of question easily:
tanx=cosxsinx
Quotient rule of differentiation: dxd(vu)=v2v×dxdu−u×dxdv
Differentiation of any constant is always zero. For example: dxd(1)=0
dxd(sinx)=cosx
dxd(cosx)=−sinx
cos2x+sin2x=1
secx=cosx1