So the statement sin(n+1)pi/2 = cos(n)pi/2 is true by this property.

Click For Summary
SUMMARY

The discussion centers on finding the Fourier series for the function f(x) = |cos(x)| over the interval (-π, π). The user initially struggled with integration, mistakenly computing coefficients a0 and an as zero. After breaking the integration intervals at π/2, the user confirmed the correct approach using a college textbook. The discussion concludes with the verification of the identity sin(n+1)π/2 = cos(n)π/2, derived from the properties of sine and cosine functions.

PREREQUISITES
  • Understanding of Fourier series and their coefficients
  • Knowledge of even and odd functions in trigonometry
  • Familiarity with integration techniques in calculus
  • Basic properties of sine and cosine functions
NEXT STEPS
  • Study the derivation of Fourier series for piecewise functions
  • Learn about the properties of even and odd functions in detail
  • Explore integration techniques specific to trigonometric functions
  • Investigate the implications of the identity sin(n+1)π/2 = cos(n)π/2 in Fourier analysis
USEFUL FOR

Students and educators in mathematics, particularly those studying Fourier analysis, trigonometric functions, and integration techniques.

SVXX
Messages
35
Reaction score
0
Question - Find the Fourier series for f(x) = |cos(x)| in the interval (-π, π).
Right, I attempted the question and the integration that followed. I'm having trouble in the integration itself..
Firstly I found that f(x) is an even function, so the sine term(bn) of the Fourier expansion would be zero and that I can use a property of integration to write

gif.latex?a_0%20=%20\frac{1}{\pi}%20\int_{-\pi}^{\pi}f(x)dx.gif
as
gif.latex?a_0%20=%20\frac{2}{\pi}%20\int_{0}^{\pi}f(x)dx.gif
and similarly so for an.

%20=%20\frac{1}{\pi}%20\int_{0}^{\pi}[cos(n-1)x%20\hspace{1mm}%20+%20\hspace{1mm}%20cos(n+1)x]dx.gif


frac{1}{\pi}[\frac{sin(n-1)x}{n-1}]_0%20^\pi%20+%20\frac{1}{\pi}[\frac{sin(n+1)x}{n+1}]_0%20^\pi.gif


I computed a0 to be zero, but the trouble is, I'm getting an to be zero too, and if that is so, there will be no Fourier series! Could someone please point out my mistake?
 
Last edited by a moderator:
Physics news on Phys.org
Hints :

1. One period of |cos(x)| extends from -pi/2 to pi/2. Check your limits.

2. Beware divide by zero.
 
Thanks for the hints...I figured out what I was doing wrong in the integration. I had to break the intervals at pi/2 as |cos(x)| = cos(x) for 0 < x < pi/2 and = - cos(x) for pi/2 < x < pi.
I referred a popular book from the college library today which proved me correct. But what I don't understand is the last part of the solution that was given in that book...it stated that sin(n+1)pi/2 = cos(n)pi/2...how is this so?
 
SVXX said:
Thanks for the hints...I figured out what I was doing wrong in the integration. I had to break the intervals at pi/2 as |cos(x)| = cos(x) for 0 < x < pi/2 and = - cos(x) for pi/2 < x < pi.
I referred a popular book from the college library today which proved me correct. But what I don't understand is the last part of the solution that was given in that book...it stated that sin(n+1)pi/2 = cos(n)pi/2...how is this so?

The complementary relation between sin and cos tells us that sin x = cos (pi/2 - x) and visa versa.

So sin (n+1)pi/2 = cos (pi/2 -(n+1)pi/2) = cos (-n pi/2).

Now since cos is an even function then cos (-n pi/2) = cos (n pi/2).
 

Similar threads

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