|
Re: Trig Identity
I'm not sure how much help the wikipedia page will be so I'll provide a relatively simple derivation here:
Given,
Asin(x) + Bcos(x)
We can define the sine and cosine of an angle y by considering a right triangle with side lengths A and B. The hypotenuse is then given by,
C = sqrt(A2 + B2)
Consequently, the sine and cosine of y are given by the following formulas,
sin(y) = B/sqrt(A2 + B2)
cos(y) = A/sqrt(A2 + B2)
Substituting these values into the equation produces,
C[sin(x)cos(y) + cos(x)sin(y)] = Asin(x) + Bcos(x)
Therefore,
Csin(x + y) = Asin(x) + Bcos(x)
Now, we only need determing an expression for y. Using our expressions for sin(y) and cos(y), we know that,
tan(y) = B/A
y = arctan(B/A) = tan-1(B/A)
and consequently,
Asin(x) + Bcos(x) = Csin(x + tan-1(B/A))
Hope this helps!
|