MathGroup Archive 2006

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

Search the Archive

Re: Simplifying algebraic expressions


> (-1)^{2 x  + 3 y} and be able to simplify to (-1)^y.

Hi.  Here's one idea:

equ = (-1)^(2*x + 3*y); 

To get a feel for the equation:

Reduce[2*x + 3*y == y, {x, y}]

y == -x

Therefore:
Assuming[y == -x, Simplify[equ]]

(-1)^y

Looks like x & y can be complex as well.  Here, 'x is complex...

x = 3 + 4*I; 
And 'y is therefore...
y = -x
-3 - 4*I

Your equation is:
equ
(-1)^(-3 - 4*I)

Which is the same as:
(-1)^y
(-1)^(-3 - 4*I)

-- 
HTH.  :>)

Dana DeLouis
Mathematica 5.2



"Amitabha Roy" <aroy at cs.bc.edu> wrote in message
news:e5mhis$kg3$1 at smc.vnet.net...
> Hello:
> 
> I would like Mathematica to be able to take an expression, say,
> 
> (-1)^{2 x  + 3 y} and be able to simplify to (-1)^y.
> 
> Is there a way one can do this ?
> 
> Thanks
>


  • Prev by Date: Re: Colored Tick Labels?
  • Next by Date: Re: Adding a notebook (or folder) to the Mathematica Front End menus?
  • Previous by thread: Re: Re: Simplifying algebraic expressions
  • Next by thread: Re: Simplifying algebraic expressions