Question
Question: The solution of the differential equation \[\left( {xy - y} \right)dx + \left( {xy - x} \right)dy = ...
The solution of the differential equation (xy−y)dx+(xy−x)dy=0 is (where ‘C’ is the constant of integration)
A.xy=Cex2+y2
B.x2y2=Cex2+y2
C.Cx2y2=ex2+y2
D.xy=Cex+y
Solution
Hint: We will use the variable separation method to solve this problem. We will use this method to solve this as equations which can be so expressed that the coefficient of dx is only a function of x and the coefficient of dy is only a function of y can be solved using the variable separation method and the given equation fits the criteria
Complete step-by-step answer:
We are given the differential equation (xy−y)dx+(xy−x)dy=0 and we have to find the solution of this equation.
We will first separate the variables x and y, that is, associate all the functions of x with dx and all the functions of y with dy.
We now have the differential equation of the type f(x)dx=g(y)dy
We will now integrate both the sides and add a constant on either of the side.
Therefore, the solution of the differential equation is xy=Cex+y.
Thus, the answer is option D.
Note: It is necessary to add the arbitrary constant on one side otherwise the solution obtained will not be a general solution. Solving the differential equation means to give the general solution of the differential equation. Constant should be added only to one side of the differential equation. The constant of integration can be taken as c or log c depending upon the nature of the problem.