Skip to content

Expression ordering in Integrate[x/(x^3-1), x] (with StandardForm and OuputForm) #1755

Description

@rocky

Description

In InputForm, StandardForm and OutputForm, the -Log[x]/6 term appears after the ArcTan/Sqrt term

How to Reproduce and Output Given

In[1]:= Integrate[x/(x^3-1), x] // InputForm
Out[1]//InputForm= -Log[1 + x + x ^ 2] / 6 + Log[-1 + x] / 3 + Sqrt[3] ArcTan[Sqrt[3] (1 + 2 x) / 3] / 3

Expected behavior

In[1]:= Integrate[x/(x^3-1), x] //InputForm
Out[1]//InputForm= ArcTan[(1 + 2*x)/Sqrt[3]]/Sqrt[3] + Log[1 - x]/3 - Log[1 + x + x^2]/6

Additional context

Noticed in watching an old Mathematica video

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions