Physics Forums Insights
  • Physics
    • Mechanics
    • Thermodynamics
    • Electromagnetism
    • Fluids
    • Optics
    • Particles
    • Quantum
    • Relativity
    • Biophysics
  • Astronomy
    • Astrophysics
    • Cosmology
    • Observing
  • Mathematics
    • Algebra
    • Analysis
    • Geometry
    • Number Theory
    • Probability
  • Computing
    • Programming
    • Electronics
    • Imaging
  • Science Culture
    • Education
    • Careers
    • Philosophy
    • Profiles
    • Trivia
  • Forums
  • Click to open the search input field Click to open the search input field Search
  • Menu Menu
fourierseries2

Learn Further Sums Found Through Fourier Series

September 28, 2017/5 Comments/in Analysis, Mathematics Tutorials/by Svein
📖Read Time: 4 minutes
📊Readability: Moderate (Standard complexity)
🔖Core Topics: texitexseriesinxinsight

In an earlier insight, I looked at the Fourier series for some simple polynomials and what we could deduce from those series. There is a lot more to be found, however.

Table of Contents

  • Evaluating the Fourier series at Ï€/2
    • First series
    • Second series
  • Third series
    • More Related Articles

Evaluating the Fourier series at π/2

First series

In the last insight, I showed that if f(x) = x for -π<x<πand f(-π)=f(π)=0, the general  term of the series was [itex]a_{n}=\frac{(-1)^{n}}{in}[/itex] with [itex]a_{0}=0[/itex].  Since f(x) is differentiable at π/2, the Fourier series converges at that point, giving [tex]\frac{\pi}{2}=\sum_{n=-\infty}^{-1}\frac{(-1)^{n}}{in}e^{in\frac{\pi}{2}}+0+\sum_{n=1}^{\infty}\frac{(-1)^{n}}{in}e^{in\frac{\pi}{2}}[/tex]

Changing n to –n in the first sum, we get[tex]\frac{\pi}{2}=\sum_{n=1}^{\infty}\frac{(-1)^{n}}{-in}e^{-in\frac{\pi}{2}}+\sum_{n=1}^{\infty}\frac{(-1)^{n}}{in}e^{in\frac{\pi}{2}}[/tex]

Now [itex]\frac{e^{inx}-e^{-inx}}{2i}=\sin(nx) [/itex] and therefore [itex] \frac{\pi}{2}=2\sum_{n=1}^{\infty}\frac{(-1)^{n}}{n}\sin(\frac{n\pi}{2})[/itex]. Since [itex]\sin(\frac{n\pi}{2})[/itex] is 0 for all even multiples of p/2 and alternating between +1 and -1 for odd multiples, we have [tex]\frac{\pi}{4}=\sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{2n-1} [/tex]

Not exactly a new result, it is usually known as Leibniz’ formula, but it shows that our calculations are correct.

A bit more unusual: The result can also be written as [itex]\frac{\pi}{2}=\sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{n-\frac{1}{2}}[/itex]. Compare this result with the well-known fact that [itex]\sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{n}=\ln(2)[/itex]…

Second series

In the last insight, I used f(x) = x2 for -π≤x≤π. The general term was then [itex]a_{n}=\frac{2}{n^{2}}[/itex] with [itex]a_{0}=\frac{\pi^{2}}{3}[/itex]. Inserting x=π/2 gives [tex]\frac{\pi^{2}}{4}=\sum_{n=-\infty}^{-1}\frac{2}{n^{2}}e^{in\frac{\pi}{2}}+\frac{\pi^{2}}{3}+\sum_{n=1}^{\infty}\frac{2}{n^{2}}e^{in\frac{\pi}{2}}[/tex]

Change n to –n in the first sum and reorder: [tex]\frac{\pi^{2}}{4}-\frac{\pi^{2}}{3}=\sum_{n=1}^{\infty}\frac{2}{n^{2}}e^{-in\frac{\pi}{2}}+\sum_{n=1}^{\infty}\frac{2}{n^{2}}e^{in\frac{\pi}{2}} [/tex]

Now [itex]\frac{e^{inx}+e^{-inx}}{2}=\cos(nx)[/itex] and therefore [tex] \frac{-\pi^{2}}{12}=4\sum_{n=1}^{\infty}\frac{1}{n^{2}}\cos(\frac{n\pi}{2})[/tex].

Since [itex]\cos(\frac{n\pi}{2})[/itex] is 0 for all odd multiples of π/2 and alternating between +1 and -1 for even multiples, we have [tex]\frac{-\pi^{2}}{48}=4\sum_{n=1}^{\infty}\frac{(-1)^{n}}{n^{2}} [/tex]

Change sign and reorder: [tex]\sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{n^{2}}=\frac{\pi^{2}}{12} [/tex]

Again, a known fact, but it verifies our procedure.

Staying with the inverse squares, let us try a slightly more unusual function.

Let f(x) be periodic with period 2π where f(x) = cosh(x) for -π≤x≤π.  Then [tex]a_{n}=\frac{1}{2\pi}\int_{-\pi}^{\pi}\cosh(t)e^{-int}dt=\frac{1}{2\pi}\int_{-\pi}^{\pi}\frac{1}{2}(e^{t}+e^{-t})e^{-int}dt[/tex][tex]=\frac{1}{4\pi}\int_{-\pi}^{\pi}(e^{t-int}+e^{-t-int})dt[/tex][tex]=\frac{1}{4\pi}(\frac{1}{1-in}(e^{\pi-in\pi}-e^{-\pi+in\pi})-\frac{1}{1-in}(e^{-\pi-in\pi}-e^{\pi+in\pi})) [/tex]

Remembering that [itex]e^{-in\pi}=e^{in\pi}=(-1)^{n}[/itex],  we have [tex]a_{n}=\frac{1}{4\pi}(\frac{1+in}{1+n^{2}}(-1)^{n}(e^{\pi}-e^{-\pi})-\frac{1-in}{1+n^{2}}(-1)^{n}(e^{-\pi}-e^{\pi})[/tex][tex] =\frac{(-1)^{n}}{2\pi}(\frac{1+in}{1+n^{2}}(-1)^{n}\sinh(\pi)+\frac{1-in}{1+n^{2}}(-1)^{n}\sinh(\pi))[/tex][tex]=\frac{(-1)^{n}}{\pi}(\frac{\sinh(\pi)}{1+n^{2}}) [/tex]

For n=0 we have [tex]a_{0}=\frac{1}{2\pi}\int_{-\pi}^{\pi}\cosh(t)dt=\frac{1}{2\pi}(\sinh(\pi)-\sinh(-\pi))=\frac{\sinh(\pi)}{\pi} [/tex]

Thus [tex]\cosh(x)=\sum_{n=-\infty}^{-1}\frac{(-1)^{n}}{\pi}\frac{\sinh(\pi)}{1+n^{2}}e^{inx}+\frac{\sinh(\pi)}{\pi}+\sum_{n=1}^{\infty}\frac{(-1)^{n}}{\pi}\frac{\sinh(\pi)}{1+n^{2}}e^{inx}[/tex][tex] =\frac{\sinh(\pi)}{\pi}(1+\sum_{n=1}^{\infty}\frac{(-1)^{n}}{1+n^{2}}(e^{inx}+e^{-inx}))[/tex]

For  this tells us (the convergence of the series is trivial) that[tex] \cosh(\pi)=\frac{\sinh(\pi)}{\pi}(1+\sum_{n=1}^{\infty}\frac{2}{1+n^{2}}[/tex]

Reordering this expression, we get [tex] \sum_{n=1}^{\infty}\frac{1}{n^{2}+1}=\frac{1}{2}(\pi\coth(\pi)-1)[/tex]

If we evaluate the series for [itex]x=0[/itex] instead, we get [tex]\cosh(0)=1=\frac{\sinh(\pi)}{\pi}(1+\sum_{n=1}^{\infty}\frac{2\cdot (-1)^{n}}{1+n^{2}}[/tex]

Reordering this expression, we get [tex]\sum_{n=1}^{\infty}\frac{(-1)^{n}}{1+n^{2}}=\frac{1}{2}(\frac{\pi}{\sinh(\pi)}-1) [/tex]

Adding 1 to both sides of the expression, we get[tex]\sum_{n=0}^{\infty}\frac{(-1)^{n}}{n^{2}+1}=\frac{1}{2}(\frac{\pi}{\sinh(\pi)}+1) [/tex]

Third series

In the last insight, I used f(x) = x3-Ï€2x. Here I will just change the sign and use [itex]f(x)=\pi^{2}x-x^{3}[/itex]. It will, of course, change the sign of the calculated coefficients, so [itex]a_{n}=\frac{-6}{in^{3}}[/itex] with [itex] a_{0}=0[/itex]. Inserting x=Ï€/2 gives [tex] \frac{\pi^{3}}{2}-\frac{\pi^{3}}{8}=\sum_{n=-\infty}^{-1}\frac{-6}{in^{3}}e^{in\frac{\pi}{2}}+\sum_{n=1}^{\infty}\frac{-6}{in^{3}}e^{in\frac{\pi}{2}}[/tex]

Reordering: [tex]\frac{\pi^{3}}{16}=\sum_{n=1}^{\infty}\frac{1}{in^{3}}e^{-in\frac{\pi}{2}}+\sum_{n=1}^{\infty}\frac{-1}{in^{3}}e^{in\frac{\pi}{2}} [/tex]

Again, we have a sine function, so [tex] \frac{\pi^{3}}{32}=\sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{(2n-1)^{3}}[/tex]

Reducing the denominator: [tex] \sum_{n=1}^{\infty}\frac{(-1)^{n-1}}{(n-\frac{1}{2})^{3}}=\frac{\pi^{3}}{4}[/tex]

These results may be new, I do not know (I certainly have not seen them before).

Read my next article: Why Road Capacity Is Almost Independent of the Speed Limit

 

Svein
Svein

Master’s in Mathematics, Norway. Interested in Network-based time synchronisation.

More Related Articles

  • Investigating Some Euler Sums
  • Some Useful Integrals In Quantum Field Theory
  • A Continuous, Nowhere Differentiable Function: Part 2
  • Computing the Riemann Zeta Function Using Fourier Series
  • The Analytic Continuation of the Lerch and the Zeta Functions
  • Series in Mathematics: From Zeno to Quantum Theory
Tags: Fourier series, infinite series, Tutorial, Undergraduate
Share this entry
  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on LinkedIn
  • Share on Reddit
  • Share by Mail
https://www.physicsforums.com/insights/wp-content/uploads/2017/09/fourierseries2.png 135 240 Svein https://www.physicsforums.com/insights/wp-content/uploads/2019/02/Physics_Forums_Insights_logo.png Svein2017-09-28 18:26:502020-12-25 18:29:17Learn Further Sums Found Through Fourier Series
You might also like
partial-differentiation Learn Partial Differentiation Without Tears
physics mysteries A Principle Explanation of the “Mysteries” of Modern Physics
What is the double split What is the Double Slit? A 5 Minute Introduction
matlab errors 5 Common MATLAB Error Messages and How to Fix Them
observableuniverse Why the Observable Universe Is Bigger Than Its Age
Schrodinger's cat Schrödinger’s Cat and the Qbit
5 replies
  1. Svein
    Svein says:
    October 16, 2017 at 5:42 am
    The Electrician

    Did you notice that Mathematica disagrees on the sign of the last one?No, saw it just now. Mathematica is correct, the correct exponent for (-1) should be (n-1), not n.

    Log in to Reply
  2. The Electrician
    The Electrician says:
    October 15, 2017 at 3:13 pm
    Svein

    Then Mathematica and I agree. Fine!

    For me this is part of the road I am currently going. As long as I am getting correct answers along the way, I am happy.Did you notice that Mathematica disagrees on the sign of the last one?

    Log in to Reply
  3. Svein
    Svein says:
    October 15, 2017 at 1:13 pm
    The Electrician

    Mathematica gave this:Then Mathematica and I agree. Fine!

    For me this is part of the road I am currently going. As long as I am getting correct answers along the way, I am happy.

    Log in to Reply
  4. The Electrician
    The Electrician says:
    October 15, 2017 at 5:15 am

    Mathematica gave this:

    View attachment 213068

    Log in to Reply
  5. kith
    kith says:
    October 1, 2017 at 10:16 pm

    Quick Latex pointer: if you write "left(" and "right)" instead of "(" and ")" you get parentheses which self-adjust their height.

    Log in to Reply

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply Cancel reply

You must be logged in to post a comment.

Popular Articles

  • How to Measure Internal Resistance of a Battery
  • The Block Universe – Refuting a Common Argument
  • What Planck Length Is and It’s Common Misconceptions
  • Can We See an Atom?
  • Why You Can’t Quantum Tunnel Through a Wall
  • Quantum Renormalisation Made Easy
  • The 7 Basic Rules of Quantum Mechanics
  • Tensors Explained: Beginner’s Essentials for Relativity
  • The Orin Fractional Calculus
  • Einstein Field Equations Explained: Structure, Solutions, Facts

Physics Forums

  • Classical Physics
  • Atomic and Condensed Matter
  • Quantum Physics
  • Special and General Relativity
  • Beyond the Standard Model
  • High Energy, Nuclear, Particle Physics
  • Astronomy and Astrophysics
  • Cosmology
  • Other Physics Topics

Receive Insights Articles to Your Inbox

Enter your email address:

Blog Information

  • Become a Member!
  • Write for Us!
  • Table of Contents
  • Blog Author List

Popular Topics

black holes (23) classical physics (35) education (23) FAQ (58) General (230) general relativity (23) Graduate (185) gravity (25) Guide (86) interview (49) mathematics (39) mathematics self-study (21) Physicist (26) Quantum Field Theory (34) quantum mechanics (36) quantum physics (24) relativity (40) Special Relativity (22) Tutorial (147) Undergraduate (287)
2026 © Physics Forums, ALL RIGHTS RESERVED - Contact Us - Privacy Policy - About PF Insights
  • Link to X
  • Link to Facebook
  • Link to LinkedIn
Link to: Introduction to Perturbative Quantum Field Theory Link to: Introduction to Perturbative Quantum Field Theory Introduction to Perturbative Quantum Field TheoryperturbationLink to: Solar System Imaging: Telescope, Camera & Filters Guide Link to: Solar System Imaging: Telescope, Camera & Filters Guide solarimagingSolar System Imaging: Telescope, Camera & Filters Guide
Scroll to top Scroll to top Scroll to top