Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: TrigReduce: controlling the scope
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
alan

Posts: 3
Registered: 9/10/10
TrigReduce: controlling the scope
Posted: Dec 11, 2012 2:24 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I have an expression that is a sum of products of trignometric functions. Each term is something like this:
Sin[alpha] Cos[omega tau1] Cos[omega tau2] Cos[beta]. (1)
I want to apply trig identities to the terms that contain omega to transform them into trig functions of sums and differences, but I don't want the same transformation applied to the terms involving alpha and beta. For example, I want to express (1) as
(1/2) Sin[alpha] Cos[beta](Cos[omega(tau1 - tau2)]+Cos[omega(tau1 + tau2)])

If I apply TrigReduce to (1), I get terms like
Cos[omega tau1 - omega tau2 + alpha - beta].
How do I restrict the action of TrigReduce to terms containing omega?
(I can do a hybrid calculation by cutting and pasting the terms I want, but I'd rather not have to cut and paste by hand).

Thanks.




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.