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
In this question we have a composite function in the form f(x)=g(h(x)) which has no direct formula for calculating the derivative therefore, we will use the chain rule on the function which is f′(x)=g′(h(x))h′(x). We have the expression in the form of addition of 2 terms both of which are in the form of g(h(x)). In both the terms we will consider g(x)=x3 and h(x)=sinx and h(x)=cosx respectively.
Complete step by step solution:
We have the expression given as:
⇒y=sin3x+cos3x
Since we have to find the derivative of the term, it can be written as:
⇒y′=dxd(sin3x+cos3x)
On splitting the derivative, we get:
⇒y′=dxdsin3x+dxdcos3x→(1)
Now since there is no direct formula for calculating the derivative of the given expression, we will use the chain rule which is f′(x)=g′(h(x))h′(x).
Consider the first part of the equation (1):
⇒dxdsin3x
In this term, we have g(x)=x3 and h(x)=sinx
We know that g′(x)=dxd(x3)=3x2, and since h(x)=sinx, we are using chain rule on both the terms, we will write it as:
⇒3sin2x×h′(x)
Now h(x)=sinx
We know that h′(x)=dxd(sinx)=cosx therefore, on substituting, we get:
⇒3sin2xcosx→(2)
Consider the second part of the equation (1):
⇒dxdcos3x
In this term, we have g(x)=x3 and h(x)=cosx
We know that g′(x)=dxd(x3)=3x2, and since h(x)=cosx, we are using chain rule on both the terms, we will write it as:
⇒3sin2x×h′(x)
Now h(x)=sinx
We know that h′(x)=dxd(cosx)=−sinx therefore, on substituting, we get:
⇒3cos2x(−sinx)
On simplifying, we get:
⇒−3cos2xsinx→(3)
On combining equations (2) and (3), we get:
⇒y′=3sin2xcosx−3cos2xsinx
Now we can see that the term 3sinxcosx is common in both the terms therefore, on taking it out as common, we get:
⇒y′=3sinxcosx(sinx−cosx), which is the required solution.
Note: It is to be remembered that the chain rule is a different rule than the product and the quotient rule. Is to be remembered that there can be more than two functions in a composite function. The general rule to differentiate is by first solving the outer function and then moving to the inward functions.
It is to be also remembered that differentiation is the inverse of integration. If the integration of a term a is b, then the differentiation of the term b will be a and vice versa.