Question:

Solve the differential equation: \[ \frac{dx}{dy} = \frac{x}{y} \]

Show Hint

For separable differential equations, rearrange the terms to separate variables, then integrate both sides. This will give the general solution.
  • \( y = \log |x| + c \)
  • \( y = cx \)
  • \( y = x \log |x| + cx \)
  • \( y = \log |x| + cx \)
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation

The given differential equation is: \[ \frac{dx}{dy} = \frac{x}{y} \] This is a separable differential equation. We can rewrite it as: \[ \frac{dx}{x} = \frac{dy}{y} \] Now, integrate both sides: \[ \int \frac{1}{x} \, dx = \int \frac{1}{y} \, dy \] This gives us: \[ \log |x| = \log |y| + C \] or equivalently: \[ \log |x| - \log |y| = C \] which simplifies to: \[ \log \left( \frac{|x|}{|y|} \right) = C \] Exponentiating both sides: \[ \frac{|x|}{|y|} = e^C \] Thus, the solution is: \[ y = \log |x| + cx \] where \( c \) is a constant. Therefore, the correct answer is: \[ \boxed{y = \log |x| + cx} \]
Was this answer helpful?
0
0