By Power Series Method, the solution of the differential equation is
y=c0∑n=0∞n!(2x2)n=c0e2x2, where c0 is any constant.
Let us look at some details.
Let y=∑n=0∞cnxn
By taking the derivative term by term,
y′=∑n=1∞ncnxn−1
Now, let us look at the differential equation.
y′=xy
by substituting the above power series in the equation,
⇒∑n=1∞ncnxn−1=x⋅∑n=0∞cnxn
by pulling the first term from the summation on the left,
⇒c1+∑n=2∞ncnxn−1=∑n=0∞cnxn+1
by shifting the indices of the summation on the left by 2 ,
⇒c1+∑n=0∞(n+2)cn+2xn+1=∑n=0∞cnxn+1
By matching coefficients,
c1=0 and (n+2)cn+2=cn⇒cn+2=n+2cn
Let us observe the odd terms.
c3=3c1=30=0c5=5c3=50=0...c2n+1=0
Let us observe the even terms.
c2=2c0c4=4c2=4⋅2c0=22⋅2!c0c6=6c4=6⋅4⋅2c0=23⋅3!c0c2n=2n⋅n!c0
Hence,
y=∑n=0∞2n⋅n!c0x2n=c0∑n=0∞n!2nx2n=c0∑n=0∞n!(2x2)n=c0e2x2
(by replacing x by 2x2 in ex=∑n=0∞n!xn )
Comments