Harmonic addition theorem

470 Views Asked by At

In order to satisfy the following equality: $$a\cos{\theta}+b\sin{\theta}=r\cos{\left({x-x_0}\right)}$$

$x_0 = \tan^{-1}{\frac{b}{a}},$ and $a^2 + b^2 = r^2$. The latter statement implies $r = \pm\sqrt{a^2+b^2}$. (Harmonic addition theorem)

But how should you know whether to use the positive or negative $r$?

EDIT

Through testing, I was able to find that the sign of $r$ depends on the sign of $a$. But can someone help me understand why this is?

1

There are 1 best solutions below

2
On

$a{\cos(x)} + b{\sin(x)} = r{\cos(x_0)\cos(x)} +r{\sin(x_0)\sin(x)}$ Thus, $a=r\cos(x_0) \implies r= \frac{a}{\cos(x_0)}$. Since you've already determined $x_0$, you can deduce what the sign of $\cos(x_0)$ is (for example by looking at which quarter of the unit circle the angle is). Since the sign of $a$ is known as the initial condition, now you know the sign of $r$, which is what you're looking for