TOPICS
Search

Harmonic Addition Theorem


The harmonic addition theorem states that, for real numbers a, b, and theta, the sum

 f(theta)=acostheta+bsintheta
(1)

can be expressed as a single sinusoid of the form

 f(theta)=ccos(theta+delta).
(2)

This can be done by expanding (2) using the trigonometric addition formulas to obtain

 f(theta)=ccosthetacosdelta-csinthetasindelta.
(3)

Now equate the coefficients in the two expressions for f(theta)

a=ccosdelta
(4)
b=-csindelta,
(5)

so, when a!=0,

tandelta=(sindelta)/(cosdelta)
(6)
=-b/a
(7)

and

a^2+b^2=c^2(cos^2delta+sin^2delta)
(8)
=c^2.
(9)

For a!=0, a consistent choice is

delta=tan^(-1)(-b/a)
(10)
c=sgn(a)sqrt(a^2+b^2).
(11)

Here tan^(-1) is the principal inverse tangent, and sgn is the sign function. Therefore, for a!=0,

 acostheta+bsintheta
 =sgn(a)sqrt(a^2+b^2)cos[theta+tan^(-1)(-b/a)]
(12)

(Nahin 1995, p. 346). If a=0 and b!=0, take c=|b| and delta=-sgn(b)pi/2. If a=b=0, take c=0 and any real delta.

In fact, given two general sinusoidal functions with real coefficients and phases, and a common real frequency omega,

psi_1=A_1sin(omegat+delta_1)
(13)
psi_2=A_2sin(omegat+delta_2),
(14)

their sum psi can be expressed as a sinusoid with frequency omega

psi=psi_1+psi_2
(15)
=A_1[sin(omegat)cosdelta_1+sindelta_1cos(omegat)]+A_2[sin(omegat)cosdelta_2+sindelta_2cos(omegat)]
(16)
=[A_1cosdelta_1+A_2cosdelta_2]sin(omegat)+[A_1sindelta_1+A_2sindelta_2]cos(omegat).
(17)

Now, define

Acosdelta=A_1cosdelta_1+A_2cosdelta_2
(18)
Asindelta=A_1sindelta_1+A_2sindelta_2.
(19)

Then the sum becomes

 Acosdeltasin(omegat)+Asindeltacos(omegat)=Asin(omegat+delta).
(20)

Square and add (18) and (19)

 A^2=A_1^2+A_2^2+2A_1A_2cos(delta_2-delta_1).
(21)

When A_1cosdelta_1+A_2cosdelta_2!=0, divide (19) by (18)

 tandelta=(A_1sindelta_1+A_2sindelta_2)/(A_1cosdelta_1+A_2cosdelta_2),
(22)

so

 psi=Asin(omegat+delta),
(23)

where A is the nonnegative square root of the right-hand side of (21), and delta satisfies both (18) and (19). These two relations determine the phase modulo 2pi when A>0, including cases where the tangent formula is undefined. When A=0, the sum is identically zero and the phase is arbitrary.

For a positive integer n, this procedure generalizes to a sum of n harmonic waves with real coefficients and phases and a common real frequency, giving

psi=sum_(i=1)^(n)A_icos(omegat+delta_i)
(24)
=Acos(omegat+delta),
(25)

where

A^2=sum_(i=1)^(n)sum_(j=1)^(n)A_iA_jcos(delta_i-delta_j)
(26)
=sum_(i=1)^(n)A_i^2+2sum_(i=1)^(n)sum_(j>i)^(n)A_iA_jcos(delta_i-delta_j)
(27)

and, when sum_(i=1)^(n)A_icosdelta_i!=0,

 tandelta=(sum_(i=1)^(n)A_isindelta_i)/(sum_(i=1)^(n)A_icosdelta_i).
(28)

Choose A>=0 and determine the phase from both coefficient relations

Acosdelta=sum_(i=1)^(n)A_icosdelta_i
(29)
Asindelta=sum_(i=1)^(n)A_isindelta_i.
(30)

If A=0, the phase is arbitrary.


See also

Fourier Series, Harmonic Analysis, Prosthaphaeresis Formulas, Simple Harmonic Motion, Sinusoid, Superposition Principle, Trigonometric Addition Formulas, Trigonometry

Explore with Wolfram|Alpha

References

Nahin, P. The Science of Radio. Woodbury, NY: American Institute of Physics, 1995.

Referenced on Wolfram|Alpha

Harmonic Addition Theorem

Cite this as:

Weisstein, Eric W. "Harmonic Addition Theorem." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/HarmonicAdditionTheorem.html

Subject classifications