Sum to Product Trigonometric identity does not work

Click For Summary

Discussion Overview

The discussion revolves around the validity of the "Sum to Product" trigonometric identity, specifically the equation involving sine functions. Participants explore whether the identity holds true under certain conditions and address potential discrepancies observed in computational results.

Discussion Character

  • Debate/contested

Main Points Raised

  • One participant claims that the identity does not always work, citing a specific example with values for u and v that resulted in a near-zero but non-zero output.
  • Another participant suggests that the discrepancy is likely due to rounding errors in calculations.
  • A different viewpoint argues that the issue lies with the calculator's inability to compute sine or cosine values with perfect precision.
  • One participant questions the responsibility of computational tools like Wolfram Alpha in presenting results, suggesting they should reflect the precision limits of their calculations to avoid misleading users.
  • Another participant agrees with the concern about precision in computational outputs, noting that calculators generally do not account for this in their results.

Areas of Agreement / Disagreement

Participants express differing views on the reliability of the trigonometric identity and the role of computational tools in presenting results. There is no consensus on the underlying issue, with multiple competing perspectives remaining in the discussion.

Contextual Notes

Participants acknowledge potential limitations in computational precision and the assumptions underlying the use of trigonometric identities, but these remain unresolved.

CraigH
Messages
221
Reaction score
1
"Sum to Product" Trigonometric identity does not work

Hi,

The identity

sin(u) + sin(v) = 2 * sin (\frac{u+v}{2}) * cos(\frac{u-v}{2})
http://en.wikipedia.org/wiki/List_of_trigonometric_identities#Product-to-sum_and_sum-to-product_identities

Does not always work. I put the equation :

(sin(u) + sin(v)) - (2 * sin (\frac{u+v}{2}) * cos(\frac{u-v}{2}))

With u equal to -4.1 and v equal to 99 into wolfram alpha and it gave me the answer -1.11022x10^-16
http://www.wolframalpha.com/input/?i=x%3D%28sin%28-4.1%29%2Bsin%2899%29%29-%28%282*sin%28%28-4.1%2B99%29%2F2%29*cos%28%28-4.1-99%29%2F2%29%29%29

If the identity is true, shouldn't the answer always be 0?

What's going on here?

Thanks
 
Last edited:
Mathematics news on Phys.org
It seems like a rounding error to me. You can verify that the identity is in fact always true by using the half angle and angle addition formulae.
 
The problem is not that the formula doesn't work, but with the fact that your calculator is incapable of precisely calculating the sine or cosine of an angle.
 
Ah okay, thank you for answering.
One thing though... If wolfram alpha knows that it can only calculate the sine or cosine of an angle to a certain precision, shouldn't it give the final answer to that precision, or less, so that it avoids giving misleading answers like the one it gave me.
 
CraigH said:
Ah okay, thank you for answering.
One thing though... If wolfram alpha knows that it can only calculate the sine or cosine of an angle to a certain precision, shouldn't it give the final answer to that precision, or less, so that it avoids giving misleading answers like the one it gave me.

It would be better if they did that. But I've never seen a calculator doing it. They rather count on the users to know about the fallibility of the program.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 17 ·
Replies
17
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
4
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K