ydx+(1−3y)xy=3ydy
A first order linear differential equation in the form of y′(x)+p(x)y=q(x)
y+(1−3y)xy=3ydxdy
Substitute dxdy=y′
y+(1−3y)xy=3yy′
Rewrite,
y′+xy=31+3x
Integration Factor : IF=e2x2
Differential Equation: (IF×y)′=IF×q(x)
(e2x2×y)′=e2x2×31+e2x2×3x
y=6e2x22πerfi2x+31+e2x2c1
Comments