How Do You Derive the Formula for sin(x-y)?

Click For Summary

Discussion Overview

The discussion revolves around deriving the formula for sin(x-y) and exploring various approaches to confirm its validity. Participants engage with mathematical reasoning, identities, and alternative methods related to trigonometric functions.

Discussion Character

  • Mathematical reasoning
  • Exploratory
  • Technical explanation

Main Points Raised

  • One participant attempts to derive sin(x-y) using Pythagoras' theorem and the cosine identity, leading to a question about the correct formulation of the sine difference identity.
  • Another participant provides a specific case (y=0) to illustrate the implications of the two proposed formulas for sin(x-y).
  • Some participants suggest using the relationship between sine and cosine to derive the formula, referencing Euler's formula as a more systematic approach.
  • There are mentions of using the parity of sine and cosine functions in conjunction with Euler's formula to derive the identities.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct formulation of sin(x-y) and express differing views on the methods used to derive the identity. Multiple competing approaches and interpretations remain present in the discussion.

Contextual Notes

Some mathematical steps and assumptions are not fully resolved, and there is a reliance on familiarity with trigonometric identities and Euler's formula, which may not be universally known among participants.

farfromdaijoubu
Messages
8
Reaction score
2
TL;DR
In trying to derive the compound angle formula for sin(x-y), I ended up with two possible solutions from the quadratic. How do I know which solution to take?
I was trying to show that ##sin(x-y) = sin(x)cos(y)-cos(x)sin(y)## using Pythagoras' theorem and ##cos(x-y)=cos(x)cos(y)+sin(x)sin(y)##.

I have:
$$sin^2(x-y)=1-cos^2(x-y)$$
$$sin^2(x-y)=1-(cos(x)cos(y)+sin(x)sin(y))^2$$
$$sin^2(x-y)=1-(cos^2(x)cos^2(y)+sin^2(x)sin^2(y)+2cos(x)cos(y)sin(x)sin(y))$$
$$sin^2(x-y)=1-(cos^2(x)(1-sin^2(y))+sin^2(x)(1-cos^2(y))+2cos(x)cos(y)sin(x)sin(y))$$
$$sin^2(x-y)=(cos^2(x)sin^2(y)+sin^2(x)cos^2(y)-2cos(x)cos(y)sin(x)sin(y))$$
$$sin^2(x-y)=(cos(x)sin(y)-sin(x)cos(y))^2$$

But now how do you know if it's ##sin(x-y)=cos(x)sin(y)-sin(x)cos(y)## or ##sin(x-y)=sin(x)cos(y)-cos(x)sin(y)##?
 
Physics news on Phys.org
For y=0
The first one says
\sin x=-\sin x
The senond one says
\sin x=\sin x
 
  • Like
Likes   Reactions: SammyS and PeroK
You could note that$$\sin(x-y) = \cos(x-y -\frac{\pi}2)$$Then apply the cosine result to the right-hand side.
 
  • Like
Likes   Reactions: SammyS
FYI, you will be able to solve these problems much more methodically if you are familiar with Euler's formula, ##e^{ix}=\cos(x)+i\sin(x)##, and the associated identities, ##\sin(x) = (e^{ix}-e^{-ix})/2i## and ##\cos(x) = (e^{ix}+e^{-ix})/2##.

PS. I can not see your profile, so I do not know if your mathematical background should have already covered these identities.
 
FactChecker said:
FYI, you will be able to solve these problems much more methodically if you are familiar with Euler's formula, ##e^{ix}=\cos(x)+i\sin(x)##, and the associated identities, ##\sin(x) = (e^{ix}-e^{-ix})/2i## and ##\cos(x) = (e^{ix}+e^{-ix})/2##.

PS. I can not see your profile, so I do not know if your mathematical background should have already covered these identities.
There are more direct way. I am unable to remember those formulae and I'm using the following way to prove/remember pairs of them, each time I need them.
$$\begin{align}
\cos(x-y)+i\sin(x-y)&=e^{i(x-y)}\nonumber \\
&=e^{ix-iy}\nonumber \\
&=e^{ix} \cdot e^{-iy}\nonumber \\
&=e^{ix} \cdot e^{i(-y)}\nonumber \\
&=\left[\cos(x)+i\sin(x)\right]\cdot\left[\cos(-y)+i\sin(-y)\right]\nonumber \\
\end{align}$$
Using parity of sine and cosine functions and multiplication at the end, pairs of the required formulas are obtained.
 
Last edited:
  • Like
Likes   Reactions: FactChecker
Bosko said:
There are more direct way. I am unable to remember those formulae and I'm using the following way to prove/remember pairs of them, each time I need them.
$$\begin{align}
\cos(x-y)+i\sin(x-y)&=e^{i(x-y)}\nonumber \\
&=e^{ix-iy}\nonumber \\
&=e^{ix} \cdot e^{-iy}\nonumber \\
&=e^{ix} \cdot e^{i(-y)}\nonumber \\
&=\left[\cos(x)+i\sin(x)\right]\cdot\left[\cos(-y)+i\sin(-y)\right]\nonumber \\
\end{align}$$
Using the parity of sine and cosine and multiplication at the end, pairs of the required formulas are obtained.
Very good. As I wrote my post, I kept thinking that it there was a better way but I couldn't remember it.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 8 ·
Replies
8
Views
1K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K