MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: can't MATHEMATICA simplify simple expressions?


I believe with square roots, there are usually two answers.  For example,
here we see that the answer could be + - 2.

 

In[1]:=(a^2)^(3/2) /. a -> 2

Out[1]=8

 

 

In[2]:=(a^2)^(3/2) /. a -> -2

Out[2]=8

 

Two ideas.

 

In[3]:=

Assuming[a > 0, FullSimplify[(a^2)^(3/2)]]

 

Out[3]=a^3

 

In[4]:=

FullSimplify[(a^2)^(3/2), Assumptions -> a > 0]

 

Out[4]=a^3

 

HTH

-- 

Dana DeLouis

Win XP & Office 2003

 

 

"Cole Turner" <REMOVEcole.tuner at liwest.at> wrote in message
news:cl4tg0$8g7$1 at smc.vnet.net...

> if I enter:

> 

> FullSimplify [ (a^2)^(3/2) ]

> 

> (in correct MATHEMATICA syntax, the program does not yield the correct

> result, a^3 ... 

> 

> why is that?

> 

> thanks!

> -- 

> Johnny: [plugging back in the runway lights] 

>          "Just kidding."

>                   ('Airplane!', 1980)

> 



  • Prev by Date: Re: can't MATHEMATICA simplify simple expressions?
  • Next by Date: Re: conditionnal rule
  • Previous by thread: Re: can't MATHEMATICA simplify simple expressions?
  • Next by thread: conditionnal rule