Zulip Chat Archive

Stream: Is there code for X?

Topic: Taylor expansions of elementary functions


Vasilii Nesterov (Sep 06 2024 at 12:17):

Hi there!
Do we have theorems about Taylor expansions of elementary functions? More precisely, I would like to use something like "for x<1|x| < 1, the series with coefficients [1,1,1,1,][1, -1, 1, -1, \dots] converges to 1/(1+x)1/(1+x)" and similar results for log\log, exp\exp, and so on.

Yaël Dillies (Sep 06 2024 at 12:21):

Yes we do, see eg docs#NormedSpace.expSeries_hasSum_exp

Vasilii Nesterov (Sep 07 2024 at 06:44):

Thanks! It took a while for me to understand the API. I see the results about log\log and exp\exp, but can't find anything about (1+x)1(1+x)^{-1}. Am I missing something? If not, I can submit a PR for this.

Daniel Weber (Sep 07 2024 at 07:01):

docs#hasSum_geometric_of_lt_one (or more generally docs#hasSum_geometric_of_norm_lt_one )

Luigi Massacci (Sep 07 2024 at 07:03):

@loogle  ∑' (i : ℕ), (-1)^i * (?x ^ i) = (1 + ?x)⁻¹

loogle (Sep 07 2024 at 07:03):

:shrug: nothing found

Luigi Massacci (Sep 07 2024 at 07:03):

@loogle "neumann"

loogle (Sep 07 2024 at 07:03):

:search: VonNeumannAlgebra, VonNeumannAlgebra.commutant, and 18 more

Luigi Massacci (Sep 07 2024 at 07:04):

Ok should have thought of that not working

Luigi Massacci (Sep 07 2024 at 07:05):

@Vasily Nesterov it does indeed appear to be missing

Vasilii Nesterov (Sep 10 2024 at 09:23):

Thanks!

Vasilii Nesterov (Nov 19 2024 at 19:37):

Sorry for necrobumping, but I again can't cope with finding series' API, now for (1+x)a(1+x)^a. I've tried loogle and moogle, but found nothing. Do we have something about it in Mathlib?

Ruben Van de Velde (Nov 19 2024 at 19:40):

What's x and a?

Vasilii Nesterov (Nov 19 2024 at 19:45):

Sorry for ambiguity. I am looking for binomail series:
(1+x)a=k=0  (ak)  xk=1+ax+a(a1)2!x2+a(a1)(a2)3!x3+(1 + x)^a = \sum_{k=0}^{\infty} \; \binom{a}{k} \; x^k = 1 + a x + \frac{a(a-1)}{2!} x^2 + \frac{a(a-1)(a-2)}{3!} x^3 + \cdots
where xx is a real-valued variable, and aa is a real parameter.

Vasilii Nesterov (Nov 19 2024 at 19:54):

What I hope to find is some theorem stating that this series converges to (1+x)a(1 + x)^a in some neighborhood of 00.

Daniel Weber (Nov 20 2024 at 07:14):

I can't find one, it might be missing


Last updated: May 02 2025 at 03:31 UTC