Skip to content Skip to navigation

Connexions

You are here: Home » Content » Complex Fourier Series

Navigation

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • OrangeGrove display tagshide tags

    This module is included inLens: Florida Orange Grove Textbooks
    By: Florida Orange GroveAs a part of collection: "Fundamentals of Electrical Engineering I"

    Click the "OrangeGrove" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

  • Rice DSS - Braille display tagshide tags

    This module is included inLens: Rice University Disability Support Services's Lens
    By: Rice University Disability Support ServicesAs a part of collection: "Fundamentals of Electrical Engineering I"

    Comments:

    "Electrical Engineering Digital Processing Systems in Braille."

    Click the "Rice DSS - Braille" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

  • Rice Digital Scholarship display tagshide tags

    This module is included in aLens by: Digital Scholarship at Rice UniversityAs a part of collection: "Fundamentals of Electrical Engineering I"

    Click the "Rice Digital Scholarship" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

  • Bookshare

    This module is included inLens: Bookshare's Lens
    By: Bookshare - A Benetech InitiativeAs a part of collection: "Fundamentals of Electrical Engineering I"

    Comments:

    "Accessible versions of this collection are available at Bookshare. DAISY and BRF provided."

    Click the "Bookshare" link to see all content affiliated with them.

  • Featured Content display tagshide tags

    This module is included inLens: Connexions Featured Content
    By: ConnexionsAs a part of collection: "Fundamentals of Electrical Engineering I"

    Comments:

    "The course focuses on the creation, manipulation, transmission, and reception of information by electronic means. It covers elementary signal theory, time- and frequency-domain analysis, the […]"

    Click the "Featured Content" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Also in these lenses

  • Lens for Engineering

    This module is included inLens: Lens for Engineering
    By: Sidney Burrus

    Click the "Lens for Engineering" link to see all content selected in this lens.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.
 

Complex Fourier Series

Module by: Don Johnson. E-mail the author

Summary: Definition of the complex Fourier series.

In an earlier module, we showed that a square wave could be expressed as a superposition of pulses. As useful as this decomposition was in this example, it does not generalize well to other periodic signals: How can a superposition of pulses equal a smooth signal like a sinusoid? Because of the importance of sinusoids to linear systems, you might wonder whether they could be added together to represent a large number of periodic signals. You would be right and in good company as well. Euler and Gauss in particular worried about this problem, and Jean Baptiste Fourier got the credit even though tough mathematical issues were not settled until later. They worked on what is now known as the Fourier series: representing any periodic signal as a superposition of sinusoids.

But the Fourier series goes well beyond being another signal decomposition method. Rather, the Fourier series begins our journey to appreciate how a signal can be described in either the time-domain or the frequency-domain with no compromise. Let st st be a periodic signal with period TT. We want to show that periodic signals, even those that have constant-valued segments like a square wave, can be expressed as sum of harmonically related sine waves: sinusoids having frequencies that are integer multiples of the fundamental frequency. Because the signal has period TT, the fundamental frequency is 1T 1T. The complex Fourier series expresses the signal as a superposition of complex exponentials having frequencies kT kT, k=101 k 1 0 1 .

st=k=ckei2πktT s t k ck 2k t T
(1)
with ck=12(ak ibk ) ck 1 2 ak bk . The real and imaginary parts of the Fourier coefficients c k c k are written in this unusual way for convenience in defining the classic Fourier series. The zeroth coefficient equals the signal's average value and is real- valued for real-valued signals: c0=a0 c0 a0 . The family of functions ei2πktT 2 k t T are called basis functions and form the foundation of the Fourier series. No matter what the periodic signal might be, these functions are always present and form the representation's building blocks. They depend on the signal period T T, and are indexed by k k.

Key point:

Assuming we know the period, knowing the Fourier coefficients is equivalent to knowing the signal. Thus, it makes no difference if we have a time-domain or a frequency- domain characterization of the signal.

Exercise 1

What is the complex Fourier series for a sinusoid?

Solution

Because of Euler's relation,

