Simple Fourier Series Question

In summary: Oh so it is required to have atleast a full peroid on each side of the y-axis or what? I don't understand why it MUST be a full peroid on either side of the zero.Why can't I have a full peroid from -4 to 4?
  • #1
jegues
1,097
3

Homework Statement



See figure attached for problem statement as well as my attempt.

Homework Equations





The Attempt at a Solution



I'm stuck as to how to rewrite this sin term.

I know that at n = 1 it will be positive, n = 3 it will be negative, n = 5 it will be positive and so on but how can I rewrite this?
 

Attachments

  • FourierQ.jpg
    FourierQ.jpg
    43.2 KB · Views: 391
Physics news on Phys.org
  • #2
hi jegues! :smile:

how can you rewrite sin(nπ/2) ?

well, you're only interested in odd numbers, so call it sin((2n+1)π/2), = … ? :wink:
 
  • #3
tiny-tim said:
hi jegues! :smile:

how can you rewrite sin(nπ/2) ?

well, you're only interested in odd numbers, so call it sin((2n+1)π/2), = … ? :wink:

sin((2n+1)π/2), = (-1)^{n+1}, correct?

EDIT: But wait, the n on the in the denominator on the outside must change as well, correct?

Actually, shouldn't I rewrite it as,

[tex]sin(\frac{(2n-1)\pi}{2}), \text{ because,} \quad n>0.[/tex]

then,

[tex]sin(\frac{(2n-1)\pi}{2}) = (-1)^{n+1}[/tex]

So the whole expression becomes,

[tex]\frac{8(-1)^{n+1}}{(2n-1)\pi}[/tex]
 
Last edited:
  • #4
jegues said:
sin((2n+1)π/2), = (-1)^{n+1}, correct?

yup! :biggrin:

although easier to use would be sin((2n-1)π/2) = (-1)n :wink:
EDIT: But wait, the n on the in the denominator on the outside must change as well, correct?

