Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I use Wolfram|Alpha to compute the Fourier series (with real coefficients $a_0, a_n$ and $b_n$)? (The 'Fourier series' command seems to summon the complex series)

I.e. $f(x) = x + \pi$ for $-\pi < x < 0$ and $f(x) = \pi - x$ for $0 \leq x < \pi$

$\Rightarrow f(x) \approx \pi/2 + 4/\pi(cos x + \dfrac 1 3 cos 3x + \dfrac 1 5 cos 5x + \cdot \cdot \cdot)$

I know I can use indefinite or definite integrals to check the integration itself, but I'd be interesting to see a complete solution aid.

share|cite|improve this question
up vote 2 down vote accepted

You could use the FourierCosSeries command. Here is the documentation of it.

share|cite|improve this answer
Thanks! Looking at the 'see also' I see that the FourierTrigSeries command was what I was actually looking for. – Cecil Dishwasher Aug 1 '11 at 11:14
Ok, no problem :-) – Listing Aug 1 '11 at 11:19
But how do I get it to show the steps? The Steps-button is missing! :O – Cecil Dishwasher Aug 1 '11 at 11:26
Sadly that is not implemented for every command yet, it is still to be added. – Listing Aug 1 '11 at 11:36

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.