Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

integrals with real variables #25005

Closed
matswb mannequin opened this issue Mar 18, 2018 · 2 comments
Closed

integrals with real variables #25005

matswb mannequin opened this issue Mar 18, 2018 · 2 comments

Comments

@matswb
Copy link
Mannequin

matswb mannequin commented Mar 18, 2018

It seems to me that

assume(x, 'real')
integral(1/x, x)

should return

log(abs(x))

but it returns

log(x)

But maybe I am missing something.

CC: @slel

Component: calculus

Keywords: integral real variable

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

@matswb matswb mannequin added this to the sage-8.2 milestone Mar 18, 2018
@matswb matswb mannequin added p: major / 3 labels Mar 18, 2018
@fchapoton
Copy link
Contributor

comment:1

on the negative real axis, log(abs(x)) and log(x) differ by a multiple of I pi, so they are equally valid primitives.

@fchapoton fchapoton removed this from the sage-8.2 milestone Jan 5, 2022
@slel
Copy link
Member

slel commented Jan 5, 2022

comment:2

Do we need a new real_valued_integral function?

@mkoeppe mkoeppe closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants