✦ScienexySCIENCE KNOWLEDGE LIBRARY
General science · SCI-FORM-ALG-038

Sum of the First n Natural Numbers

The sum of the first n natural numbers is the total obtained by adding every positive integer from 1 through n.

\(S_{n} = 1 + 2 + 3 + ... + n = n(n + 1)/2\)

What this formula means

Definition

The sum of the first n natural numbers is the total obtained by adding every positive integer from 1 through n.

Interpretation

The formula calculates the sum directly without adding each number individually. It is the sum of a finite arithmetic sequence with first term 1 and common difference 1.

Mathematical Significance

This formula is a fundamental result in arithmetic sequences, combinatorics and discrete mathematics.

Special Cases

First Natural Number

S₁ = 1.

First Two Natural Numbers

S₂ = 1 + 2 = 3.

First Ten Natural Numbers

S₁₀ = 10 × 11 / 2 = 55.

Empty Sum

If n = 0, the sum is 0 by the empty-sum convention.

Scientific principle

Principle

Pairing Terms in an Arithmetic Sequence

Derivation

StepExplanationExpression

1

Write the sum in ascending order.

Sₙ = 1 + 2 + 3 + ... + (n - 1) + n

2

Write the same sum in descending order.

Sₙ = n + (n - 1) + (n - 2) + ... + 2 + 1

3

Add the two equations term by term. Every pair has the same sum n + 1.

2Sₙ = (n + 1) + (n + 1) + ... + (n + 1)

4

There are n such pairs.

2Sₙ = n(n + 1)

5

Divide both sides by 2.

Sₙ = n(n + 1)/2

Result

The sum of the first n positive integers equals half the product of n and its successor.

Variables and their meanings

SymbolMeaningDescription

Sₙ

Sum

The total of the first n natural numbers.

n

Number of terms

The number of positive integers included in the sum.

1

First term

The smallest positive integer in the sequence.

n

Last term

The largest integer included in the sum.

SI units and conversions

Si Unit

Not applicable

Dimensional Formula

Not applicable

Unit Explanation

The formula is a purely mathematical summation. If the integers represent quantities with units, the sum carries the same unit as each term.

Unit Conversions

No items supplied.

Conditions of use

  • The sequence must begin at 1 and increase by 1.

  • n must be a non-negative integer.

  • For a non-empty sum, n must be a positive integer.

  • All terms must be included exactly once.

Limitations and assumptions

  • The formula does not directly calculate the sum of an arbitrary sequence.

  • A sequence beginning at another integer requires an adjusted formula.

  • The formula assumes consecutive natural numbers.

  • It is a finite-sum formula and does not represent an infinite series.

Step-by-step worked examples

ProblemGivenSolutionAnswer

Find the sum of the first 20 natural numbers.

  • n = 20

StepExplanationCalculation

1

Use the natural-number summation formula.

Sₙ = n(n + 1)/2

2

Substitute n = 20.

S₂₀ = 20(20 + 1)/2

3

Simplify.

S₂₀ = 20 × 21 / 2 = 210

210

Find the sum 1 + 2 + 3 + ... + 100.

  • n = 100

StepExplanationCalculation

1

Identify the number of terms.

n = 100

2

Substitute into the formula.

S₁₀₀ = 100(101)/2

3

Calculate the product and divide by 2.

10100/2 = 5050

5050

Real-world applications

ApplicationExplanation

Counting Problems

The formula calculates the number of pairwise combinations that can be formed from n objects.

Computer Science

It appears when analysing algorithms that perform a decreasing number of operations across successive iterations.

Number Patterns

The formula generates triangular numbers, which form important patterns in discrete mathematics.

Mathematical Modelling

It is useful whenever a total consists of consecutive integer quantities.

Formula Meaning

Definition

The sum of the first n natural numbers is the total obtained by adding every positive integer from 1 through n.

Interpretation

The formula calculates the sum directly without adding each number individually. It is the sum of a finite arithmetic sequence with first term 1 and common difference 1.

Mathematical Significance

This formula is a fundamental result in arithmetic sequences, combinatorics and discrete mathematics.

Special Cases

First Natural Number

S₁ = 1.

First Two Natural Numbers

S₂ = 1 + 2 = 3.

First Ten Natural Numbers

S₁₀ = 10 × 11 / 2 = 55.

Empty Sum

If n = 0, the sum is 0 by the empty-sum convention.

Sources and further reading

No source has been supplied for this item yet. Treat the claim as needing editorial verification.

← Back to Formula Hub · Suggest a correction or source