I'm playing with the interval arithmetic and found a Wikipedia article https://en.wikipedia.org/wiki/Interval_arithmetic
Consider the positive interval $[a,b]$ ($a\gt 0$).
Then what is $\sin([a,b])$?
I tried to do it with Taylor series: $$\sin(x)=x-\frac{x^3}{3!}+\frac{x^5}{5!}+\ldots$$ Since $[a,b]$ is positive, then $[a,b]^n=[a^n,b^n]$.
Thus, $$\sin([a,b])=[a,b]-\frac{[a,b]^3}{3!}+\frac{[a,b]^5}{5!}+\ldots=\left[a-\frac{b^3}{3!}+\frac{a^5}{5!}+\ldots,b-\frac{a^3}{3!}+\frac{b^5}{5!}+\ldots\right]$$
This can be rewritten $$\sin([a,b])=\left[\sum_{n=0}^{\infty} \frac{a^{4n+1}}{(4n+1)!}-\frac{b^{4n+3}}{(4n+3)!},\sum_{n=0}^{\infty} \frac{b^{4n+1}}{(4n+1)!}-\frac{a^{4n+3}}{(4n+3)!}\right]=\frac{1}{2}\left[\sin(a)+\sin(b)+\sinh(a)-\sinh(b),\sin(a)+\sin(b)-\sinh(a)+\sinh(b)\right]$$
Is this used somewhere, is it useful or just a junk?
Thank you.
Assuming the absolute convergence of the Taylor series over the whole interval $[a,b]$, your approach is perfectly sound. Though it's not guaranteed to give the tightest possible bound, it will certainly give you valid lower and upper bounds for the values of $f(x)$ when $x\in[a,b]$. Another way to state what you're doing is this. Take $a \le x \le b$. You have $$ f(x)=\sum_kc_k x^k = \sum_{k\in K_+}|c_k| x^k -\sum_{k\not\in K_+} |c_k|x^k, $$ where $K_+$ is the set of indices for which $c_k \ge 0$. Each series can be bracketed by its values at $a$ and $b$: $$ \sum_{k\in K_+}|c_k|a^k \le \sum_{k\in K_+}|c_k|x^k \le \sum_{k\in K_+}|c_k|b^k $$ and $$ \sum_{k\not\in K_+}|c_k|a^k \le \sum_{k\not\in K_+}|c_k|x^k \le \sum_{k\not\in K_+}|c_k|b^k. $$ Combining these gives you $$ \sum_{k\in K_+}|c_k|a^k - \sum_{k\not\in K_+}|c_k|b^k \le f(x) \le \sum_{k\in K_+}|c_k|b^k - \sum_{k\not\in K_+}|c_k|a^k, $$ which is what you calculated.