Question
Question: How do you differentiate \(f\left( x \right) = 4{\sin ^2}x + 5{\cos ^2}x\) ?...
How do you differentiate f(x)=4sin2x+5cos2x ?
Solution
In this question, we are given a trigonometric equation and we have been asked to differentiate the given equation. Both the terms will be following the same rule. First, keep the constant aside. And differentiate just the trigonometric ratio. You will have to use chain rule for this purpose. Differentiate the first term, first and then differentiate the second term in the similar way.
Formula used: 1) dxd(sinx)=cosx
2) dxd(cosx)=−sinx
Complete step-by-step solution:
We are given a trigonometric equation. Let us start differentiating it.
⇒f(x)=4sin2x+5cos2x
Differentiate both the sides with respect to x.
⇒f′(x)=4×2sinx×dxd(sinx)+5×2cosx×dxd(cosx)
Since we used chain rule to differentiate the trigonometric ratios, now we will do the second part of the chain rule.
⇒f′(x)=4×2sinxcosx+5×2cosx×(−sinx)
Notice that we did not multiply the constants. This is because in the next step, we will be using the trigonometric identity of sin2x to simplify the equation. So, it is not required to simplify it in one step and expand it again in the other step.
Using the formula sin2x=2sinxcosx in the above equation,
⇒f′(x)=4sin2x−5sin2x
On simplifying it further, we will get,
⇒f′(x)=−sin2x
Therefore, ⇒f′(x)=−sin2x is our final answer.
Note: Chain rule: What is chain rule? This rule is used to find the derivative of composite functions. In a composite function, there is an outer function and an inner function. Correct identification of these functions is very important. Let us understand chain rule with the help of an example.
For example: (6x−x2)76 is a composite function, where x76 is an outer function and 6x−x2 is an inner function. How do we find its derivative? At first, we differentiate the outer function and assume the inner function to be x (if we are differentiating with respect to x). In the next step, we differentiate the inner function.
Hence, correct identification of outer and inner function correctly is very important.