sin2πft=12iei2πft12ie(i2πft) 2 f t 1 2 2 f t 1 2 2 f t
(2)
Thus, c 1 =12i c 1 1 2 , c 1 =12i c 1 1 2 , and the other coefficients are zero.

To find the Fourier coefficients, we note the orthogonality property

0Tei2πktTe(i)2πltTd t ={T  if  k=l0  if  kl t 0 T 2 k t T 2 l t T T k l 0 k l
(3)
Assuming for the moment that the complex Fourier series "works," we can find a signal's complex Fourier coefficients, its spectrum, by exploiting the orthogonality properties of harmonically related complex exponentials. Simply multiply each side of Equation 1 by e(i2πlt) 2 l t and integrate over the interval 0 T 0 T .
c k =1T0Tste(i2πktT)dt c 0 =1T0Tstdt c k 1 T t 0 T st 2 k t T c 0 1 T t 0 T st
(4)

Example 1

Finding the Fourier series coefficients for the square wave sqTt sqT t is very simple. Mathematically, this signal can be expressed as sqTt={1  if  0<t<T21  if  T2<t<T sqT t 1 0 t T2 1 T2 t T The expression for the Fourier coefficients has the form

ck=1T0T2e(i2πktT)dt1TT2Te(i2πktT)dt ck 1 T t 0 T2 2 k t T 1 T t T2 T 2 k t T
(5)

Note:

When integrating an expression containing i, treat it just like any other constant.
The two integrals are very similar, one equaling the negative of the other. The final expression becomes
bk=2i2πk(1k1)={2iπk  if  k odd0  if  k even bk 2 2 k 1 k 1 2 k k odd 0 k even
(6)
Thus, the complex Fourier series for the square wave is
sqt=k-3-1132iπke(i)2πktT sq t k k -3 -1 1 3 2 k 2 k t T
(7)
Consequently, the square wave equals a sum of complex exponentials, but only those having frequencies equal to odd multiples of the fundamental frequency 1T 1 T . The coefficients decay slowly as the frequency index kk increases. This index corresponds to the kk-th harmonic of the signal's period.

A signal's Fourier series spectrum c k c k has interesting properties.

Property 1

If st s t is real, c k = c k ¯ c k c k (real-valued periodic signals have conjugate-symmetric spectra).

This result follows from the integral that calculates the c k c k from the signal. Furthermore, this result means that c k = c k c k c k : The real part of the Fourier coefficients for real-valued signals is even. Similarly, c k = c k c k c k : The imaginary parts of the Fourier coefficients have odd symmetry. Consequently, if you are given the Fourier coefficients for positive indices and zero and are told the signal is real-valued, you can find the negative-indexed coefficients, hence the entire spectrum. This kind of symmetry, c k = c k ¯ c k c k , is known as conjugate symmetry.

Property 2

If st=st s t s t , which says the signal has even symmetry about the origin, c k = c k c k c k .

Given the previous property for real-valued signals, the Fourier coefficients of even signals are real-valued. A real-valued Fourier expansion amounts to an expansion in terms of only cosines, which is the simplest example of an even signal.

Property 3

If st=st s t s t , which says the signal has odd symmetry, c k = c k c k c k .

Therefore, the Fourier coefficients are purely imaginary. The square wave is a great example of an odd-symmetric signal.

Property 4

The spectral coefficients for a periodic signal delayed by ττ, stτ s t τ , are c k ei2πkτT c k 2 k τ T , where c k c k denotes the spectrum of st s t . Delaying a signal by τ τ seconds results in a spectrum having a linear phase shift of 2πkτT 2 k τ T in comparison to the spectrum of the undelayed signal. Note that the spectral magnitude is unaffected. Showing this property is easy.

Proof

1T0Tstτe(i)2πktTd t =1TτTτste(i)2πk(t+τ)Td t =1Te(i)2πkτTτTτste(i)2πktTd t 1 T t 0 T s t τ 2 k t T 1 T t τ T τ s t 2 k t τ T 1 T 2 k τ T t τ T τ s t 2 k t T
(8)
Note that the range of integration extends over a period of the integrand. Consequently, it should not matter how we integrate over a period, which means that τTτ · d t =0T · d t t τ T τ · t 0 T · , and we have our result.

The complex Fourier series obeys Parseval's Theorem, one of the most important results in signal analysis. This general mathematical result says you can calculate a signal's power in either the time domain or the frequency domain.

Theorem 1: Parseval's Theorem

Average power calculated in the time domain equals the power calculated in the frequency domain.

1T0Ts2td t = k =| c k |2 1 T t 0 T s t 2 k c k 2
(9)
This result is a (simpler) re-expression of how to calculate a signal's power than with the real-valued Fourier series expression for power.

Let's calculate the Fourier coefficients of the periodic pulse signal shown here.

Figure 1: Periodic pulse signal.
Figure 1 (sig14.png)
The pulse width is Δ Δ, the period T T, and the amplitude A A. The complex Fourier spectrum of this signal is given by c k =1T0ΔAei2πktTd t =(Ai2πk(ei2πkΔT1)) c k 1 T t 0 Δ A 2 k t T A 2 k 2 k Δ T 1 At this point, simplifying this expression requires knowing an interesting property. 1e(iθ)=eiθ2(eiθ2eiθ2)=eiθ22isinθ2 1 θ θ 2 θ 2 θ 2 θ 2 2 θ 2 Armed with this result, we can simply express the Fourier series coefficients for our pulse sequence.
c k =AeiπkΔTsinπkΔTπk c k A k Δ T k Δ T k
(10)
Because this signal is real-valued, we find that the coefficients do indeed have conjugate symmetry: c k = c k ¯ c k c k . The periodic pulse signal has neither even nor odd symmetry; consequently, no additional symmetry exists in the spectrum. Because the spectrum is complex valued, to plot it we need to calculate its magnitude and phase.
| c k |=A|sinπkΔTπk| c k A k Δ T k
(11)
c k =πkΔT+πnegsinπkΔTπksignk c k k Δ T neg k Δ T k sign k The function neg· neg · equals -1 if its argument is negative and zero otherwise. The somewhat complicated expression for the phase results because the sine term can be negative; magnitudes must be positive, leaving the occasional negative values to be accounted for as a phase shift of π .

Figure 2: The magnitude and phase of the periodic pulse sequence's spectrum is shown for positive-frequency indices. Here ΔT=0.2 Δ T 0.2 and A=1 A 1 .
Periodic Pulse Sequence
Periodic Pulse Sequence (spectrum3.png)

Also note the presence of a linear phase term (the first term in c k c k is proportional to frequency kT k T ). Comparing this term with that predicted from delaying a signal, a delay of Δ2 Δ 2 is present in our signal. Advancing the signal by this amount centers the pulse about the origin, leaving an even signal, which in turn means that its spectrum is real-valued. Thus, our calculated spectrum is consistent with the properties of the Fourier spectrum.

Exercise 2

What is the value of c 0 c 0 ? Recalling that this spectral coefficient corresponds to the signal's average value, does your answer make sense?

Solution

c 0 =AΔT c 0 A Δ T . This quantity clearly corresponds to the periodic pulse signal's average value.

The phase plot shown in Figure 2 requires some explanation as it does not seem to agree with what Equation 11 suggests. There, the phase has a linear component, with a jump of π every time the sinusoidal term changes sign. We must realize that any integer multiple of 2π 2 can be added to a phase at each frequency without affecting the value of the complex spectrum. We see that at frequency index 4 the phase is nearly π . The phase at index 5 is undefined because the magnitude is zero in this example. At index 6, the formula suggests that the phase of the linear term should be less than π (more negative). In addition, we expect a shift of π in the phase between indices 4 and 6. Thus, the phase value predicted by the formula is a little less than (2π) 2 . Because we can add 2π 2 without affecting the value of the spectrum at index 6, the result is a slightly negative number as shown. Thus, the formula and the plot do agree. In phase calculations like those made in MATLAB, values are usually confined to the range π π by adding some (possibly negative) multiple of 2π 2 to each phase value.

Content actions

Download module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks