WordGPT

Leibniz: 1 − 1/3 + 1/5 − 1/7 + … = π/4

Exercise · Level 4 (Hard)

Find the sum of the alternating series of odd reciprocals.

1−13+15−17+⋯1-\frac13+\frac15-\frac17+\cdots

wordgptpro.com

Solution

  1. For ∣x∣<1|x|<1: 11+x2=1−x2+x4−x6+⋯\dfrac1{1+x^2}=1-x^2+x^4-x^6+\cdots. Integrate term by term from 0 to 1:

    ∫01dx1+x2=1−13+15−17+⋯\int_0^1\frac{dx}{1+x^2}=1-\frac13+\frac15-\frac17+\cdots
    (1)
  2. The left side is arctan⁡1=π4\arctan1=\tfrac\pi4 (the previous card). The step to the endpoint x=1x=1 is justified by Abel's theorem, because the series converges there:

    1−13+15−⋯=π4⇒ π=4(1−13+15−⋯)\begin{aligned}&1-\frac13+\frac15-\cdots\\&=\frac\pi4\\&\Rightarrow\ \pi\\&=4\Big(1-\frac13+\frac15-\cdots\Big)\end{aligned}
    (2)
Answerπ4\frac{\pi}{4}

wordgptpro.com

Need a hint?

Expand 1/(1+x²) as a geometric series and integrate from 0 to 1.

1 − 1/3 + 1/5 − 1/7 + … = π/4, found by Madhava and Leibniz. It converges very slowly: a million terms give π to six digits.

How to work it out

  1. For ∣x∣<1|x|<1: 11+x2=1−x2+x4−x6+⋯\dfrac1{1+x^2}=1-x^2+x^4-x^6+\cdots. Integrate term by term from 0 to 1:

    ∫01dx1+x2=1−13+15−17+⋯\int_0^1\frac{dx}{1+x^2}=1-\frac13+\frac15-\frac17+\cdots
    (1)
  2. The left side is arctan⁡1=π4\arctan1=\tfrac\pi4 (the previous card). The step to the endpoint x=1x=1 is justified by Abel's theorem, because the series converges there:

    1−13+15−⋯=π4⇒ π=4(1−13+15−⋯)\begin{aligned}&1-\frac13+\frac15-\cdots\\&=\frac\pi4\\&\Rightarrow\ \pi\\&=4\Big(1-\frac13+\frac15-\cdots\Big)\end{aligned}
    (2)
LaTeX source of the formulas on this page
\[ \frac{\pi}{4} \]
\[ \int_0^1\frac{dx}{1+x^2}=1-\frac13+\frac15-\frac17+\cdots \]
\[ 1-\frac13+\frac15-\cdots=\frac\pi4\ \Rightarrow\ \pi=4\Big(1-\frac13+\frac15-\cdots\Big) \]

Questions

What is the answer to: Leibniz: 1 − 1/3 + 1/5 − 1/7 + … = π/4?

1 − 1/3 + 1/5 − 1/7 + … = π/4, found by Madhava and Leibniz. It converges very slowly: a million terms give π to six digits.

What is the key idea?

Integrate a geometric series for 1/(1+x²) term by term.

Is there a hint?

Expand 1/(1+x²) as a geometric series and integrate from 0 to 1.

Related problems

More limits and sums

    Leibniz: 1 − 1/3 + 1/5 − 1/7 + … = π/4: answer and solution | WordGPT