1

In the solving of mechanical constraints, I often meet complex trigonometric equation that I have to simplify.

Here the equation I would like to simplify :

Mathematica notebook presenting the equation

Can you help me to simplify this equation ?

I would like only cos and sin in the equation (with no more tan, Cotan or Sec functions) and gather the kinematic variables (the functions depending of time) the more possible in the cos and sin functions such as cos(gamma1(t)+psi1(t)).

Here the target that I would like to obtain (made with maple for the moment and I hope to do this with mathematica):

Target of the simplifications that I would like to obtain

Thanks a lot for your help.

P.S: I put a file attached because the equation is quiet long and have subscripts in the notation which make the equation not nice to present

Karsten7
  • 27,448
  • 5
  • 73
  • 134
Bendesarts
  • 1,099
  • 5
  • 12
  • I take it that a simple FullSimplify didn't meet your needs? – Feyre Jun 24 '16 at 08:29
  • FullSimplify lasts a very long time and I didn't obtain any result – Bendesarts Jun 24 '16 at 08:35
  • Are there any assumptions you can give, because otherwise I doubt the expression can be simplified then. – Feyre Jun 24 '16 at 08:40
  • % //. {Times[a__, Cos[t_]^2] + Times[a__, Sin[t_]^2] :> Times[a] I try this to remove the cos² + sin² = 1 and after i would like to suppress sec function. I think the more interesting would be to have a simplify fraction with on cos and sin function but no more sec functionj – Bendesarts Jun 24 '16 at 08:43
  • Consider performing a preliminary Weierstrass substitution first before trying to simplify. You can then undo the substitution afterwards. – J. M.'s missing motivation Jun 24 '16 at 10:02
  • Why not, but may you detail me your suggestion? – Bendesarts Jun 24 '16 at 10:03
  • (7799)/(101959) gives you part of the answer. – Michael E2 Jun 24 '16 at 14:07
  • 1
    Usually when working with trig polys, arising from mechanisms or otherwise, I do the following. (1) Expand (via TrigExpand) so trigs of sums disappear. (2) For each sine or cosine of a distinct variable t, add the trig polynomial relation Sin[t]^2+Cos[t]^2-1. (3) RenameSinandCosso the "variables" are no longer trig functions. I typlically change e.g.Cos[t]toc[t]and similar forSin. At this point one can useGroebnerBasis` and other functions from polynomial algebra to work on the input system. – Daniel Lichtblau Jun 24 '16 at 15:05

0 Answers0