- #1
tomeatworld
- 51
- 0
Homework Statement
x y' + 3y = x2
Homework Equations
The Attempt at a Solution
So I tried using an integrating factor (as I couldn't separate variables).
So I've said that the function p(x)= 1/x and q(x)=x. So the integrating factor is elog(x) or x. Putting this in:
x y = [tex]\int x^{2}[/tex] so
x y = [tex]\frac{1}{3} x^{3}[/tex] + c
and finally: y(x) = [tex]\frac{1}{3} x^{2} + \frac{c}{x}[/tex] but this isn't the right answer. Where have I gone wrong?