Find the coefficients in the Fourier series

Click For Summary
SUMMARY

The discussion focuses on finding the coefficients in the Fourier series for the odd periodic function defined by f(x) = -4-x for -4 <= x <= 0 and f(x) = 4-x for 0 <= x <= 4, with a period of 8. Participants clarify the calculation of the Fourier sine coefficients using the formula bn = (1/L) ∫ f(x)sin(nπx/L) dx, specifically for L = 4. The conversation emphasizes the odd nature of the function, confirming that cosine terms in the series are zero, and discusses integration techniques, including integration by parts and properties of integrals.

PREREQUISITES
  • Understanding of Fourier series and their coefficients
  • Knowledge of integration techniques, particularly integration by parts
  • Familiarity with properties of odd and even functions
  • Basic proficiency in LaTeX for mathematical notation
NEXT STEPS
  • Study the derivation of Fourier sine coefficients in detail
  • Practice integration by parts with various functions
  • Explore the properties of odd and even functions in Fourier series
  • Learn how to properly format mathematical expressions using LaTeX
USEFUL FOR

Students studying Fourier series, mathematicians working with periodic functions, and educators teaching advanced calculus concepts.

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),
\int_{-4}^4 f(x)sin(nx)dx= \int_{-4}^0 f(x)sin(nx)dx+ \int_0^4 f(x)sin(nx) dx
and, making the substitution u= -x in the first integral, since dx= -du,
-\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

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

-\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.
 
Which part is confusing? You didn't quote properly.
 
math_04 said:
For the second part, it got kinda confusing because

- \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

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

- \int_b^a f(x)dx = + \int_a^bf(x)dx
 
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
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
2K