2.7k views
1 vote
For the initial value problem y' −xy = x, y(0) = 1. write down the first four nonzero terms of the series

User Jcmitch
by
8.4k points

1 Answer

6 votes
Not clear if you're supposed to find a series solution to the ODE, or solve exactly then give the requested terms of the series expansion of the that solution...

The exact solution is easy enough to find. We can separate the variables:


y'-xy=x\iff (\mathrm dy)/(\mathrm dx)=x(1+y)\implies (\mathrm dy)/(1+y)=x\,\mathrm dx

\implies\ln(1+y)=\frac{x^2}2+C

\implies y=Ce^(x^2/2)-1

Given that
y(0)=1, we have


1=C-1\implies C=2

Then recall that


e^x=\displaystyle\sum_(n\ge0)(x^n)/(n!)

to write the solution as


y=2\displaystyle\sum_(n\ge0)\frac{\left(\frac{x^2}2\right)^n}{n!}-1

y=1+2\displaystyle\sum_(n\ge1)\frac{\left(\frac{x^2}2\right)^n}{n!}

so the first four terms of the series are


1+x^2+\frac{x^4}4+(x^6)/(24)
User Stacca
by
8.3k points