Calculer La Somme 1 1 2 1 3 1 N
This guide explains how to calculate the sum of the series 1/1 + 1/2 + 1/3 + ... + 1/n, also known as the nth harmonic number. We'll cover the formula, provide examples, and include an interactive calculator to compute the sum for any value of n.
What is the sum 1/1 + 1/2 + 1/3 + ... + 1/n?
The sum 1/1 + 1/2 + 1/3 + ... + 1/n is called the nth harmonic number and is often denoted as Hₙ. It's a fundamental concept in mathematics with applications in various fields including physics, engineering, and computer science.
This series is named "harmonic" because it resembles the natural harmonic series that occurs in musical intervals. The terms decrease in value as n increases, approaching zero but never actually reaching it.
How to calculate this sum
Calculating the harmonic series sum requires adding up all the fractions from 1/1 to 1/n. While there's no simple closed-form formula for the sum, we can compute it directly by adding each term sequentially.
For small values of n, you can calculate the sum manually by adding the fractions. For larger values, using a calculator or programming tool is more efficient.
The formula
The sum can be expressed as:
Hₙ = 1/1 + 1/2 + 1/3 + ... + 1/n
There is no simple closed-form expression for Hₙ, but it can be approximated for large n using:
Hₙ ≈ ln(n) + γ + 1/(2n) - 1/(12n²) + ...
where γ (gamma) is the Euler-Mascheroni constant (~0.5772).
For practical purposes, especially when n is large, the approximation is often sufficient. However, for exact calculations, especially when n is small, the direct summation is preferred.
Examples
Example 1: n = 1
H₁ = 1/1 = 1.0000
Example 2: n = 5
H₅ = 1/1 + 1/2 + 1/3 + 1/4 + 1/5 = 1 + 0.5 + 0.3333 + 0.25 + 0.2 = 2.2833
Example 3: n = 10
H₁₀ = 1/1 + 1/2 + ... + 1/10 ≈ 2.928968
Note: The exact value of H₁₀ is 2.928968253968253820...
Applications
The harmonic series appears in various mathematical and scientific contexts:
- Probability theory and statistics
- Number theory and analysis
- Physics and engineering problems involving harmonic motion
- Computer science algorithms and data structures
Understanding the harmonic series is important for anyone working in these fields, as it provides insights into the behavior of certain systems and processes.