👉 Try now NerdPal! Our new math app on iOS and Android
  1. calculators
  2. Homogeneous Differential Equation

Homogeneous Differential Equation Calculator

Get detailed solutions to your math problems with our Homogeneous Differential Equation step-by-step calculator. Practice your math skills and learn step by step with our math solver. Check out all of our online calculators here.

Go!
Math mode
Text mode
Go!
1
2
3
4
5
6
7
8
9
0
a
b
c
d
f
g
m
n
u
v
w
x
y
z
.
(◻)
+
-
×
◻/◻
/
÷
2

e
π
ln
log
log
lim
d/dx
Dx
|◻|
θ
=
>
<
>=
<=
sin
cos
tan
cot
sec
csc

asin
acos
atan
acot
asec
acsc

sinh
cosh
tanh
coth
sech
csch

asinh
acosh
atanh
acoth
asech
acsch

1

Solved example of homogeneous differential equation

$\left(x-y\right)dx+xdy=0$
2

We can identify that the differential equation $\left(x-y\right)dx+x\cdot dy=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

$\left(x-y\right)dx+x\cdot dy=0$
3

Use the substitution: $y=ux$

$\left(x-ux\right)dx+x\left(u\cdot dx+x\cdot du\right)=0$

Multiply the single term $x$ by each term of the polynomial $\left(u\cdot dx+x\cdot du\right)$

$\left(x-ux\right)dx+u\cdot x\cdot dx+x^2du=0$

Factor the polynomial $\left(x-ux\right)$ by it's greatest common factor (GCF): $x$

$x\left(1-u\right)dx+u\cdot x\cdot dx+x^2du=0$

Factor by $dx$

$\left(x\left(1-u\right)+ux\right)dx+x^2du=0$

We need to isolate the dependent variable , we can do that by simultaneously subtracting $x^2du$ from both sides of the equation

$\left(x\left(1-u\right)+ux\right)dx=-x^2du$

Solve the product $x\left(1-u\right)$

$\left(x-xu+ux\right)dx=-x^2du$

Cancel like terms $-xu$ and $ux$

$x\cdot dx=-x^2du$
4

Expand and simplify

$x\cdot dx=-x^2du$

Divide $1$ by $1$

$1=\frac{1}{\frac{-x^2}{x}}$

Divide fractions $\frac{1}{\frac{-x^2}{x}}$ with Keep, Change, Flip: $a\div \frac{b}{c}=\frac{a}{1}\div\frac{b}{c}=\frac{a}{1}\times\frac{c}{b}=\frac{a\cdot c}{b}$

$1=\frac{x}{-x^2}$
5

Simplify the expression ${0}$

$1=\frac{x}{-x^2}$
6

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

$du=\frac{x}{-x^2}dx$

Simplify the fraction by $x$

$\frac{1}{-x}dx$
7

Simplify the expression $\frac{x}{-x^2}dx$

$du=\frac{1}{-x}dx$
8

Integrate both sides of the differential equation, the left side with respect to $y$, and the right side with respect to $x$

$\int1du=\int\frac{1}{-x}dx$

The integral of a constant is equal to the constant times the integral's variable

$u$
9

Solve the integral $\int1du$ and replace the result in the differential equation

$u=\int\frac{1}{-x}dx$

Take the constant $\frac{1}{-1}$ out of the integral

$-\int\frac{1}{x}dx$

The integral of the inverse of the lineal function is given by the following formula, $\displaystyle\int\frac{1}{x}dx=\ln(x)$

$-\ln\left(x\right)$

As the integral that we are solving is an indefinite integral, when we finish integrating we must add the constant of integration $C$

$-\ln\left(x\right)+C_0$
10

Solve the integral $\int\frac{1}{-x}dx$ and replace the result in the differential equation

$u=-\ln\left(x\right)+C_0$
11

Replace $u$ with the value $\frac{y}{x}$

$\frac{y}{x}=-\ln\left(x\right)+C_0$

Multiply both sides of the equation by $x$

$y=\left(-\ln\left(x\right)+C_0\right)x$
12

Find the explicit solution to the differential equation. We need to isolate the variable $y$

$y=\left(-\ln\left(x\right)+C_0\right)x$

Final Answer

$y=\left(-\ln\left(x\right)+C_0\right)x$

Struggling with math?

Access detailed step by step solutions to thousands of problems, growing every day!