MathGroup Archive 1999

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

Search the Archive

Can someone explain why Mathematica is doing this?

  • To: mathgroup at
  • Subject: [mg19113] Can someone explain why Mathematica is doing this?
  • From: belotto at (Benjamin Lotto)
  • Date: Thu, 5 Aug 1999 01:35:30 -0400
  • Organization: Vassar College
  • Sender: owner-wri-mathgroup at

I'm running Mathematica v3.0.1.1x (or something like that) on a Macintosh.  I want
to replace Tan[something] with Sin[something]/Cos[something].  The obvious
substitution (see below) didn't work.  Other substitutions work fine, but
this one just sits there.  Perhaps (it has just occured to me) Mathematica is
making the substitution, but then "simplifying" Sin/Cos->Tan.  However, I
want to make other substitutions (to check some algebra that I'm doing by
hand).  How can I make Mathematica do this?

Thanks in advnace,



In[7]:=Tan[x]/.Tan[z_]->z Sin[z]

Out[7]=x Sin[x]


Out[8]=Cos[x] Sin[x]



  Benjamin Lotto                 *  
  Department of Mathematics      *  e-mail:  belotto at
  Vassar College, Box 349        *  phone:  914-437-7180
  124 Raymond Avenue             *  fax:  914-437-7065
  Poughkeepsie, NY 12604-0349    *  
      WWW:  <>

  • Prev by Date: Re: equaltity of lists
  • Next by Date: DSolve Bessels
  • Previous by thread: Re: Mathematica References for Efficient Programming?
  • Next by thread: Re: Can someone explain why Mathematica is doing this?