Hi everyone! My question is: "find the general solution y(x) of the given differential equation": #xy'+y=x^6# How do I solve this? Thank you for your answer!
Here:
This should be answer, but I'm not sure how to get to that exact point:
Here:
This should be answer, but I'm not sure how to get to that exact point:
2 Answers
Explanation:
Solve the homogeneous equation:
which is separable:
Using now the variable coefficients methods, look for a solution of the complete equation in the form:
substitute
Take the solution with
Then the general solution of the equation is:
# y = 1/(7x)(x^7 + C) #
Explanation:
We have:
# xy'+y=x^6 #
We can use an integrating factor when we have a First Order Linear non-homogeneous Ordinary Differential Equation of the form;
# dy/dx + P(x)y=Q(x) #
So, we can put the equation in standard form:
# y'+1/x y = x^5 #
Then the integrating factor is given by;
# I = e^(int P(x) dx) #
# \ \ = exp(int \ 1/x \ dx) #
# \ \ = exp(lnx) #
# \ \ = x #
And if we multiply the DE by this Integrating Factor,
# xy'+y=x^6 #
# :. d/dx (xy) = x^6 #
This is now separable, so by "separating the variables" we get:
# xy = int \ x^6 \ dx #
Which is trivial to integrate to get
# xy = x^7/7 + C #
Leading to the GS:
# y = 1/(7x)(x^7 + C) #