Skip to content

Fix integral(1/max_symbolic(x, 1)^2, x, 0, oo, algorithm='giac') #32354

@fchapoton

Description

@fchapoton

Compare

sage: integral(1/max_symbolic(x,1)**2,x,0,oo,algorithm='maxima')                
integrate(max(1, x)^(-2), x, 0, +Infinity)
sage: integral(1/max_symbolic(x,1)**2,x,0,oo,algorithm='sympy')                 
2
sage: integral(1/max_symbolic(x,1)**2,x,0,oo,algorithm='giac')                  
+Infinity

The correct answer is sympy's answer.

Related problem:

sage: ex=1/max_symbolic(x,1)**2                                                 
sage: integral(ex,x,0,2,algorithm='giac')                                       
undef

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

CC: @slel @sagetrac-parisse @tscrim @kliem

Component: calculus

Keywords: integral

Author: Frédéric Chapoton

Branch/Commit: 39edec7

Reviewer: Travis Scrimshaw

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions