Solve any maths problem

Equations, derivatives, integrals, matrices, triangles, primes, statistics, or a word problem the tutor breaks into parts.

Sum k^2 for k = 1 to n

\sum_{k=1}^{n} k^{2}

Step by step

  1. \sum_{k=1}^{n} k^{2}

    Write the sum out.

  2. 1 + 4 + 9 + 16 + \cdots

    The first few terms.

  3. = \frac{n \left(n + 1\right) \left(2 n + 1\right)}{6}

    Closed form (a standard summation formula, provable by induction).

Reveal the answer
\frac{n \left(n + 1\right) \left(2 n + 1\right)}{6}