Jump to content

Science:Math Exam Resources/Courses/MATH103/April 2017/Question 08 (a)/Solution 2

From UBC Wiki

We know that the coefficients of the Taylor series are given by an=y(n)(0)n! and that the initial condition is

y(0)=4.

Since y solves the differential equation y+2y=x2, or equivalently, y=x22y, we must have

y(0)=022y(0)=024=8.

By differentiating the equation for y (with respect to x), we obtain y=2x2y, which implies that

y(0)=202y(0)=028=16.

Differentiating the equation once more, we obtain y=22y, so

y(0)=22y(0)=2216=30.

We conclude that a0=y(0)0!=4, a1=y(0)1!=8, a2=y(0)2!=8, and a3=y(0)3!=5.