MathGroup Archive 1996

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

Search the Archive

Re: Trig Simplifications

  • To: mathgroup at
  • Subject: [mg3706] Re: Trig Simplifications
  • From: rhall2 at (hall robert)
  • Date: Wed, 10 Apr 1996 02:11:12 -0400
  • Organization: University of Maryland, Baltimore County
  • Sender: owner-wri-mathgroup at

In article <4ka54g$sai at>,
Alexander Casti  <arc at> wrote:
>Suppose I have the expression  
>In[1]: f[x_]= Cos[x] + I Sin[x] - Cos[2 X] + I Sin[2 X]
>I would like mathematica to simplify this into
>f[x_]= Exp[I X] - Exp[2 I X]
>In addition, commands like Simplify[Blah] do not seem to do
>the trick either.  I believe I have the trigonometry package
>loaded in (via the command Needs["Algebra`Trigonometry`"]).
>What must I do ? 

The answer is not in "The Book," and not in "The Other Book,"
but in "The Other Other Book" (Standard Guide to Mathematica
Packages.) Looking in the index under "Complex" gets you directed
to p. 16. Combine the recommended command w/ Simplify to get
     f[x_]= Cos[x] + I Sin[x] - Cos[2 X] + I Sin[2 X];
     TrigToComplex[ f[ x ] ] // Simplify
      I x    -2 I X
     E    - E

Neat, huh?
Bob Hall            | "Know thyself? Absurd direction!
rhall2 at  |  Bubbles bear no introspection."  -Khushhal Khan Khatak


  • Prev by Date: Re: HELP!
  • Next by Date: Combining 2D With Different Scales
  • Previous by thread: Re: Trig Simplifications
  • Next by thread: Re: Trig Simplifications