Alternative deduction of sum of sine and cosine

  • Thread starter Thread starter nickek
  • Start date Start date
  • Tags Tags
    Cosine Sine Sum
nickek
Messages
21
Reaction score
1
Hi!
Many students know that A\sin(x) + B\cos(x) =\sqrt{A^2+B^2} \sin{(x+\arctan \frac{B}{A})}. I have seen just one deduction of that relation, showed by set up a system of two equations, solving for amplitude and phase shift.

Is it possible to deduce the relation in a vectorial way, or in any way including complex numbers? The cosine part on the x-axis and the sine-part on the y-axis, the resultant vector should be the sum of the given trigonometric functions. But the magnitude of that resultant vector becomes \sqrt{(A\sin{x})^2+(B\cos{x})^2}, which is not equal to the actual magnitude of the sum.

What am I missing in this kind of deduction? Or maybe it's not possible?
 
Mathematics news on Phys.org
I can prove it backward using complex numbers. The Euler formula says \sin x=\frac{e^{ix}-e^{-ix}}{2i} and \cos x=\frac{e^{ix}+e^{-ix}}{2}. Moreover you have \arctan x=\frac{1}{2}i\left[\log(1-ix)-\log(1+ix)\right]. Then in your case:
\begin{align*}
\sin(x+\arctan(B/A))=&\frac{e^{ix}e^{-\frac{1}{2}\log(1-B/A)}e^{\frac{1}{2}\log(1+iB/A)}-e^{-ix}e^{\frac{1}{2}\log(1-B/A)}e^{-\frac{1}{2}\log(1+iB/A)}}{2i} \\
=&\frac{e^{ix}\sqrt{\frac{1+iB/A}{1-iB/A}}-e^{-ix}\sqrt{\frac{1-iB/A}{1+iB/A}}}{2i}=\frac{e^{ix}\left(\frac{1+iB/A}{\sqrt{1+B^2/A^2}}\right)-e^{-ix}\left(\frac{1-iB/A}{\sqrt{1+B^2/A^2}}\right)}{2i} \\
=&\frac{e^{ix}(1+iB/A)-e^{-ix}(1-iB/A)}{2i}\frac{A}{\sqrt{A^2+B^2}}=\frac{A(e^{ix}-e^{-ix})+iB(e^{ix}+e^{-ix})}{2i}\frac{1}{\sqrt{A^2+B^2}} \\
=&\left(A\sin x+B\cos x\right)\frac{1}{\sqrt{A^2+B^2}}.
\end{align*}

I hope this is clear.
 
  • Like
Likes 1 person
You can show it geometrically on an Argand diagram. ##\sin x = \cos(x - \pi/2)##, so start with the equivalent expression, the real part of ##Ae^{i(x-\pi/2)} + Be^{ix}##.

If you draw ##Ae^{i(x-\pi/2)}## and ##Be^{ix}## on an Argand diagram, for an arbitrary choice of ##x##, you have a right angled triangle with sides ##A## and ##B##. The result follows from Pythagoras's theorem and simple trig.
 
  • Like
Likes 1 person
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top