Skip to main content
10 events
when toggle format what by license comment
Aug 17, 2012 at 11:56 comment added celtschk @xzczd: Note that the internal form (as revealed by FullForm) does not contain Sqrt at all. That's only the way it is displayed. So maybe there's a way to get it displayed differently by changing ToBoxes or Format.
Aug 17, 2012 at 11:39 comment added xzczd @celtschk then, what if I want to get Sqrt[2 a] x?
Aug 17, 2012 at 10:44 comment added celtschk @xzczd: That's because Mathematica pulls the factor out during normal evaluation: Sqrt[2 a] evaluates to Sqrt[2] Sqrt[a]. Thus even if Simplify should combine them, you'll never see that because subsequent evaluation will undo it.
Aug 17, 2012 at 8:13 comment added xzczd Just now, I accidentally found that if b is a certain positive number, Simplify , FullSimplify and Refine won't work 囧: b = 2; Simplify[Sqrt[a x] Sqrt[b x], x > 0 && a > 0], the result is: Sqrt[2] Sqrt[a] x
Aug 17, 2012 at 8:00 comment added Vitaliy Kaurov @xzczd My guess is, in your case, a is left alone and b brought under Sqrt[a] as positive number.
Aug 17, 2012 at 7:54 comment added xzczd It seems that when using Simplify and FullSimplify, we can get the result with setting any 2 of the 3 variables as a nonnegative number, for example, {x >= 0, b > 0} is also available, but I don't know the exact reason…
Aug 17, 2012 at 7:52 history edited Vitaliy Kaurov CC BY-SA 3.0
added 128 characters in body; deleted 11 characters in body
Aug 17, 2012 at 7:45 history edited Vitaliy Kaurov CC BY-SA 3.0
added 86 characters in body; added 2 characters in body; added 165 characters in body
Aug 17, 2012 at 7:38 review Low quality posts
Aug 17, 2012 at 7:43
Aug 17, 2012 at 7:37 history answered Vitaliy Kaurov CC BY-SA 3.0