Sub topic 12
Adding Sinusoids of the Same Frequency
This chapter assumes you can write a sinusoid as Vm sin(ωt + φ), convert between degrees and radians, and use complex numbers in polar and rectangular form. It also assumes you have seen the phasor idea from the previous chapter. The goal is to add two or more sinusoids that share one frequency and to get the result without trigonometric identities.
Why the sum of same-frequency sinusoids is a sinusoid
Suppose a circuit has two sources in series, or two branch currents meet at a node. Kirchhoff's laws then require you to add waveforms:
v(t) = v1(t) + v2(t)
If v1 and v2 have the same angular frequency ω, the sum is also a sinusoid with that same ω. Only its amplitude and phase change. This holds because a sine with a phase shift can be split into a sine part and a cosine part:
Vm sin(ωt + φ) = (Vm cos φ) sin ωt + (Vm sin φ) cos ωt
Every same-frequency sinusoid is a mix of sin ωt and cos ωt. Adding two of them just adds the coefficients of sin ωt and cos ωt. The result is again a mix of those two functions, and any such mix can be rewritten as one amplitude and one phase.
The result fails if the frequencies differ. Adding a 50 Hz and a 60 Hz sinusoid does not give a sinusoid. The phase difference between them keeps changing, so the sum has a varying envelope (a beat pattern). Everything below requires equal frequency.
The trigonometric method
Take two sinusoids:
- v1(t) = A1 sin(ωt + φ1)
- v2(t) = A2 sin(ωt + φ2)
Expand each one and collect the sin ωt and cos ωt terms:
v1 + v2 = (A1 cos φ1 + A2 cos φ2) sin ωt + (A1 sin φ1 + A2 sin φ2) cos ωt
Call the two coefficients P and Q. Then:
P sin ωt + Q cos ωt = R sin(ωt + θ)
where R = √(P² + Q²) and θ = atan2(Q, P). This works, but it takes many lines of algebra for each problem. Phasors do the same bookkeeping automatically.
The phasor method
A phasor is a complex number that records the amplitude and phase of a sinusoid. For Vm sin(ωt + φ), the peak-amplitude phasor is
V = Vm∠φ = Vm e^(jφ) = Vm cos φ + j Vm sin φ
The real part is the sin ωt coefficient P. The imaginary part is the cos ωt coefficient Q. So adding phasors as complex numbers is exactly the same as adding the P and Q coefficients. The trigonometric method and the phasor method are the same calculation.
The procedure has four steps:
- Check that all sinusoids have the same ω. Note it, since the phasors do not carry it.
- Express every sinusoid with the same function, all sine or all cosine.
- Convert each to a phasor, convert to rectangular form, and add the real parts and the imaginary parts separately.
- Convert the sum back to polar form Rθ and write v(t) = R sin(ωt + θ).
Worked example 1: a 90° phase difference
Add v1(t) = 10 sin ωt and v2(t) = 10 sin(ωt + 90°).
The phasors are V1 = 10∠0° = 10 + j0 and V2 = 10∠90° = 0 + j10.
The sum is V = 10 + j10. Its magnitude is √(10² + 10²) = 10√2 ≈ 14.142. Its angle is atan(10/10) = 45°.
So v(t) = 14.142 sin(ωt + 45°).
The amplitude is not 20. Two equal sinusoids that are 90° apart do not peak at the same moment, so their peaks do not stack. You can check this with a single instant. At ωt = 45°, v1 = 10 sin 45° = 7.071 and v2 = 10 sin 135° = 7.071. The sum is 14.142, which equals the peak of the result, as expected for a sinusoid at that angle.
This code does the same addition with complex numbers:
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.0cmath.rect(r, phi) builds a complex number from magnitude and angle in radians. abs returns the magnitude and cmath.phase returns the angle in radians, so the code converts it to degrees for printing.
Worked example 2: a general case
Add i1(t) = 5 sin(ωt + 20°) and i2(t) = 8 sin(ωt − 50°).
Rectangular forms:
- I1 = 5 cos 20° + j5 sin 20° = 4.698 + j1.710
- I2 = 8 cos(−50°) + j8 sin(−50°) = 5.142 − j6.128
Sum: I = 9.840 − j4.418.
Magnitude: √(9.840² + 4.418²) = √(96.83 + 19.52) = √116.35 ≈ 10.79.
Angle: atan2(−4.418, 9.840) ≈ −24.2°.
So i(t) ≈ 10.79 sin(ωt − 24.2°).
The amplitude, 10.79, lies between |5 − 8| = 3 and 5 + 8 = 13. That is a useful check, described next.
Bounds and sanity checks
The sum of two sinusoids with amplitudes A1 and A2 has an amplitude R that depends on the phase difference Δ = φ1 − φ2:
R² = A1² + A2² + 2 A1 A2 cos Δ
This is the law of cosines applied to the phasor triangle. It gives three useful limits:
| Phase difference Δ | Relationship | Resulting amplitude R | Column | Column |
|---|---|---|---|---|
| 0° | In phase | A1 + A2 (maximum) | ||
| 90° | Quadrature | √(A1² + A2²) | ||
| 180° | Opposite phase | \ | A1 − A2\ | (minimum) |
Use the table to catch mistakes. If your answer is outside the range from |A1 − A2| to A1 + A2, an arithmetic or sign error has crept in. In example 2, Δ = 70°, so R² = 25 + 64 + 80 cos 70° = 89 + 27.36 = 116.36. That matches the 116.35 computed above.
Subtraction and more than two terms
Subtracting a sinusoid means subtracting its phasor. This is the same as adding a phasor with the opposite sign, which is a 180° shift. Any number of sinusoids can be added the same way: sum all the real parts, sum all the imaginary parts, then convert once at the end. Convert to polar form only at the end. Adding the amplitudes or the angles directly is a common error.
Sine versus cosine
Phasors need one reference function. If one signal is written with cosine and another with sine, convert before adding, using
cos(ωt + φ) = sin(ωt + φ + 90°)
For example, 6 cos(ωt + 10°) becomes 6 sin(ωt + 100°). Mixing the two forms without conversion shifts one phasor by 90° and gives a wrong answer.
Peak and RMS phasors
The examples above use peak-amplitude phasors. Many power-engineering texts use RMS phasors, where the magnitude is Vm/√2. Because the scale factor is the same for every term, addition works with either one. The result must be interpreted with the same convention you started with:
- Peak phasors in give a peak amplitude out.
- RMS phasors in give an RMS value out.
Do not mix peak and RMS phasors in one sum. A 120 V RMS source and a 170 V peak source, for example, are nearly the same size, but adding 120 and 170 directly is wrong.
An important consequence is that RMS values do not add directly. For two equal-frequency sources in series, the RMS value of the sum is
Vrms = √(V1² + V2² + 2 V1 V2 cos Δ)
where V1 and V2 are the individual RMS values. Only when Δ = 0° do the RMS values add arithmetically.
Common errors
- Adding amplitudes directly. Peaks add only when the sinusoids are in phase.
- Adding the phases. The phase of the sum comes from the angle of the complex sum, not from φ1 + φ2.
- Using
atan(Q/P)instead ofatan2(Q, P). When P is negative,atanreturns an angle in the wrong quadrant, off by 180°. - Mixing degrees and radians in a calculator or program.
- Using different frequencies and expecting a single sinusoid as the result.
- Mixing peak and RMS phasors.
Summary of the method
Same-frequency sinusoids form a closed family under addition, because each one is a combination of sin ωt and cos ωt. Phasors store that combination as one complex number, so addition becomes complex addition. Convert to a common sine form, add in rectangular form, convert back with atan2, and check the amplitude against the limits |A1 − A2| and A1 + A2.
Exercise
Add v1(t) = 12 sin(ωt) and v2(t) = 5 sin(ωt + 90°). Give the result as a single sinusoid, and state the minimum and maximum amplitude that any sum of these two amplitudes could have.
Show answer
V1 = 12 + j0 and V2 = 0 + j5, so V = 12 + j5. The magnitude is √(144 + 25) = 13 and the angle is atan(5/12) ≈ 22.6°. So v(t) = 13 sin(ωt + 22.6°). Any sum of a 12 and a 5 amplitude sinusoid has amplitude between |12 − 5| = 7 and 12 + 5 = 17. The result, 13, lies inside that range.
Exercise
A 6 V RMS source and an 8 V RMS source of the same frequency are connected in series. Find the RMS voltage of the combination if the sources are (a) in phase, (b) 90° apart, and (c) 180° apart.
Show answer
Use Vrms = √(V1² + V2² + 2 V1 V2 cos Δ). (a) Δ = 0°: √(36 + 64 + 96) = √196 = 14 V. (b) Δ = 90°: √(36 + 64) = 10 V. (c) Δ = 180°: √(36 + 64 − 96) = √4 = 2 V.
Exercise
Add 4 cos(ωt) and 3 sin(ωt). Write the result in the form R sin(ωt + θ).
Show answer
Convert the cosine to sine: 4 cos(ωt) = 4 sin(ωt + 90°). The phasors are 4∠90° = 0 + j4 and 3∠0° = 3 + j0. The sum is 3 + j4, with magnitude 5 and angle atan2(4, 3) ≈ 53.1°. So the result is 5 sin(ωt + 53.1°).