Here, we show you a step-by-step solved example of homogeneous differential equation. This solution was automatically generated by our smart calculator:
We can identify that the differential equation $\left(y^2+2xy\right)dx-x^2dy=0$ is homogeneous, since it is written in the standard form $M(x,y)dx+N(x,y)dy=0$, where $M(x,y)$ and $N(x,y)$ are the partial derivatives of a two-variable function $f(x,y)$ and both are homogeneous functions of the same degree
Use the substitution: $y=ux$
Multiply the single term $-x^2$ by each term of the polynomial $\left(u\cdot dx+x\cdot du\right)$
The power of a product is equal to the product of it's factors raised to the same power
Multiply the single term $dx$ by each term of the polynomial $\left(u^2x^2+2x^2u\right)$
Combining like terms $2x^2u\cdot dx$ and $-ux^2\cdot dx$
Group the terms of the equation
Multiply both sides of the equation by $-1$
Factor the polynomial $u^2x^2dx+u\cdot x^2\cdot dx$ by it's greatest common factor (GCF): $u\cdot x^2\cdot dx$
Group the terms of the differential equation. Move the terms of the $u$ variable to the left side, and the terms of the $x$ variable to the right side of the equality
Simplify the expression $\frac{1}{u}\frac{1}{u+1}du$
Simplify the expression $\frac{x^2}{x^{3}}dx$
Expand and simplify
Integrate both sides of the differential equation, the left side with respect to $u$, and the right side with respect to $x$
Rewrite the fraction $\frac{1}{u\left(u+1\right)}$ in $2$ simpler fractions using partial fraction decomposition
Expand the integral $\int\left(\frac{1}{u}+\frac{-1}{u+1}\right)du$ into $2$ integrals using the sum rule for integrals, to then solve each integral separately
The integral of the inverse of the lineal function is given by the following formula, $\displaystyle\int\frac{1}{x}dx=\ln(x)$
Apply the formula: $\int\frac{n}{x+b}dx$$=nsign\left(x\right)\ln\left(x+b\right)+C$, where $b=1$, $x=u$ and $n=-1$
Solve the integral $\int\frac{1}{u\left(u+1\right)}du$ and replace the result in the differential equation
The integral of the inverse of the lineal function is given by the following formula, $\displaystyle\int\frac{1}{x}dx=\ln(x)$
As the integral that we are solving is an indefinite integral, when we finish integrating we must add the constant of integration $C$
Solve the integral $\int\frac{1}{x}dx$ and replace the result in the differential equation
Replace $u$ with the value $\frac{y}{x}$
Access detailed step by step solutions to thousands of problems, growing every day!
Most popular problems solved with this calculator: