Differential equations with separable variables Step-by-Step
For example, you have entered (calculator here):
2xy(x)+(x−1)dxdy(x)=0
Detail solution
Divide both sides of the equation by the multiplier of the derivative of y':
x−1
We get the equation:
x−12xy(x)+(x−1)dxdy(x)=0
This differential equation has the form:
y' + P(x)y = 0,
where
P(x)=x−12x
and
and it is called linear homogeneous
differential first-order equation:
It's an equation with multiple variables.
The equation is solved using following steps:
From y' + P(x)y = 0 you get
ydy=−P(x)dx, if y is not equal to 0
∫y1dy=−∫P(x)dx
log(∣y∣)=−∫P(x)dx
Or,
∣y∣=e−∫P(x)dx
Therefore,
y1=e−∫P(x)dx
y2=−e−∫P(x)dx
The expression indicates that it is necessary to find the integral:
∫P(x)dx
Because
P(x)=x−12x, then
∫P(x)dx =
= ∫x−12xdx=(2x+2log(x−1))+Const
Detailed solution of the integral
So, solution of the homogeneous linear equation:
y1=(x−1)2eC1−2x
y2=−(x−1)2eC2−2x
that leads to the correspondent solution
for any constant C, not equal to zero:
y=(x−1)2Ce−2x