Fourier series (integration of pi)

Click For Summary
SUMMARY

The discussion centers on expressing the function f(x) = π - x (for 0 < x < π) as a half-range cosine series, as outlined in Stroud's Advanced Engineering Mathematics. The user initially struggles with the integration process, particularly in handling the π term. After receiving feedback, they realize the importance of including the a0/2 term in their calculations and correctly integrating the -π term, leading to a successful resolution of the problem.

PREREQUISITES
  • Understanding of Fourier series and half-range expansions
  • Familiarity with integration techniques involving trigonometric functions
  • Knowledge of even and odd functions in the context of Fourier series
  • Proficiency in using LaTeX for mathematical expressions
NEXT STEPS
  • Study the derivation of Fourier series for piecewise functions
  • Learn about the properties of even and odd functions in Fourier analysis
  • Practice integration techniques involving trigonometric functions and constants
  • Explore advanced topics in Fourier analysis, such as convergence and applications
USEFUL FOR

Students and educators in mathematics, particularly those focusing on Fourier analysis and engineering mathematics, will benefit from this discussion.

DanPF
Messages
2
Reaction score
0

Homework Statement



Hi

First of all this a textbook question from Stroud Advanced Engineering Mathematics, solution is given, but no steps are shown.

A question I just can't seem to solve at the moment, as below.

A function f(x) is defined by f(x) = \pi - x:0 &lt; x &lt; \pi
f(x + 2\pi) = f(x)

Express the function as a half range cosie series

Homework Equations



Im at a loss of how to start this question, I've been doing fine when they haven't included pi in the function itself.

I know as its wanted as a cosine series I'll have to make it resemble an even function and thus my a0 and an terms can be

2/\pi \int^{\pi}_{0}\pi - x dx\stackrel{2}{\pi}\int^{\pi}_{0}\pi - x\:cosnx:dx

So my main question is really how I remove pi. I've tried taking it out as a constant which doesn't work, so I have a feeling I am not realising something

The final solution according to the book is

\pi/2 + 4/\pi\left\{cosx + 1/9:cos3x + 1/25:cos5x+ ...\right\}

I keep getting -\pi^2 for a0

Thank you for reading and any help
 
Last edited:
Physics news on Phys.org
DanPF said:
\stackrel{2}{\pi}\int^{\pi}_{0}\pi - x\:cosnx:dx

Since you haven't actually shown what you did, I will make a wild guess that your problem is caused by leaving the parentheses out:

\stackrel{2}{\pi}\int^{\pi}_{0}(\pi - x)\:cosnx\ dx

You don't treat \pi any differently than you would treat a number like 5.
 
Hi

Thanks for the reply, sorry I didnt put down more of my working, I was having trouble using the Latex. I have solved the problem as I was forgetting the a0/2 term, and didnt correctly integrate the -pi term.
 

Similar threads

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