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


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

Re: "Nice" complex form

Started byBob Hanlon <hanlonr357@gmail.com>
First post2013-09-10 07:30 +0000
Last post2013-09-10 07:30 +0000
Articles 1 — 1 participant

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

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: "Nice" complex form Bob Hanlon <hanlonr357@gmail.com> - 2013-09-10 07:30 +0000

#15401 — Re: "Nice" complex form

FromBob Hanlon <hanlonr357@gmail.com>
Date2013-09-10 07:30 +0000
SubjectRe: "Nice" complex form
Message-ID<l0mhpp$len$1@smc.vnet.net>
The form that you are seeking is not "simpler" so you would need to force
it.


(expr1 = Sqrt[a - 4]) // LeafCount


7


expr2 = expr1 /. Sqrt[x_] -> I Sqrt[-x]


I*Sqrt[4 - a]


expr2 // LeafCount


13


Simplify[expr1 == expr2, a - 4 < 0]


True



Bob Hanlon




On Mon, Sep 9, 2013 at 12:06 AM, <sam.takoy@yahoo.com> wrote:

> Hi,
>
> Can I get
>
> Assuming[a - 4 < 0, Sqrt[a - 4]]
>
> to "simplify" to
>
> I Sqrt[4 - a]
>
> ?
>
> Thanks,
>
> Sam
>
>
>

[toc] | [standalone]


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


csiph-web