0
$\begingroup$

I am curious about incorporating absolute values into Taylor Series expansions and the function I want to do this for is $$f(x) = \frac{|\sin(x)|}{x}~.$$Does anyone know how to do this? Thanks.

$\endgroup$
3
  • 2
    $\begingroup$ I think there's no series expansions for functions which contains absolute value. $\endgroup$
    – FFjet
    Commented Sep 9, 2019 at 1:30
  • 4
    $\begingroup$ This isn't even continuously definable at $x=0$... $\endgroup$ Commented Sep 9, 2019 at 1:31
  • $\begingroup$ Did you even plot this function ? $\endgroup$
    – user65203
    Commented Sep 9, 2019 at 6:40

4 Answers 4

1
$\begingroup$

If you assume by contradiction that there exists a Taylor series $\sum_{n=0}^\infty a_n x^n$ such that $f(x)=\sum_{n=0}^\infty a_n x^n$ then $f$ is differentiable at $x=0$ and

$$a_1=f'(0)$$

But in your case $$\lim_{x \to 0} \frac{ \frac{|\sin(x)|}{x}-1}{x-0}$$ does not exist.

On another hand $\left| \frac{\sin(x)}{x} \right|$ has a Taylor series on $(-\pi, \pi)$.

$\endgroup$
0
$\begingroup$

Hint: You may also write $|x|$ as $\sqrt{x^2},$ but then you need to be very careful not to forget to be tempted to write $\sqrt{x^2}=x,$ except you're sure $x$ is not negative.

$\endgroup$
0
$\begingroup$

Your function has a jump discontinuity at $x=0$ so whatever you define $f(0)$ it can't be continuous. Therefore it does not have any Taylor series.

$\endgroup$
0
$\begingroup$

The expansion around $x=a$ is

$$\text{sgn}(a)\sum_{k=1}^\infty\Re(i^ke^{ia})\frac{(x-a)^{k-1}}{k!}.$$

(The $\Re$ coefficients are one of $\pm\cos a,\pm\sin a$.) It converges to $f(x)$ for all $x$ in $(-\infty,0)$ or $(0,\infty)$, depending on the sign of $a$.

It doesn't exist for $a=0$.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .