Graduate Taylor/Maclaurin series for piecewise defined function

Click For Summary
The discussion centers on the challenge of creating a unique Maclaurin series expansion for a piecewise defined function, F(s), which is continuous at s_c. The user struggles with the fact that the derivatives of F(s) at s=0 only reflect the behavior of the function in the interval [0, s_c], neglecting the influence of the second piece, B exp(-bs), for s > s_c. It is noted that if the parameters a and b differ, F(s) lacks a first derivative at s_c, complicating the expansion. The consensus is that while a power series can be formed around s=0, it will only converge in the vicinity of that point and not across the entire domain of F(s). Ultimately, the existence of a power series that converges to F(s) for all s > 0 is deemed impossible due to the nature of the piecewise function.
cg78ithaca
Messages
14
Reaction score
1
Consider the function:
$$F(s) =\begin{cases} A \exp(-as) &\text{ if }0\le s\le s_c \text{ and}\\
B \exp(-bs) &\text{ if } s>s_c
\end{cases}$$
The parameter s_c is chosen such that the function is continuous on [0,Inf).
I'm trying to come up with a (unique, not piecewise) Maclaurin series expansion for it:
$$
F(s)=F\left(0\right)+\sum_{n=1,2..}\frac{F^n(0)}{n!}s^n=A+\sum_{n=1,2..}\frac{F^n(0)}{n!}s^n
$$
And since for 0 < s < s_c:
$$
F^n(s)=A\frac{d^n}{ds^n}\exp{\left(-as\right)}=-aA\frac{d^{n-1}}{ds^{n-1}}\exp{\left(-as\right)}=…={\left(-a\right)}^nA\exp{\left(-as\right)}
$$
so
$$
F^n\left(0\right)={\left(-a\right)}^nA
$$
it follows:
$$
F\left(s\right)=A\left(1+\sum_{n=1,2..}\frac{{\left(-a\right)}^n}{n!}s^n\right)
$$
which is clearly the expansion of A exp(-as), not of F(s) -- I never used the
second part of the definition involving B exp(-bs).

Can anyone explain what the problem is here? I suspect it has to do with evaluating high-order derivatives in a neighborhood of s = +0, which should be influenced by the shape of F(s) for s>s_c as the derivation order increases, but not sure how to handle that mathematically.
 
Physics news on Phys.org
The expansion around s=0 depends on the function around s=0 only. You cannot expect it to describe your function everywhere - even without piecewise definitions it does not have to converge to the function everywhere.

If ##a \neq b##, your function does not even have a first derivative at sc.
 
Thanks Mfb. Indeed I am aware of the existence of non-analytic functions, and regarding your point that F(s) is not differentiable at s_c, it is well-taken, but I am doing the expansion around s = 0 where it is infinitely differentiable. Regarding your other point which touches on the topic of radius of convergence, I guess I'm generally interested to know if F(s) for a<>b can be expressed as a power series as described above (existence) and if so, how I would go about determining the expansion coefficients in this case.
 
The power series won't converge to your function in both regions, no matter where you make the expansion. It will converge to it in the region where you make it, but not in the other.
 
Thanks Mfb. How do you prove that statement, namely that a power series that converges to F(s) for the whole s > 0 does not in fact exist?
 
The power series that converges to one exponential function over any finite interval is unique. It has to converge to that exponential function outside as well. It cannot converge to other things.
 
Thanks Mfb. That makes sense.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K