1

In Mathematica, Simplify[1/Sqrt[a] == Sqrt[1/a]] gives Sqrt[1/a] == 1/Sqrt[a]. I don't really see why this doesn't give a true output when, FullSimplify gives the desired result.

This probably is a very dumb question, but I just don't see it.

Tzar
  • 5,132
  • 4
  • 23
  • 57
Wille Bell
  • 25
  • 3

2 Answers2

2

Because if a<0 then sqrt can have complex output values.

For example

sqrt(1/-1)=i

while

1/sqrt(-1)=-i

See wiki.

T.Lucas
  • 848
  • 4
  • 8
0

You can specify assumptions to Simplify.

Simplify[1/Sqrt[a] == Sqrt[1/a], a >= 0]
(* True *)
Rohit Namjoshi
  • 669
  • 5
  • 17