Solving Unsolved Trig Identity: sum[0 to x](sin(x))=180 * sin(x/2)^2 + sin(x)/2

In summary, the conversation discusses an interesting identity discovered while searching for a simpler method of summing IK vectors. The identity is expressed as "sum[0 to x](sin(x))=180 * sin(x/2)*sin(x/2) + sin(x)/2" where x is in degrees. The conversation also mentions a proof for this identity using radians instead of degrees.
  • #1
crash_matrix
1
0
Hey guys,
I stumbled on an interesting and unexpected identity when looking for a simpler summation technique for inverse kinementics. Basically, I was trying to find a simpler way of summing IK vectors for some particular armature (like a tentacle or multi-branch armature on a robot). This question doesn't have to do with IK, but I accidentally calculated an identity rule I've not been able to attach to any other identity rule in trigonometry. This is the XPlore code that graphs the identity:
[The trig set is in degrees, not radians]
f(x)=sum(sin(t),t=0 to x step 1)
(Period,C)=(180,f(180))
g(x)=C*sin(x/2)^2+sin(x)/2
graph((f(x),g(x)),x=0 to Period)

When running those lines in XPlore (or any graphing calculator), you'll find that as the "step" value in the first line approaches zero, the two curves become equal. I've tested this rule across hundreds of different data sets and it always diverges perfectly, regarless of the precision of the calculator.
My question is: Is there an existing trig identity or rule (or set of iedntities or rules) that explains why the above functional set works?
Basically the "law" that it asserts is:
sum[0 to x](sin(x))=180 * sin(x/2)*sin(x/2) + sin(x)/2
where x is in degrees

I've looked up every trig and calculus identity and "rule" that I can find and I can't match it to anything.
It's not an important question, just something that's been bugging me for a while.

Thanks for looking,
--CM
 
Mathematics news on Phys.org
  • #2
crash_matrix said:
sum[0 to x](sin(x))=180 * sin(x/2)*sin(x/2) + sin(x)/2
where x is in degrees

Didn't you mean f(180), instead of 180, above? f(180) being the sum[t=0 to 180](sin(t)).

Also, to avoid confusing the two meanings of 'x', you may want to express the left-hand side as sum[t=0 to x](sin(t)) ; 'x' is the limit of the sum, not really the argument to sin().

The x's in the right-hand side are correct, as they mean the same value of 'x' as the limit of the sum in the left-hand side.

So, if I get you right, the conjecture is[tex]\sum_{t=0}^x \sin t = \left( \sum_{t=0}^{180} \sin t \right) \sin^2(x/2) + (\sin x)/2[/tex]with the arguments in degrees, not radians.

The two overlapping curves (left-hand side, right-hand side) looking like this, for x=0 to 180:
http://205.196.120.39/598b993ef2cba10162b685226796555be3a77674f71a36dcbc42144e3185d7bd5g.jpg
 
Last edited:
  • #3
Hi,

sum[0 to x](sin(x))=180 * sin(x/2)*sin(x/2) + sin(x)/2
I'm guessing you meant :
sum[k=0 to x](sin(k))=f(180)*sin(x/2)*sin(x/2) + sin(x)/2

If you're interested in a proof, here you go.

