{"action":"opened","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/9350","labels_url":"https://api.github.com/repos/sympy/sympy/issues/9350/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/9350/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/9350/events","html_url":"https://github.com/sympy/sympy/issues/9350","id":71173070,"number":9350,"title":"Integration Error (assumptions problem?)","user":{"login":"alanhdu","id":1914111,"avatar_url":"https://avatars.githubusercontent.com/u/1914111?v=3","gravatar_id":"","url":"https://api.github.com/users/alanhdu","html_url":"https://github.com/alanhdu","followers_url":"https://api.github.com/users/alanhdu/followers","following_url":"https://api.github.com/users/alanhdu/following{/other_user}","gists_url":"https://api.github.com/users/alanhdu/gists{/gist_id}","starred_url":"https://api.github.com/users/alanhdu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alanhdu/subscriptions","organizations_url":"https://api.github.com/users/alanhdu/orgs","repos_url":"https://api.github.com/users/alanhdu/repos","events_url":"https://api.github.com/users/alanhdu/events{/privacy}","received_events_url":"https://api.github.com/users/alanhdu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-27T04:22:39Z","updated_at":"2015-04-27T04:22:39Z","closed_at":null,"body":"Using Python 3.4 w/ Anaconda:\r\n```Python\r\nIn [1]: from sympy import *\r\nIn [2]: init_printing()\r\nIn [3]: import sympy\r\nIn [4]: sympy.__version__ \r\nOut[4]: '0.7.6'\r\n\r\nIn [5]: x, y = symbols('x y', real=True, positive=True)\r\nIn [6]: n = symbols('n', positive=True, integer=True)\r\nIn [7]: f = (x / y) ** n\r\n\r\nIn [8]: f.diff(x).integrate((x, 0, y))\r\nOut[8]: \r\n  ⎛⎧                            Γ(n)                                   1            ⎞\r\n  ⎜⎪                          ────────                             for ─ < 1 ∨ y < 1⎟\r\n  ⎜⎪                          Γ(n + 1)                                 y            ⎟\r\nn⋅⎜⎨                                                                                ⎟\r\n  ⎜⎪ -n ╭─╮1, 1 ⎛1  n + 1 │  ⎞    -n ╭─╮0, 2 ⎛n + 1, 1       │  ⎞                   ⎟\r\n  ⎜⎪y  ⋅│╶┐     ⎜         │ y⎟ + y  ⋅│╶┐     ⎜               │ y⎟      otherwise    ⎟\r\n  ⎝⎩    ╰─╯2, 2 ⎝n    0   │  ⎠       ╰─╯2, 2 ⎝          n, 0 │  ⎠                   ⎠\r\n\r\nIn [9]: f.diff(x).integrate((x, 0, y)).simplify()\r\nOut[9]: \r\n⎧                                                                   1            \r\n⎪                              1                                for ─ < 1 ∨ y < 1\r\n⎪                                                                   y            \r\n⎨                                                                                \r\n⎪   -n ⎛╭─╮1, 1 ⎛1  n + 1 │  ⎞   ╭─╮0, 2 ⎛n + 1, 1       │  ⎞⎞                   \r\n⎪n⋅y  ⋅⎜│╶┐     ⎜         │ y⎟ + │╶┐     ⎜               │ y⎟⎟      otherwise    \r\n⎩      ⎝╰─╯2, 2 ⎝n    0   │  ⎠   ╰─╯2, 2 ⎝          n, 0 │  ⎠⎠                   \r\n\r\nIn [10]: f.diff(x).simplify().integrate((x, 0, y))\r\nOut[10]: 1\r\n```"}}