Sub topic 12
Adding sinusoids of the same frequency
This chapter assumes you know the form v(t) = Vm sin(ωt + φ), the meaning of phase difference, and basic complex numbers (rectangular and polar form). It uses phasors, introduced in the previous chapter.
Why the sum is still a sinusoid
When two sinusoids share the same frequency, their sum is also a sinusoid at that frequency. Only its amplitude and phase change. This is why same-frequency sums appear so often in AC analysis. Kirchhoff's laws require you to add voltages around a loop and currents at a node, and every term in a linear circuit driven by one source has the same ω.
Adding the waveforms point by point with trigonometric identities works, but it is slow. Phasors turn the sum into ordinary complex addition.
The method
- Write each signal in the same form, for example sine with a phase angle. Convert any cosine with cos(x) = sin(x + 90°).
- Convert each signal to a phasor with its peak amplitude as the magnitude and its phase as the angle.
- Convert the phasors to rectangular form and add real parts and imaginary parts separately.
- Convert the result back to polar form. The magnitude is the new amplitude, and the angle is the new phase.
- Write the result as Vm sin(ωt + φ) using the original ω.
The frequency is never part of the phasor. You attach it again at the end.
Worked example
Add v1(t) = 10 sin(ωt) and v2(t) = 10 sin(ωt + 90°).
The phasors are 10∠0° and 10∠90°. In rectangular form these are 10 + j0 and 0 + j10. Their sum is 10 + j10.
- Magnitude: √(10² + 10²) = 10√2 ≈ 14.142
- Angle: arctan(10/10) = 45°
So v1 + v2 = 14.142 sin(ωt + 45°). The code below checks this.
import cmath
import math
# Peak-amplitude phasors for 10*sin(wt) and 10*sin(wt + 90 deg)
a = cmath.rect(10, 0)
b = cmath.rect(10, math.radians(90))
s = a + b
print(f"amplitude = {abs(s):.3f}") # 14.142
print(f"phase = {math.degrees(cmath.phase(s)):.1f} degrees") # 45.0The amplitudes are 10 and 10, yet the sum peaks at 14.142, not 20. The two waves reach their peaks at different times, so they never add at full size at the same instant.
How phase difference changes the sum
The size of the sum depends on the phase difference between the two inputs. For two equal amplitudes A:
| Phase difference | Sum amplitude |
|---|---|
| 0° | 2A (in phase) |
| 90° | A√2 ≈ 1.414A |
| 120° | A |
| 180° | 0 (cancel completely) |
For general amplitudes A and B with phase difference θ, the law of cosines gives the sum amplitude √(A² + B² + 2AB cos θ).
Common errors
- Adding amplitudes directly. Peak values add only when the phase difference is 0°.
- Mixing sine and cosine. Convert both signals to the same form first, or the angles will be 90° off.
- Mixing peak and RMS magnitudes. Use one convention for all phasors in a sum. The result then has the same convention.
- Adding signals of different frequencies. The phasor method does not apply. The sum is not a sinusoid.
Exercise
Add v1(t) = 3 sin(ωt) and v2(t) = 4 sin(ωt + 90°). Give the result as Vm sin(ωt + φ).
Show answer
The phasors are 3∠0° = 3 + j0 and 4∠90° = 0 + j4. The sum is 3 + j4. The magnitude is √(3² + 4²) = 5, and the angle is arctan(4/3) ≈ 53.13°. So v1 + v2 = 5 sin(ωt + 53.13°).
Exercise
Two currents of equal amplitude 5 A at the same frequency differ in phase by 180°. What is the amplitude of their sum, and why?
Show answer
The amplitude is 0 A. The phasors are 5∠0° and 5∠180°, which are 5 and −5. They cancel exactly, so the two waveforms always have equal and opposite values.