# Is (2x+y) dx−x dy=0 a separable differential equation?

Nicholas Hunter 2022-11-21 Answered
Is $\left(2x+y\right)dx-xdy=0$ a separable differential equation?
I was given the following differential equation in an assignment the other day:
$\left(2x+y\right)dx-xdy=0$
The problem specified to solve the equation using the method of separation of variables. My problem was setting the integral, I tried multiple manipulations with but nothing seemed to work. So, I have to ask can this equation be solved using separation of variables?
You can still ask an expert for help

• Live experts 24/7
• Questions are typically answered in as fast as 30 minutes
• Personalized clear answers

Solve your problem for the price of one coffee

• Math expert for every subject
• Pay only if we can solve it

Liehm1mm
Write it as
${y}^{\prime }-y/x=2$
then use the change of variables
$y=xu\phantom{\rule{thickmathspace}{0ex}}⟹\phantom{\rule{thickmathspace}{0ex}}{y}^{\prime }=x{u}^{\prime }+u$ to transformed it to the separable ode
$x{u}^{\prime }=2$
which is the required method in the question!
###### Did you like this example?
Annie French
The equation can be rewritten as
$\frac{dy}{dx}-\frac{1}{x}y=2$
That means it is not a separable equation. However, it is a first-order linear ordinary differential equation, so it can be solve by the usual means. You will end up with at least one "special function" however, since part of the solution needs $\int {e}^{-1/x}\phantom{\rule{thinmathspace}{0ex}}dx$ which cannot be expressed in elementary functions.