Question
Question: How do you differentiate \[\sin x+\cos y=\sin x\cos y\]?...
How do you differentiate sinx+cosy=sinxcosy?
Solution
Differentiation refers to the rate with which a function changes. So change of that function is found using another parameter with which the change is measured. So we will differentiate y terms with respect to x and solve dxdy.
For eg – if we want to differentiate sin x with respect to x, we get,
sinx=dxd(sinx)=cosx
Complete step by step answer:
According to the question we have to differentiate sinx+cosy=sinxcosy.
Before starting to differentiate, check what is asked in the question whether it is dxdy or dydx. At first it might hardly seem any different but it is what makes all the difference.
dxdy means that we have to differentiate y with respect to x.
Similarly, dydx means that we have to differentiate x with respect to y.
So, in the given question we are asked to differentiate y with respect to x, that is, dxdy.
Differentiating both sides, we get
dxd(sinx+cosy)=dxd(sinxcosy)
dxd(sinx)+dxd(cosy)=dxd(sinxcosy)
We know that, derivative of sinx is cosx. And the derivative cosy will be different, cosy will be first differentiated and since the variable is y, so the differentiation of y will be dxdy.
On the right hand side of the equation, we have sinxcosy, so it will undergo differentiation using the product rule.
We get,
cosx+(−siny)dxdy=sinxdxd(cosy)+cosydxd(sinx)
cosx−sinydxdy=sinx(−siny)dxdy+cosy(cosx)
Now, we will rearrange the equation to get dxdy on one side and the rest on the other side.
sinx(siny)dxdy−sinydxdy=cosy(cosx)−cosx
(sinx(siny)−siny)dxdy=cosy(cosx)−cosx
⇒dxdy=(sinx(siny)−siny)cosy(cosx)−cosx=siny(sinx−1)cosx(cosy−1)
Therefore, dxdy=siny(sinx−1)cosx(cosy−1)
Note:
While solving the question care should be given to the parameter with which the rate of change of the function is asked else it will result in a wrong answer. The differentiation should be carried out step wise else if a step is missed then the entire answer will go wrong.