Question
Question: How do you differentiate \({{e}^{y}}\sin x=x+xy\)?...
How do you differentiate eysinx=x+xy?
Solution
In this question, we need to differentiate an implicit function of x and y. For this, we will differentiate with respect to x. Here y is a function of x. So while differentiating terms having y we will differentiate them as usual, then multiply it with dxdy as per the chain rule. At last we will rearrange the equation such that we have dxdy on one side and the rest of the terms on the other side. We will use following formulas of derivatives,
(I) Derivative of ex is ex.
(II) Derivative of sinx is cosx.
(III) Product rule between two functions u and v is given by dxd(u⋅v)=u′v+v′u.
(IV) dxdx=1.
Complete step by step solution:
Here we are given the implicit equation of x and y as eysinx=x+xy⋯⋯ ⋯(1).
We need to differentiate it so we need to find dxdy.
Let us solve both sides separately.
Left side of the equation is eysinx.
Since two terms are multiplied so we will use product rule according to which, for two function u and v dxd(u⋅v)=u′v+v′u so, taking derivative with respect to x we get dxeydsinx+sinxdxdey.
As we know that, derivative of sinx is cosx so we get eycosx+sinxdxdey.
We know the derivative of ex is ex. Here y is function of x so derivative of ey will be eydxdy by chain rule, we get derivative of left side eycosx+sinx⋅eydxdy………(2).
Now, let us derive the right side. We have the right side as x+xy.
Taking derivatives with respect to x we get dxd(x+xy).
Separating derivatives for both terms we have dxdx+dxd(xy).
We know that dxdx=1 and let us use product rule on dxdxy we get,
1+xdxdy+ydxdx⇒1+xdxdy+y.
So the derivative of the right side 1+y+xdxdy⋯⋯⋯(3).
Now when we take derivative of (1) from (2) and (3) we get ey(dxdy)sinx+eycosx=1+y+x(dxdy).
Now let us take terms having dxdy on the left side of the equation and rest of the terms on the right side of the equation we get eysinx(dxdy)−x(dxdy)=1+y−eycosx.
Now let us take dxdy common from the left side of the equation we get dxdy(eysinx−x)=1+y−eycosx.
We need to only dxdy at one side and rest of the terms on the other side so let us divide both sides of the equation we get dxdy(eysinx−x)(eysinx−x)=(eysinx−x)1+y−eycosx⇒dxdy=(eysinx−x)1+y−eycosx.
This is our required derivative.
Note: Students should not forget to use chain rule while taking derivatives of terms containing y. Some students make the mistake of taking y as constant but here y is a function of x. Always try to give a final answer as dxdy only. Keep in mind the formula of derivation.