Solveeit Logo

Question

Question: If cos(x + y) = y sin x, then find \[\dfrac{{dy}}{{dx}}\] ....

If cos(x + y) = y sin x, then find dydx\dfrac{{dy}}{{dx}} .

Explanation

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\cos (x + y) = y \sin x and we have to find dydx\dfrac{{dy}}{{dx}}
Let f(x)=cos(x+y)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))F(x) = f(g(x)) is a composite function then
F(x)=f(g(x).g(x)F'(x) = f'(g(x).g'(x)
So, the differentiation of equation can be written as:
f’(x)= sin(x+y)(1+dydx) - \sin (x + y)\left( {1 + \dfrac{{dy}}{{dx}}} \right)
similarly, for RHS let g(x)=ysinxg(x) = y \sin x.
It is in product form.
On applying the product rule of differentiation ,we get:
g(x)=ycosx+sinxdydxg’(x)= y \cos x + \sin x \dfrac{{dy}}{{dx}}
Now, we have
cos(x+y)=ysinx\cos (x + y) = y \sin x
so, putting the value of differentiation in above equation, we get:
sin(x+y)(1+dydx)- \sin (x + y)\left( {1 + \dfrac{{dy}}{{dx}}} \right) = ycosx+sinxdydxy \cos x + \sin x \dfrac{{dy}}{{dx}}
On rearranging the terms on both sides, we get:
dydx(sin(x+y)sinx)\dfrac{{dy}}{{dx}} (-\sin (x+y) – \sin x) =ycosx+sin(x+y)y \cos x +\sin (x+y)
dydx=ycosx+sin(x+y)(sin(x+y)+sinx) \Rightarrow \dfrac{{dy}}{{dx}} = \dfrac{{y\cos x + \sin (x + y)}}{{ - (\sin (x + y) + \sin x)}}

Note: For solving this type of question, you should remember differentiation of basic functions like d(cosx)dx=sinx\dfrac{{d(\cos x)}}{{dx}} = - \sin x,d(sinx)dx=cosx\dfrac{{d(\sin x)}}{{dx}} = \cos x ,d(xn)dx=nxn1\dfrac{{d({x^n})}}{{dx}} = n{x^{n - 1}}etc . You should remember the chain rule and product rule of differentiation. The product rule is given as:
d(f(x)g(x))dx=f(x)g(x)+g(x)f(x)\dfrac{{d(f(x)g(x))}}{{dx}} = f’(x)g(x)+g’(x)f(x)