Skip to content

Yet another abs_integrate trig integral problem #17183

Open
@kcrisman

Description

@kcrisman

See this ask.sagemath question. Original report is

sage: F = sqrt((cos(x) - 1)^2 + sin(x)^2)
sage: F.integrate(x, 0, 2*pi)
0

but the answer should be 8.

EDIT: related

sage: F.integrate(x, 0, pi)
4
sage: F.integrate(x, pi, 2*pi)
-4

and the primitive is wrong:

sage: F.integrate(x)
-4/sqrt(sin(x)^2/(cos(x) + 1)^2 + 1)

Upstream: Fixed upstream, but not in a stable release.

Component: calculus

Keywords: abs_integrate

Stopgaps: #12731

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions