Moon Arrows Sun
Arrows
With demos
Arrows
Formulary mode

The usual sums\(: \sum k, \ \sum k^2, \ \sum k^3, \ \sum (2k+1)... \)

Let \((a,n) \in \hspace{0.04em} \mathbb{N}^2\) be two natural numbers.

  1. The first terms

    The sum of the \( (n + 1) \) first natural numbers, that is to say from \(0\) to \(n\), is worth:

    $$ \forall n \in \mathbb{N}, $$
    $$ \sum_{k = 0}^n k = \frac{n(n+1)}{2} $$
  2. Generalization: sum from a to n

    In the general way, this sum going from \((k = a) \) until \(n\) is worth:

    $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, $$
    $$ \sum_{k =a}^{n} k = \frac{(n + a)(n+1- a)}{2} $$
  1. The first terms

    The sum of the \( (n + 1) \) first natural squares, that is to say from \(0\) to \(n\), is worth:

    $$ \forall n \in \mathbb{N}, $$
    $$ \sum_{k = 0}^n k^2 = \frac{n(n+1)(2n+1)}{6} $$
  2. Generalization: sum from a to n

    In the general way, this sum going from \((k = a) \) until \(n\) is worth:

    $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, $$
    $$ \sum_{k =a}^{n} k^2 = \frac{1}{6} \Bigl( n+1-a\Bigr) \biggl( 2n^2 + 2a^2 + 2an + n - a \biggr) $$
  1. The first terms

    The sum of the \( (n + 1) \) first natural cubes, that is to say from \(0\) to \(n\), is worth:

    $$ \forall n \in \mathbb{N}, $$
    $$ \sum_{k = 0}^n k^3 = \frac{n^2 (n+1)^2 }{4} $$

    Moreover,

    $$ \forall n \in \mathbb{N}, $$
    $$ \sum_{k = 0}^n k^3 = \Biggl( \hspace{0.1em} \sum_{k = 0}^n k \hspace{0.1em} \Biggr)^2$$
  2. Generalization: sum from a to n

    In the general way, this sum going from \((k = a) \) until \(n\) is worth:

    $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, $$
    $$ \sum_{k=a}^n k^3 = \frac{1}{4}\bigl(n+1-a\bigr)\bigl(n+a\bigr)\bigl(n^2 + a^2 + n - a\bigr)$$
  1. The first terms

    The sum of the \( (n + 1) \) first odd numbers, that is to say from \(0\) to \(n\), is worth:

    $$ \forall n \in \mathbb{N}, $$
    $$ \sum_{k = 0}^n (2k +1) = (n+1)^2 $$
  2. Generalization: sum from a to n

    In the general way, this sum going from \((k = a) \) until \(n\) is worth:

    $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, $$
    $$ \sum_{k =a}^{n} (2k +1) = (n + 1+ a)(n+1- a) $$
  1. The first terms

    The sum of the \( (n + 1) \) first even numbers, that is to say from \(0\) to \(n\), is worth:

    $$ \forall n \in \mathbb{N}, $$
    $$ \sum_{k = 0}^n (2k) = n(n+1) $$
  2. Generalization: sum from a to n

    In the general way, this sum going from \((k = a) \) until \(n\) is worth:

    $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, $$
    $$ \sum_{k =a}^{n} (2k) = (n + a)(n+1- a) $$
  1. The first terms

    The sum of the \( (n + 1) \) first terms of an arithmetical sequence, that is to say from \(0\) to \(n\), is worth:

    $$ \forall n \in \mathbb{N}, \enspace \forall (u_0, r) \in \hspace{0.04em} \mathbb{R}^2, $$
    $$ \sum_{k = 0}^n (u_0 + kr) = \Bigl(n + 1 \Bigr) \Biggl( \frac{u_0 + u_n}{2} \Biggr)$$
    $$ (\text{with} \enspace u_n = u_0 + nr) $$
  2. Generalization: sum from a to n

    In the general way, this sum going from \((k = a) \) until \(n\) is worth:

    $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, $$
    $$ \sum_{k = a}^n (u_0 + kr) = \Bigl(n + 1 - a\Bigr) \Bigg( \frac{u_0 + u_{n+a}}{2} \Biggr)$$
    $$ (\text{with} \enspace u_n = u_0 + nr) $$
  1. The first terms

    The sum of the \( (n + 1) \) first natural powers of a real number, that is to say from \(0\) to \(n\), is worth:

    $$ \forall n \in \mathbb{N}, \enspace \forall q \in \hspace{0.04em} \Bigl[ \mathbb{R} \ \backslash \ \bigl \{0,1 \bigr \} \Bigr] , $$
    $$ \sum_{k = 0}^n q^k = \frac{q^{n+1} - 1}{q-1} $$
  2. Generalization: sum from a to n

    In the general way, this sum going from \((k = a) \) until \(n\) is worth:

    $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, \enspace \forall q \in \hspace{0.04em} \Bigl[ \mathbb{R} \ \backslash \ \bigl \{0,1 \bigr \} \Bigr] , $$
    $$ \sum_{k =a}^{n} q^k = \frac{q^{n+1} - q^{a}}{q-1} $$
  1. The first terms

    The sum of the \( (n + 1) \) first terms of a geometrical sequence, that is to say from \(0\) to \(n\), is worth:

    $$ \forall n \in \mathbb{N}, \enspace \forall v_0 \in \hspace{0.04em} \mathbb{R}, \ \forall q \in \hspace{0.04em} \Bigl[ \mathbb{R} \ \backslash \ \bigl \{0,1 \bigr \} \Bigr] , $$
    $$ \sum_{k = 0}^n (v_0.q^k ) = v_0.\frac{q^{n+1} - 1}{q-1} $$
  2. Generalization: sum from a to n

    In the general way, this sum going from \((k = a) \) until \(n\) is worth:

    $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, \enspace \forall v_0 \in \hspace{0.04em} \mathbb{R}, \ \forall q \in \hspace{0.04em} \Bigl[ \mathbb{R} \ \backslash \ \bigl \{0,1 \bigr \} \Bigr] , $$
    $$ \sum_{k =a}^{n} v_0.q^k = v_0.\frac{q^{n+1} - q^{a}}{q-1} $$
  1. Horizontal sum from 0 to n
    $$\forall n \in \mathbb{N}, $$
    $$ \sum_{p = 0}^n \binom{n}{p} = \hspace{0.2em} 2^n $$
  2. Vertical sum from r to n
    $$\forall (r, n) \in \hspace{0.04em}\mathbb{N}^2, \enspace r \leqslant n, $$
    $$ \sum_{k=r}^n \binom{k}{r} = \binom{n+1}{r +1} $$
$$\forall n \in \mathbb{N}, $$
$$ \sum_{k = 0}^n e^{ik\theta} = e^{\frac{in\theta}{2}} \times \frac{\sin\left(\frac{(n + 1) \theta}{2}\right)}{\sin\left(\frac{\theta}{2}\right)} $$

Hence, as:

$$ \forall k \in \mathbb{N}, \ \forall x \in \mathbb{R},$$
$$ e^{ik\theta} = \cos(k \theta) + i \sin(kx) $$

Thus:

$$ \forall n \in \mathbb{N},$$
$$ \sum_{k = 0}^n \cos(k \theta) = \cos\left(\frac{n\theta}{2}\right) \times \frac{\sin\left(\frac{(n + 1) \theta}{2}\right)}{\sin\left(\frac{\theta}{2}\right)} $$
$$ \sum_{k = 0}^n \sin(kx) = \sin\left(\frac{n\theta}{2}\right) \times \frac{\sin\left(\frac{(n + 1) \theta}{2}\right)}{\sin\left(\frac{\theta}{2}\right)} $$
$$ \sum_{k = 1}^{+\infty} \frac{1}{k^2} = \frac{\pi^2}{6} \qquad \bigl( \text{The Basel problem} \bigr) $$
$$\forall n \in \mathbb{N}, $$
$$ \sum_{k = 1}^{n} \sqrt{k} \underset{+\infty}{\ \sim} \frac{2}{3}n^{\frac{3}{2}} $$

Proofs

Let \((a,n) \in \hspace{0.04em} \mathbb{N}^2\) be two natural numbers.

The sum of natural numbers\( : \sum k\)

  1. The first terms

    We want to calculate the sum of the first natural numbers from \( 0\) to \( n\):

    $$ \sum_{k = 0}^n k = \enspace \underbrace{0 + 1 + 2 \ + \ ... \ + \ (n-1) + n} _\text{(n+1) terms} $$
    1. By the Gauss method

      By definition, this sum is worth:

      $$ \sum_{k = 0}^n k = \enspace \underbrace{0 + 1 + 2 \ + \ ... \ + \ (n-1) + n} _\text{(n+1) terms} $$

      Let us rewrite this sum in reverse:

      $$ \sum_{k = 0}^n k = n + (n-1) \enspace + \ ... \ + \enspace 2 + 1 + 0 $$

      Additionning both equations by matching the terms one by one, we do have:

      $$ \sum_{k = 0}^n k + \sum_{k = 0}^n k = \enspace \underbrace{(0 + n) + (1 + n - 1) \ + \ ... \ + \ (n - 1 + 1) + (n + 0)} _\text{(n+1) terms} $$

      All these terms are worth \( n \):

      $$ \sum_{k = 0}^n k + \sum_{k = 0}^n k = \enspace \underbrace{ n + n \ + \ ... \ + \ n + n} _\text{(n+1) terms} $$

      Thus,

      $$ 2\sum_{k = 0}^n k = n(n+1) $$

      And as a result,

      $$ \forall n \in \mathbb{N}, $$
      $$ \sum_{k = 0}^n k = \frac{n(n+1)}{2} $$
    2. By telescoping terms

      We know from remarkable identities that:

      $$ (k + 1)^2 = k^2 + 2k + 1$$
      $$ (k + 1)^2 - k^2 - 1= 2k $$

      Let us do the sum of each terms of both members of the equation, from \( (k =0) \) to \(n\).

      $$ \sum_{k=0}^n \Bigl[ (k + 1)^2 - k^2 \Bigr] - \sum_{k=0}^n 1= \sum_{k=0}^n 2k $$

      Now, we know that a telescoping of terms is going to happen, and it will remain only:

      $$\sum_{k=0}^n \bigl [ a_{k+1} - a_k \bigr] = a_{n+1} - a_0 $$

      So in our case:

      $$\sum_{k=0}^n \Bigl[(k+1)^2 - k^2 \Bigr] = (n + 1)^2 - \ 0^2 $$

      Which leads us to:

      $$ (n + 1)^2 -(n+1) = 2\sum_{k=0}^n k $$
      $$ (n+1)(n+1 - 1) = 2\sum_{k=0}^n k $$
      $$ \frac{n(n+1)}{2} = \sum_{k = 0}^n k$$

      And as a result,

      $$ \forall n \in \mathbb{N}, $$
      $$ \sum_{k = 0}^n k = \frac{n(n+1)}{2} $$
  2. Generalization: sum from a to n

    Let us do the same reasoning as before, but now from \((k = a) \) until \(n\):

    $$ \sum_{k = a}^n k = \enspace \underbrace{a + (a + 1) + (a + 2) \ + \ ... \ + \ (n-1) + n} _\text{(n+1) terms} $$
    1. By telescoping terms
      $$ (k + 1)^2 = k^2 + 2k + 1$$
      $$ (k + 1)^2 - k^2 - 1= 2k $$
      $$ \sum_{k=a}^n \Bigl[ (k + 1)^2 - k^2 \Bigr] - \sum_{k=a}^n 1= \sum_{k=a}^n 2k $$
      $$ (n + 1)^2 - a^2 - (n+1 -a )= 2\sum_{k=a}^n k $$

      Factorizing the two first members of left part, we do have:

      $$ (n + 1 - a)(n+1+a) - (n+1 -a )= 2\sum_{k=a}^n k $$

      Factorizing now all the left part we do obtain:

      $$ (n + 1 - a)(n+a)= 2\sum_{k=a}^n k $$
      $$ \frac{(n + 1 - a)(n+a)}{2}= \sum_{k=a}^n k $$

      Finally we do have,

      $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, $$
      $$ \sum_{k =a}^{n} k = \frac{(n + a)(n+1- a)}{2} $$

The sum of natural squares\( : \sum k^2\)

  1. The first terms

    We want to calculate the sum of the first natural squares from \( 0\) to \( n\):

    $$ \sum_{k = 0}^n k^2 = \enspace \underbrace{0 + 1 + 4 + 9 \ + \ ... \ + \ (n-1)^2 + n^2} _\text{(n+1) terms} $$

    Thanks to the Newton's binomial , we know that:

    $$\forall k \in \hspace{0.04em} \mathbb{R},$$
    $$ (k + 1)^3 = \binom{3}{0} k^3 + \binom{3}{1}k^2 + \binom{3}{2}k + \binom{3}{3}$$

    So,

    $$ (k + 1)^3 = k^3 + 3k^2 + 3k + 1$$
    $$ (k + 1)^3 - k^3 - 3k -1 = 3k^2 $$

    Let us do the sum of each terms of both members of the equation, from \( (k =0) \) to \(n\).

    Now, we know that a telescoping of terms is going to happen, and it will remain only:

    $$\sum_{k=0}^n \bigl [ a_{k+1} - a_k \bigr] = a_{n+1} - a_{0} $$

    So in our case:

    $$\sum_{k=0}^n \Bigl[(k+1)^3 -k^3 \Bigr] = (n + 1)^3 - 0 $$

    Which leads us to:

    $$ (n + 1)^3 -(n+1) -3\sum_{k=0}^n k = 3\sum_{k=0}^n k^2 $$

    The sum of the first natural numbers had been calculated above. Let us replace it.

    $$ (n + 1)^3 -(n+1) -3 \Biggl[ \frac{n(n+1)}{2} \Biggr] = 3\sum_{k=0}^n k^2 $$
    $$ (n+1)\Bigl((n + 1)^2 -1 - \frac{3n}{2} \Bigr) = 3\sum_{k=0}^n k^2 $$
    $$ \frac{1}{2}(n+1)\Bigl(2n^2 +4n - 3n\Bigr) = 3\sum_{k=0}^n k^2 $$
    $$ \frac{1}{6}(n+1)\Bigl(2n^2 +n\Bigr) = \sum_{k=0}^n k^2 $$
    $$ \frac{n(n+1)(2n+1)}{6} = \sum_{k=0}^n k^2 $$

    And as a result,

    $$ \forall n \in \mathbb{N}, $$
    $$ \sum_{k = 0}^n k^2 = \frac{n(n+1)(2n+1)}{6} $$
  2. Generalization: sum from a to n

    Let us do the same reasoning as before, but now from \((k = a) \) until \(n\):

    $$ \sum_{k = a}^n k^2 = \enspace \underbrace{a^2 + (a + 1)^2 + (a + 2)^2 \ + \ ... \ + \ (n-1)^2 + n^2} _\text{(n+1) terms} $$
    1. By telescoping terms
      $$ (k + 1)^3 = k^3 + 3k^2 + 3k + 1$$
      $$ (k + 1)^3 - k^3 -3 k - 1 = 3k^2 $$
      $$ \sum_{k=a}^n \Bigl[(k + 1)^3 - k^3 \Bigr] -\sum_{k=a}^n 3 k -\sum_{k=a}^n 1 = \sum_{k=a}^n 3k^2 $$

      Let us replace all sums by its value:

      $$ (n+1)^3 - a^3 - 3\frac{(n + a)(n+1- a)}{2} -(n+1-a) = 3\sum_{k=a}^n k^2 $$

      We know from the Bernoulli's formula (or geometrical identity) that:

      $$ \forall (a,b) \in \hspace{0.04em} \mathbb{R}^2, \enspace \forall n \in \hspace{0.04em} \mathbb{N}, $$
      $$a^n - b^n = (a-b) \sum_{k=0}^{n-1} a^{n-k-1}b^k $$

      So in our case:

      $$(n+1)^3 - a^3 = (n+1-a) \sum_{k=0}^{2} (n+1)^{2-k}a^k $$
      $$(n+1)^3 - a^3 = (n+1-a) \Bigl[ (n+1)^2 + a(n+1) +a^2 \Bigr]$$

      Which leads us to:

      $$ (n+1-a) \Bigl[ (n+1)^2 + a(n+1) +a^2 \Bigr] - 3\frac{(n + a)(n+1- a)}{2} -(n+1-a) = 3\sum_{k=a}^n k^2 $$

      We can now factorize it by \((n+1-a)\):

      $$ (n+1-a) \Bigl[(n+1)^2 + a(n+1) +a^2 - 3\frac{(n + a)}{2} -1 \Bigr] = 3\sum_{k=a}^n k^2 $$
      $$ (n+1-a) \Bigl[n^2 + 2n + 1 + an + a + a^2 - 3\frac{(n + a)}{2} -1 \Bigr] = 3\sum_{k=a}^n k^2 $$

      Let us multiply the entire expression inside the parentheses by \(2\) (while adjusting the other factor) to clear the denominator:

      $$ \frac{ (n+1-a)}{2} \Bigl[2n^2 + 4n + 2 + 2an + 2a + 2a^2 - 3n - 3a -2 \Bigr] = 3\sum_{k=a}^n k^2 $$
      $$ \frac{ (n+1-a)}{2} \Bigl[2n^2 + \underbrace{4n-3n} _{n} + 2an + \underbrace{2 -2} _{0} + \underbrace{2a -3a} _{-a} + 2a^2 \Bigr] = 3\sum_{k=a}^n k^2 $$
      $$ \frac{ (n+1-a)}{2} \Bigl[2n^2 + n + 2an + 2a^2 - a \Bigr] = 3\sum_{k=a}^n k^2 $$

      And finally we obtain,

      $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, $$
      $$ \sum_{k =a}^{n} k^2 = \frac{1}{6} \Bigl( n+1-a\Bigr) \biggl( 2n^2 + 2a^2 + 2an + n - a \biggr) $$

