What is the general solution of the differential equation? : # dy/dx + (2x)/(x^2+1)y=1/(x^2+1) #
3 Answers
# y = x/(x^2+1) + C/(x^2+1) #
Explanation:
We have:
# dy/dx + (2x)/(x^2+1)y=1/(x^2+1) # ..... [A]
This is 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 \ (2x)/(x^2+1) ) \ dx ) #
# \ \ = exp( ln|x^2+1| ) #
# \ \ = exp( ln(x^2+1) ) # as#x^2+1 gt 0#
# \ \ = x^2+1 #
And if we multiply the DE [A] by this Integrating Factor,
# (x^2+1)dy/dx + (2x)y=1 #
# :. d/dx((x^2+1)y) = 1 #
Which is now a trivial separable DE, so we can "separate the variables" to get:
# (x^2+1)y = int \ dx #
And integrating gives us:
# (x^2+1)y = x + C #
Which we can rearrange to get:
# y = x/(x^2+1) + C/(x^2+1) #
Explanation:
GIven:
I am going to make a slight change of notation and mark it as equation [1]:
Equation [1] is in the form:
where
This type of equation is known to have an integrating factor:
Substitute for
Integrate:
Simplify:
Multiply both sides of the equation [1] by
Set up both sides for integration:
We do not actually integrate the left side integrates, because multiplication by the integrating factor assures that the left side integrates to
Solve for
Explanation:
This differential equation is completely equivalent to
The homogeneous part of this linear differential equation is
Substituting now
Now the complete solution is obtained as