Solveeit Logo

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+cos3xy = {\sin ^3}x + {\cos ^3}x

Explanation

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:
ddx(f1(x).f2(x))=f1(x).ddx(f2(x))+f2(x).ddx(f1(x))\Rightarrow \dfrac{d}{{dx}}\left( {{f_1}(x).{f_2}(x)} \right) = {f_1}(x).\dfrac{d}{{dx}}\left( {{f_2}(x)} \right) + {f_2}(x).\dfrac{d}{{dx}}\left( {{f_1}(x)} \right)

Complete step-by-step answer:
Given an equation of trigonometric function, which is y=sin3x+cos3xy = {\sin ^3}x + {\cos ^3}x
Let y=f(x)y = f(x)
Let f1(x)=sin3x{f_1}(x) = {\sin ^3}x
Let f2(x)=cos3x{f_2}(x) = {\cos ^3}x
So here f(x)=f1(x)+f2(x)f(x) = {f_1}(x) + {f_2}(x)
We know that the differentiation of the above equation gives:
ddxf(x)=ddxf1(x)+ddxf2(x)\Rightarrow \dfrac{d}{{dx}}f(x) = \dfrac{d}{{dx}}{f_1}(x) + \dfrac{d}{{dx}}{f_2}(x)
Applying the same to the given equation, f(x)=sin3x+cos3xf(x) = {\sin ^3}x + {\cos ^3}x as shown below:
f(x)=sin3x+cos3x\Rightarrow f(x) = {\sin ^3}x + {\cos ^3}x
Now differentiate the above equation as shown below:
ddxf(x)=ddx(sin3x)+ddx(cos3x)\Rightarrow \dfrac{d}{{dx}}f(x) = \dfrac{d}{{dx}}\left( {{{\sin }^3}x} \right) + \dfrac{d}{{dx}}\left( {{{\cos }^3}x} \right)
Now while differentiating the functions f1(x){f_1}(x) and f2(x){f_2}(x), applying the chain rule here, as shown below:
f(x)=3sin2x.ddx(sinx)+3cos2x.ddx(cosx)\Rightarrow f'(x) = 3{\sin ^2}x.\dfrac{d}{{dx}}\left( {\sin x} \right) + 3{\cos ^2}x.\dfrac{d}{{dx}}\left( {\cos x} \right)
Here while differentiating the function sin3x{\sin ^3}x, not only applying the formula ddx(fn(x))=nxn1f(x)\dfrac{d}{{dx}}\left( {{f^n}(x)} \right) = n{x^{n - 1}}f'(x), that is not only reducing the power of the function but also differentiating the function of xx, as it is not in terms of xx, but it is a function of xx, hence differentiating the function also.
We know that differentiation of sinx\sin x is cosx\cos x, whereas the differentiation of cosx\cos x is sinx - \sin x. Applying these substitutions in the above equation, as shown below:
f(x)=3sin2x.(cosx)+3cos2x.(sinx)\Rightarrow f'(x) = 3{\sin ^2}x.\left( {\cos x} \right) + 3{\cos ^2}x.\left( { - \sin x} \right)
f(x)=3cosxsin2x3sinxcos2x\Rightarrow f'(x) = 3\cos x{\sin ^2}x - 3\sin x{\cos ^2}x
Now take the term 3cosxsinx3\cos x\sin x common , in the above equation, as shown below:

f(x)=3cosxsinx(sinxcosx) \Rightarrow f'(x) = 3\cos x\sin x\left( {\sin x - \cos x} \right)

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:
ddx(sinx)=cosx\Rightarrow \dfrac{d}{{dx}}\left( {\sin x} \right) = \cos x
ddx(cosx)=sinx\Rightarrow \dfrac{d}{{dx}}\left( {\cos x} \right) = - \sin x
ddx(tanx)=sec2x\Rightarrow \dfrac{d}{{dx}}\left( {\tan x} \right) = {\sec ^2}x
ddx(secx)=secxtanx\Rightarrow \dfrac{d}{{dx}}\left( {\sec x} \right) = \sec x\tan x
ddx(cot)=cosec2x\Rightarrow \dfrac{d}{{dx}}\left( {\cot } \right) = - \cos e{c^2}x
ddx(cosecx)=cosecxcotx\Rightarrow \dfrac{d}{{dx}}\left( {\cos ecx} \right) = - \cos ecx\cot x