I have a complicated function that is returning a simple expression. The symbols a and b are unassigned. I have not been able to get Mathematica to simplify the expression. (This is only a simple example; I have the same problem with more complicated expressions). Here is what is returned by my function:
-Sqrt[(a^2/(a^2 + b^2)^2)] + a/(a^2 + b^2)
I try to simplify:
Simplify[%, Assumptions -> Element[a || b, Reals]]
but I get the same result. What am I doing wrong? Is this an issue with a and b being unassigned? (Does Simplify ignore unassigned symbols?)
I tried FullSimplify with the same result.