The sum of natural cubes\( : \sum k^3\)

  1. The first terms

    We want to calculate the sm of the first natural cubes from \( 0\) to \( n\):

    $$ \sum_{k = 0}^n k^3 = \enspace \underbrace{0 + 1 + 8 + 27 \ + \ ... \ + \ (n-1)^3 + n^3} _\text{(n+1) terms} $$

    We know from the Newton's binomial that:

    $$\forall k \in \hspace{0.04em} \mathbb{R},$$

    So,

    $$ (k + 1)^4 = \binom{4}{0} k^4 + \binom{4}{1}k^3 + \binom{4}{2}k^2 + \binom{4}{3}k + 1$$

    And,

    $$ (k + 1)^4 = k^4 + 4k^3 + 6k^2 + 4k + 1$$
    $$ (k + 1)^4 - k^4 - 6k^2 -4k -1 = 4k^3 $$

    Let us do the sum of each terms of both members of the equation, from \( (k =0) \) to \(n\).

    Now, we know that a telescoping of terms is going to happen, and it will remain only:

    $$\sum_{k=0}^n \bigl [ a_{k+1} - a_k \bigr] = a_{n+1} - a_{0} $$

    So in our case:

    $$\sum_{k=0}^n \Bigl[(k+1)^4 -k^4 \Bigr] = (n + 1)^4 - 0 $$

    Which leads us to:

    $$ (n + 1)^4 -(n+1) -6\sum_{k=0}^n k^2 -4\sum_{k=0}^n k = 4\sum_{k=0}^n k^3 $$

    The sum of the first natural numbers and also the sum of the first natural squares had already been calculated. Let us replace both of it by their respective value.

    $$ (n + 1)^4 -(n+1) -6 \Biggl[\frac{n(n+1)(2n+1)}{6} \Biggr] -4 \Biggl[\frac{n(n+1)}{2} \Biggr] = 4\sum_{k=0}^n k^2 $$
    $$ (n+1)\Bigl((n + 1)^3 -1 -n(2n+1) -2n \Bigr) = 4\sum_{k=0}^n k^2 $$
    $$ (n+1)\Bigl(n^3 +3n^2 + 3n +1 -1 -2n^2 -n -2n^2 -2n \Bigr) = 4\sum_{k=0}^n k^2 $$
    $$ (n+1)(n^3+ n^2) = 4\sum_{k=0}^n k^2 $$

    And finally,

    $$ \forall n \in \mathbb{N}, $$
    $$ \sum_{k = 0}^n k^3 = \frac{n^2 (n+1)^2 }{4} $$

    Furthermore, we can notice that:

    $$ \sum_{k = 0}^n k^3 = \frac{n^2 (n+1)^2 }{4} = \Biggl(\frac{n(n+1)}{2} \Biggr)^2 $$

    So,

    $$ \forall n \in \mathbb{N}, $$
    $$ \sum_{k = 0}^n k^3 = \Biggl( \hspace{0.1em} \sum_{k = 0}^n k \hspace{0.1em} \Biggr)^2$$
  2. Generalization: sum from a to n

    Let us do the same reasoning as before, but now from \((k = a) \) until \(n\):

    $$ \sum_{k = a}^n k^3 = \enspace \underbrace{a^3 + (a + 1)^3 + (a + 2)^3 \ + \ ... \ + \ (n-1)^3 + n^3} _\text{(n+1) terms} $$
    1. By telescoping terms
      $$ (k + 1)^4 = k^4 + 4k^3 + 6k^2 + 4k + 1$$
      $$ (k + 1)^4 - k^4 -6k^2 - 4k - 1 = 4k^3 $$

      Let us do the sum of each terms of both members of the equation, from \( (k =0) \) to \(n\).

      $$ \sum_{k=a}^n \Bigl[(k + 1)^3 - k^4 \Bigr] - \sum_{k=a}^n 6 k^2 - \sum_{k=a}^n 4k - \sum_{k=a}^n 1 = \sum_{k=a}^n 4k^3 $$

      We already calculated both sums \(\sum k^2\) and \(\sum k\). Let us replace it by their respective value.

      $$ (n+1)^4 - a^4 - 6 \times \frac{1}{6} \Bigl( n+1-a\Bigr) \biggl( n(2n+1) + a(2n +2a -1)\biggr) -4 \frac{(n + a)(n+1- a)}{2} -(n+1-a) = 4\sum_{k=a}^n k^3 $$

      We use again the Bernoulli's formula , in our case it will be:

      $$(n+1)^4 - a^4 = (n+1-a) \sum_{k=0}^{3} (n+1)^{3-k}a^k $$
      $$(n+1)^4 - a^4 = (n+1-a) \Bigl[ (n+1)^3 + (n+1)^2 a + a^2(n+1) + a^3 \Bigr]$$

      Which leads us to:

      $$(n+1-a) \Bigl[ (n+1)^3 + (n+1)^2 a + a^2(n+1) + a^3 \Bigr] - (n+1-a) \Bigl[ n(2n+1) + a(2n +2a -1)\Bigr] -2 (n + a)(n+1- a) -(n+1-a) = 4\sum_{k=a}^n k^3 $$

      We can now factorize by \((n+1-a)\) and concentrate on the inside:

      $$(n+1-a) \Biggl[ (n+1)^3 + (n+1)^2 a + a^2(n+1) + a^3 - \biggl[ n(2n+1) + a(2n +2a -1)\biggr] -2(n + a) -1 \Biggr] = 4\sum_{k=a}^n k^3 $$
      $$(n+1-a) \Bigl[ n^3 + 3n^2 + 3n + 1 + an^2 + 2an + a + a^2n + a^2 + a^3 -2n^2 -n -2an - 2a^2 +a -2n - 2a - 1 \Bigr] = 4\sum_{k=a}^n k^3 $$

      Tidying things up a bit:

      $$(n+1-a) \Bigl[ n^3 + \underbrace{3n^2 -2n^2} _{n^2} + \underbrace{3n -2n -n} _{0} + \underbrace{1 - 1} _{0} + a^3 + an^2 + \underbrace{2an -2an} _{0} + \underbrace{a + a - 2a} _{0} + a^2n + \underbrace{a^2 - 2a^2} _{-a^2} \Bigr] = 4\sum_{k=a}^n k^3 $$
      $$(n+1-a) \Bigl[ n^3 + an^2 + a^2n + a^3 + n^2 -a^2 \Bigr] = 4\sum_{k=a}^n k^3 $$

      At last, we factorize by \((n+a)\):

      $$(n+1-a) \Bigl[ n^2(n+a) + a^2(n+a) + (n+a)(n-a) \Bigr] = 4\sum_{k=a}^n k^3 $$
      $$(n+1-a)\Bigl[(n+a)(n^2 + a^2 + n - a)\Bigr] = 4\sum_{k=a}^n k^3 $$

      And as a result,

      $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, $$
      $$ \sum_{k=a}^n k^3 = \frac{1}{4}\bigl(n+1-a\bigr)\bigl(n+a\bigr)\bigl(n^2 + a^2 + n - a\bigr)$$

The sum of odd numbers\( : \sum (2k +1) \)

An odd number \( O \) can be formulated as:

$$ \forall k \in \mathbb{Z}, \enspace O = 2k +1 $$
  1. The first terms

    We want to calculate the first odd number from \( 0\) to \( n\):

    $$ \sum_{k = 0}^n (2k +1) = \enspace \underbrace{1 + 3 \hspace{0.1em} + \hspace{0.1em} ... \hspace{0.1em} + \hspace{0.1em} (2n+1) } _\text{(n+1) terms} $$

    We can split this sum into two differents:

    $$ \sum_{k = 0}^n (2k +1) = \sum_{k = 0}^n (2k) + \sum_{k = 0}^n 1 $$
    $$ \sum_{k = 0}^n (2k +1) = 2\sum_{k = 0}^n k + \sum_{k = 0}^n 1 $$

    The sum of the first natural numbers had been calculated above, let inject it:

    $$ \sum_{k = 0}^n (2k +1) = n(n+1) + (n+1) $$
    $$ \sum_{k = 0}^n (2k +1) = (n+1)(n+1) $$

    And as a result,

    $$ \forall n \in \mathbb{N}, $$
    $$ \sum_{k = 0}^n (2k +1) = (n+1)^2 $$
  2. Generalization: sum from a to n

    Let us do the same reasoning as before, but now from \((k = a) \) until \(n\):

    $$ \sum_{k = a}^n (2k +1) = \enspace \underbrace{ (2a+1) + \Bigl[2(a+1) +1 \Bigr] \hspace{0.1em} + \hspace{0.1em} ... \hspace{0.1em} + \hspace{0.1em} (2n+1) } _\text{(n+1 -a) terms} $$
    $$ \sum_{k = a}^n (2k +1) = \sum_{k = a}^n (2k) + \sum_{k = a}^n 1 $$
    $$ \sum_{k = a}^n (2k +1) = 2\sum_{k = a}^n k + \sum_{k = a}^n 1 $$
    $$ \sum_{k = a}^n (2k +1) = (n + a)(n+1- a) + (n+1- a) $$
    $$ \sum_{k = a}^n (2k +1) = (n+1- a) (n + 1 +a) $$

    And finally,

    $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, $$
    $$ \sum_{k =a}^{n} (2k +1) = (n + 1 + a)(n+1- a) $$

The sum of even numbers\( : \sum (2k) \)

An even number \( E \) can be formulated as:

$$ \forall k \in \mathbb{Z}, \enspace E = 2k $$
  1. The first terms

    We want to calculate the sum of the first even numbers from \( 0\) to \( n\).

    $$ \sum_{k = 0}^n 2k = \enspace \underbrace{2 +4 \hspace{0.1em} + \hspace{0.1em} ... \hspace{0.1em} + \hspace{0.1em} 2n } _\text{(n+1) terms} $$
    $$ \sum_{k = 0}^n 2k = 2\sum_{k = 0}^n k $$

    The sum of the first natural numbers had been calculated above, let inject it:

    $$ \sum_{k = 0}^n 2k = n(n+1) $$

    And finally,

    $$ \forall n \in \mathbb{N}, $$
    $$ \sum_{k = 0}^n 2k= n(n+1) $$
  2. Generalization: sum from a to n

    Let us do the same reasoning as before, but now from \((k = a) \) until \(n\):

    $$ \sum_{k = a}^n 2k = \enspace \underbrace{2a +4a \hspace{0.1em} + \hspace{0.1em} ... \hspace{0.1em} + \hspace{0.1em} 2n } _\text{(n+1) terms} $$
    $$ \sum_{k = a}^n 2k = 2\sum_{k = a}^n k = (n + a)(n+1- a) $$

    And finally,

    $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, $$
    $$ \sum_{k =a}^{n} (2k) = (n + a)(n+1- a) $$

