Taylor Polynomial Approximations of IVPs
The foruma for the Taylor polynomial of degree centered at , approximating a function possessing derivatives at is given by:
Note that the terms in the series involve derivatives of , and if , they involve intial values of derivatives of .
Now, given a differential equation and some initial values, we can exploit this to find a Taylor polynomial approximating the solution of the IVP.
Example:
Find the first few Taylor polynomials approximating the solution around of the initial value problem
In order to construct
we need the values of , , , etc. The first two are given in the initial conditions, and we can deduce more by using the diffrential equation and the provided initial conditions:
We know that y''= 3y' = x^2y for some interval around (why?), and can differentiate both sides to derive:
and so on as long as we wish to and as long as additional derivatives of exist.
Now, we can substitute in initial values of lower derivatives and to find additional initial values:
and so on.
Substituting these initial conditions into (2) and dropping higher order terms we get:
which is the Taylor polynomial of degree 4 approximating the solution to our IVP at .
Note that this can be applied around places other than by translating coordinates, but I don't cover that here.
In general this process is very tedious and can be difficult to do by hand without making errors. I have written a sage script that finds the Taylor polynomial approximation for IVPs, which makes this process quick and accurate.