Taylor Series and Picard Method
As we know, **tangent lines are decent approximations** for small intervals. However, they only work for a limited number of points. To approximate larger functions, we use **Taylor series**:
Problem Example:
-
Compute the **Taylor polynomial of degree 2** for the following initial value problem as well as Picard's Method:
Taylor Polynomial Solution Steps:
- The differential equation is:
- Compute the second derivative for the Taylor polynomial:
- Using the initial condition :
- Approximate the solution using the degree 2 Taylor polynomial:
Picard's Iteration Method:
This iterative method approximates the solution of starting at the initial point . Each iteration uses the previous function inside the integral to get closer to the exact solution.
Checking Accuracy:
We can check how good this approximation is by using **Euler's method** with a small step size and comparing the results to the exact solution and the Taylor polynomial. Below is a graph showing:
- Blue: Exact solution
- Green: Euler's method approximation
- Orange: Taylor polynomial approximation
- Let for example a harder diff eq such as
and since we know and then we do a simple substitution and logically
- Now we do a substitution and we arrive at two equations:
- Control which iteration of pickard is displayed