The sum of the terms of an arithmetical sequence\( : \sum (u_0 + kr) \)

Let \( (u_n)_{n \in \mathbb{N}}\) be an arithmetical sequence with a reason \( r \in \mathbb{R}\) and its first term \( u_0\in \mathbb{R}\).

  1. The first terms

    We want to calculate the sum of the terms of this sequence from \( 0\) to \( n\):

    $$ \sum_{k = 0}^n (u_0 + kr) = u_0 + (u_0 + r) + (u_0 + 2r) \enspace + \enspace ... \enspace + \enspace \Bigl[u_0 + (n -1)r \Bigr] + (u_0 + nr) $$

    So,

    $$ \sum_{k = 0}^n (u_0 + kr) = u_0(n + 1) + r \bigl(1 + 2 \enspace + \enspace ... \enspace + \enspace (n -1) + n \bigr) $$
    $$ \sum_{k = 0}^n (u_0 + kr) = u_0(n + 1) + r \Biggl[ \sum_{k = 0}^n k \Biggr] $$

    The sum of the first natural numbers had been calculated above, let inject it:

    $$ \sum_{k = 0}^n (u_0 + kr) = u_0(n + 1) + r\Biggl[\frac{n(n + 1)}{2}\Biggr]$$
    $$ \sum_{k = 0}^n (u_0 + kr) = u_0(n + 1) + \Biggl(\frac{nr(n + 1)}{2}\Biggr)$$

    Now, factorizing by \( (n + 1) \) we obtain:

    $$ \sum_{k = 0}^n (u_0 + kr) = \Bigl(n + 1 \Bigr) \Biggl(u_0 + \frac{ nr}{2}\Biggr) $$
    $$ \sum_{k = 0}^n (u_0 + kr) = \Bigl(n + 1 \Bigr) \Biggl(\frac{ 2 u_0 + nr}{2}\Biggr) $$
    $$ \sum_{k = 0}^n (u_0 + kr) = \Bigl(n + 1 \Bigr) \Biggl(\frac{ u_0 + u_n}{2}\Biggr) $$

    And finally,

    $$ \forall n \in \mathbb{N}, \enspace \forall (u_0, r) \in \hspace{0.04em} \mathbb{R}^2, $$
    $$ \sum_{k = 0}^n (u_0 + kr) = \Bigl(n + 1 \Bigr) \Biggl( \frac{u_0 + u_n}{2} \Biggr)$$
    $$ (\text{with} \enspace u_n = u_0 + nr) $$
  2. Generalization: sum from a to n

    Let us do the same reasoning as before, but now from \((k = a) \) until \(n\):

    $$ \sum_{k = a}^n (u_0 + kr) = (u_0 + ar) + \Bigl[u_0 + (a+1)r \Bigl] \enspace + \enspace... \enspace + \enspace \Bigl[u_0 + (n -1)r \Bigl] + (u_0 + nr) $$

    So,

    $$ \sum_{k = a}^n (u_0 + kr) = u_0(n + 1-a) + r \Bigl[a + (a+1) \enspace + \enspace ... \enspace + \enspace (n -1) + n \Bigr] $$
    $$ \sum_{k = a}^n (u_0 + kr) = u_0(n + 1-a) + r \Biggl[ \sum_{k = a}^n k \Biggr] $$
    $$ \sum_{k = a}^n (u_0 + kr) = u_0(n + 1-a) + r \Biggl(\frac{ (n + a)(n+1- a)}{2}\Biggr) $$
    $$ \sum_{k = a}^n (u_0 + kr) = \Bigl(n + 1 - a\Bigr) \Biggl( u_0 + \frac{ (n+a)r}{2}\Biggr) $$
    $$ \sum_{k = a}^n (u_0 + kr) = \Bigl(n + 1 - a\Bigr) \Biggl( \frac{ 2u_0 + (n+a)r}{2}\Biggr) $$
    $$ \sum_{k = a}^n (u_0 + kr) = \Bigl(n + 1 - a\Bigr) \Biggl( \frac{ u_0 + u_{n+a}}{2}\Biggr) $$

    So finally,

    $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, $$
    $$ \sum_{k =a}^n (u_0 + kr) = \Bigl(n + 1 - a\Bigr) \Bigg( \frac{u_0 + u_{n+a}}{2} \Biggr)$$
    $$ (\text{with} \enspace u_n = u_0 + nr) $$

The sum of the natural powers of a real number\( : \sum q^k\)

Let \( q \in \hspace{0.04em} \Bigl[ \mathbb{R} \ \backslash \ \bigl \{0,1 \bigr \} \Bigr] , \) be a real number.

  1. The first terms

    We want to calculate the sum of the first natural powers of a real \(q\) from \( 0\) to \( n\):

    $$ \sum_{k = 0}^n q^k = \enspace \underbrace{1 + q + q^2 \enspace + ... + \enspace q^{n-1} + q^n} _\text{(n+1) terms} \qquad (1) $$

    Multuplying all by \( q \) we obtain:

    $$ q.\left[\sum_{k = 0}^n q^k \right] = q.(1 + q + q^2 \enspace + ... + \enspace q^{n-1} + q^n) $$

    We now develop the right member:

    $$ q.\left[\sum_{k = 0}^n q^k \right] = q + q^2 + q^3 \enspace + ... + \enspace q^n + q^{n+1} \qquad (2) $$

    By substracting \( (1) \) from \( (2) \), we realize that a telescoping of terms occurs:

    $$ q.\left[\sum_{k = 0}^n q^k \right] - \left[\sum_{k = 0}^{n} q^k \right] = q^{n+1} - 1 $$

    Finally, we factorize by \( \sum q^k \) and:

    $$ (q - 1).\left[\sum_{k = 0}^n q^k \right] = q^{n+1} - 1 $$

    As a result we do have,

    $$ \forall n \in \mathbb{N}, \enspace \forall q \in \hspace{0.04em} \Bigl[ \mathbb{R} \ \backslash \ \bigl \{0,1 \bigr \} \Bigr] , $$
    $$ \sum_{k = 0}^n q^k = \frac{q^{n+1} - 1}{q-1} $$
  2. Generalization: sum from a to n

    Let us do the same reasoning as before, but now from \((k = a) \) until \(n\):

    $$ \sum_{k = a}^n q^k = \enspace \underbrace{q^a + q^{a+1} + q^{a+2} \enspace + ... + \enspace q^{n-1} + q^n} _\text{(n+1- a) terms} $$
    $$ q \Biggl[ \sum_{k = a}^n q^k \Biggr] = q(q^a + q^{a+1} + q^{a+2} \enspace + ... + \enspace q^{n-1} + q^n) $$
    $$ q \Biggl[ \sum_{k = a}^n q^k \Biggr] = q^{a+1} + q^{a+2} + q^{a+3} \enspace + ... + \enspace q^{n} + q^{n+1} $$
    $$ q.\left[\sum_{k = a}^n q^k \right] - \left[\sum_{k = a}^{n} q^k \right] = q^{n+1} - q^a $$
    $$ \sum_{k = a}^n q^k = \frac{q^{n+1} - q^a }{q-1} $$

    And finally,

    $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, \enspace \forall q \in \hspace{0.04em} \Bigl[ \mathbb{R} \ \backslash \ \bigl \{0,1 \bigr \} \Bigr] , $$
    $$ \sum_{k =a}^{n} q^k = \frac{q^{n+1} - q^{a}}{q-1} $$

