Explicitly summing a series involving hyperbolic tangent

Click For Summary

Discussion Overview

The discussion centers around the evaluation of the infinite series \(\sum_{n=1}^{\infty} \frac{(-1)^n}{n} \tanh \left( \frac{n \pi}{2} \right)\). Participants explore methods for analytically summing this series, which involves hyperbolic tangent functions and alternating series.

Discussion Character

  • Exploratory
  • Mathematical reasoning

Main Points Raised

  • One participant numerically approximated the series and proposed that it equals \(\frac{\ln 2 - \pi}{4}\), seeking analytical evaluation methods.
  • Another participant suggested expressing \(\tanh\) as a sum of complex exponentials, although the utility of this approach was questioned.
  • A further contribution rephrased \(\tanh\) using real exponentials, leading to a reformulation of the series into two parts, one of which is the alternating harmonic series summing to \(-\ln(2)\), while the second part requires further analysis.

Areas of Agreement / Disagreement

Participants do not appear to reach a consensus on the best method for evaluating the series analytically, with differing opinions on the effectiveness of using complex versus real exponentials.

Contextual Notes

The discussion includes unresolved mathematical steps, particularly regarding the second summation derived from the reformulation of \(\tanh\). There is also a reliance on prior calculus knowledge that may not be universally accessible among participants.

gabbagabbahey
Homework Helper
Gold Member
Messages
5,000
Reaction score
7
I recently came across a problem where I was able to show that [tex]\sum_{n=1}^{\infty} \frac{(-1)^n}{n} \tanh \left( \frac{n \pi}{2} \right)=\frac{\ln 2- \pi}{4}[/tex] through numerical approximation...However, I don't have much practice evaluating such summations analytically, and I was wondering if anyone had any ideas on how to evaluate this one analytically?
 
Physics news on Phys.org
Express tanh as a sum of complex exponentials.
 
rochfor1 said:
Express tanh as a sum of complex exponentials.

Ermm...was the 'complex' a typo, or does expressing [itex]\tanh\left(\frac{n\pi}{2}\right)[/itex] as [tex]\frac{e^{i\left(\frac{-in\pi}{2}\right)}-e^{i\left(\frac{in\pi}{2}\right)}}{e^{i\left(\frac{-in\pi}{2}\right)}+e^{i\left(\frac{in\pi}{2}\right)}}[/tex] actually help in evaluating this sum? If so, I don't see how.
 
Okay, so I've made some headway by expressing tanh in terms of 'real' exponentials:

Using [itex]\tanh(x)=\frac{e^x-e^{-x}}{e^x+e^{-x}}=\frac{e^{2x}-1}{e^{2x}+1}=1-\frac{2}{e^{2x}+1}}[/itex] , the sum becomes:

[tex]\sum_{n=1}^{\infty} \frac{(-1)^n}{n} \tanh \left( \frac{n \pi}{2} \right)=\sum_{n=1}^{\infty} \frac{(-1)^n}{n} -2\sum_{n=1}^{\infty} \frac{(-1)^n}{n} \left( \frac{1}{e^{n\pi}+1} \right)[/tex]

The first term is just the alternating harmonic series and sums to [itex]-\ln(2)[/itex], and the second one converges very quickly, but now I need to review my old calc text and see if there is something in there that will help me analytically compute the second summation.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K