AI Math Solver
Understand Every Step

Detailed step-by-step explanations — not just answers

Formulas

See the Magic in Action

Basel problem solved using Fourier series — with every step explained

Question

Find the sum of the series:
n=11n2  =  1+14+19+116+\sum_{n=1}^{\infty} \frac{1}{n^2} \;=\; 1 + \frac{1}{4} + \frac{1}{9} + \frac{1}{16} + \cdots

Solution

π26\dfrac{\pi^2}{6}
1
Consider f(x)=x2f(x) = x^2 on (π,π)(-\pi,\,\pi). Its Fourier series expansion:
f(x)=a02+n=1(ancosnx+bnsinnx)f(x) = \frac{a_0}{2} + \sum_{n=1}^{\infty}\bigl(a_n \cos nx + b_n \sin nx\bigr)
2
Since f(x)=x2f(x) = x^2 is even, all bn=0b_n = 0. Computing the coefficients:
a0=2π23,an=4(1)nn2a_0 = \frac{2\pi^2}{3}, \qquad a_n = \frac{4(-1)^n}{n^2}
3
Substituting gives the Fourier series for x2x^2:
x2=π23+4n=1(1)ncosnxn2x^2 = \frac{\pi^2}{3} + 4\sum_{n=1}^{\infty} (-1)^n \frac{\cos nx}{n^2}
4
Substitute x=πx = \pi. Since cos(nπ)=(1)n\cos(n\pi) = (-1)^n:
π2=π23+4n=1(1)n(1)nn2=π23+4n=11n2\pi^2 = \frac{\pi^2}{3} + 4\sum_{n=1}^{\infty} (-1)^n \cdot \frac{(-1)^n}{n^2} = \frac{\pi^2}{3} + 4\sum_{n=1}^{\infty} \frac{1}{n^2}
5
Isolate the sum:
4n=11n2=π2π23=2π234\sum_{n=1}^{\infty} \frac{1}{n^2} = \pi^2 - \frac{\pi^2}{3} = \frac{2\pi^2}{3}
6
Divide both sides by 44:
  n=11n2=π26  \boxed{\;\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}\;}
Live math tutor helping students solve algebra and calculus problems step by step

Live Math Tutor

Stuck on a hard problem? Get help from a verified math expert — real person, not a bot.

450+ verified math tutors online
Average response time under 2 minutes
One-on-one help until you fully understand
From algebra to advanced calculus, 24/7

Why Students Love Us

<0s

Response time

0 steps

Avg explanation depth

0%

Accuracy rate

A+

Grade improvement

Trusted by 10,000+ Students

See why students and teachers love us

Saved me during finals! The step-by-step calculus solutions were exactly what I needed to understand the material.

James R.

James R.

College, 2nd year

I draw equations on the whiteboard and get instant solutions. Way better than waiting for a tutor.

SL

Sarah L.

High school, 11th grade

The graph feature helped me visualize functions and finally understand derivatives intuitively.

Wei C.

Wei C.

University, 1st year

Uploaded a textbook problem — got a detailed solution in 5 seconds. Absolute magic!

Priya M.

Priya M.

High school, 10th grade

I recommend it to my students for self-study. The step-by-step explanations match how I teach in class.

Dr. Anderson

Dr. Anderson

Professor

Linear algebra was killing me. Now I solve matrices and systems in seconds with full explanations.

Sofia K.

Sofia K.

College, 3rd year

Start solving for free

Sign up and get 5 free solutions every day. No credit card required.