The sum of the terms of a geometrical sequence\( : \sum (v_0 . q^k) \)

Let \( (v_n)_{n \in \mathbb{N}}\) be a geometrical sequence with a reason \( q \in \hspace{0.04em} \Bigl[ \mathbb{R} \ \backslash \ \bigl \{0,1 \bigr \} \Bigr] \) and its first term \( v_0\in \mathbb{R}\).

  1. The first terms

    We want to calculate the sum of the terms of this sequence from \( 0\) to \( n\):

    $$ \sum_{k = 0}^n (v_0.q^k ) = v_0 + v_0.q + v_0.q^2 \enspace + ... + \enspace + v_0.q^{n - 1} + v_0.q^n $$

    So,

    $$ \sum_{k = 0}^n (v_0.q^k ) = v_0.\Biggl[ \sum_{k = 0}^n q^k \Biggr] $$

    The sum of the first natural powers of a real number has already been calculated, let us inject it:

    $$ \sum_{k = 0}^n (v_0.q^k ) = v_0.\frac{q^{n+1} - 1}{q-1} $$

    And finally,

    $$ \forall n \in \mathbb{N}, \enspace \forall v_0 \in \hspace{0.04em} \mathbb{R}, \ \forall q \in \hspace{0.04em} \Bigl[ \mathbb{R} \ \backslash \ \bigl \{0,1 \bigr \} \Bigr] , $$
    $$ \sum_{k = 0}^n (v_0.q^k ) = v_0.\frac{q^{n+1} - 1}{q-1} $$
  2. Generalization: sum from a to n

    Let us do the same reasoning as before, but now from \((k = a) \) until \(n\):

    $$ \sum_{k = a}^n (v_0.q^k ) = v_0q^a + v_0.q^{a+1} + v_0.q^{a+2} \enspace + ... + \enspace + v_0.q^{n - 1} + v_0.q^n $$
    $$ \sum_{k = a}^n (v_0.q^k ) = v_0.\Biggl[ \sum_{k = a}^n q^k \Biggr] $$
    $$ \sum_{k = 0}^n (v_0.q^k ) = v_0.\frac{q^{n+1} - q^{a}}{q-1}$$

    And finally,

    $$ \forall (a,n) \in \hspace{0.04em} \mathbb{N}^2, \enspace \forall v_0 \in \hspace{0.04em} \mathbb{R}, \ \forall q \in \hspace{0.04em} \Bigl[ \mathbb{R} \ \backslash \ \bigl \{0,1 \bigr \} \Bigr] , $$
    $$ \sum_{k =a}^{n} v_0.q^k = v_0.\frac{q^{n+1} - q^{a}}{q-1} $$

Sum of a binomial \( : \sum \binom{n}{p} \)

The demonstration of these formulas on the page dedicated to binomial formulas :

  1. Horizontal sum from 0 to n

  2. Vertical sum from r to n

Trigonometric sums \( : \sum \bigl[\cos(k \theta) + i \sin(kx)\bigr] \)

Let us start from the fact that:

