How can one simplify the following
Simplify[Conjugate[Sqrt[a^2 - b^2]], {a < b}]
Edit: I want to add that in my case $a$ and $b$ are real and I expect Mathematica to return $-i\sqrt{b^2-a^2}$.
Mathematica Stack Exchange is a question and answer site for users of Wolfram Mathematica. It only takes a minute to sign up.
Sign up to join this communityA slight modification of @J.M.'s ennui's comment:
FullSimplify[
ComplexExpand[Conjugate[Sqrt[a^2-b^2]],TargetFunctions->{Re,Im}],
-b<a<b
]
-I Sqrt[-a^2 + b^2]
Try this:
sl = Solve[a^2 - b^2 == -x^2, b][[2, 1]]
(* b -> Sqrt[a^2 + x^2] *)
Simplify[Sqrt[a^2 - b^2] /. sl, x > 0] /. x -> Sqrt[-a^2 + b^2]
(* I Sqrt[-a^2 + b^2] *)
Have fun!
FullSimplify[ComplexExpand[Conjugate[Sqrt[a^2 - b^2]], TargetFunctions -> {Re, Im}], a < b]
and report back. $\endgroup$b==1
anda==0
then $i\ \sqrt{b^2-a^2}=i$ which is different fromConjugate[Sqrt[a^2 - b^2]]==-I
$\endgroup$