Norbert W. answered 08/03/16
Tutor
4.4
(5)
Math and Computer Language Tutor
y'+((1-2x)/x)y=e2x
There is an integrating factor I(x) that can be applied to both sides of this equation and is the following:
I(x) = e∫(1-2x)/x dx
Now ∫(1-2x)/x dx = ∫(1/x - 2)dx = ln(x) - 2x + c
Then I(x) = eln(x) - 2x + c = k *eln(x) * e-2x, where k = ec
= kxe-2x
Multiply both sides of the differential equation by I(x):
kxe-2x(y' + (1 - 2x)/x*y) = kxe-2x * e2x
xe-2xy' + (1 -2x)e-2xy = x
(xe-2xy)' =x
Integrate: xe-2xy = x2/2 + c
y = e2x/x(x2/2 + c)
= e2x((c/x + x/2)