Question
Question: How do you use the chain rule to differentiate \(y = {\sin ^3}x + {\cos ^3}x\)...
How do you use the chain rule to differentiate y=sin3x+cos3x
Solution
This problem deals with differentiation of the given equation using chain rule. The chain rule tells us how to find the derivative of a composite function. It is applied on composite functions. That is if a function is a product of two or more functions, then the differentiation of the composite function is given by the chain rule of differentiation. The chain rule is given below:
⇒dxd(f1(x).f2(x))=f1(x).dxd(f2(x))+f2(x).dxd(f1(x))
Complete step-by-step answer:
Given an equation of trigonometric function, which is y=sin3x+cos3x
Let y=f(x)
Let f1(x)=sin3x
Let f2(x)=cos3x
So here f(x)=f1(x)+f2(x)
We know that the differentiation of the above equation gives:
⇒dxdf(x)=dxdf1(x)+dxdf2(x)
Applying the same to the given equation, f(x)=sin3x+cos3x as shown below:
⇒f(x)=sin3x+cos3x
Now differentiate the above equation as shown below:
⇒dxdf(x)=dxd(sin3x)+dxd(cos3x)
Now while differentiating the functions f1(x) and f2(x), applying the chain rule here, as shown below:
⇒f′(x)=3sin2x.dxd(sinx)+3cos2x.dxd(cosx)
Here while differentiating the function sin3x, not only applying the formula dxd(fn(x))=nxn−1f′(x), that is not only reducing the power of the function but also differentiating the function of x, as it is not in terms of x, but it is a function of x, hence differentiating the function also.
We know that differentiation of sinx is cosx, whereas the differentiation of cosx is −sinx. Applying these substitutions in the above equation, as shown below:
⇒f′(x)=3sin2x.(cosx)+3cos2x.(−sinx)
⇒f′(x)=3cosxsin2x−3sinxcos2x
Now take the term 3cosxsinx common , in the above equation, as shown below:
⇒f′(x)=3cosxsinx(sinx−cosx)
Note:
Please note that there are basic differentiation rules in chain rule of differentiation. The sum rule says the derivative of a sum of functions is the sum of their derivatives. The difference rule says the derivative of a difference of functions is the difference of their derivatives. Also remember the basic derivatives such as:
⇒dxd(sinx)=cosx
⇒dxd(cosx)=−sinx
⇒dxd(tanx)=sec2x
⇒dxd(secx)=secxtanx
⇒dxd(cot)=−cosec2x
⇒dxd(cosecx)=−cosecxcotx