Can we solve a non-autonomous diffeq via Taylor series?

In summary, the conversation discusses the possibility of finding a Taylor series solution for a non-autonomous differential equation. It is mentioned that in principle, it is possible to find a Taylor series solution for the non-autonomous case, but it may not always exist, as shown in the example where the function is not analytic.
  • #1
askmathquestions
65
5
I've occasionally seen examples where autonomous ODE are solved via a power series.

I'm wondering: can you also find a Taylor series solution for a non-autonomous case, like ##y'(t) = f(t)y(t)##?
 
Physics news on Phys.org
  • #2
In principle, yes. You end up with[tex]
(n+1)a_{n+1} = \sum_{k=0}^n \frac{f^{(n-k)}(0)}{(n-k)!}a_k[/tex] where the right hand side only involves [itex]a_k[/itex] which are already known.
 
  • Like
Likes topsquark
  • #3
pasmith said:
In principle, yes. You end up with[tex]
(n+1)a_{n+1} = \sum_{k=0}^n \frac{f^{(n-k)}(0)}{(n-k)!}a_k[/tex] where the right hand side only involves [itex]a_k[/itex] which are already known.
What if

$$
f (t) = \left\{
\begin{matrix}
e^{ -\frac{1}{t^2} } & t > 0 \\
0 & t < 0
\end{matrix}
\right.
$$

Wouldn't all the ##a_n##'s be zero aside from ##a_0##? And the Taylor series solution give ##y(t)= y(0)##?

The general solution to the differential equation ##y'(t) = f(t) y (t)## is

$$
y(t) = y(0) e^{\int_0^t f (t') dt'}
$$

For the example above, the solution would be

$$
y (t) = y(0) e^{\int_0^t e^{ -\frac{1}{t^{'2}} } dt'}
$$

which isn't a constant.
 
Last edited:
  • Like
Likes topsquark
  • #4
That function is not analytic. Its not equal to its Taylor series so you cannot substitute the series for the function.
 
  • Like
Likes PeroK
  • #5
lurflurf said:
That function is not analytic. Its not equal to its Taylor series so you cannot substitute the series for the function.
I was illustrating that when ##f(t)## is not analytic there may not exist a Taylor series solution to the differential equation ##y'(t) = f(t) y(t)##. The OP was asking if we can solve the differential equation via a Taylor series. And the answer is not always.
 
Last edited:
  • #6
I was using the fact that the Taylor series of the function

$$
f (t) = \left\{
\begin{matrix}
e^{ -\frac{1}{t^2} } & t > 0 \\
0 & t < 0
\end{matrix}
\right.
$$

at the origin converges everywhere to the zero function in order to prove that a Taylor series solution of the differential equation at the origin converges everywhere to the constant function. Meaning that a Taylor series solution fails to solve the differential equation for this choice of ##f(t)##. Meaning that the differential equation cant always be solved via a Taylor series.
 
Last edited:

1. Can we always solve a non-autonomous differential equation using Taylor series?

No, Taylor series can only be used to solve certain types of non-autonomous differential equations, such as those with polynomial coefficients and initial conditions. Some equations may require other methods of solution.

2. How accurate is the solution obtained using Taylor series?

The accuracy of the solution obtained using Taylor series depends on the order of the series used. Generally, the higher the order, the more accurate the solution will be. However, using a higher order series also requires more terms to be calculated, which can be computationally intensive.

3. Can we use Taylor series to solve non-linear non-autonomous differential equations?

Yes, Taylor series can be used to solve non-linear non-autonomous differential equations. However, the resulting series may be more complex and require more terms to be calculated compared to linear equations.

4. Are there any limitations to using Taylor series to solve non-autonomous differential equations?

One limitation is that Taylor series can only be used to solve equations with continuous and differentiable solutions. Additionally, the series may not converge for certain values of the independent variable, leading to an inaccurate solution.

5. Can we use Taylor series to solve non-autonomous differential equations with variable coefficients?

Yes, Taylor series can be used to solve non-autonomous differential equations with variable coefficients. However, the resulting series may be more complex and require more terms to be calculated compared to equations with constant coefficients.

Similar threads

  • Differential Equations
Replies
5
Views
2K
Replies
3
Views
712
Replies
1
Views
522
  • Calculus and Beyond Homework Help
Replies
2
Views
328
  • Differential Equations
Replies
7
Views
393
Replies
3
Views
794
  • Differential Equations
Replies
4
Views
2K
  • Differential Equations
Replies
8
Views
2K
Replies
3
Views
983
Replies
3
Views
1K
Back
Top