Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: Simplifying algebraic expressions

  • To: mathgroup at
  • Subject: [mg66898] Re: [mg66839] Simplifying algebraic expressions
  • From: "Carl K. Woll" <carlw at>
  • Date: Sat, 3 Jun 2006 03:25:20 -0400 (EDT)
  • References: <>
  • Sender: owner-wri-mathgroup at

Amitabha Roy wrote:
> 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

I presume you want this simplification to occur assuming x and y are 
integers, as the simplification is not valid when either x or y are not 
integers. For example, with x==0 and y==.1, we have (-1)^(3*.1) != 
(-1)^.1. Try:

Simplify[ (-1)^(2 x  + 3 y), Element[{x,y},Integers] ]


(you could also use Refine with the same syntax instead of Simplify)

Carl Woll
Wolfram Research

  • Prev by Date: Re: mathematica newbie question
  • Next by Date: Re: mathematica newbie question
  • Previous by thread: Re: Re: Re: Simplifying algebraic expressions
  • Next by thread: Re: Simplifying algebraic expressions