$$ \forall k \in \mathbb{N}, \ \forall x \in \mathbb{R},$$
$$ e^{ik\theta} = \cos(k \theta) + i \sin(kx) \qquad \bigl(\text{Euler's formula}\bigr) $$

So, let's calculate the sum \(\sum e^{ik\theta}\) and then let us separate the real and imaginary parts, thus obtaining the respective sums of \(\sum \cos(k \theta)\) and \(\sum \sin(kx)\).

$$ \sum_{k = 0}^n e^{ik\theta} = \sum_{k = 0}^n \left(e^{i\theta}\right)^k $$

We do know that the sum of natural powers of a real number from \(0\) to \(n\) is worth:

$$ \forall n \in \mathbb{N}, \enspace \forall q \in \hspace{0.04em} \Bigl[ \mathbb{R} \ \backslash \ \bigl \{0,1 \bigr \} \Bigr] , $$
$$ \sum_{k = 0}^n q^k = \frac{q^{n+1} - 1}{q-1} $$

Therefore, in our specific cas, that leads us to it:

$$ \sum_{k = 0}^n e^{ik\theta} = \frac{e^{i(n + 1)\theta} - 1}{e^{i\theta} - 1} $$

Let us now mutliply both numerator and denominator by \(\textcolor{rgb(118 139 240)}{e^{-\frac{i \theta}{2}}}\) to balance each floor.

$$ \sum_{k = 0}^n e^{ik\theta} = \frac{e^{i(n + 1)\theta} - 1}{e^{i\theta} - 1} \textcolor{rgb(118 139 240)}{\times \frac{e^{-\frac{i \theta}{2}}}{e^{-\frac{i \theta}{2}}}} $$
$$ \sum_{k = 0}^n e^{ik\theta} = \frac{e^{i(n + \frac{1}{2})\theta} - e^{-\frac{i \theta}{2}}}{e^{\frac{i \theta}{2}} - e^{-\frac{i \theta}{2}}} $$

At the denominator, we recognize one of the two Euler's trigonometric formulas :

$$ \forall x \in \hspace{0.04em} \mathbb{R}, \enspace p \in \mathbb{Z}, $$
$$ 2i \sin(px) = e^{ipx} - e^{-ipx} $$

We then replace the denominator and rearrange the numerator to prepare for a new factorization:

$$ \sum_{k = 0}^n e^{ik\theta} = \frac{e^{\frac{i(n + 1)\theta}{2}}.e^{\frac{in\theta}{2}} - e^{-\frac{i(n + 1)\theta}{2}}.e^{\frac{in\theta}{2}}}{2i.\sin\left(\frac{\theta}{2}\right)} $$

And, we factorize it

$$ \sum_{k = 0}^n e^{ik\theta} = \frac{e^{\frac{in\theta}{2}}\left(e^{\frac{i(n + 1)\theta}{2}} - e^{-\frac{i(n + 1)\theta}{2}}\right)}{2i.\sin\left(\frac{\theta}{2}\right)} $$

At the numerator this time, we again recognize the same Euler's trigonometric formulas , which we replace.

$$ \sum_{k = 0}^n e^{ik\theta} = e^{\frac{in\theta}{2}}\frac{\left(2i.\sin\left(\frac{(n + 1)\theta}{2}\right)\right)}{2i.\sin\left(\frac{\theta}{2}\right)} $$
$$ \sum_{k = 0}^n e^{ik\theta} = e^{\frac{in\theta}{2}}\frac{\left(\cancel{2i}.\sin\left(\frac{(n + 1)\theta}{2}\right)\right)}{\cancel{2i}.\sin\left(\frac{\theta}{2}\right)} $$
$$ \sum_{k = 0}^n e^{ik\theta} = e^{\frac{in\theta}{2}} \times \frac{\sin\left(\frac{(n + 1) \theta}{2}\right)}{\sin\left(\frac{\theta}{2}\right)} $$

Thus, we recover the real and imaginary parts for the respective sums and:

$$\forall n \in \mathbb{N}, $$
$$ \sum_{k = 0}^n \cos(k \theta) = \mathcal{Re}\left( e^{\frac{in\theta}{2}} \right) \times \frac{\sin\left(\frac{(n + 1) \theta}{2}\right)}{\sin\left(\frac{\theta}{2}\right)} $$
$$ \sum_{k = 0}^n \sin(kx) = \mathcal{Im}\left( e^{\frac{in\theta}{2}} \right) \times \frac{\sin\left(\frac{(n + 1) \theta}{2}\right)}{\sin\left(\frac{\theta}{2}\right)} $$

And as a result,

$$\forall n \in \mathbb{N}, $$
$$ \sum_{k = 0}^n \cos(k \theta) = \cos\left(\frac{n\theta}{2}\right) \times \frac{\sin\left(\frac{(n + 1) \theta}{2}\right)}{\sin\left(\frac{\theta}{2}\right)} $$
$$ \sum_{k = 0}^n \sin(kx) = \sin\left(\frac{n\theta}{2}\right) \times \frac{\sin\left(\frac{(n + 1) \theta}{2}\right)}{\sin\left(\frac{\theta}{2}\right)} $$

The infinite sum of the inverse of natural squares \( : \sum \frac{1}{k^2} \)

This problem, solved by Leonhard Euler , is also known as the Basel problem .

We start from infinite series of the \(\sin(x)\) function:

$$ \forall x \in \mathbb{R}, $$
$$ \sin(x) = x - \frac{x^3}{3!} + \frac{x^5}{5!} - \frac{x^7}{7!} + \ ... \ + (-1)^n \frac{x^{2n+1}}{(2n+1)!} + o(x^{2n+2}) $$

We factorize the all expression by \(x\):

$$ \sin(x) = x \left(1 - \frac{x^2}{3!} + \frac{x^4}{5!} - \frac{x^6}{7!} + \ ... \ + (-1)^n \frac{x^{2n}}{(2n+1)!} + o(x^{2n+1}) \right) $$

Then divide all by \(x\),

$$ \frac{\sin(x)}{x} = 1 - \frac{x^2}{3!} + \frac{x^4}{5!} - \frac{x^6}{7!} + \ ... \ + (-1)^n \frac{x^{2n}}{(2n+1)!} + o(x^{2n+1}) \qquad(1) $$

Then, if we assume that the roots of the \(\frac{\sin(x)}{x}\) function are all multiples of \(\pi\) (except \(0\)), then we can write that:

$$ \exists \alpha, \ \frac{\sin(x)}{x} = \alpha \times \left[ \underset{-\infty}{\leftarrow} \ ... \ \left(1 + \frac{x}{2\pi}\right) \left(1 + \frac{x}{\pi}\right) \left(1 - \frac{x}{\pi}\right) \left(1 - \frac{x}{2\pi}\right) \ ... \ \underset{+\infty}{\rightarrow} \right] $$

Thanks to the previous expression \((1)\), we easily deduce that \((\alpha = 1)\), so that:

$$ \frac{\sin(x)}{x} = \underset{-\infty}{\leftarrow} \ ... \ \left(1 + \frac{x}{2\pi}\right) \left(1 + \frac{x}{\pi}\right) \left(1 - \frac{x}{\pi}\right) \left(1 - \frac{x}{2\pi}\right) \ ... \ \underset{+\infty}{\rightarrow} $$

Then we assemble them symmetrically between respective conjugates:

$$ \frac{\sin(x)}{x} = \underset{-\infty}{\leftarrow} \ ... \ \textcolor{rgb(118 139 240)}{\left(1 + \frac{x}{2\pi}\right)} \textcolor{rgb(93 183 129)}{\left(1 + \frac{x}{\pi}\right)} \textcolor{rgb(93 183 129)}{\left(1 - \frac{x}{\pi}\right)} \textcolor{rgb(118 139 240)}{\left(1 - \frac{x}{2\pi}\right)} \ ... \ \underset{+\infty}{\rightarrow} $$

And we bring into play the third remarkable identity :

$$ \frac{\sin(x)}{x} = \textcolor{rgb(93 183 129)}{\left(1^2 - \left(\frac{x}{\pi}\right)^2 \right)} \textcolor{rgb(118 139 240)}{\left(1 - \left(\frac{x}{2\pi}\right)^2 \right)} \ ... \ \underset{+\infty}{\rightarrow} $$

By developing all the factors step by step, we will try to highlight the second degree terms :

$$ \frac{\sin(x)}{x} = \left(1 - \textcolor{rgb(232 124 124)}{ \left(\frac{x}{2\pi}\right)^2 - \left(\frac{x}{\pi}\right)^2 } + \xcancel{\frac{x^4}{4 \pi^4}} \right)\left(1^2 - \left(\frac{x}{3\pi}\right)^2 \right) \ ... \ \underset{+\infty}{\rightarrow} $$
$$ \frac{\sin(x)}{x} = \left(1 - \textcolor{rgb(232 124 124)}{ \left(\frac{x}{3\pi}\right)^2 - \left(\frac{x}{2\pi}\right)^2 } + \xcancel{\frac{x^4}{36 \pi^4}} + 1 \textcolor{rgb(232 124 124)}{- \left(\frac{x}{\pi}\right)^2} + \xcancel{\frac{x^4}{9 \pi^4}} \right) \left(1^2 - \left(\frac{x}{4\pi}\right)^2 \right) \ ... \ \underset{+\infty}{\rightarrow} $$

Gradually, we realize that:

$$ \frac{\sin(x)}{x} = Q - \textcolor{rgb(232 124 124)}{x^2 \left( \left(\frac{1}{\pi}\right)^2 + \left(\frac{1}{2\pi}\right)^2 + \left(\frac{1}{3\pi}\right)^2 + \ ... \ + \left(\frac{1}{n\pi}\right)^2 \right)} \qquad(2) $$
$$ (\text{où Q équivaut à une certaine quantité})$$

Now, if we put together \((1)\) and \((2)\):

$$ \left \{ \begin{gather*} \frac{\sin(x)}{x} = 1 - \frac{x^2}{3!} + \frac{x^4}{5!} - \frac{x^6}{7!} \ ... \ + (-1)^n \frac{x^{2n}}{(2n+1)!} + o(x^{2n+1}) \qquad(1) \\ \\ \frac{\sin(x)}{x} = Q - x^2 \left( \left(\frac{1}{\pi}\right)^2 + \left(\frac{1}{2\pi}\right)^2 + \left(\frac{1}{3\pi}\right)^2 + \ ... \ + \left(\frac{1}{n\pi} \right)^2 \right) \qquad(2) \end{gather*} \right \} $$

Therefore, we can deduce that the second degree coefficients are equal, that is:

$$ -\frac{1}{6} = -\left[ \left(\frac{1}{\pi}\right)^2 + \left(\frac{1}{2\pi}\right)^2 + \left(\frac{1}{3\pi}\right)^2 + \hspace{0.2em} ... \hspace{0.2em} + \left(\frac{1}{n\pi}\right)^2 \right] $$
$$ \frac{1}{6} = \sum_{k = 1}^{+\infty} \frac{1}{\pi^2 k^2} $$

The nubber \(\pi\) being constant, we can take it out of the sum, and finally:

$$ \sum_{k = 1}^{+\infty} \frac{1}{k^2} = \frac{\pi^2}{6} \qquad \bigl( \text{The Basel problem} \bigr) $$

Equivalent of the sum of square roots \( : \sum \sqrt{k} \)

We try to determine an equivalent for :

$$ \sum_{k = 1}^{+\infty} \sqrt{k} $$

Let us find a frame for this expression:

$$ \sum_{k = 1}^{n} \sqrt{x} $$

Since the function \((x \longmapsto \sqrt{x})\) is increasing onto \(\mathbb{R}^+\), by applying integral-series comparison , we obtain:

Integrals-series comparison
$$ \int_{k - 1}^{k} \sqrt{t} \ dt < \sqrt{x} < \int_{k}^{k + 1} \sqrt{t} \ dt $$

Making the sum of these elements from \((k = 1)\) until \((k = n)\), we do have that:

$$ \int_0^{n} \sqrt{t} \ dt < \sum_{k = 1}^{n} \sqrt{x} < \int_1^{n + 1} \sqrt{t} \ dt $$
$$ \Biggl[ \frac{2}{3}x^{\frac{3}{2}} \Biggr]_0^n < \sum_{k = 1}^{n} \sqrt{x} < \Biggl[ \frac{2}{3}x^{\frac{3}{2}} \Biggr]_1^{n + 1} $$
$$ \frac{2}{3}n^{\frac{3}{2}} < \sum_{k = 1}^{n} \sqrt{x} < \frac{2}{3}\left( (n + 1)^{\frac{3}{2}} - 1 \right) $$

If we know divide each member by \(\frac{2}{3}n^{\frac{3}{2}}\), we obtain this:

$$ 1 < \frac{\left[\displaystyle \sum_{k = 1}^{n} \sqrt{x} \right]}{\frac{2}{3}n^{\frac{3}{2}}} < \frac{(n + 1)^{\frac{3}{2}} - 1}{n^{\frac{3}{2}}} $$
$$ 1 < \frac{\left[ \displaystyle \sum_{k = 1}^{n} \sqrt{x} \right]}{\frac{2}{3}n^{\frac{3}{2}}} < \left(\frac{n + 1}{n}\right)^{\frac{3}{2}} - \frac{1}{n^{\frac{3}{2}}} $$
$$ 1 < \frac{\left[ \displaystyle \sum_{k = 1}^{n} \sqrt{x} \right]}{\frac{2}{3}n^{\frac{3}{2}}} < \left(1 + \frac{1}{n}\right)^{\frac{3}{2}} - \frac{1}{n^{\frac{3}{2}}} $$

Finally, let us make tend \((n \to +\infty)\) to obtain:

$$ 1 < \lim_{n \to +\infty} \frac{\left[ \displaystyle \sum_{k = 1}^{n} \sqrt{x} \right]}{\frac{2}{3}n^{\frac{3}{2}}} < 1 $$

Thanks to the squeeze theorem , we finally find that:

$$ \lim_{n \to +\infty} \frac{\left[ \displaystyle \sum_{k = 1}^{n} \sqrt{x} \right]}{\frac{2}{3}n^{\frac{3}{2}}} = 1 $$

And as a result,

$$\forall n \in \mathbb{N}, $$
$$ \sum_{k = 1}^{n} \sqrt{k} \underset{+\infty}{\ \sim} \frac{2}{3}n^{\frac{3}{2}} $$

Recap table of usual sums


Examples

  1. Calculate a sum of natural numbers

    Let us calculate the following sum \(S\):

    $$ S = \sum_{k =5}^{20} k = 5 + 6 + 7 \hspace{0.1em} + \hspace{0.1em} ... \hspace{0.1em} + \hspace{0.1em} 20 $$
    1. Calculate the sum from \(0\) to \(20\) et remove the sum from \(0\) to \(4\)
      $$ \sum_{k =0}^{n} k = \frac{n(n+1)}{2} $$

      So,

      $$ S = \Biggl[\sum_{k =0}^{20} k\Biggr] - \Biggl[\sum_{k =0}^{4} k \Biggr]$$
      $$ S = \frac{20 \times 21 }{2} - \frac{4 \times 5 }{2} $$
      $$ S = 210- 10 = 200 $$
    2. Calculate directly the sum from \(5\) to \(20\)

      At this stage, we will use the general formula:

      $$ \sum_{k =a}^{n} k = \frac{(n + a)(n+1- a)}{2} $$

      So,

      $$ S = \sum_{k =5}^{20} k = \frac{(20 + 5)(20+1- 5)}{2} $$
      $$ S = \sum_{k =5}^{20} k = \frac{25 \times 16}{2} = 200$$
  2. Calculate a sum of natural cubes

    Let us calculate the following sum \(S'\):

    $$ S' = \sum_{k =7}^{11} k^3 = \ 7^{3} + \ 8^{3} + \ 9^3 + \ 10^3 + \ 11^3 $$
    1. Calculate the sum from \(0\) to \(11\) et remove the sum from \(0\) to \(6\)

      $$\sum_{k = 0}^n k^3 = \frac{n^2 (n+1)^2 }{4} $$

      So,

      $$ S' = \Biggl[\sum_{k = 0}^{11} k^3 \Biggr] - \Biggl[\sum_{k = 0}^6 k^3 \Biggr]$$
      $$ S' = \frac{11^2 (11+1)^2 }{4}- \frac{6^2 (6+1)^2 }{4}$$
      $$ S' = \frac{121 \times 144}{4}- \frac{ 36 \times 49 }{4} = 3915$$
    2. Calculate directly the sum from \(7\) to \(11\)

      $$ \sum_{k=a}^n k^3 = \frac{1}{4}\bigl(n+1-a\bigr)\bigl(n+a\bigr)\bigl(n^2 + a^2 + n - a\bigr) $$

      So,

      $$ S' = \sum_{k =7}^{11} k^3 = \frac{1}{4} \times (11 + 1 - 7)(11 + 7)(11^2 + 7^2 + 11 - 7) $$
      $$ S' = \sum_{k =7}^{11} k^3 = \frac{1}{4} \times 5 \times 18 \times (121 + 49 + 4) $$
      $$ S' = \sum_{k =7}^{11} k^3 = \frac{1}{4} \times 5 \times 18 \times 174 = 3915 $$
Scroll top Back to top