Question
Question: If cos(x + y) = y sin x, then find \[\dfrac{{dy}}{{dx}}\] ....
If cos(x + y) = y sin x, then find dxdy .
Solution
In this first, we will differentiate on both sides w.r.t x. Differentiating of terms on LHS requires chain rule. So LHS we will use chain rule and then on RHS we will use the product rule to differentiate the terms and finally arrange them to get the required derivative.
Complete step-by-step solution:
In the question, we have
cos(x+y)=ysinx and we have to find dxdy
Let f(x)=cos(x+y) . (1)
Clearly, it is a composite function. To differentiate it, we will use the chain rule.
According to chain rule,
If F(x)=f(g(x)) is a composite function then
F′(x)=f′(g(x).g′(x)
So, the differentiation of equation can be written as:
f’(x)= −sin(x+y)(1+dxdy)
similarly, for RHS let g(x)=ysinx.
It is in product form.
On applying the product rule of differentiation ,we get:
g’(x)=ycosx+sinxdxdy
Now, we have
cos(x+y)=ysinx
so, putting the value of differentiation in above equation, we get:
−sin(x+y)(1+dxdy) = ycosx+sinxdxdy
On rearranging the terms on both sides, we get:
dxdy(−sin(x+y)–sinx) =ycosx+sin(x+y)
⇒dxdy=−(sin(x+y)+sinx)ycosx+sin(x+y)
Note: For solving this type of question, you should remember differentiation of basic functions like dxd(cosx)=−sinx,dxd(sinx)=cosx ,dxd(xn)=nxn−1etc . You should remember the chain rule and product rule of differentiation. The product rule is given as:
dxd(f(x)g(x))=f’(x)g(x)+g’(x)f(x)