Adding two sinusoidal functions
The goal: add two sinusoidal functions with the same frequency (the same $b$) and see that the result is another sinusoid with that frequency, with a new amplitude and phase.
The idea: sine is an imaginary part
For a complex number in exponential form, $r\,e^{i\theta} = r\cos\theta + i\,r\sin\theta$, so
With $\theta = bx + \varphi$, any sinusoid can be written as the imaginary part of a product:
If $f_1(x) = A_1\sin(bx + \varphi_1)$ and $f_2(x) = A_2\sin(bx + \varphi_2)$, the imaginary part of a sum is the sum of the imaginary parts, and $e^{ibx}$ is a common factor because the frequency is the same:
The result
The bracket is a fixed complex number that does not depend on $x$. Writing it as $R\,e^{i\alpha}$:
In practice, the bracket is added on the calculator and the modulus and argument are read off.
Watch the calculator mode: if the phases are in degrees, degrees; if they are in radians, radians. And to check the modulus by hand, use the cosine rule: $R^{2} = A_1^{2} + A_2^{2} + 2A_1A_2\cos(\varphi_1 - \varphi_2)$.
Simulator · Add two sinusoids
Move the amplitudes and phases (both waves have the same $b$). On the right, the two phasors placed tip to tail: the green arrow is their sum, and its length and angle are the amplitude and phase of the sum.
$f_1$$f_2$$f_1 + f_2$
Example 1 · $\sin x + 2\sin\left(x + \frac{\pi}{2}\right)$
Let $f(x) = \sin x$ and $g(x) = 2\sin\left(x + \frac{\pi}{2}\right)$, and $h(x) = f(x) + g(x)$.
Each one as an imaginary part
The bracket in exponential form
Plotting $\sin x + 2\sin\left(x + \frac{\pi}{2}\right)$ and $2.24\sin(x + 1.11)$ on the calculator, the two graphs coincide. The amplitude of the sum is $\sqrt{5} \approx 2.24$, not $1 + 2 = 3$: the two waves are not in phase, and the amplitudes would only add up if they had the same phase.
Example 2 · Find $r$ and $\alpha$
If $f(x) = 3\sin\left(3x + \frac{\pi}{12}\right)$ and $g(x) = 4\sin\left(3x + \frac{3\pi}{4}\right)$, find $r$ and $\alpha$ such that $f(x) + g(x) = r\sin(3x + \alpha)$.
Solution
Check with the cosine rule: the phases differ by $\frac{3\pi}{4} - \frac{\pi}{12} = \frac{2\pi}{3}$, and $r^{2} = 9 + 16 + 2\cdot 3\cdot 4\cos\frac{2\pi}{3} = 25 - 12 = 13$.
Homework · Two alternating current sources
Question
Two alternating current sources have voltages of $100$ V and $180$ V. The first has a phase shift of $45^\circ$ and the second of $135^\circ$. The two sources are combined.
a) Find the voltage of the combined source. b) Find the phase shift of the combined source.
See the solution
Both sources as imaginary parts
The bracket, with the calculator in degrees
It is in the second quadrant. Modulus and argument:
A quick check: the phases differ by $135^\circ - 45^\circ = 90^\circ$, so the two vectors are perpendicular and the amplitude follows from Pythagoras, $\sqrt{100^{2} + 180^{2}} = \sqrt{42\,400} \approx 205.9$.
Correction to the board
In class we got $V_T = 162.08\sin(bt + 141.45^\circ)$. That is what the calculator gives in radian mode: it reads $45$ and $135$ as radians, not degrees. With phase shifts in degrees, the calculator must be in degrees. The right answer is $206$ V and $105.9^\circ$.