Consider the graph of y=sinx+cosx. Using the combination of trigonometric functions, the two waves collapse into a single sine.
Combining
sinx+cosx=2sin(x+4π)
This has amplitude 2 and is the graph of y=sinx shifted left by 4π. The values run between −2 and 2, and the maximum 2 is reached where x+4π=2π, that is at x=4π.
Where the 2 and the 4π come from
Running the addition formula backwards explains both. Expanding the right-hand side gives the following.
Here α is the angle determined by tanα=ab. The formula can also be read as saying that the length of the point (a,b) is the amplitude and its argument is the phase shift.
Point (a,b)
Amplitude a2+b2
Phase α
(1,1)
2
4π
(1,0)
1
0
(0,1)
1
2π
(3,1)
2
6π
In our case the point (1,1) has length 2 and argument 4π.
What the combination is saying
What the combination says is that adding sine waves of the same period gives a sine wave of that same period. Only the amplitude and the phase change; the shape of the wave and its period do not.
That is why adding sinx and cosx produces no new kind of wave, only a sine wave slightly taller and slightly shifted to the left. The property is the foundation for superposing two voltages in an alternating-current circuit and for computing the interference of several waves.
The horizontal lines y=±2 show the amplitude, and the large dot is the maximum at (4π,2).