Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #15402 > unrolled thread

Re: "Nice" complex form

Started byAlexei Boulbitch <Alexei.Boulbitch@iee.lu>
First post2013-09-10 07:44 +0000
Last post2013-09-10 07:44 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Re: "Nice" complex form Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2013-09-10 07:44 +0000

#15402 — Re: "Nice" complex form

FromAlexei Boulbitch <Alexei.Boulbitch@iee.lu>
Date2013-09-10 07:44 +0000
SubjectRe: "Nice" complex form
Message-ID<l0mile$lt1$1@smc.vnet.net>
Hi,

Can I get

Assuming[a - 4 < 0, Sqrt[a - 4]]

to "simplify" to

I Sqrt[4 - a]

?

Thanks,

Sam


Hi, Sam,

You can.


Assuming[x > 0,
  Simplify[Sqrt[a - 4] /. a -> 4 - x,
   ComplexityFunction -> (Count[{#1}, Times[-1, _], Infinity] &)]] /.
 x -> 4 - a

I Sqrt[4 - a]

Have fun, Alexei


Alexei BOULBITCH, Dr., habil.
IEE S.A.
ZAE Weiergewan,
11, rue Edmond Reuter,
L-5326 Contern, LUXEMBOURG

Office phone :  +352-2454-2566
Office fax:       +352-2454-3566
mobile phone:  +49 151 52 40 66 44

e-mail: alexei.boulbitch@iee.lu


[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web