I want to simplify with Mathematica 11 the following algebraic expression under the assumptions $x<0$ and $y>0$:
A= (-x + Sqrt[x^2 + y])/Sqrt[2 x^2 + y - 2 x Sqrt[x^2 + y]]
A short calculation yields A = 1
. But Mathematica seems not able to obtain that result when the following expression is evaluated:
FullSimplify[A,Assumptions->x<0&&y>0]
Is it possible to help Mathematica to solve this?
Thanks for your answer.
A = 1
? $\endgroup$Simplify[A == 1, ...]
andSimplify[A^2, ...]
both work. You could use the latter to figure out that the result must be either 1 or -1, and the former to show that it is always 1. $\endgroup$Reduce[A == z, {x, y}, Reals]
. $\endgroup$