Let [itex]x \in \mathbb R, n \in \mathbb N[/itex].
I'll be using radians instead of degrees, so I'll show that we have :
[tex]\sum_{k=0}^n \sin k = f(\pi) \sin^2\left(\dfrac{x}{2}\right)+\dfrac{\sin x}{2}[/tex]
Where : [itex]f(n) = \displaystyle\sum_{k=0}^n \sin k[/itex] (NB: that expression isn't yet defined on all real numbers and more particularly on [itex]n=\pi[/itex], but it will be as soon as we get another expression of it).


We have :
[tex]f(n) = \sum_{k=0}^n \text{Im}(e^{ik}) = \text{Im}\left(\sum_{k=0}^n e^{ik}\right) = \text{Im}\left(\sum_{k=0}^n (e^{i})^k\right)[/tex]
And since [itex]e^i \neq 1[/itex], applying the formula for the sum of a geometric sequence gives :

[tex]f(n) = \text{Im}\left(\dfrac{(e^i)^{n+1}-1}{e^i-1}\right) = \text{Im}\left(\dfrac{e^{i(n+1)}-1}{e^i-1}\right)[/tex]
By applying half angle formulas :

[tex]f(n) = \text{Im}\left(\dfrac{e^{i(n+1)/2}\cdot 2i\sin\left(\dfrac{n+1}{2}\right)}{e^{i/2}\cdot 2i\sin(1/2)}\right)[/tex]

After simplifying we finally get :

[tex]f(n) = \dfrac{\sin\left(\dfrac{n+1}{2}\right) \sin\left(\dfrac{n}{2}\right)}{\sin\left(\dfrac{1}{2}\right)}[/tex]

That's a quite "simple" expression that only uses products, that naturally extends [itex]f(n)[/itex] to real numbers. I'll now show that the quantity [itex]f(x)[/itex] is exactly equal to [itex]f(\pi) \sin^2\left(\dfrac{x}{2}\right) + \dfrac{\sin x}{2}[/itex] for all [itex]x \in \mathbb R[/itex].

According to the expression of [itex]f(x)[/itex] obtained above, we have :
[tex]f(\pi) = \dfrac{\sin\left(\dfrac{\pi+1}{2}\right) }{\sin\left(\dfrac{1}{2}\right)} = \dfrac{\cos\left(\dfrac{1}{2}\right)}{\sin\left( \dfrac{1}{2}\right)}[/tex]

Thus :
[tex]f(\pi) \sin^2\left(\dfrac{x}{2}\right) + \dfrac{\sin x}{2} = \dfrac{\cos\left(\dfrac{1}{2}\right)\sin^2\left( \dfrac{x}{2}\right) }{\sin\left( \dfrac{1}{2}\right)}+\dfrac{\sin x}{2} = \\ \dfrac{2\cos\left( \dfrac{1}{2}\right)\sin^2\left( \dfrac{x}{2}\right) + \sin\left( \dfrac{1}{2}\right)\left[2\sin\left(\dfrac{x}{2}\right)\cos\left( \dfrac{x}{2}\right)\right]}{2\sin\left( \dfrac{1}{2}\right)} = \\\dfrac{\sin\left(\dfrac{x}{2}\right)\left[\cos\left(\dfrac{1}{2}\right) \sin\left(\dfrac{x}{2}\right) + \sin\left(\dfrac{1}{2}\right)\cos\left(\dfrac{x}{2}\right)\right]}{\sin\left(\dfrac{1}{2}\right)} = \\\dfrac{\sin\left(\dfrac{x}{2}\right) \sin\left(\dfrac{x+1}{2}\right)}{\sin\left(\dfrac{1}{2}\right)} = f(x)[/tex]

You just need to change from radians to degrees and it's done.
 
Last edited by a moderator:
  • #4
sachav said:
We have :
[tex]f(n) = \sum_{k=0}^n \text{Im}(e^{ik}) = \text{Im}\left(\sum_{k=0}^n e^{ik}\right) = \text{Im}\left(\sum_{k=0}^n (e^{i})^k\right)[/tex]
And since [itex]e^i \neq 1[/itex], applying the formula for the sum of a geometric sequence gives :

[tex]f(n) = \text{Im}\left(\dfrac{(e^i)^{n+1}-1}{e^i-1}\right) = \text{Im}\left(\dfrac{e^{i(n+1)}-1}{e^i-1}\right)[/tex]
This is a good one, congrats... I was scratching my head on how to treat these sums.

Edit:
On second thought, the technique is beautiful but there has to be an error here. [itex]\sum_{k=0}^n \text{Im}(e^{ik})[/itex] is not the same as [itex]\sum_{k=0}^n \text{Im}(e^{ik \pi/180})[/itex], which was what the OP had in mind, regardless of whether you later extend the definition for a real n: "mind the step" !

Edit2:
Ah, you already said that. "You just need to change from radians to degrees and it's done." - i.e. Repeat the proof, this time with a pi/180 multiplier. When will I learn to read posts to the end.
 
Last edited:
  • #5
So, if I followed right, you end up with[tex]
f(n) = \frac{\sin\left(\frac{\pi n}{360}\right) \sin\left(\frac{\pi(n+1)}{360}\right)}
{\sin\left(\frac{\pi}{360}\right)}
[/tex]which, after expanding the sum of sines, and using a half-angle formula again, ends up in[tex]
f(n) = \frac{\sin^2\left(\frac{\pi n}{360}\right)}{\tan\left(\frac{\pi}{360}\right)}
+ \frac{\sin\left(\frac{\pi n}{180}\right)}2
[/tex]so that[tex]
f(180) = \frac 1 {\tan\left(\frac{\pi}{360}\right)}
[/tex]from which the conjecture[tex]
f(n) = f(180) \sin^2(\pi n/360) + (\sin \pi n/180)/2
[/tex]follows.
 

What is a trig identity?

A trigonometric identity is an equation that is true for all values of the variables involved. It is used to simplify and solve trigonometric expressions and equations.

How do you solve an unsolved trig identity?

To solve an unsolved trig identity, you can use algebraic manipulation, trigonometric identities, and properties of trigonometric functions to simplify the equation and prove that it is true for all values of the variables.

What is the sum of sin(x) from 0 to x?

The sum of sin(x) from 0 to x is equal to 180 * sin(x/2)^2 + sin(x)/2. This is a trigonometric identity that can be proven using algebra and trigonometric identities.

What is the significance of solving trig identities?

Solving trig identities is important in various fields of mathematics and science, such as calculus, physics, and engineering. It allows for the simplification and manipulation of trigonometric expressions, making them easier to work with and solve.

What are some tips for solving trig identities?

Some tips for solving trig identities include being familiar with trigonometric identities and properties, using algebraic manipulation to simplify the equation, and breaking down the problem into smaller parts. It is also helpful to practice and solve various types of trig identities to improve understanding and problem-solving skills.

Similar threads

Replies
2
Views
952
Replies
1
Views
1K
Replies
9
Views
2K
Replies
4
Views
2K
Replies
3
Views
1K
  • Precalculus Mathematics Homework Help
Replies
21
Views
3K
  • Precalculus Mathematics Homework Help
Replies
6
Views
2K
Replies
4
Views
1K
  • Introductory Physics Homework Help
Replies
28
Views
364
Back
Top