Question
Question: If \(xy + {y^2} = \tan x + y\) , then \(\dfrac{{dy}}{{dx}}\) is equal to (A) \(\dfrac{{{{\sec }^2}...
If xy+y2=tanx+y , then dxdy is equal to
(A) x+2y−1sec2x−y
(B) x+2y−1cos2x+y
(C) 2x+y−1sec2x−y
(D) 2x+2y−1cos2x+y
Solution
Differentiate both sides of the equation with respect to x. Take all the terms with dxdy on the LHS and the remaining terms on the RHS. Take dxdy as a common factor in the LHS to obtain the answer.
Complete step by step solution:
We are given the equation xy+y2=tanx+y
We need to finddxdy.
We will differentiate both sides of the given equation with respect to x as follows:
dxd(xy+y2)=dxd(tanx+y)
We know that the derivative of the sum of two functions is equal to the sum of their derivatives.
Thus, we get
dxd(xy)+dxd(y2)=dxd(tanx)+dxd(y).....(1)
Using the product rule dxd(uv)=vdxd(u)+udxd(v),
we have dxd(xy)=ydxd(x)+xdxd(y)=y×1+xdxdy=y+xdxdy....(2)
Using (2) in (1), we get
Now, we will take all the terms with dxdy on the left hand side and the remaining terms on the right hand side.
xdxdy+2ydxdy−dxdy=sec2x−y ⇒(x+2y−1)dxdy=sec2x−y ⇒dxdy=x+2y−1sec2x−yHence the required answer is x+2y−1sec2x−y.
Correct Option: (A)
Note: A function in which the dependent and the independent variables are not separated and the dependent variable is not on one side of the given equation is called an implicit function.
xy+y2=tanx+y is an example of an implicit function. Here y is the dependent variable and x is the independent variable if we are differentiating the function with respect to x.