Question
Question: How do you differentiate \(f\left( x \right) = \dfrac{{\cos x}}{{\sin x}}\) ?...
How do you differentiate f(x)=sinxcosx ?
Solution
In this question, we have been given a trigonometric equation and we have been asked to differentiate the equation. This question can be done in two ways.
Method 1: Use quotient rule to find the differentiation. Once you have put the values in the quotient rule, you will see that a trigonometric formula will be used here. Put that formula in the equation and you will have your answer.
Method 2: Use trigonometry to simplify the given ratio. You will get a trigonometric ratio. Simply, write its differentiation and you will get the answer. But, if you are bad at remembering formulas, refer to the method 1 above.
Formula used: 1) Quotient rule: dxd[g(x)f(x)]=(g(x))2g(x).f′(x)−f(x)g′(x)
2) dxd(cotx)=cosec2x
Complete step-by-step solution:
We are given a trigonometric equation and we have to find its differentiation. I will use method 1 here.
In this method, we will simply use quotient rules. The quotient rule says that –
dxd[g(x)f(x)]=(g(x))2g(x)f′(x)−f(x)g′(x)
⇒f(x)=sinxcosx …. (given)
Differentiating both the sides with respect to x by applying the quotient rule,
⇒f′(x)=sin2xcosx(sinx)′−sinx(cosx)′
Simplifying the equation,
⇒f′(x)=sin2xcosxcosx+sinxsinx
⇒f′(x)=sin2xcos2x+sin2x
Now, we know that cos2x+sin2x=1. Using this in the equation,
⇒f′(x)=sin2x1
We also know that sinx1=cosecx. Using this to simplify the equation,
⇒f′(x)=cosec2x
Hence, the differentiation of sinxcosx is cosec2x.
Note: Now, I will show you how we can solve the given equation using method 2.
⇒f(x)=sinxcosx …. (given)
We know that sinxcosx=cotx. Using this, we get,
⇒f(x)=cotx
Differentiating both the sides with respect to x,
f′(x)=cosec2x
Hence, this is our final answer and it is similar to the answer we got using the previous method.