Find the coefficients in the Fourier series

Click For Summary

Homework Help Overview

The problem involves finding the coefficients in the Fourier series for a defined odd periodic function f(x), which is piecewise defined over the intervals [-4, 0] and [0, 4]. The function is periodic with a period of 8. Participants are also tasked with sketching the function over a specified range.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss the calculation of the Fourier coefficients, particularly the bn coefficients, and explore the use of integration by parts. There is a question about the limits of integration and whether there is a simpler method for an even Fourier series.

Discussion Status

Some participants have offered insights into the properties of odd functions and how they relate to the Fourier series, particularly noting that the cosine coefficients will be zero. There is ongoing clarification regarding the integration process and the use of mathematical notation, with some participants expressing confusion about the expressions used.

Contextual Notes

Participants are navigating the definitions of the function f(x) and its implications for integration, particularly in relation to the intervals specified. There is a discussion about the nature of f(x) being odd and the implications for the Fourier series coefficients.

math_04
Messages
21
Reaction score
0

Homework Statement



The odd periodic function f(x) is defined by

f(x) = -4-x for -4 <= x <= 0 and 4-x for 0 <= x <= 4

f(x + 8) = f(x)

Sketch f(x) for -12 <= x <= 8

Find the coefficients in the Fourier series for the function defined by equation (1) and write out the series, explicitly giving the first three non zero terms in the series

Homework Equations



bn = 1/L integral of f(x)sin (npix / L) dx with limits from L to -L

The Attempt at a Solution



So do I do like this

bn = 1/4* integral of (-4-x) sin (npix/4) with limits from 4 to -4 plus 1/4*integral of 4-xsin(npix/4) with limits from 4 to -4?

Then i use integration by parts to solve the integrals?

Or is there an easier way like for an even Fourier series if you have L as 2 and -2, u can have the limits of the integral as 2 and 0?
 
Physics news on Phys.org
Knowing that the function is odd means that the coefficient of cos(nx) (an even function) in the series is 0. And, of course, if f(-x)= -f(x), then because sin(-x)= -sin(x),
[tex]\int_{-4}^4 f(x)sin(nx)dx= \int_{-4}^0 f(x)sin(nx)dx+ \int_0^4 f(x)sin(nx) dx[/tex]
and, making the substitution u= -x in the first integral, since dx= -du,
[tex]-\int_{4}^{0}(-f(u))(-sin(nu)du+ \int_0^4 f(x)sin(nx)dx= \int_0^4 f(u)sin(u)du+ \int_0^4 f(x)sin(nx)dx= 2\int_0^4 f(x)sin(nx)dx[/tex]

Or, more simply, now that I look at it, since sin(nx) and f(x) are both odd, their product is an even function:
[tex]\int_{-4}^4 f(x)sin(nx)dx= 2\int_0^4 f(x)sin(nx)dx[/itex][/tex]
 
Last edited by a moderator:
For the second part, it got kinda confusing because

[tex]-\int_{4}^{0}(-f(u))(-sin(nu)du+ \int_0^4 f(x)sin(nx)dx= \int_0^4 f(u)sin(u)du+ \int_0^4 f(x)sin(nx)dx= 2\int_0^4 f(x)sin(nx)dx[/quote] <br /> <br /> this whole sentence is kinda confusing haha, could u write with the mathematical symbols instead of the computer lingo. sorry about that. cheers.<br /> <br /> thanks for your reply.[/tex]
 
Which part is confusing? You didn't quote properly.
 
math_04 said:
For the second part, it got kinda confusing because

[tex]- \int_{4}^{0}(-f(u))(-sin(nu))du+ \int_0^4 f(x)sin(nx)dx= \int_0^4 f(u)sin(u)du+ \int_0^4 f(x)sin(nx)dx= 2\int_0^4 f(x)sin(nx)dx[/tex]

this whole sentence is kinda confusing haha, could u write with the mathematical symbols instead of the computer lingo. sorry about that. cheers.

thanks for your reply.
he uses integral properties to obtain this, namely

[tex]- \int_b^a f(x)dx = + \int_a^bf(x)dx[/tex]
 
Defennder said:
Which part is confusing? You didn't quote properly.

I didn't have the LaTex delineated properly. I have edited the post.
 
Isnt f(x) even

f(-x) = -(-x) - 4 = x - 4 which is even right?

and i still don't understand, you only got one integral so what do we use for f(x) -x-4? or 4-x?
 
math_04 said:
Isnt f(x) even

f(-x) = -(-x) - 4 = x - 4 which is even right?

and i still don't understand, you only got one integral so what do we use for f(x) -x-4? or 4-x?

f(x) is defined by "f(x) = -4-x for -4 <= x <= 0 and 4-x for 0 <= x <= 4". Which of those formulas you use depends on the interval of integration of course. If you are integrating from 0 to 4, then you use 4- x.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
3
Views
2K
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K