# Simplifying sums of rational trigonometric functions

After simplifying the trigonometric functions as advised before (cf. Simplifying Expressions for FindMinimum), I obtained a sum of 62 similar expressions, the first three as in the below:

(E^(-I (θ + θ + θ + θ[
4] + θ) + I θ)
Abs[Sin[ϕ]]^2 (1 -
E^(I (θ - θ))
Cot[ϕ/2] Tan[ϕ/2]) (Cos[θ] +
I Sin[θ] +
E^(I θ)
Tan[ϕ/2] Tan[ϕ/2]) (Cos[θ] +
I Sin[θ] +
E^(I θ)
Tan[ϕ/2] Tan[ϕ/2]) (Cos[θ] +
I Sin[θ] +
E^(I θ)
Tan[ϕ/2] Tan[ϕ/
2]) (Cos[θ - θ] +
I Sin[θ - θ] -
Cot[ϕ/2] Tan[ϕ/2]) (Cos[θ] +
I Sin[θ] +
E^(I θ)
Tan[ϕ/2] Tan[ϕ/2]))/(2 Sqrt[(1 +
Cos[ϕ]) (1 + Tan[ϕ/2]^2)]
Sqrt[(1 + Tan[ϕ/2]^2) (1 + Tan[ϕ/2]^2)]
Sqrt[(1 + Tan[ϕ/2]^2) (1 + Tan[ϕ/2]^2)]
Sqrt[(1 + Tan[ϕ/2]^2) (1 + Tan[ϕ/2]^2)]
Sqrt[(1 + Cos[ϕ]) (1 + Tan[ϕ/2]^2)]
Sqrt[(1 + Tan[ϕ/2]^2) (1 + Tan[ϕ/2]^2)])

(E^(-I θ)
Abs[Sin[ϕ]] Abs[Sin[ϕ] Sin[ϕ]] Abs[
Sin[ϕ] Sin[ϕ]] Abs[
Sin[ϕ] Sin[ϕ]] Abs[Sin[ϕ]] Abs[
Sin[ϕ] Sin[ϕ]] (Cos[θ - θ] +
Cot[ϕ/2] Cot[ϕ/2] +
I Sin[θ - θ]) (Cos[θ - θ[
3]] + Cot[ϕ/2] Cot[ϕ/2] +
I Sin[θ - θ]) (Cos[θ - θ[
4]] + Cot[ϕ/2] Cot[ϕ/2] +
I Sin[θ - θ]) (Cos[θ - θ[
5]] + Cot[ϕ/2] Cot[ϕ/2] +
I Sin[θ - θ]) (1 -
E^(I (θ - θ))
Cot[ϕ/2] Tan[ϕ/2]) (Cos[θ] +
I Sin[θ] -
E^(I θ)
Cot[ϕ/2] Tan[ϕ/2]))/(32 Sqrt[(1 +
Cos[ϕ]) (1 + Cos[ϕ])]
Sqrt[(1 + Cos[ϕ]) (1 + Cos[ϕ])]
Sqrt[(1 + Cos[ϕ]) (1 + Cos[ϕ])]
Sqrt[(1 + Cos[ϕ]) (1 + Cos[ϕ])]
Sqrt[(1 + Cos[ϕ]) (1 + Tan[ϕ/2]^2)]
Sqrt[(1 + Cos[ϕ]) (1 + Tan[ϕ/2]^2)])

(E^(-I (θ + θ + θ + θ[
4] + θ))
Abs[Sin[ϕ]]^2 (Cos[θ] + I Sin[θ] -
E^(I θ)
Cot[ϕ/2] Tan[ϕ/2]) (Cos[θ] +
I Sin[θ] +
E^(I θ)
Tan[ϕ/2] Tan[ϕ/2]) (Cos[θ] +
I Sin[θ] +
E^(I θ)
Tan[ϕ/2] Tan[ϕ/2]) (Cos[θ] +
I Sin[θ] +
E^(I θ) Tan[ϕ/2] Tan[ϕ/2]) (1 -
E^(I (θ - θ))
Cot[ϕ/2] Tan[ϕ/2]) (Cos[θ] +
I Sin[θ] +
E^(I θ)
Tan[ϕ/2] Tan[ϕ/2]))/(2 Sqrt[(1 +
Cos[ϕ]) (1 + Tan[ϕ/2]^2)]
Sqrt[(1 + Tan[ϕ/2]^2) (1 + Tan[ϕ/2]^2)]
Sqrt[(1 + Tan[ϕ/2]^2) (1 + Tan[ϕ/2]^2)]
Sqrt[(1 + Tan[ϕ/2]^2) (1 + Tan[ϕ/2]^2)]
Sqrt[(1 + Cos[ϕ]) (1 + Tan[ϕ/2]^2)]
Sqrt[(1 + Tan[ϕ/2]^2) (1 + Tan[ϕ/2]^2)])


At this point, my final goal is to somehow simplify the summation of these expressions. My goal at first was to use the Weierstrass substitution, but it did not amount to something that was easily simplified. In an attempt to simplify the above, I used the function Together to combine denominators, and attempted to apply simplify on the numerator of the function. In particular, analyzing my expressions, I saw that there were patterns, as in the above, where the denominator of the first expression seemed to match with the third expression, so I attempted to combine those two pairwise.

Are there any other things I could try to simplify the summation of these expressions for FindMinimum?

Thanks!

• Out of curiosity, have you already tried to run FindMinimum on these expressions? What is the problem in using the expressions as they are? – MarcoB Aug 13 '15 at 15:30
• That would be a good thing to try first. I thought that I would have to simplify these further because for this sum of 62 functions, I have to add 48 such sets together and there's 96 total variables – user238194 Aug 13 '15 at 16:24
• Well, if you haven't tried it yet, I would strongly urge you to try first. You might be trying to solve a non-existent problem. – MarcoB Aug 13 '15 at 18:27