Skip to content

residue: mathematically wrong output #20084

Closed
@behackl

Description

@behackl

The complex function f(s) = 1/(1 - 2^(-s)) has poles of residue 1/log(2) at s = 2*k*pi*I/log(2) for all integers k.

Currently sage recognize these poles just at s=0:

sage: f(s).residue(s==0)
1/log(2)
sage: f(s).residue(s==2*pi*I/log(2))
0

In essence, this happens because the series-method does not recognize the pole. The priority is critical because mathematically wrong output is produced.

CC: @rwst @cheuberg

Component: symbolics

Author: Benjamin Hackl

Branch/Commit: 68fea61

Reviewer: Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/20084

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions