1
$\begingroup$

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.

1 Answers 1

3

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

  • 1
    Thanks! Looking at the 'see also' I see that the **FourierTrigSeries** command was what I was actually looking for.2011-08-01
  • 0
    Ok, no problem :-)2011-08-01
  • 0
    But how do I get it to show the steps? The Steps-button is missing! :O2011-08-01
  • 0
    Sadly that is not implemented for every command yet, it is still to be added.2011-08-01