What is the general solution of the differential equation dy/dx + y = xy^3 ?
3 Answers
See below.
Explanation:
Making the change of variable
Now calling
Solving for
Explanation:
Given:
Multiply both sides by
Let
Writing the differential in a form that is suitable for substitution into equation [1]:
Perform the substitutions:
Multiply the equation by -2:
This is the well known form:
Where
The integrating factor is:
Multiply both sides of equation 2 by
We know that the left side integrates to
Reverse the substitution:
y^2 = 2/(2x+1+Ce^(-2x))
Alternatively:
y = +-sqrt(2)/sqrt(2x+1+Ce^(-2x))
Explanation:
We have:
dy/dx + y = xy^3
This is a Bernoulli equitation which has a standard method to solve. Let:
u = y^(-2) => (du)/dy = -2y^(-3) anddy/(du) = -y^3/2
By the chain rule we have;
dy/dx = dy/(du) * (du)/dx
Substituting into the last DE we get;
dy/(du) (du)/dx + y = xy^3
:. -y^3/2 (du)/dx + y = xy^3
:. - (du)/dx + 2/y^2 = 2x
:. - (du)/dx + 2u = 2x
:. (du)/dx - 2u = -2x
So the substitution has reduced the DE into a first order linear differential equation of the form:
(d zeta)/dx + P(x) zeta = Q(x)
We solve this using an Integrating Factor
I = exp( \ int \ P(x) \ dx )
\ \ = exp( int \ (-2) \ dx )
\ \ = exp( -2x )
\ \ = e^(-2x)
And if we multiply the last by this Integrating Factor,
e^(-2x)(du)/dx - 2ue^(-2x) = -2xe^(-2x)
d/dx(e^(-2x)u) = -2xe^(-2x)
Which is now a trivial separable DE, so we can "separate the variables" to get:
e^(-2x)u = int \ -2xe^(-2x) \ dx
And integrating by parts (skipped step) gives us:
e^(-2x)u = 1/2(2x+1)e^(-2x) + c
Restoring the substitution we get:
e^(-2x)y^(-2) = 1/2(2x+1)e^(-2x) + c
:. y^(-2) = 1/2(2x+1) + ce^(-2x)
:. 1/y^2 = 1/2(2x+1+Ce^(-2x))
:. y^2 = 2/(2x+1+Ce^(-2x))