Given a first order inhomogeneous linear differential equation of the form;
y′+p(x)y=f(x)⋯⋯⋯(1)
using constant variation method, the general solution is given by;
y(x)=v(x)eq(x)+ceq(x)
where v′(x)=e−q(x)f(x), q(x)=∫[−p(x)] dx, and c is an arbitrary constant.
Now, the given DE is of the form;
y′−x2y=2x3
By comparing the given DE with (1);
q(x)=∫[−p(x)] dx=∫x2 dx=2lnx=lnx2
v′(x)=e−q(x) dx×f(x)=e−lnx2×2x3=x21×2x3=2x
⇒v(x)=∫2x dx=x2
Thus, the general solution is;
y(x)=v(x)eq(x)+ceq(x)=x2elnx2+celnx2=x4+cx2
Comments
Leave a comment