MathGroup Archive 2005

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

Search the Archive

Re: Simplify Oddity

  • To: mathgroup at smc.vnet.net
  • Subject: [mg59423] Re: [mg59399] Simplify Oddity
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Tue, 9 Aug 2005 03:30:51 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

f1=g (g/r)^(k-1);

f2=g^k/r^(k-1);

expr=f1/f2;

Your expression is not always 1.  For example,

{f1,f2,expr}/.{g->1,r->-1,k->2.4}

{-0.3090169943749476 - 0.9510565162951535*I, 
  -0.3090169943749476 + 0.9510565162951535*I, 
  -0.8090169943749472 + 0.5877852522924735*I}

Simplify[expr,Element[k, Integers]]

1


Bob Hanlon

> 
> From: AES <siegman at stanford.edu>
To: mathgroup at smc.vnet.net
> Date: 2005/08/08 Mon AM 03:34:51 EDT
> Subject: [mg59423] [mg59399]  Simplify Oddity
> 
> I'm supposing that the following rather odd result has something to do 
> with Mathematica being concerned that g or r (or k?) might be complex 
> numbers?
> 
>    In[151] := 
> 
>          f1 = g (g/r)^(k-1);  
> 
>          f2 = g^k/r^(k-1); 
> 
>          f1/f2 // FullSimplify
> 
>    Out[151] =  g^(-k)  (g/r)^k   r^k  
> 
> But shouldn't Mathematic be able to simplify this to unity nonetheless? 
> -- maybe without even invoking Simplify?
> 
> 


  • Prev by Date: Re: How to plot ....................
  • Next by Date: Re: <<RealTime3D`
  • Previous by thread: Re: Simplify Oddity
  • Next by thread: split list equation