yes (but i think you're -1 out) :smile:
 
  • #5
tiny-tim said:
yup! :biggrin:

although easier to use would be sin((2n-1)π/2) = (-1)n :wink:


yes (but i think you're -1 out) :smile:


[tex]sin(\frac{(2n-1)\pi}{2})[/tex]

[tex]\text{When n=1,}[/tex]

[tex]sin(\frac{(2(1)-1)\pi}{2}) = sin(\frac{\pi}{2}) = 1.[/tex]

So when n=1, it better be positive.

So,

[tex]sin(\frac{(2n-1)\pi}{2}) = (-1)^{n+1}[/tex]

I'm not seeing what you mean when you say I'm out by -1?
 
  • #6
Nonetheless I have another question with regards to the same question.

It asks you to draw the functions before and after applying the Fourier series. I have some confusion about the function sketch before applying the Fourier series.

See figure attached

The parts I highlighted in red weren't included on my attempt, but are shown here in the solution. How so? The function isn't defined for 4 < x < 8, it only repeats with a peroid of eight, so why are those red pieces there? I would have simply left it at 4.

Can someone clarfiy?
 

Attachments

  • FourierQ2.JPG
    FourierQ2.JPG
    6.3 KB · Views: 349
  • #7
ah, the original formula was wrong, i didn't notice that …
jegues said:
sin((2n+1)π/2), = (-1)^{n+1}, correct?
 
  • #8
tiny-tim said:
ah, the original formula was wrong, i didn't notice that …

I'm still confused... Do I have things correct?
 
  • #9
i'm confused too :confused:

write it all out again (with the correct formula in the middle), then we can both see :smile:
 
  • #10
tiny-tim said:
i'm confused too :confused:

write it all out again (with the correct formula in the middle), then we can both see :smile:

I checked my answer with my prof. today and he assured me it is correct, but I still don't understand why the red portion I highlighted is included in the graph of the function before applying the Fourier series, can someone clarify? I didn't think the function was defined in that range?
 
  • #11
jegues said:
I checked my answer with my prof. today and he assured me it is correct, but I still don't understand why the red portion I highlighted is included in the graph of the function before applying the Fourier series, can someone clarify? I didn't think the function was defined in that range?

It is defined from -4 to 4. You have formulas given for (0,4) and you are given that f(-x)=f(x). That defines of on (-4,0).
 
  • #12
LCKurtz said:
It is defined from -4 to 4. You have formulas given for (0,4) and you are given that f(-x)=f(x). That defines of on (-4,0).

I'm not concerned about that part, I'm considered about the part I highlighted in red, how it is defined on 4 to 6 etc...

Can you clarify?
 
Last edited:
  • #13
jegues said:
I'm not considered about that part, I'm considered about the part I highlighted in red, how it is defined on 4 to 6 etc...

Can you clarify?

LCKurtz :smile: is right …

if you're finding the Fourier series in the usual way, you need to use a whole period starting at 0

unfortunately, the question only defines it for a half-period starting at 0, it then says f(x) = f(-x), so that gives you a full period starting at -4

so you need to copy the [-4,0] part onto [4,8] to give you a full period starting at 0. :wink:
 
  • #14
tiny-tim said:
LCKurtz :smile: is right …

if you're finding the Fourier series in the usual way, you need to use a whole period starting at 0

unfortunately, the question only defines it for a half-period starting at 0, it then says f(x) = f(-x), so that gives you a full period starting at -4

so you need to copy the [-4,0] part onto [4,8] to give you a full period starting at 0. :wink:

Oh so it is required to have atleast a full peroid on each side of the y-axis or what? I don't understand why it MUST be a full peroid on either side of the zero.

Why can't I have a full peroid from -4 to 4?

Thanks again!
 
  • #15
jegues said:
Oh so it is required to have atleast a full peroid on each side of the y-axis or what? I don't understand why it MUST be a full peroid on either side of the zero.

Why can't I have a full peroid from -4 to 4?

Thanks again!

You can. Once you know the whole period is 8, you can use any period of the function to calculate the Fourier coefficients. If the period is 2p the usual choices are to integrate from 0 to 2p or from -p to p. You could use (0,8) for your calculations, but since your function is even, if you choose (-4,4) you can cut the work by half using the half range formula on (0,4) and observing bn = 0.
 

1. What is a Simple Fourier Series?

A Simple Fourier Series is a mathematical representation of a periodic function as a sum of sines and cosines. It is used to analyze and approximate complex functions by breaking them down into simpler components.

2. How do you calculate a Simple Fourier Series?

To calculate a Simple Fourier Series, you need to first find the coefficients of the sine and cosine terms by using integration or other methods. Then, you can plug these coefficients into the formula for the series and sum them up to get the final representation of the function.

3. What is the purpose of using a Simple Fourier Series?

The purpose of using a Simple Fourier Series is to simplify the analysis of complex functions. By breaking down a function into simpler components, it becomes easier to understand and manipulate. Additionally, the series can be used to approximate a function, which can be useful in various applications.

4. What types of functions can be represented by a Simple Fourier Series?

Any periodic function can be represented by a Simple Fourier Series, as long as it satisfies certain conditions such as being continuous and having a finite number of discontinuities. This includes functions such as square waves, sawtooth waves, and even non-periodic functions that can be approximated as periodic.

5. Can a Simple Fourier Series accurately represent any function?

No, a Simple Fourier Series can only accurately represent functions that are periodic. Non-periodic functions cannot be accurately represented by a Simple Fourier Series, but they can be approximated by using a series with a large number of terms.

Similar threads

  • Calculus and Beyond Homework Help
Replies
3
Views
281
  • Calculus and Beyond Homework Help
Replies
1
Views
214
  • Calculus and Beyond Homework Help
Replies
2
Views
372
  • Calculus and Beyond Homework Help
Replies
1
Views
535
  • Calculus and Beyond Homework Help
Replies
5
Views
355
  • Calculus and Beyond Homework Help
Replies
1
Views
245
  • Calculus and Beyond Homework Help
Replies
6
Views
387
  • Calculus and Beyond Homework Help
Replies
1
Views
964
  • Calculus and Beyond Homework Help
Replies
1
Views
341
  • Calculus and Beyond Homework Help
Replies
6
Views
913
Back
Top