26 May '08 12:50>1 edit
Originally posted by wolfgang59My algebra book says it's an identity. Ok, in Latvian it sounds and spells very similar but, ok, English is not my language, so I'll assume it's an equality, not an identity.
What you have here is an equality which needs proving NOT an identity which as previously discussed will involve a variable.
eg x^2 - y^2 = (x-y)(x+y) is an identity
That of course doesnt make it any easier! 😞
Your proof, Mtthw, looks sound to me but the proof I intended is a bit different.
It can be proved with the use of these formulas (which we all have to know in school) by simply rearranging the expression a little:
cosx + cosy = 2 * cos((x+y)/2) * cos((x-y)/2)
sin2x = 2 * sinx * cosx
sinx + siny = 2 * sin((x+y)/2) * cos((x-y)/2)
EDIT: sinx * cosx = 1/2 * (sin(x + y) + sin(x - y))
I think that's all you need to know, to prove this equality.