MathGroup Archive 2000

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

Search the Archive

Re: 'strange' simplification problems - why?



lobozc at my-deja.com wrote:

> a)  lmb^k*(mu^(-1))^k  is just a longwinded way of saying (lmb/mu)^k -
> and I get the long form also after FullSimplify. What am I doing wrong
> here? how could I get that to the simpler form? [short of replacing it
> by hand]
>

FullSimplify[] can't do this: it isn't always valid (see what happens when
{lmb->-1,mu->-1,k->1/2}). With integral k it's valid, so:

Simplify[lmb^k*(mu^(-1))^k ,Element[k,Integers]]

does what you want.

--
John Doty  "You can't confuse me, that's my job."
Home: jpd at w-d.org
Work: jpd at space.mit.edu




  • Prev by Date: M4 Problems with Initialization Cells
  • Next by Date: Mod Bessel function bug ?
  • Previous by thread: 'strange' simplification problems - why?
  • Next by thread: Selecting cells