{"action":"created","issue":{"url":"https://api.github.com/repos/sympy/sympy/issues/8813","labels_url":"https://api.github.com/repos/sympy/sympy/issues/8813/labels{/name}","comments_url":"https://api.github.com/repos/sympy/sympy/issues/8813/comments","events_url":"https://api.github.com/repos/sympy/sympy/issues/8813/events","html_url":"https://github.com/sympy/sympy/issues/8813","id":54094888,"number":8813,"title":"asymmetry in roots result for quadratic expression","user":{"login":"smichr","id":90703,"avatar_url":"https://avatars.githubusercontent.com/u/90703?v=3","gravatar_id":"","url":"https://api.github.com/users/smichr","html_url":"https://github.com/smichr","followers_url":"https://api.github.com/users/smichr/followers","following_url":"https://api.github.com/users/smichr/following{/other_user}","gists_url":"https://api.github.com/users/smichr/gists{/gist_id}","starred_url":"https://api.github.com/users/smichr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smichr/subscriptions","organizations_url":"https://api.github.com/users/smichr/orgs","repos_url":"https://api.github.com/users/smichr/repos","events_url":"https://api.github.com/users/smichr/events{/privacy}","received_events_url":"https://api.github.com/users/smichr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-01-12T19:21:15Z","updated_at":"2015-02-04T06:37:40Z","closed_at":"2015-02-04T06:37:40Z","body":"```python\r\n>>> roots(Poly((z - 1)**2 - y**2, y))\r\n{sqrt((z - 1)**2): 1, -sqrt((z - 1)**2): 1}\r\n>>> roots(Poly(z**2 - y**2, y))\r\n{-z: 1, z: 1}  # <--- in this case roots realizes sqrt(z**2) is +/-z but not in the former case\r\n```\r\n\r\nIt would be preferably to have the former result be +/-(z - 1), too."},"comment":{"url":"https://api.github.com/repos/sympy/sympy/issues/comments/72798414","html_url":"https://github.com/sympy/sympy/issues/8813#issuecomment-72798414","issue_url":"https://api.github.com/repos/sympy/sympy/issues/8813","id":72798414,"user":{"login":"smichr","id":90703,"avatar_url":"https://avatars.githubusercontent.com/u/90703?v=3","gravatar_id":"","url":"https://api.github.com/users/smichr","html_url":"https://github.com/smichr","followers_url":"https://api.github.com/users/smichr/followers","following_url":"https://api.github.com/users/smichr/following{/other_user}","gists_url":"https://api.github.com/users/smichr/gists{/gist_id}","starred_url":"https://api.github.com/users/smichr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smichr/subscriptions","organizations_url":"https://api.github.com/users/smichr/orgs","repos_url":"https://api.github.com/users/smichr/repos","events_url":"https://api.github.com/users/smichr/events{/privacy}","received_events_url":"https://api.github.com/users/smichr/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T06:37:40Z","updated_at":"2015-02-04T06:37:40Z","body":"This is fixed for quadratic and binomial expressions."}}